ESP PROG and ESP32S2 devkit C1 and JTAG
Posted: Fri May 26, 2023 12:16 pm
Attempting to get the JTAG interface running using openocd and esp prog on an ESP32S2 devkitC-1
Wired up the ESP PRO to the Devkit,
run Zadig, to replace the FTDIBUS (v2.12.36.4) driver on Dual RS232-HS(interface 0) with WinUSB v6.1.7600.16385
after setting up the IDF environment, and sending command openocd -f interface/ftdi/esp32_devkitj_v1.cfg
the results in an error around libusb_open see below, searched on line, but not found things relevant to the boards I use
> openocd -f interface/ftdi/esp32_devkitj_v1.cfg
Open On-Chip Debugger v0.10.0-esp32-20200709 (2020-07-09-08:54)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 20000 kHz
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
Info : ftdi: if you experience problems at higher adapter clocks, try the command "ftdi_tdo_sample_edge falling"
Info : clock speed 20000 kHz
Error: session transport was not selected. Use 'transport select <transport>'
Error: Transports available:
Error: jtag
Error: swd
any further suggestions??
Wired up the ESP PRO to the Devkit,
run Zadig, to replace the FTDIBUS (v2.12.36.4) driver on Dual RS232-HS(interface 0) with WinUSB v6.1.7600.16385
after setting up the IDF environment, and sending command openocd -f interface/ftdi/esp32_devkitj_v1.cfg
the results in an error around libusb_open see below, searched on line, but not found things relevant to the boards I use
> openocd -f interface/ftdi/esp32_devkitj_v1.cfg
Open On-Chip Debugger v0.10.0-esp32-20200709 (2020-07-09-08:54)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 20000 kHz
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
Info : ftdi: if you experience problems at higher adapter clocks, try the command "ftdi_tdo_sample_edge falling"
Info : clock speed 20000 kHz
Error: session transport was not selected. Use 'transport select <transport>'
Error: Transports available:
Error: jtag
Error: swd
any further suggestions??