S32K146 error:0x400~0x40f indicate that readout protection is set.

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

S32K146 error:0x400~0x40f indicate that readout protection is set.

1,899 Views
609510318
Contributor I

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.

pastedImage_1.png

0 Kudos
2 Replies

1,718 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

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

0 Kudos

1,718 Views
jiri_kral
NXP Employee
NXP Employee

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

0 Kudos