DFU bootloader
Note:
Before issuing an Upload request, the host has to check that the device is in a correct state
(dfuIDLE or dfuUPLOAD-IDLE state) and that there is no error reported in the status. If the
Device is not in the required state/status, the Host has to clear any error (DFU_CLRSTATUS
request) and get the new status till the Device returns to dfuIDLE state.
4.5
DFU_DNLOAD request commands
The download request allows to perform different commands. The command selection is
done through the value of
are supported:
●
Write Memory (
●
Set Address Pointer (
●
Erase (
●
Read Unprotect (
●
Leave DFU (leave DFU mode and Jump to application)
72/83
parameter wValue in the USB request structure. The following operations
> 1)
wValue
wValue
= 0 and First Byte = 0x41)
wValue
= 0 and First Byte = 0x92)
wValue
Doc ID 14156 Rev 1
= 0 and First Byte = 0x21)
AN2662
Need help?
Do you have a question about the STM32F105 Series and is the answer not in the manual?