Firmware User Manual (AE-step)
66
Revision 1.02
2019-04-24
TLE984x Firmware User Manual
4.4.13
Command 91
H
– LIN: NAD Set
Firmware supports setting of the LIN NAD via command 91
H
.
The header block message contains as a parameter the LIN NAD value.
The given NAD address is stored in the device NVM CS and is used for the next startup.
The command can only be used if there is no NVM read protection applied to any NVM region and write
protection to code segment (linear sectors).
The current NAD value can be read by the
The host waiting time before response is sent back/can be asked for:
• 8 ms
Header Block
Returned error codes
The message can return the following error codes:
- ERR_LOG_SUCCESS
- ERR_LOG_CODE_NVM_IS_READ_PROTECTED
- ERR_LOG_CODE_USERAPI_CONFIG_SECTOR_WRITE_PROTECTED
- ERR_LOG_CODE_NAD_VALUE_INVALID
- ERR_LOG_CODE_NVM_SEMAPHORE_RESERVED
- ERR_LOG_CODE_ACCESS_AB_MODE_ERROR
Table 4-34 “Command 91
H
– LIN: NAD Set” Header Block Field Description
Field
Description
Length
Number of following bytes in the header block. Always set to 02
H
Message Type
BSL option set. Always set to 91
H
LIN NAD
New NAD value to be stored in the NVM CS
BSL20_BSL_NAD_SET_HEADER
.
LIN
NAD
0
1
2
Length
Message
Type