PORTS Forum

Ports and Interfaces => USB => Topic started by: henkman on March 10, 2017, 02:49:34 pm

Title: WinUSB device with DFU and bulk
Post by: henkman on March 10, 2017, 02:49:34 pm
Hi,

I have implemented DFU mode on my LPC micro and I am able to upload and reflash device firmware. I can also renumerate my device wtih two different descriptors. DFU runtime and DFU config mode (for firmware download and flashing).
During runtime mode of the DFU I also want to make use of bulk transfers. So I set the number of endpoints in my runtime interface descriptor to two and added a bulk in and bulk out descriptor.

For some unknown reason so far I do not get the bulk mode working. After too much debugging time I wondered if I am misinterpretting something with the descriptors. I do know that DFU mode does not require bulk endpoints and only use control endpoints but I want to use the bulk endpoints in normal (runtime) operating mode.

I thought this would be possible.. or does the USB_SUBCLASS_DFU prevent me from using it?

regards
Henk
Title: Re: WinUSB device with DFU and bulk
Post by: Jan Axelson on March 10, 2017, 08:43:10 pm
DFU support has no relation to the number and type of endpoints an interface can support in runtime mode.