Hi,

> > I start openocd like this:
> > openocd -f interface/stlink-v2.cfg -f target/stm32f4x_stlink.cfg  -c init
> > -c reset
> 
> Try doing also "halt":
> openocd -f interface/stlink-v2.cfg -f target/stm32f4x_stlink.cfg  -c
> init -c "reset halt"

thanks, this seems to work. Just tried it 10 times without the problem 
occuring again.

Is "reset halt" on startup generally recommended or just needed for the 
stlink? I usually issued a "reset halt" on a later stage before flashing.

Kind regards,

Gerd

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to