SLUUCA6 October 2021 BQ27Z746
This read-write command is only accessible if ManufacturingStatus()[CAL_EN] = 1 and the device is in UNSEALED or FULL ACCESS mode. When written, the command saves the present state of the protector hardware registers to the configuration image in secure memory. In addition to the command, a one byte payload is required to indicate whether to lock the protector hardware registers after loading the configuration image from secure memory. If the byte is zero, the protector hardware registers are not locked. If the byte is non-zero, the protection hardware registers are locked to prevent modifications.
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 to erase configuration image in secure memory |
0x02 | Failed to save configuration image to secure memory |
0x05 | Failed because configuration image in secure memory is locked |