SLUUCA6 October 2021 BQ27Z746
This command is only accessible if ManufacturingStatus()[CAL_EN] = 1 and the device is in UNSEALED or FULL ACCESS mode. When written, the command permanently locks the configuration image in secure memory from modification. A two byte key, 0x83de, must be sent with the command for a successful write. The key must be sent in little endian order: 0xde + 0x83.
After the command is written to and executed by the device, a status byte can be read from MACData() to indicate success or failure.
Status Byte | Description |
---|---|
0x00 | Success |
0x01 | Failed because the configuration image in secure memory is already locked |
0x02 | Failed because the key is invalid |