Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Setting up OpenOCD for Eclipse 2018(Error with configuration file when trying to debug)
Setting up OpenOCD for Eclipse 2018 [message #1799101] Thu, 29 November 2018 17:36
Khoi Ly is currently offline Khoi LyFriend
Messages: 3
Registered: November 2018
Junior Member
Hi everyone,

I am not sure if this is the right place to ask, but I will ask anyway.

I have the following software:
Windows 10, Eclipse 2018, openOCD, and GDB

I was able to make openOCD and GDB work perfectly in the terminal, and it could debug my microcontroller.

I followed this instruction:
https://gnu-mcu-eclipse.github.io/debug/openocd/

If I write on the command line, it will be like this:
cd ~/esp/openocd-esp32
bin/openocd -s share/openocd/scripts -f interface/ftdi/tumpa.cfg -f board/esp-wroom-32.cfg


If I do the following in Eclipse:
"Run" -> "Debug Configuration" -> "GDB OpenOCD debugging" -> "Debugger" tab -> "Config Options:"
-s share/openocd/scripts -f interface/ftdi/tumpa.cfg -f board/esp-wroom-32.cfg

or
 -f interface/ftdi/tumpa.cfg -f board/esp-wroom-32.cfg


I got the same error:

Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
embedded:startup.tcl:60: Error: Can't find tumpa.cfg
in procedure 'script' 
at file "embedded:startup.tcl", line 60


What is the correct way to make openocd in Eclipse to recognize these configuration files? I know my file names are correct since I was able to debug in the terminal. I also know that my directories are correct since I was able to debug in the terminal

I have the following hardwares:
ESP-32 Thing from Sparkfun
Tumpa JTAG hardware debugger

Thanks,
Previous Topic:Define the OpenOCD folder location
Next Topic: Making something go towards a certain point and then detect collision
Goto Forum:
  


Current Time: Thu Apr 25 15:45:45 GMT 2024

Powered by FUDForum. Page generated in 0.06553 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top