Dear NXPs:
S32K146;
S32DS sample 《csec_keyconfig_s32k146》
NXP NVM has written the key. First burn the Clear Key project. After calling the bool eraseKeys(void) interface in csec_utils.c, the key is successfully erased. Burn the KeyLoad project again. Under IAR Debug, hardFault occurs in the first run. Reset (the greenbox is the IAR Debug reset button) and execute again. Key is written successfully. (Two projects are designed, one Clear key and one load key. When using them, it is found that after the Clear key project is running, the loadkey project is burned again. It is found that the loadkey project is not executed. IAR Debug finds that it has entered hardFault. The participation of IAR Debug is only a temporary solution). I need your help, please
Solved! Go to Solution.
Hi @Gideon
Isn't just an additional reset needed? That's the only probable root cause I can see.
Regards,
Lukas
Hi @Gideon
Isn't just an additional reset needed? That's the only probable root cause I can see.
Regards,
Lukas