2020-02-14 12:49 AM
Hi. I am working with DFU by DfuSe Demo(v3.0.6) and auto-generated code from CubeMX for STM32F072. My goal - control DFU state for choosing the best moment to reboot device. From app notes and DFU specification I found out, that state change (dfuDNLOAD-IDLE -> dfuMANIFEST-SYNC) happens after last command DNLOAD with zero wlength. But in Keil debug and UART output( that was implemented by me) I see, that DfuSe Demo doesn't send this command and the command order looks like :
With "Verify" I had the same situation - DFU_ABORT command resets the state to dfuIDLE.
Maybe anyone had same problems or can give a piece of advice?
Update: But, in general the update and verify processes always are successful.