hello. NXP team.I'm using S32k146.A core secure operation occurred during flash partitioning.
Afterwards, I cannot download my sw via trace32.
The function performed before core secure operation is FLASH_DRV_EraseAllBlock.
What should I do?
Hello @sungjun,
If Trace32 cannot mass erase the MCU, and it reports that the MCU is locked, it probably cannot be recovered.
Refer to AN12130 Production Flash Programming Best Practices for S32K1xx MCUs
https://www.nxp.com/docs/en/application-note/AN12130.pdf
Chapter 5 Common problems
It is also recommended to use the Erase All Blocks Unsecure FTFC command instead as it programs the FSEC byte to Unsecure.
Regards,
Daniel