USART bootloader
Figure 22. Readout Protect command: device side
1. RDP_PRM = Readout Protect.
2.16
Readout Unprotect command
The Readout Unprotect command is used to disable the Flash memory read protection.
When the bootloader receives the Readout Unprotect command, it transmits the ACK byte
to the host. After the transmission of the ACK byte, the bootloader erases all the Flash
memory sectors and it disables the read protection for the entire Flash memory. If the erase
operation is successful, the bootloader deactivates the RDP.
If the erase operation is unsuccessful, the bootloader transmits a NACK and the read
protection remains active.
At the end of the Readout Unprotect command, the bootloader transmits an ACK and
generates a system Reset to take into account the new configuration of the option byte.
36/83
(1)
Start RDP_PRM
Received bytes =
0x82+0x7D?
Yes
Yes
ROP active
No
Send ACK byte
Activate Read protection for Flash
memory
Send ACK byte
Generate system reset
(1)
End of RDP_PRM
Doc ID 14156 Rev 1
No
Send NACK byte
AN2662
ai14650b
Need help?
Do you have a question about the STM32F105 Series and is the answer not in the manual?