32.5.13.13 CMD_LOAD_KEY
The LOAD KEY command updates an internal key per the SHE specification. If a
protected key is loaded into the RAM_KEY, the function has to disable the plain key
status bit.
Table 32-72. LOAD_KEY command details
Parameter
Direction
Width
KEY_ID
IN
5
M1
IN
128
M2
IN
256
M3
IN
128
M4
OUT
256
M5
OUT
128
Error Codes: ERC_NO_ERROR, ERC_SEQUENCE_ERROR, ERC_KEY_NOT_AVAILABLE,
ERC_KEY_INVALID,ERC_KEY_WRITE_PROTECTED, ERC_KEY_UPDATE_ERROR, ERC_KEY_EMPTY,
ERC_MEMORY_FAILURE, ERC_BUSY, ERC_GENERAL_ERROR
NOTE
1. Due to extension of the maximum number of keys (beyond
SHE specification) and the usage of KBS to identify the
higher and lower order keys, M1 entry will follow the
traditional SHE specifications (requiring the two 4-bit ID
and AuthID entries along with UID), but the command will
need more information showing which KBS (0 or 1) is
requested. This will be communicated by an additional
requirement of entering the KEY_ID ({KBS,KeyIDx[3:0]}.
Lastly, the KeyIDx[3:0] in M1 must be consistent with the
KeyIDx[3:0] in the 5-bit KEY_ID entry in the command
header.
2. If the key AuthID is empty, the key update can work with
AuthID = ID and Auth_value = all F's; otherwise
ERC_KEY_UPDATE_ERROR is returned.
3. When updating BOOT_MAC, KBS must be set to 0
(KBS=1 will generate an error)
The PGMPART configuration (see Program Partition Command) allows for an extension
to the SHE specification in which the user may enable a VERIFY_ONLY flag for the
GENERATE_MAC to take into consideration. For the VERIFY_ONLY attribute, if set,
the associated memory key slot will be treated as invalid by the
CMD_GENERATE_MAC command (only valid for CMD_VERIFY_MAC). The
VERIFY_ONLY attribute has no effect if KEY_USAGE == 0.
Chapter 32 Flash Memory Module (FTFC)
MWCT101xS Series Reference Manual, Rev. 3, 07/2019
NXP Semiconductors
801
Summary of Contents for MWCT101 S Series
Page 2: ...MWCT101xS Series Reference Manual Rev 3 07 2019 2 NXP Semiconductors...
Page 42: ...MWCT101xS Series Reference Manual Rev 3 07 2019 42 NXP Semiconductors...
Page 50: ...Conventions MWCT101xS Series Reference Manual Rev 3 07 2019 50 NXP Semiconductors...
Page 70: ...Aliased bit band regions MWCT101xS Series Reference Manual Rev 3 07 2019 70 NXP Semiconductors...
Page 78: ...Pinout diagrams MWCT101xS Series Reference Manual Rev 3 07 2019 78 NXP Semiconductors...
Page 96: ...WCT101xS safety concept MWCT101xS Series Reference Manual Rev 3 07 2019 96 NXP Semiconductors...
Page 130: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 130 NXP Semiconductors...
Page 284: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 284 NXP Semiconductors...
Page 430: ...Functional Description MWCT101xS Series Reference Manual Rev 3 07 2019 430 NXP Semiconductors...
Page 472: ...Application Information MWCT101xS Series Reference Manual Rev 3 07 2019 472 NXP Semiconductors...
Page 528: ...Module clocks MWCT101xS Series Reference Manual Rev 3 07 2019 528 NXP Semiconductors...
Page 634: ...SRAM configuration MWCT101xS Series Reference Manual Rev 3 07 2019 634 NXP Semiconductors...
Page 818: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 818 NXP Semiconductors...
Page 960: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 960 NXP Semiconductors...
Page 992: ...ADC calibration scheme MWCT101xS Series Reference Manual Rev 3 07 2019 992 NXP Semiconductors...
Page 1348: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 1348 NXP Semiconductors...
Page 1366: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 1366 NXP Semiconductors...
Page 1514: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 1514 NXP Semiconductors...
Page 1726: ...Debug and security MWCT101xS Series Reference Manual Rev 3 07 2019 1726 NXP Semiconductors...
Page 1760: ...MWCT101xS Series Reference Manual Rev 3 07 2019 1760 NXP Semiconductors...