eclipse-plugins icon indicating copy to clipboard operation
eclipse-plugins copied to clipboard

Can't exit Eclipse without halting Stm32f4Discovery

Open smitgd opened this issue 9 years ago • 3 comments

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

smitgd avatar Sep 15 '16 23:09 smitgd

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.

smitgd avatar Sep 17 '16 22:09 smitgd

+1

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

armink avatar Jan 10 '17 11:01 armink

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
}

tarek-bochkati avatar Jun 29 '17 14:06 tarek-bochkati