Firmware User Manual (AE-step)
45
Revision 1.02
2019-04-24
TLE984x Firmware User Manual
4.4.3
Command 84
H
– RAM: Read Data
Firmware supports reading of data and code from the device’s internal RAM via command 84
H
.
The host initiates the RAM read by sending a header block message. This message contains information about
the RAM location (offset address based on RAM start address) and the number of read data bytes.
BootROM sends back the requested data by Data Block message and by a terminating EOT block message. The
Data Block messages are used if the amount of read data exceed the Data field size of the EOT block message.
This command rejects the read operation if there is NVM HW read protection applied to any NVM region, the
offset is out of range, or offset plus count is out of range. Details about the NVM access protection are given in
Command 89H – NVM: Protection Set / Clear
. It returns an error code in the response message.
This message supports reading of a maximum of 128 bytes from the RAM. Larger memory blocks need to be
split into multiple
messages.
Header Block
Data Block
This block is only used for LIN communication, because the LIN frame length is too short to place the
maximum supported data length into the EOT block.
Table 4-12 “Command 84
H
– RAM: Read Data” Header Block Field Description
Field
Description
Length
Number of following bytes in the header block. Always set to 06
H
Message Type
RAM read data command. Always set to 84
H
Address Byte #0(MSB) 24-bit RAM address offset where to read the data.
The offset starts counting from the RAM start address 1800.0000
H
Address Byte #1
Address Byte #2(LSB)
Number
8-bit number of data bytes to read. The BootROM will send these bytes in Data Blocks
and an EOT block.
Maximum supported length: 128 bytes.
BSL20_MODE02_HEADER
.
Length
0
1
2
3
4
5
Message
Type
Reserved
Number
6
Address
Byte #0
(MSB)
Address
Byte #1
Address
Byte #2
(LSB)
BSL20_MODE_DATA
.
Data
0
2 – 6
Length
1
Message
Type