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,