PORTS Forum

Ports and Interfaces => USB => Topic started by: sarabjit on June 12, 2012, 10:58:44 am

Title: Downlaod firmware onto the device in DFU mode using WinUSB drivers
Post by: sarabjit on June 12, 2012, 10:58:44 am
Hi,

I am using WinUSB drivers to communicate with the device over USB. I am trying to download firmware onto the device in DFU mode. After downloading the complete firmware, the device enters the "dfuMANIFEST-WAIT-RESET" state. So to change its state to dfuIDLE, the host must issue a USB reset to the device.

Is there any way through which I can issue a USB reset to the device using WinUSB drivers or Is there any another way to downlaod firmware onto the device in DFU mode using WinUSB drivers?


Thanks,
Sarabjit
Title: Re: Downlaod firmware onto the device in DFU mode using WinUSB drivers
Post by: Jan Axelson on June 12, 2012, 01:28:06 pm
To follow the DFU spec completely, you would need a low-level DFU driver.

A device can cause a host to re-enumerate a device by emulating device removal and reattachment (by electronically disconnecting from D+ or D-), if the device hardware supports it.

Jan