I have a running board that I want to attach the debugger to. In CW this was an option, but I don't see it in KDS.
Is this possible via KDS? If not will it be and when?
I am using a GDB SEGGER J-Link session type.
Thanks
Solved! Go to Solution.
Hi Leif,
I was able to do an attache with Segger J-Link, have a look here:
http://mcuoneclipse.com/2015/03/20/attaching-to-a-running-target-with-segger-j-link-gdb-and-eclipse/
I hope this helps,
Erich
Hi Leif,
I was able to do an attache with Segger J-Link, have a look here:
http://mcuoneclipse.com/2015/03/20/attaching-to-a-running-target-with-segger-j-link-gdb-and-eclipse/
I hope this helps,
Erich
Thanks, that did it!
Hi Leif,
you can specify that it shall load only the symbols, but not flash the application file:
However, the Segger GDB still does a reset of the target at connection time: so it is not a true connect/attach, as the device receives a reset.
I hope this helps,
Erich
oh, actually it seems I have found a way to attach to a running target with Segger J-Link :-) I'll post my findings shortly.....
Hello Leif,
You can do it following next steps:
Top menu Run->Debug configurations->GDB Segger J-Link Debugging
Best regards,
Alexey.
No I mean attach to an running device, not re downloading and then attaching as you normally do when you start a debugging session.
CW has the option to Download, Connect, Attach and Custom when starting a debugging session.
Hi Leif,
from my understanding, KDS doesn't have exact feature as CW,
CW uses a proprietary debugger engine while KDS uses gdb, that's different.
with KDS, we can use C/C++ Attach to Application feature:
Have a great day,
Zhang Jun
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------