AN3154
Bootloader command set
Doc ID 17063 Rev 1
Figure 13.
Read memory command: device side
The STM32 sends messages as follows:
ACK message: Std ID = 0x11, DLC = 1, data[0] = ACK if content of the command is correct
else data[0] = NACK
Data message (N+1) / 8: Std ID = 0x11, DLC = Number of Byte, data[0] = 0xXX...
data[Number of Byte - 1] = 0xYY
ACK message: Std ID = 0x11, DLC = 1, data[0] = ACK
3.7 Go
command
The Go command is used to execute the downloaded code or any other code by branching
to an address specified by the application. When the bootloader receives the Go command,
it starts if the message contains the following valid information:
●
ID of the command is correct or not
●
ReadOutProtection is disabled or enabled
●
Branch destination address is valid or not(data[0] is the address MSB and data[3] 4 is
LSB
If the message content is correct it transmits an ACK message otherwise it transmits a
NACK message.
3TART2EADMEMORY
%NDOF2EADMEMORY
2ECEIVEDMESSAGE
WITHSTD)$X
3END. MESSAGESTOTHEHOST
3END!#+MESSAGE
3END.!#+MESSAGE
.O
9ES
AI
2/0INACTIVE
!DDRESSVALID
.O
9ES