S32K148 Secure Debug

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

S32K148 Secure Debug

1,678 次查看
ViswanathR
Contributor I

Hello,

I am facing one issue with Secure Debug in S32K148. Here we are using IAR Debugger. Currently we are able to successfully Unlock the Secure Debug using Backdoor key.

And we are able to debug the application using the IAR debugger. 

We are facing issue when we try to flash the new binaries using IAR debugger. When we initiate Download, we noticed that target is going to reset which enables the secure debug and which will stops unable to download the new binaries.

Could you please provide your suggestion for this issue. When we are using Lauterbach we are able to download when secure boot is Disable using back door key.

 

0 项奖励
回复
2 回复数

1,575 次查看
cychen88
Contributor II

Unlock the Secure Debug using Backdoor key??How does this happen.I use UART some data ex:7e 03 0F 05 00 7E MCU if receive this data ,app to do 1,EraseAllSHE Key 2,FCCOB0 use ERASE_ALL_BLOCK_UNSECURE 0x49U but  return ERROR ,so Unlock Fail.

0 项奖励
回复

1,654 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @ViswanathR,

Can you please contact IAR Systems support?

Anyway, the debugger should be able to mass erase the MCU and reflash it (provided Mass Erase is enabled in FSEC, and the MCU is not partitioned for CSEc).

 

BR, Daniel

 

 

0 项奖励
回复