CAN bootloader AN2662
50/83 Doc ID 14156 Rev 1
Figure 35. Speed command via CAN: Device side
The STM32F105xx and STM32F107xx sends the bytes as follows:
3.8 Read Memory command
The Read Memory command is used to read data from any memory address in RAM
(starting from address 0x20001000), Flash memory and information block (System memory
or option byte areas)
When the bootloader receives the Read Memory command, it starts to verify the contents of
the message:
● ID of the command is correct or not
● ReadOutProtection is disabled or enabled
● Address to be read is valid or not
If the message content is correct it transmits an ACK message otherwise it transmits a
NACK message.
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
9E S
%NDOFSPEEDCOMMAND
AI
#HANGESTHE#!.BAUDRATEACCORDING
TORECEIVEDDATANEWBAUDRATE
3END!#+MESSAGE
NEWBAUDRATE
3END.!#+MESSAGE
OLDBAUDRATE
3END!#+MESSAGE
OLDBAUDRATE
"AUDRATESETCORRECTLY
%NDOFSPEEDCOMMAND
9E S
.O
'ENERATESYSTEMRESET