Firmware User Manual (AE-step)
34
Revision 1.02
2019-04-24
TLE984x Firmware User Manual
4.2.2
LIN Message Examples
provide some examples of how to write and read RAM using LIN BSL commands.
Figure 4-12 BSL RAM Write Access Frame Examples
LIN_FRAME_ RAM_WRITE_EXAMPLES
.
Write RAM Data
Host
BootROM
Master Request
Header &
Header Block:
EOT Block:
<<< Delay >= BSL command processing time >>>
*)
Length:
- 1-byte field
- Max. value: 129
D
- Min. value: 2
D
- Describes the amount of following bytes in the frame.
Num:
- 1-byte field
- Number of data bytes the host wants to read or write
(exchanged by data & EOT block frames)
Data Bytes:
- Data bytes read or written
Address:
- 24-bit RAM offset to write data
Length
*)
0x81
Response Block:
<<< Delay >= Message timing contrains µs >>>
Response Code
SYN
0x55
0x3C
NAD Length
*)
0x02
Address
*)
Res
Num
*)
CHKS
Data Block:
SYN
0x55
0x3C
NAD Length
*)
0x00
Data Bytes
*)
CHKS
Data Block:
SYN
0x55
0x3C
NAD Length
*)
0x00
Data Bytes
*)
CHKS
…
<<< Multiple Data Blocks >>>
...
SYN
0x55
0x3C
NAD Length
*)
0x80
Data Bytes
*)
CHKS
Slave Response Header:
SYN
0x55
0x7D
NAD
CHKS
<<< Delay >= BSL frame processing time >>>
<<< Delay >= BSL frame processing time >>>
<<< Delay >= Message timing contrains µs >>>