[PATCH 4/4 dfu-util] main: Always retrieve the DFU functional descriptor

Tormod Volden lists.tormod at gmail.com
Wed Oct 5 20:48:36 CEST 2011


On Sun, Sep 18, 2011 at 11:20 AM, Tormod Volden wrote:
> In fact there is not much difference between 1.0 and 1.1 so we can
> safely say we support both. There is the added bitWillDetach in 1.1
> that we might want to incorporate, by extending or replacing the
> final_reset option handling at the end of main(). Our handling of the
> "Manifestation phase" could generally be improved, but it is not
> critical, as long as the actual flash writing is successful and the
> device can be reset by hand. I guess this is a weak point in most
> device implementations as well.

I was mixing up bitWillDetach and bitManifestationTolerant when I
wrote the above (too late at night). Sorry for the confusion. Of
course bitWillDetach has nothing to do with the final reset handling
after download, but the reset in the runtime->dfu mode transition. And
this should not be difficult to deal with. Patch to follow.

Tormod



More information about the devel mailing list