
CAN bootloader
AN2662
Doc ID 14156 Rev 1
Figure 49.
Readout Protect command via CAN: device side
1.
RDP_PRM = Readout Protect
The STM32F105xx and STM32F107xx sends the messages as follows:
ACK message: Std ID = 0x82, DLC = 1, data[0] = ACK if the content of the command is
correct and ROP is not active else data[0] = NACK.
3.15 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
message to the host. After the transmission of the ACK message, 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.
At the end of the Readout Unprotect command, the bootloader transmits an ACK message
and generates a system Reset to take into account the new configuration of the option
bytes.
!CTIVATE2EADPROTECTIONFOR&LASH
MEMORY
.O
AI
3TART2$0?02-
2ECEIVED
3END!#+MESSAGE
3END.!#+MESSAGE
%NDOF2$0?02-
9ES
3END!#+MESSAGE
'ENERATESYSTEMRESET
MESSAGEWITH
)$X