AN3154
Bootloader command set
Doc ID 17063 Rev 1
Figure 19.
Erase Memory command: device side
The STM32 sends 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
%RASEMEMORYPAGEBYPAGE
.O
3TART%RASE-EMORY
MESSAGESDATAFIELD
2ECEIVEDMESSAGE
3END!#+
MESSAGE
%NDOFERASEMEMORY
9ES
3END.!#+MESSAGE
AIB
ACCORDINGTODATACONTAINEDINTHE
WITHSTD)$X
AND2/0
)SBYTEOFTHE
DATAFIELDX&&
3END!#+
MESSAGE
3TARTGLOBALERASE
.O
9ES