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

Stefan Schmidt stefan at datenfreihafen.org
Wed Mar 9 08:45:53 CET 2011


On Wed, 2011-03-09 at 16:49, Bernard Blackham wrote:
> The DFU spec says that bwPollTimeout is the amount of time that
> should pass between DFU_GETSTATUS requests. If the status is already
> good, we do not need to sleep as we will not poll again.
> This speeds up DFU downloads directly into memory.

Interesting point. What target you are testing this against?

I'm going to check it against GTA02 and OpenPCD today or tomorrow and apply it
if nothing breaks. Thanks for the patch!

Stefan Schmidt

More information about the devel mailing list