Update 2017: Microchip now has a Qt 5 example in their MLA folder "apps\usb\device\bootloaders\utilities". It uses the popular HIDAPI by Alan Ott / Signal 11. It makes the below approach obsolete , and I really recommend to download and check out the Microchip MLA package instead. ============================================== While working on a Microchip PIC32 based USB HID Composite Device for our Kickdrive environment, we realized the need for updating the PIC application firmware from our own UI, instead of using an external tool. Firmware updates for any Embedded device or accessory are an essential part of product support and should be done in the least disrupting way. So even launching an external Windows command line tool did not look like a good solution to us. What I found was Microchip's own sample code from Application Note AN1388 , but the PIC32UBL.exe code was MFC / Visual Studio 2003 and not designed to be anything else th...
How to make a PC talk industrial serial or fieldbus protocols via RS232/RS485/TCP/MODBUS/CAN/CANopen and the likes. Every now and then you come across this tiny annoying piece of functionality, where Google or Microsoft don't really help out and make you think: "How come no one ever published a small piece of code or some cookbook advice?" So I am happy to share some insight and code.