Recover from Fatal error reading CPU status

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

Recover from Fatal error reading CPU status

431 Views
Hozumi
Contributor I

I'm trying to debug a S32K144 with IAR I-Jet, and first error1.png appears, then error2.png.
Is there any way to recover from this state?

error1 is "Do you want to perform mass erase to unlock the device"

After press "Yes", error2 will appear.
error2 is "Fatal error: Reading CPU status failed"

0 Kudos
1 Reply

409 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Hozumi,

Unfortunately, I am not familiarized with the IAR environment, but the probable cause for this error is that the security register was flashed with all values in F, which means the Flash Security register was set to 11b: MCU Security status is secure.

Julin_AragnM_0-1708364736580.png

Please try to mass erase unlock the device, and uncheck any secure chip option as shown in this other community: Solved: IAR appears do you want to perform mass erase to unlock the device?_iar do you want to perfo...

Julin_AragnM_4-1708364864056.png

Best regards,
Julián

0 Kudos