OpenOCD error message

Open source ARM Debugger

Moderator: phalanx

Post Reply
rajivtctech
Posts: 1
Joined: Sun Nov 12, 2017 12:23 am

OpenOCD error message

Post by rajivtctech » Sun Nov 12, 2017 12:37 am

I have just bought an STLink V2 JTAG dongle.
I use Ubuntu 16.04.
I installed OpenOCD via Synaptic.
lsusb shows me the STLink JTAG device.
I want to use the STLink to program an STM32F103C8T8 bluepill device.
When I startup openocd via a terminal, I get the following message:
rajiv@rajiv-desktop:~$ openocd
Open On-Chip Debugger 0.9.0 (2015-09-02-10:43)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
embedded:startup.tcl:60: Error: Can't find openocd.cfg
in procedure 'script'
at file "embedded:startup.tcl", line 60
Error: Debug Adapter has to be specified, see "interface" command
embedded:startup.tcl:60: Error:
in procedure 'script'
at file "embedded:startup.tcl", line 60
What do I have to do, to get this going?

parvepratik
Posts: 1
Joined: Tue Nov 14, 2017 10:59 pm

Re: OpenOCD error message

Post by parvepratik » Tue Nov 14, 2017 11:03 pm

Hi Rajiv,Please read manual the launching command has to something like this
>openocd -f <adopter_specific_config_file>

Post Reply