Hello everyone:
I download a wrong srecord which is filled with 0 to my board. So the Flash Configuration Fields were set to 0 and the MCU was locked.
I use debugger to try to unlock it but there is nothing to work.
Then I use the debugger to read the MDM-AP status, the value is 0x34 and I can not run mass erase command.
I use the scope the watch the wave of the reset pin. It looks like about 10ms~20ms low and about 250μs high.
I tried the urls below but nothing works.
https://community.nxp.com/t5/S32K/Unbricking-S32K146/m-p/937230?commentID=1166947#comment-1166947
https://community.nxp.com/t5/S32K/Accessing-S32K146-back-up-again/m-p/1378935
Is there any solution?
Solved! Go to Solution.
I suggest you try doing a mass erase with another debugger always making sure the reset pin is in low state. If this is not possible, the MCU is bricked.
Sorry about the inconvenience.
Hi @LewisThin
Did you enables CSE? If yes, mass erase will not work, just in the case that the key is configured as write-protected.
If you can't establish connection via JTAG/SWD anymore and there is no code in the flash that could do that, the device is bricked.
B.R.
VaneB
I suggest you try doing a mass erase with another debugger always making sure the reset pin is in low state. If this is not possible, the MCU is bricked.
Sorry about the inconvenience.