AN2662 CAN bootloader
Doc ID 14156 Rev 1 51/83
After sending an ACK message, then it transmits the required data to the user ((N + 1)
bytes) via (N+1) messages /8 (since each message contains 8 bytes), starting from the
received address.
Figure 36. Read memory command via CAN: Host side
The host sends the messages as follows
Command message: Std ID = 0x11, DLC = 0x05, data[0] = 0xXX: MSB of the address ...
data[3] = 0xYY: LSB of the address, data[4] = N: number of bytes to be read (where 0 < N
<= 255).
Figure 37. Read memory command via CAN: Device side
3TART2EADMEMORY
%NDOF2EADMEMORY
3ENDREADMESSAGESTD)$X
2ECEIVE.MESSAGESFROMBOOTLOADER
7AITFOR!#+OR.!#+
3END.!#+MESSAGE
AI
!#+
.!#+
3TART2EADMEMORY
%NDOF2EADMEMORY
2ECEIVEDMESSAGE
WITHSTD)$X
3END.MESSAGESTOTHEHOST
3END!#+MESSAGE
3END.!#+MESSAGE
.O
9E S
AI
2/0INACTIVE
!DDRESSVALID
.O
9E S