Firmware User Manual (AE-step)
57
Revision 1.02
2019-04-24
TLE984x Firmware User Manual
Returned error codes
The message can return the following error codes:
- ERR_LOG_SUCCESS
- ERR_LOG_CODE_USER_NVM_PROTECT_SEGMENT_INVALID
- ERR_LOG_CODE_USER_PROTECT_PWD_INVALID
- ERR_LOG_CODE_NVM_SEMAPHORE_RESERVED
- ERR_LOG_CODE_CS_PAGE_CHECKSUM
- ERR_LOG_CODE_CS_PAGE_ECC2READ
- ERR_LOG_CODE_USER_PROTECT_NO_CBSL_PWD_CLEAR
- ERR_LOG_CODE_USER_PROTECT_NO_PASSWORD_EXISTS
- ERR_LOG_CODE_NVM_ERASE_ADDR_INVALID
- ERR_LOG_CODE_NVM_SECT_ERASE_ADDR_INVALID
- ERR_LOG_CODE_NVM_PROTECT_REMOVE_PASSWORD_FAILED
- ERR_LOG_CODE_USER_PROTECT_NVM_AND_PWD_ERASED
- ERR_LOG_CODE_NVM_ADDR_RANGE_INVALID
- ERR_LOG_CODE_NVM_ERASE_PARAMS_INVALID (includes NVM write protection check)
- ERR_LOG_CODE_USER_PROTECT_PWD_EXISTS
Table 4-24 “Command 89
H
– NVM: Protection Set / Clear” Header Block Options Field Description
Field
Bits
Description
Res
7:3
Reserved
Password Selector
2:1
Password Selector
Password selection to set or reset.
00
B
Customer Bootloader Password
,
01
B
Code Segment Password
,
10
B
Data Segment Password
,
11
B
Reserved
,
Operation
0
Set/Clear the password protection
0
B
Clear
, The password protection is cleared if the provided password
matches the installed password for the region.
1
B
Set
, Password protection is installed for the region if the selected
password protection is currently not installed.