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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

3,215件の閲覧回数
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 返答(返信)

280件の閲覧回数
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 件の賞賛
返信

3,034件の閲覧回数
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 件の賞賛
返信

3,034件の閲覧回数
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 件の賞賛
返信