I used Jlink to connect with S32K146 nxp mcu, an error happened,as shown next,what is the reason about this?Thanks.
Protection bytes in flash at addr, 0x400~0x40f indicate that readout protection is set.
For debugger connection the device needs to be unsecurded.
Note: Unsecuring will trigger mass erase of the internal flash.
Hi,
I will only add that if mass erase is disabled by MEEN bit field in flash configuration field, then it's not possible to perform mass erase via debugger and there's no way to recover.
Regards,
Lukas
Hi,
it looks that programmed flash is protected and can't be read out. Mass erase needs to be perform if you like to start debug session. You can find more details in Reference Manual - https://www.nxp.com/webapp/sps/download/preDownload.jsp?render=true
Chapter 5 - Security Overview
Jiri