Tool/software: Code Composer Studio
I am attempting to add dfu capability to an existing USB serial application on a custom TM4C1290NCZAD board. I wish this to use the ROM based USB boot loader, and have the capability to have the firmware update triggered from dfuprog.exe from Windows 10 command line.
I think I have setup my custom device as a DFU and USB Serial composite device (I used boot_demo_usb example for dk-tm4c129x as a starting point, and have serial USB rather than mouse HID). Although there is no Product Id for this in usb-ids.h, currently I am using USB_PID_COMP_HID_DFU, as I believe this is what the boot_demo_usb.inf file looks for.
My composite device strings. (do these matter as far as functionality is concerned?).
My Serial CDC device initialization (this works).
This is my DFU structure declaration.
Here is the actual initialization of the composite device.
This is my Composite device. Both Serial and DFU together inside the g_comp_entries_s.
On my device manager (Windows 10) I see my device come up twice. Once as the serial device (which works). And the DFU part comes up in "Other devices" and displays my product string I setup in the composite device descriptor. Why is there no section for DFU devices?
When using "dfuprog.exe -e" from command line, I see the following error.
I have installed the included boot_demo_usb.inf file, and the install completes successfully. The following is the windows_drivers directory of my TivaWare installation, that I retrieved from http://www.ti.com/tool/SW-TM4C. I believe them to be the latest drivers. I am not prompted by windows when I plug in my DFU device.
I have pointed to this location manually when clicking on my "unknown device" and going to update drivers from local folders. When I do this Windows shows the following.
Any help that you could provide would be greatly appreciated.