Jlink connet error:could not find core in Coresight setup

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Jlink connet error:could not find core in Coresight setup

2,810 Views
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

Tags (1)
0 Kudos
Reply
3 Replies

2,798 Views
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 Kudos
Reply

2,788 Views
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 Kudos
Reply

2,753 Views
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 Kudos
Reply