Flash Protect of S32K

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

Flash Protect of S32K

969 次查看
Kofi_Wang
Contributor I

Hi~

I need to enable flash protect of S32K144F512. but I have 2 questions which do need your help:

1. How can I configure the Flash Configuration Field (0x400-0x40F)so as to secure the MCU?

2. If the MCU is secure after the above configuration(FSEC[KEYEN] =10'b and FSEC[SEC] != 10'b), How can I use JTAG to unsecure it except launch erase all command?(I use IAR as my debug tool)

 CAN I use IAR to launch verify back door command so as to unsecure the MCU? if I can, what do I need to do to launch this command?

Really Thanks.

BR

Kofi

0 项奖励
回复
1 回复

955 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Kofi,

1.
Program the FSEC[SEC] byte in the Flash Configuration field to secure the MCU (as you mentioned FSEC[SEC] != 10'b)

2.
The debugger can mass erase the MCU to unsecure it only, it can't launch the backdoor key command.
The backdoor key can be launch by the application running on the MCU only.
Once the MCU is unlocked, you should be able to connect the debugger provided the debugger does not reset the MCU.
Because any reset causes the MCU to be locked again.
Please contact IAR Systems for more information on how to use the debugger without resetting the MCU.

 

Regards,

Daniel

 

0 项奖励
回复