2016-01-10 01:15 AM
Hi,
I need help to install openOCD with eclipse. i have install eclipse and gcc compiler. it is compiling also. but i tried to set up openOCD and got some errors. Error as following.Open On-Chip Debugger 0.9.0 (2015-05-19-12:06)
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
plz help me this. I m using nucleo103RB.
#nucleo103rb #eclipse
2016-01-10 04:07 AM
You don't provide enought data to solve your problem.
I assume that You are using clean eclipse distribution (not AC6) and original openOCD. Sow, the best practice is to to create a openocd.cfg script in your project. Then run openocd in this location. At start point please copy a board script from OpenOCD. Or by option -f pass correct script for your board to openocd like thiss : -f board/st_nucleo_f103rb.cfg.2016-01-10 09:02 AM
Hi,
Thanks. i m using following eclise version.Eclipse IDE for C/C++ DevelopersVersion: Mars.1 Release (4.5.1)and i have downloaded ocd openocd-0.9.0.2016-01-10 09:26 AM
It's working now?
2016-01-10 09:44 AM
Take a look to these tutorials from my blog:
http://www.carminenoviello.com/en/2014/12/28/setting-gcceclipse-toolchain-stm32nucleo-part-1/
They should help you understanding how to setup OpenOCD in Eclipse. The problem you are facing is probably related to a wrong OpenOCD working directory.2016-01-11 02:12 AM
Hello,
You can use (SW), which includes the latest version of openocd with support of all STM32 devices and boards, of course with GCC compiler.Regards,TarekB