OpenOCD with Eclipse for ESP32
Posted: Thu Nov 29, 2018 5:21 pm
Hi everyone,
I was able to make both openocd and gdb work in my terminals. I am using Windows 10, and TUMPA for debugging.
The directory of openocd is: "C:\msys32\home\khoil\esp\openocd-esp32\bin"
The directory of openocd cfg files: "C:\msys32\home\khoil\esp\openocd-esp32\share\openocd\scripts\boards" and "C:\msys32\home\khoil\esp\openocd-esp32\share\openocd\scripts\interfaces\ftdi"
The directory of my project is: "D:\esp32\workspace\scan"
I use "esp-wroom-32.cfg" and "tumpa.cfg"
I installed the plug-in called "GNU MCU Eclipse Plug-ins" on my Eclipse 2018 C/C++
I was following the instruction from https://gnu-mcu-eclipse.github.io/debug/openocd/,
In the "config options" under "debugger tab" of "GDB OpenOCD debugging", I have:
But whenever I try to run the debugger, it gives me error:
Could someone help me with this error?
Thanks
I was able to make both openocd and gdb work in my terminals. I am using Windows 10, and TUMPA for debugging.
The directory of openocd is: "C:\msys32\home\khoil\esp\openocd-esp32\bin"
The directory of openocd cfg files: "C:\msys32\home\khoil\esp\openocd-esp32\share\openocd\scripts\boards" and "C:\msys32\home\khoil\esp\openocd-esp32\share\openocd\scripts\interfaces\ftdi"
The directory of my project is: "D:\esp32\workspace\scan"
I use "esp-wroom-32.cfg" and "tumpa.cfg"
I installed the plug-in called "GNU MCU Eclipse Plug-ins" on my Eclipse 2018 C/C++
I was following the instruction from https://gnu-mcu-eclipse.github.io/debug/openocd/,
In the "config options" under "debugger tab" of "GDB OpenOCD debugging", I have:
Code: Select all
-s share/openocd/scripts -f interface/ftdi/tumpa.cfg -f board/esp-wroom-32.cfg
Code: Select all
Open On-Chip Debugger 0.10.0-dev (2018-09-20-12:54)
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
Thanks