Skip to content

Can't exit Eclipse without halting Stm32f4Discovery #140

Open

Description

@smitgd

When eclipse/plug-in exits, it appears to send an empty packet to openocd that triggers a halt command to the target. This is true even when openocd is running independently and is not started or terminated by eclipse/plug-in.
See here for details:
https://www.element14.com/community/thread/56535/l/how-to-exit-eclipse-without-halting-stm32f4discovery

Activity

  1. self-assigned this
    on Sep 15, 2016
  2. added this to the Time permitting milestone on Sep 15, 2016
  3. smitgd commented on Sep 17, 2016

    @smitgd
    Author

    An easy work-around is to just terminate the "openocd" process seen in the Debug tab. Then when you exit Eclipse the board does not halt and keeps running. Still, not having to do this would be good.

  4. armink commented on Jan 10, 2017

    @armink

    +1

    The same problem for J-Link. It's just work fine when using console tab terminate button.

  5. tarek-bochkati commented on Jun 29, 2017

    @tarek-bochkati

    you can add detach event in stm32f4x.cfg (I m used to do so when connecting in hotplug mode)

    $_TARGETNAME configure -event gdb-detach {
    	resume
    }
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions