From: Andreas F. <and...@gm...> - 2018-08-09 15:11:27
|
On Sun, Aug 5, 2018 at 11:56 AM, R. Diez via OpenOCD-user < ope...@li...> wrote: > > > I wonder what the best strategy is to shut OpenOCD down cleanly when GDB > quits. > Best options is... don't. OpenOCD is intended to be a daemon running in the background, why do you want to stop and restart it every debug session? For normal code/compile/debug cycles I start OpenOCD when I get to work in the morning and leave it running the whole day. Flashing is of course handled using load in GDB. In normal cases OpenOCD wont mind even if you power cycle or disconnect the target, at least with Cortex-M targets. /Andreas |