CAN bootloader
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.
58/83
Doc ID 14156 Rev 1
AN2662
Need help?
Do you have a question about the STM32F105 Series and is the answer not in the manual?