Firmware User Manual (AE-step)
58
Revision 1.02
2019-04-24
TLE984x Firmware User Manual
4.4.9
Command 0D
H
– NVM: 100TP Write
Firmware supports programming of data in the customer-specific 100TP pages via command 0D
H
.
Any page programming is rejected if the page specific programming limit (100 times) is exceeded.
The header block message contains parameter about the 100TP page index, the offset inside that page. The
data bytes follow by Data Block messages and the last data bytes are sent by an EOT block message.
This command rejects the page write operation if the offset is out of range, or offset plus count is out of range.
NVM 100TP pages can only be written if there is no NVM read protection applied to any NVM region and write
protection to code segment (linear sectors). It returns an error code in the response message. It supports
partial page programming, preserving the page data not passed as an input
After successful write operation, the page write counter and checksum parameter are updated. These two
bytes are stored at the end of the page. These two internal bytes reduce the usable page size (126 bytes
instead of 128 bytes).
The host waiting time before response is sent back/can be asked for:
• 8 ms
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-25 “Command 0D
H
– NVM: 100TP Write” Header Block Field Description
Field
Description
Length
Number of following bytes in the header block. Always set to 06
H
Message Type
NVM 100TP write command. Always set to 0D
H
CS Index
100TP Selector.
Supported range: 0 ... 7
Offset
Byte offset within page, valid range 0...125
Number
8-bit number of data bytes to write with the whole message. The BootROM expects to
receive these bytes in Data Blocks and an EOT block.
Maximum supported length: 126 bytes.
BSL20_MODE0B_HEADER
.
CS
Index
Reserved
Offset
0
1
2
3
4
Length
Message
Type
5
Reserved
Number
6