Not a bug: KDS breakpoints don't work with Segger JLink

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

Not a bug: KDS breakpoints don't work with Segger JLink

ソリューションへジャンプ
2,055件の閲覧回数
davenadler
Senior Contributor II

Note: This post was split into the solved portion below, and a separate bug report (missing call stack, debugger crash).
Thanks to Erich for explaining the problem below.

 

K64F Freedom board, KDS 3.2.0 with all available updates installed, Windows 8 64-bit host.

Latest J-link updates are installed: JLink_V612a dated 2-December (KDS and J-link firmware both updated).
While KDS mostly works for an LED blinky application we're having serious problems with anything non-trivial (like our application).

 

We gave up on the NXP-provided OpenSDA SWD interface as it was too slow and buggy.
Purchased a couple of Segger J-Link Base units, cut the required traces on the Freedom board, and gave it a try...

Many things work for my C/C++ application; with J-Link I can:

- download into flash (15x faster than NXP-provided programming),
- start a debug session,
- catch a breakpoint coded as "__asm("bkpt #0");"
- examine variables (both stack and static)
- pause and continue execution
- single step

Unfortunately I cannot:
- set a breakpoint in KDS IDE (it tries, but shows a funny line through Eclipse breakpoint symbol)
- see a stack call trace when the program is paused (though it shows the current routine)

Below are snapshots of:
- the funny not-set breakpoints,

Segger has confirmed these are problems with KDS.

Is there any hope of getting these problems fixed?

Would you recommend using a different development environment for non-trivial applications on K64F?


Thanks,
Best Regards, Dave
171037_171037.PNGJLink_cant_set_breakpoints.PNG

ラベル(1)
0 件の賞賛
返信
1 解決策
1,871件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hi Dave,

from your screenshots and breakpoint icons I see that you have turned on 'skipping all breakpoints' in Eclipse for your project?

See Skipping Breakpoints | MCU on Eclipse 

With this, the breakpoints will not be set. I assume you have turned on that feature accidentially?

I hope this helps,

Erich

元の投稿で解決策を見る

2 返答(返信)
1,872件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hi Dave,

from your screenshots and breakpoint icons I see that you have turned on 'skipping all breakpoints' in Eclipse for your project?

See Skipping Breakpoints | MCU on Eclipse 

With this, the breakpoints will not be set. I assume you have turned on that feature accidentially?

I hope this helps,

Erich

1,871件の閲覧回数
davenadler
Senior Contributor II

Bingo, that's it, Thanks Erich!
I've no idea how that got set, and didn't even know the icon existed (neither did Segger; I'll pass it along).
Thanks again,
Best Regards, Dave

PS: I'm still not seeing the call stack - any ideas??

0 件の賞賛
返信