S32K344: Failed toconnect

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

S32K344: Failed toconnect

2,451 Views
YuZheng1
Contributor II

JFlash.png

S32K344-WB #I2c_Example_S32K344_Q172

After I use the SDK of I2c_Example_S32K344_Q172 and S32DS to configure and burn the development board, I can read and write the EEPROM of the development board normally.

However, after I use the same example, use mcal to configure I2c, compile and burn the development board and run it. It is no longer possible to connect to the S32K344 chip using J-Link.

J-Flash reports an error. See the attachment.

Can you help me analyze the possible reasons for this problem?

0 Kudos
Reply
7 Replies

2,416 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @YuZheng1 

Did you make any changes to the example code? If so, could you please share the changes you made so that I can test it on my end?

Additionally, could you try loading a simple example code, such as toggling a pin, to see if the problem persists? If possible, could you also try using another debugger to see if the issue is specific to the J-Link?

 

BR, VaneB

0 Kudos
Reply

2,379 Views
YuZheng1
Contributor II

Hello,

The attachment is the project I modified. The screenshot is the schematic diagram of the I2C connection to the EEPROM.

This issue has nothing to do with Jlink. I've made several attempts.

Also, I'd like to ask if there are any commands in the Jlink commander tool for unlocking the S32K3XX chip. I want to try if I can reconnect to the core.

YuZheng1_0-1745744228695.png

YuZheng1_1-1745744293854.png

 

 

0 Kudos
Reply

2,339 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @YuZheng1 

I just have a question. In your main question, you mentioned that you were working on S32DS, but the project you shared is an EB tresos project. Is it the correct project?

Also, did you try loading a simple example code, such as toggling a pin, to see if the problem persists?

0 Kudos
Reply

2,248 Views
YuZheng1
Contributor II
Yes, there was no such problem when I started using the example project of S32DS.

After I compiled and programmed with my EB project, the J-Link could no longer be connected.
0 Kudos
Reply

2,230 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @YuZheng1 

When you said, "no such problem when I started using the example project of S32DS," do you mean the I2c_Example_S32K344_Q172 project without any modifications? Or does it have the same modifications? Knowing this will help us figure out if the issue is related to changes made to the project.

0 Kudos
Reply

2,212 Views
YuZheng1
Contributor II
The same modification was also made. In fact, only the corresponding pin was modified.
0 Kudos
Reply

2,198 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @YuZheng1 

Could you please point me to the specific changes you are referring to?

0 Kudos
Reply