S32K344 A strange debug problem using the SEGGER Jlink debugger

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K344 A strange debug problem using the SEGGER Jlink debugger

3,268件の閲覧回数
BrainLoader
Contributor I

SEGGER Jlink debugger can program S32K344 project, but during debugging, the breakpoint is incorrectly positioned in the middle of the main program instead of at the beginning. Breakpoints added before the breakpoint will not be paused when the program runs there

BrainLoader_0-1679902661968.png

 

0 件の賞賛
返信
9 返答(返信)

3,220件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

 below is my debug check process.

Senlent_0-1679972976098.png

Senlent_1-1679972976165.png

Senlent_2-1679972976397.png

 

0 件の賞賛
返信

3,213件の閲覧回数
BrainLoader
Contributor I

Thanks for your reply!@Senlent 

Looks like I have the same configuration as you

BrainLoader_0-1679973834555.png

BrainLoader_1-1679973874648.png

But I find that it seems to have something to do with the running time,

Because when I add a delay, The breakpoint is positioned at a new location.

At the same time, I found this situation

BrainLoader_2-1679974242817.png

It's going to refresh very quickly to look like this

BrainLoader_3-1679974326828.png

 

 

0 件の賞賛
返信

3,212件の閲覧回数
BrainLoader
Contributor I

In addition, the first debug after the code has been modified and recompiled always fails

as shown here

BrainLoader_0-1679974646444.png

 

0 件の賞賛
返信

3,256件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@BrainLoader

can not see your question clearly.

the picture you provided is not very clear and can you send your project to me so i can reproduce your problem,

0 件の賞賛
返信

3,250件の閲覧回数
BrainLoader
Contributor I

Hi @Senlent ,

Thanks for your reply.Of course I will send you my project.

But I wonder if it's because of the debugger setup.

Because I used only modified the pin related in the example project.

And then these are my debugger configurations.

BrainLoader_0-1679909887524.png

BrainLoader_1-1679909917920.pngBrainLoader_2-1679909940611.png

BrainLoader_3-1679910006600.png

 

0 件の賞賛
返信

3,243件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

There is no problem with your settings

It seems that you have modified the default version of J-LINK and GCC

Senlent_2-1679911640770.png

 

0 件の賞賛
返信

3,237件の閲覧回数
BrainLoader
Contributor I

Thanks for your reply @Senlent.

The Jlink driver supplied with the S32DS seems to be too old and is causing errors at compile time 

BrainLoader_0-1679969972000.png

 

0 件の賞賛
返信

3,228件の閲覧回数
BrainLoader
Contributor I

As an update

I updated my Jlink driver version to 7.86e and set it to the default path,

but the problem still occurs

BrainLoader_0-1679971524028.png

BrainLoader_1-1679971546576.png

 

0 件の賞賛
返信

3,229件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

There is nothing wrong with your setup,
The difference is that the version of J-LINK is different,

0 件の賞賛
返信