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 #19 background imageLoading...
Page #19 background image
AN2662 USART bootloader
Doc ID 14156 Rev 1 19/83
Figure 6. Get Version & Read Protection Status command: device side
1. GV = Get Version & Read Protection Status.
The STM32F105xx and STM32F107xx sends the bytes as follows:
2.8 Get ID command
The Get ID command is used to get the version of the chip ID (identification). When the
bootloader receives the command, it transmits the product ID to the host.
The STM32F105xx and STM32F107xx sends the bytes as follows:
Byte 1: ACK
Byte 2: The version of the bootloader (0 < Version 255)): 0x10 = Version 1.0
Byte 3: Option byte 1: 0x00 to keep the compatibility with generic bootloader protocol
Byte 4: Option byte 2: 0x00 to keep the compatibility with generic bootloader protocol
Byte 5: ACK
Send ACK byte
Start GV
(1)
Received
byte = 0x01+0xFE?
Send the bootloader version
Option byte 2
End of GV
(1)
No
Ye s
ai14634
Send NACK byte
Send ACK byte
Option byte 1
Byte 1: ACK
Byte 2: N = the number of bytes – 1 (N = 1 for STM32F105xx and STM32F107xx ),
except for current byte and ACKs.
Bytes 3-4: PID
(1)
byte 3 = 0x04, byte 4 = 0x1X
1. PID: is the product ID, which may be 0x0410, 0x0412, 0x0414 or 0x0418 according to the STM32F105xx
and STM32F107xx product.
Byte 5: ACK

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