Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dfuse: Allow direct transition to DNLOAD_IDLE on special command
It seems that the DFU 1.1 specification (Appendix A. Interface State Summary) allows a transition from dfuIDLE (by DFU_DNLOAD request) to dfuDNLOAD-SYNC, then to dfuDNLOAD-IDLE (by DFU_GETSTATUS request) if the block is complete, without going via dfuDNBUSY. For a DfuSe special command DFU_DNLOAD request like SET_ADDRESS this could make sense. This behavior has been seen on a STM32U5A9BJ bootloader. Thanks to Markus Pope for analysis and initial patch. https://sourceforge.net/p/dfu-util/tickets/145/ Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
- Loading branch information