
AN2662
USART bootloader
Doc ID 14156 Rev 1
2.15 Readout
Protect
command
The 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. After the transmission of the ACK byte, the bootloader enables the read protection for
the Flash memory.
At the end of the Readout Protect command, the bootloader transmits the ACK byte and
generates a system Reset to take into account the new configuration of the option byte.
Figure 21.
Readout Protect command: host side
1.
RDP_PRM = Readout Protect.
Wait for ACK
or NACK
Wait for ACK
or NACK
End of RDP_PRM
(1)
NACK
ACK
ai14649
Send 0x82+0x7D
Start RDP_PRM
(1)
NACK
ACK