Firmware User Manual (AE-step)
56
Revision 1.02
2019-04-24
TLE984x Firmware User Manual
4.4.8
Command 89
H
– NVM: Protection Set / Clear
Firmware supports setting and clearing of NVM protection for different NVM regions via command 89
H
. These
regions are the customer Bootloader NVM sector, code and data NVM sectors (multiple sector regions).
NVM region protection includes access protection for read and/or write/erase.
Any NVM protection clear operation ignores the password parameter if there is currently no protection
password installed for that region.
A valid password must be not equal to 0000.0000
H
or 3FFF.FFFF
H
.
The password is checked during startup. Only
if the password is valid, the given protection gets applied to the HW. This command only updates the specified
NVM CS region password and does not apply it to the HW. This is done at the next device boot.
It is only possible to set a new password if one is not installed for the region. An error is returned otherwise. To
update an existing password, the current one must be cleared first and then a new one can be set. When the
password has been successfully cleared, the password specified for the region in the options field will get set
to 0xFFFFFFFF. If the password used for clearing doesn’t match the one installed, all region passwords and the
whole NVM are erased. Clearing of the password for the customer Bootloader (CBSL) region is not supported.
When comparing a given password with one installed, the protection part of the password is ignored.
This command can be used regardless of the current applied NVM HW protection for any region.
The host waiting time before a response is sent back/can be asked for:
• 8 ms
Header Block
Table 4-23 “Command 89
H
– NVM: Protection Set / Clear” Header Block Field Description
Field
Description
Length
Number of following bytes in the header block. Always set to 06
H
Message Type
NVM protection set/clear command. Always set to 89
H
Password Byte #0(MSB) 32-bit password parameter. (see also
“NVM Password Format” on Page 70
)
Password Byte #1
Password Byte #2
Password Byte #3(LSB)
Options
The options field is described in
.
BSL20_MODE07_HEADER
.
Password
Byte #0
(MSB)
Password
Byte #1
Options
0
1
2
3
6
Length
Message
Type
Password
Byte #2
Password
Byte #3
(LSB)
4
5