EasyManua.ls Logo

ST STM32F105 series - Figure 36. Read Memory Command Via CAN: Host Side; Figure 37. Read Memory Command Via CAN: Device Side

ST STM32F105 series
83 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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
3TART2EADMEMORY
%NDOF2EADMEMORY
3ENDREADMESSAGESTD)$X
2ECEIVE.MESSAGESFROMBOOTLOADER
7AITFOR!#+OR.!#+
3END.!#+MESSAGE
AI
!#+
.!#+
3TART2EADMEMORY
%NDOF2EADMEMORY
2ECEIVEDMESSAGE
WITHSTD)$X
3END.MESSAGESTOTHEHOST
3END!#+MESSAGE
3END.!#+MESSAGE
.O
9E S
AI
2/0INACTIVE
!DDRESSVALID
.O
9E S

Table of Contents

Other manuals for ST STM32F105 series

Related product manuals