Jlink connet error:could not find core in Coresight setup

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

Jlink connet error:could not find core in Coresight setup

2,809 次查看
BigJulie
Contributor II

Hi,everybody:

     when i use JLINK tool connet to NXP S32K146 chip with JTAG port,it reported an error  in the below.

could you give me some advice or resolution?

 

1.jpg2.jpg

Best regards.

BigJulie

标记 (1)
0 项奖励
回复
3 回复数

2,797 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Have you partitioned the MCU for CSEc?

Because if CSEc keys are allocated, Mass Erase is not possible.

Please refer to AN12130 Production Flash Programming Best Practices for S32K1xx MCUs
https://www.nxp.com/docs/en/application-note/AN12130.pdf

3.2.5.2 Mass erase and CSEc considerations

 

Thank you,

BR, Daniel

0 项奖励
回复

2,787 次查看
BigJulie
Contributor II

Thanks for you reply. 

Yes.I had partitioned the MCU for CSEC. According to AN12130 Production Flash Programming Best Practices for S32K1xx MCUs,When CSEC is enable,user must be do something otherwise the mass erase command will not work. i don't know how to run the flow below in Jlink Commander tool ,duo to i can not connect to mcu now, cause i have this problem. How can i finish the complete flow below to return to the state of chip that can be debugged ?101.png

 

best regards,

BigJulie.

0 项奖励
回复

2,752 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Julie,

I'm sorry for the delayed response.

Based on the description of this case, I'm afraid the MCU cannot be unlocked anymore.

When the MCU is secure, it can be unlocked by the debugger through Mass Erase or temporarily by the application using Backdoor Key.

Mass Erase is not an option because CSEc keys are allocated.

And if I understand, the application loaded in the MCU does not use the Backdoor key feature and it can't erase the CSEc keys to enable Mass Erase.

This should be taken into consideration when CSEc is used.

 

Best regards,

Daniel

 

0 项奖励
回复