EasyManua.ls Logo

ST STM32F105 series - Figure 55. Download Request: Device Side

ST STM32F105 series
83 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
AN2662 DFU bootloader
Doc ID 14156 Rev 1 73/83
Figure 55. Download request: Device side
1. This routine can be used to reset the device to be reset or to jump to the application.
Download request
Erase
command
Set Address
No
Ye s
Decode the command
(First byte of the received buffer)
Set Address
Pointer routine
Read Unprotect
wBlockNum == 0 ?
Pointer command
Unsupported
command
Erase
routine
State = dfuERROR
Status = errSTALLEDPKT
Read Unprotect
routine
command
Write Memory
routine
No
Ye s
wBlockNum > 1?
Stall
Wait for data stage
Return Status:
dfuDNBUSY
Current status is
dfuIDLE or dfuDNLOAD-IDLE
Stall
No
Acknowledge
the request
Ye s
Receive data
buffer
Wait for Get Status
wLength > 0
Ye s
No
routine
1)
Leave DFU

Table of Contents

Other manuals for ST STM32F105 series

Related product manuals