AN3154
Bootloader command set
Doc ID 17063 Rev 1
Figure 11.
Speed command: device side
The STM32 sends the bytes as follows:
Message 1:
Std ID = 0x03, DLC = 1, data[0] = ACK= 0x79: with old baudrate if the receive
message is correct else data[0] = NACK= 0x1F
Message 2:
Std ID = 0x02, DLC = 1, data[0] = ACK = 0x79 with new baudrate
2ECEIVEDAMESSAGE
WITHSTD)$X
ANDWITHVALID
DATA
3TARTSPEEDCOMMAND
.O
9ES
%NDOFSPEEDCOMMAND
AI
#HANGESTHE#!.BAUDRATEACCORDING
TORECEIVEDDATANEWBAUDRATE
3END!#+MESSAGE
NEWBAUDRATE
3END.!#+MESSAGE
OLDBAUDRATE
3END!#+MESSAGE
OLDBAUDRATE
"AUDRATESETCORRECTLY
%NDOFSPEEDCOMMAND
9ES
.O
'ENERATESYSTEMRESET