esp32 openocd debug problem
Posted: Mon Jul 06, 2020 9:49 am
Hi All,
I am working esp wroom 32 where i need debugg the code using eclipse on window 10 but i first want to try through cmd prompt.
i have the esp prog(esp32 debugger adapoter) and idf is version 3.3.2
I have followed all procedure as shown document but i getting below error and hardware connection is right as mention in document.
Flashing uart of esp-prog is working fine but jtag port is giving error.
I have already installed ftdi usb driver.
Error:
D:\ESP_Work\ESP32SDK\espconfigfor3.3.2>openocd -f interface/ftdi/esp32_devkitj_v1.cfg -f board/esp-wroom-32.cfg
Open On-Chip Debugger v0.10.0-esp32-20190313 (2019-03-13-09:57)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
none separate
adapter speed: 20000 kHz
Info : Configured 2 cores
esp32 interrupt mask on
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Error: libusb_open() failed with LIBUSB_ERROR_NOT_FOUND
Error: no device found
Error: unable to open ftdi device with vid 0403, pid 6010, description '*', serial '*' at bus location '*'
Warn : Flash driver of esp32.flash does not support free_driver_priv()
Warn : Flash driver of irom does not support free_driver_priv()
Warn : Flash driver of drom does not support free_driver_priv()
Please help to solve this problem
Thanks in advance
I am working esp wroom 32 where i need debugg the code using eclipse on window 10 but i first want to try through cmd prompt.
i have the esp prog(esp32 debugger adapoter) and idf is version 3.3.2
I have followed all procedure as shown document but i getting below error and hardware connection is right as mention in document.
Flashing uart of esp-prog is working fine but jtag port is giving error.
I have already installed ftdi usb driver.
Error:
D:\ESP_Work\ESP32SDK\espconfigfor3.3.2>openocd -f interface/ftdi/esp32_devkitj_v1.cfg -f board/esp-wroom-32.cfg
Open On-Chip Debugger v0.10.0-esp32-20190313 (2019-03-13-09:57)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
none separate
adapter speed: 20000 kHz
Info : Configured 2 cores
esp32 interrupt mask on
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Error: libusb_open() failed with LIBUSB_ERROR_NOT_FOUND
Error: no device found
Error: unable to open ftdi device with vid 0403, pid 6010, description '*', serial '*' at bus location '*'
Warn : Flash driver of esp32.flash does not support free_driver_priv()
Warn : Flash driver of irom does not support free_driver_priv()
Warn : Flash driver of drom does not support free_driver_priv()
Please help to solve this problem
Thanks in advance