English
Language : 

AN4221 Datasheet, PDF (44/51 Pages) STMicroelectronics – I2C protocol used in the STM32 bootloader
Bootloader command set
AN4221
Figure 31. No-Stretch Write unprotect command: device side
6WDUW1R6WUHWFK:381 
5HFHLYHGIUDPH
[[%"
<HV
523DFWLYH
1R
6HQG$&.IUDPH
1R
<HV
'LVDEOH:ULWHSURWHFWLRQRIDOO
VHFWRUV
6HQG%XV\
IUDPH [
1R
2SHUDWLRQ
FRPSOHWH
<HV
6HQG$&.IUDPH
2.16
1. WPUN = Write Unprotect.
*HQHUDWHV\VWHPUHVHW
(QGRI1R6WUHWFK:381 
6HQG1$&.IUDPH
069
No-Stretch Readout protect command
The No-Stretch Readout Protect command is used to enable the Flash memory read
protection. When the bootloader receives the Readout Protect command, it transmits the
ACK byte to the host, enables the read protection for the Flash memory and returns Busy
state (0x76) while operation is ongoing.
At the end of the No-Stretch Readout Protect command, the bootloader transmits the ACK
byte and generates a system Reset to take the new configuration of the option byte into
account.
44/51
DocID024055 Rev 2