EasyManua.ls Logo

ST STM32F105 series

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
Loading...
AN2662 USART bootloader
Doc ID 14156 Rev 1 31/83
Figure 16. Erase Memory command: device side
1. ER = Erase Memory.
The host sends the bytes to the STM32F105xx and STM32F107xx as follows:
Byte 1: 0x43
Byte 2: 0xBC
Wait for ACK
Byte 3: 0xFF or number of pages to be erased (0 N maximum number of pages)
Byte 0x00 or (N + 1 bytes (page numbers) and then the checksum for byte 3 and
the following bytes)
ROP active
Receive the number of pages
to be erased (1 byte)
No
Ye s
ai14642b
Start ER
(1)
No
Received bytes =
0x43+0xBC?
Send ACK byte
Receive the page codes
Checksum
OK?
Send NACK byte
End of ER
(1)
No
Ye s
No
Ye s
0xFF received?
Receive the checksum
Erase the corresponding pages
Send ACK byte
Ye s
No
Ye s
Start Global Erase
(Mass Erase)

Table of Contents

Other manuals for ST STM32F105 series

Related product manuals