Menu

#102 Detach from running target without reset

Time Permitting
open-accepted
debug (1)
5
2015-06-19
2015-06-19
Ronald Bos
No

I am using GNU ARM Eclipse 2.8.1 with Segger J-Link v9.0, which works great. There are two points regarding ending a debug session that I would like to suggest changes/improvements on.

  1. The J-Link plugin offers a method to attach the debugger to a running target, but no means to detach again. I would like to be able to detach again, without resetting the target.

  2. When stopping a debug session, currently, the target is also stopped and does not run any more (seems logical). I am not sure if this is J-Link behavior, or if this is GNU ARM Eclipse behavior. Anyway, I would like the target to reset after the stop button is clicked. This is convenient: I can keep my setup as-is (no cable detaching needed or external scripts to reset the target), and still be able to run the programmed device standalone.

Kind regards,

Ronald

Discussion

  • Liviu Ionescu (ilg)

    I'll investigate and possibly try to find a solution.

     
  • Liviu Ionescu (ilg)

    • status: open --> open-accepted
    • assigned_to: Liviu Ionescu (ilg)
     
  • Ronald Bos

    Ronald Bos - 2015-06-19

    Clarification: for 2., what I mean is that after stopping the debug session, the target will restart.

     
    • Liviu Ionescu (ilg)

      I think that the normal behaviour would be to continue from the last halt location.

      if you want to restart, you can use the restart button and then terminate the debug session.

       
MongoDB Logo MongoDB