[PATCH] dfu-util: Don't sleep unnecessarily

Tormod Volden lists.tormod at gmail.com
Sat Mar 12 00:07:19 CET 2011


On Fri, Mar 11, 2011 at 11:37 PM, Tormod Volden  wrote:
> Also wondering about your USB_REQ_DFU_DETACH extension. Can you not
> use a zero-length DNLOAD to enter dfuMANIFEST-WAIT-RESET?

OK, I think I understand why: Your device is manifestation tolerant,
so it does not use the
dfuMANIFEST-WAIT-RESET state at all, but is supposed to be reset by a
USB reset in the dfuIDLE state.

Looking at these things, I think the "final_reset" -R option is broken
in dfu-util since it tries to use DFU_DETACH and USB reset to go from
DFU to runtime, but the spec only uses this to go the other way.

Tormod



More information about the devel mailing list