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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

3,172 次查看
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 项奖励
回复
3 回复数

237 次查看
sametsan88
Contributor I

I have same problem. 
I didnt do anything. I only did erase chip with j-flash lite. And than I got same notification. 
I dont use CSEC anywhere. But MCU is blocked. 

What can I do now ? 

 

 

0 项奖励
回复

2,991 次查看
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 项奖励
回复

2,991 次查看
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 项奖励
回复