Hi,
maybe someone of you could give me some hints and information about usb DFU.
I'm not sure, which descriptors I have to implement for the DFU class and for the HID class. The processor is an HID device (which is working so far) and now there should be the option to download a new firmware via usb.
HID descriptors:
HID_ReportDescriptor USB_DeviceDescriptor include - Standard Device Descriptor - Configuration Descriptor - Interface 0 Descriptor - HID Class Descriptor - Endpoint, HID Interrupt In USB String Descriptor
If I'm right, then I have to add a second Interface Descriptor with the same settings but bInterfaceClass = 0xFE and bInterfaceSubClass = 0x01 -> so that the host will know that the fixture is able to perform an DFU firmware update.
Do I have to add some additional descriptors to the HID class? for example the DFU Functional Descriptor?
For the DFU class I need these descriptors??
DFU_DeviceDescriptor DFU_ConfigDescriptor include - Descriptor of DFU interface 0 - DFU Functional Descriptor
Which command do I have to send via usb to start the DFU process if the processor is running in the HID mode?
best regards Bernd