Hi, during the production process, I need to partition and write the key in RAM via CSEC module first, and then burn the program in Flash, how should I confirm that the key is written successfully? Can it be confirmed by reading a certain register?
Hi @minsky,
Crypto KEYs location is unaddressable, and there's no such status bit. You can try to perform some operation (like encryption, decryption, CMAC generation…). If a key slot is empty, you will get ERC_KEY_EMPTY error.
For production, recommended path was described by my colleague in this other thread: S32K14xx security boot production programming solution - NXP Community.
Best regards,
Julián