2315914_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2315914_en-US

2315914_en-US

How to Confirm Successful Key Write for S32K142

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?

Re: S32K142如何确认写入密钥成功

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

Tags (1)
No ratings
Version history
Last update:
‎02-12-2026 02:34 AM
Updated by: