Firmware User Manual (AE-step)
63
Revision 1.02
2019-04-24
TLE984x Firmware User Manual
4.4.11
Command 8F
H
– BSL: Option Set
Firmware supports setting of some BSL option data, including BSL timeout (NAC) and BSL interface selector,
via command 8F
H
.
The header block message contains the selected BSL interface and the NAC value.
The given configuration is stored in the device NVM CS and is used for the next startup.
The current BSL option can be read by the
command.
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 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_USERAPI_CONFIG_SET_PARAMS_INVALID
- ERR_LOG_CODE_NVM_SEMAPHORE_RESERVED
- ERR_LOG_CODE_ACCESS_AB_MODE_ERROR
Table 4-31 “Command 8F
H
– BSL: Option Set” Header Block Field Description
Field
Description
Length
Number of following bytes in the header block. Always set to 03
H
Message Type
BSL option set. Always set to 8F
H
BSL Interface
Selector
BSL Interface Selector to be used for the next startup:
•
0 -
LIN
•
1 -
FastLIN
BSL Timeout (NAC) BSL Timeout before jumping to the User Mode Code execution. The timeout starts
counting from device reset release.
A maximum of 140 ms is supported.
The BSL timeout parameter counts the amount of 5 ms (01
H
= 5 ms, 02
H
= 10 ms and so
on). The value FF
H
waits forever.
A value = 00
H
disables the BSL mode and the BootROM directly jumps to user mode.
BSL20_BSL_OPTION_SET_HEADER
.
BSL
Interface
Selector
BSL
Timeout
(NAC)
0
1
2
3
Length
Message
Type