I am trying to add DFU to my TM4C123 project.
I followed the instructions in the USB Library, 2.11.1.
Using Microsoft's USB Device Viewer, I see the interface descriptor information for DFU:
===>Interface Descriptor<===
bLength: 0x09
bDescriptorType: 0x04
bInterfaceNumber: 0x06
bAlternateSetting: 0x00
bNumEndpoints: 0x00
bInterfaceClass: 0xFE -> This is an Application Specific USB Device Interface Class
-> This is a Device Firmware Application Specific USB Device Interface Class
bInterfaceSubClass: 0x01
bInterfaceProtocol: 0x01
iInterface: 0x00
===>HID Descriptor<===
bLength: 0x09
bDescriptorType: 0x21
bcdHID: 0xFF0F
bCountryCode: 0xFF
bNumDescriptors: 0x00
Other than the interface descriptor numbers, this is the same as I see on the launch pad's debugger ICDI USB.
I erased the target TM4C123FE6PM, reset, and the Rom BootLoader enumerates the DFU and dfuprog -e enumerates the blank device.
I do see slight differences in enumeration information:
bLength: 0x09
bDescriptorType: 0x04
bInterfaceNumber: 0x00
bAlternateSetting: 0x00
bNumEndpoints: 0x00
bInterfaceClass: 0xFE -> This is an Application Specific USB Device Interface Class
-> This is a Device Firmware Application Specific USB Device Interface Class
bInterfaceSubClass: 0x01
bInterfaceProtocol: 0x02
iInterface: 0x00
===>HID Descriptor<===
bLength: 0x09
bDescriptorType: 0x21
bcdHID: 0xFF07
bCountryCode: 0xFF
bNumDescriptors: 0x00
I tried to hack the boot_demo_usb from DKTM4C129x to EKTM4C1294XL to see if I could step through. I changed the processor define to PART_TM4C1294NCPDT and changed the project device. I had to comment out the various calls to the LCD and various signals not on the ek board.
The program runs and displays as a mouse. However, it does not show up in dfuprog -e enumeration.