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.
danielmartynek_0-1718698874040.png
Regards,
Daniel