This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Need help with openocd and stlink

Hi,

I configured openOCD and gcc compiler. But i got following error. i gave following command on terminal.

i created one file that is manual.cfg and contain in that file as follows.

 #nRF52832 Target
source [find interface/stlink-v2.cfg]

transport select hla_swd

source [find target/nrf52.cfg]

and ran following command.

openocd -d2 -f manual.cfg 

and i got following output on terminal.

bhau@bhau-VirtualBox:~/openocd$ openocd -d2 -f manual.cfg 
Open On-Chip Debugger 0.7.0 (2013-10-22-17:42)
Licensed under GNU GPL v2
For bug reports, read
	openocd.sourceforge.net/.../bugs.html
debug_level: 2
Runtime Error: embedded:startup.tcl:47: Can't find target/nrf51.cfg
in procedure 'script' 
at file "embedded:startup.tcl", line 58
at file "embedded:startup.tcl", line 47

I googled for the same, but didn't help that much.

Related