EasyManuals Logo

ST STM32F105 series Application Note

ST STM32F105 series
83 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #73 background imageLoading...
Page #73 background image
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

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F105 series and is the answer not in the manual?

ST STM32F105 series Specifications

General IconGeneral
BrandST
ModelSTM32F105 series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals