ESP-PROG Debugging Issue with ESP32-S3 - "esp_usb_jtag: could not find or open device!"
Posted: Wed Mar 12, 2025 6:00 am
Hello everyone,
I am trying to debug my ESP32-S3 using ESP-PROG and OpenOCD, but I am encountering an issue where OpenOCD fails to detect the JTAG device.
Setup Details:
Debugger: ESP-PROG
Target Board: ESP32-S3
OS: Windows
Driver Setup: Installed FTDI driver using Zadig
OpenOCD Command Used:
bash
Copy
Edit
openocd -f board/esp32s3-builtin.cfg
Issue & Error Log:
When running the above command, I get the following error:
Open On-Chip Debugger v0.12.0-esp32-20240821 (2024-08-21-14:45)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : only one transport option; autoselecting 'jtag'
Info : esp_usb_jtag: VID set to 0x303a and PID to 0x1001
Info : esp_usb_jtag: capabilities descriptor set to 0x2000
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Error: esp_usb_jtag: could not find or open device!
C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20240821\openocd-esp32\share\openocd\scripts/target/esp_common.cfg:9: Error:
at file "C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20240821\openocd-esp32\share\openocd\scripts/target/esp_common.cfg", line 9
Expected Output:
I was expecting a log similar to this:
Info : esp_usb_jtag: Device found. Base speed 40000KHz, div range 1 to 255
Info : clock speed 40000 kHz
Info : JTAG tap: esp32s3.cpu0 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : esp32s3.cpu0: Debug controller was reset.
Info : Listening on port 3333 for gdb connections
Request for Help:
Has anyone faced this issue before?
Are there any additional driver configurations needed for OpenOCD to detect ESP-PROG?
Could this be an issue with my OpenOCD version or ESP-IDF setup?
Any suggestions or troubleshooting tips would be greatly appreciated!
Thanks in advance!
I am trying to debug my ESP32-S3 using ESP-PROG and OpenOCD, but I am encountering an issue where OpenOCD fails to detect the JTAG device.
Setup Details:
Debugger: ESP-PROG
Target Board: ESP32-S3
OS: Windows
Driver Setup: Installed FTDI driver using Zadig
OpenOCD Command Used:
bash
Copy
Edit
openocd -f board/esp32s3-builtin.cfg
Issue & Error Log:
When running the above command, I get the following error:
Open On-Chip Debugger v0.12.0-esp32-20240821 (2024-08-21-14:45)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : only one transport option; autoselecting 'jtag'
Info : esp_usb_jtag: VID set to 0x303a and PID to 0x1001
Info : esp_usb_jtag: capabilities descriptor set to 0x2000
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Error: esp_usb_jtag: could not find or open device!
C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20240821\openocd-esp32\share\openocd\scripts/target/esp_common.cfg:9: Error:
at file "C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20240821\openocd-esp32\share\openocd\scripts/target/esp_common.cfg", line 9
Expected Output:
I was expecting a log similar to this:
Info : esp_usb_jtag: Device found. Base speed 40000KHz, div range 1 to 255
Info : clock speed 40000 kHz
Info : JTAG tap: esp32s3.cpu0 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : esp32s3.cpu0: Debug controller was reset.
Info : Listening on port 3333 for gdb connections
Request for Help:
Has anyone faced this issue before?
Are there any additional driver configurations needed for OpenOCD to detect ESP-PROG?
Could this be an issue with my OpenOCD version or ESP-IDF setup?
Any suggestions or troubleshooting tips would be greatly appreciated!
Thanks in advance!