Page 1 of 1

esp32 openocd error(at Command Line)

Posted: Wed Jul 03, 2019 1:06 am
by Daniel.Kim
Hi
I try to use the OpenOCD at first.

I finally coal is to use j-tag on the Visual Code IDE.
So I follow the recommend which explained how to set up the OpenOCD at the command line.

My OpenOCD path is "C:\Program Files\Espressif\ESP-IDF Tools\tools\share\openocd".
I installed the ESP-IDF Tools.
And I set the environment path. (C:\Program Files\Espressif\ESP-IDF Tools\mconf-idf, C:\Program Files\Espressif\ESP-IDF Tools\tools)

After then I open the terminal, go to the directory where OpenOCD is installed and start it up.
C:\Program Files\Espressif\ESP-IDF Tools\tools\share\openocd>openocd -f interface/ftdi/esp32_devkitj_v1.cfg -f board/esp-wroom-32.cfg

The result is an error.
C:\Program Files\Espressif\ESP-IDF Tools\tools\share\openocd>openocd -f interface/ftdi/esp32_devkitj_v1.cfg -f board/esp-wroom-32.cfg

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
none separate
adapter speed: 20000 kHz
esp32 interrupt mask on
Error: no device found
Error: unable to open ftdi device with vid 0403, pid 6010, decription '*', serial '*' at bus location '*'


This is my hardware connection.

JTAG-20-PIN ESP32
#1 3V3
#3 en(RST)
#5 GPIO12 : TDI
#7 GPIO14 : TMS
#9 GPIO13 : TCK
#13 GPIO15 : TDO
# 4 GND : GND