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 #58 background imageLoading...
Page #58 background image
CAN bootloader AN2662
58/83 Doc ID 14156 Rev 1
Figure 43. Erase Memory command via CAN: Device side
The STM32F105xx and STM32F107xx sends the messages as follows:
ACK message: Std ID = 0x43, DLC = 1, data[0] = ACK if content of the command is correct
and ROP is not active else data[0] = NACK
3.12 Write Protect command
The Write Protect command is used to enable the write protection for some or all Flash
memory sectors. When the bootloader receives the Write Protect command, it transmits the
ACK message to the host if ROP is disabled else it transmits NACK.
After the transmission of the ACK byte, the bootloader waits to receive the Flash memory
sector codes from the user.
At the end of the Write Protect command, the bootloader transmits the ACK message and
generates a system Reset to take into account the new configuration of the option byte.
Note: On the STM32F105xx and STM32F107xx , the sector size is 4 Kbytes (2 pages) for the
Write Protect command.
%RASEMEMORYSECTORBYSECTOR
.O
3TARTERASEMEMORY
MESSAGESDATAFIELD
2ECEIVEDMESSAGE
3END!#+MESSAGE
%NDOFERASEMEMORY
9E S
3END.!#+MESSAGE
AI
ACCORDINGTODATACONTAINEDINTHE
WITHSTD)$X
AND2/0
)SBYTEOFTHE
DATAFIELDX&&
3END!#+MESSAGE
3TARTTOTALERASE
.O
9E S

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