Firmware User Manual (AE-step)
33
Revision 1.02
2019-04-24
TLE984x Firmware User Manual
4.2.1.3
Node Address for Diagnostic (NAD)
This field specifies the address of the active slave node (only slave nodes have a NAD address). Each
lists the BootROM-supported NAD address range.
The used NAD parameter is given as a BSL API parameter (for details see also
Note: The LIN block with the standard LIN broadcast NAD (7F
H
) is ignored.
The firmware treats a received BSL message with NAD value of FF
H
as 'broadcast' message. BSL responds to
this no matter which NAD value is stored inside the NVM CS. A device with an invalid NAD value in NVM CS only
responds to a BSL 'broadcast' message.
4.2.1.4
Checksum
The checksum contains the inverted eight-bit sum with a carry over all data bytes. Data bytes are defined as
all bytes in the LIN frame excluding the protected ID byte.
Checksum calculation over the data bytes only is referred to as a classic checksum. An eight-bit sum with carry
is equivalent to the sum of all values, subtracted by 255 every time the sum is greater than or equal to 256.
Enhanced checksums are normally used for LIN 2.x devices, but frame identifiers (PID) 3C
H
always uses the
classic checksum.
The checksum is the last field of Command and Response LIN frames.
Table 4-5 Slave Response Block Field Description
Field
Description
NAD
Node address for diagnostics, specifies the address of the active slave node.
BSL Protocol
Data/EOT/Response
Block
This field determines the type of the BSL message.
Depending on the BSL command used, it could be either a data block, an EOT block or
a response block.
Checksum
The checksum is calculated based on NAD, Response and Response Data bytes. All
responses sent by the BootROM adopts the classic checksum. See
Table 4-6 NAD Address Range
NAD Value
Description
00
H
to 7F
H
Invalid slave address
80
H
to FF
H
Valid slave address
FF
H
Broadcast address.
Default address (NAD value is invalid or it is not programmed)