ESP32 debugging working using a ESP-PROG board together with an ESP32-S3 dev board
Posted: Wed Aug 21, 2024 6:31 am
I am trying to get ESP32 debugging working using a ESP-PROG board together with an ESP32-S3 dev board.
I am using VSCode with IDF ver 5.3. I have tried following a few guides and videos but they are a little different and some are out of date.
So far:
I have connected up the JTAG interface pins from the debug board to the ESP32-S3 as follows.
I used Zadig to update my drivers for the dual RS-232 0
Windows device manager shows:
Under Ports (COM & LPT)
USB Serial CH343 (COM19)
USB Serial Port (COM20)
and under USB Devices
DUAL RS232-HS
In a terminal I run:
But when I run:
Can any help with this or point me to a guide which will help.
Thanks
I am using VSCode with IDF ver 5.3. I have tried following a few guides and videos but they are a little different and some are out of date.
So far:
I have connected up the JTAG interface pins from the debug board to the ESP32-S3 as follows.
- Debug board ESP32-S3
- TDI --------------------------GPIO41 pin 41
- TDO ------------------------GPIO40 pin 40
- TCK-------------------------GPIO39 pin 39
- TMS-------------------------GPIO42 pin 42
- VJTAG----------------------3v3
Windows device manager shows:
Under Ports (COM & LPT)
USB Serial CH343 (COM19)
USB Serial Port (COM20)
and under USB Devices
DUAL RS232-HS
In a terminal I run:
- PS .....> openocd --version
- Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:26)
- Licensed under GNU GPL v2
- For bug reports, read
- http://openocd.org/doc/doxygen/bugs.html
- PS .....> openocd -f board/esp32s3-builtin.cfg
- Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:26)
- 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:\Users\micha\.espressif\tools\openocd-esp32\v0.12.0-esp32-20240318/openocd-esp32/share/openocd/scripts/target/esp_common.cfg:9: Error:
- at file "C:\Users\micha\.espressif\tools\openocd-esp32\v0.12.0-esp32-20240318/openocd-esp32/share/openocd/scripts/target/esp_common.cfg", line 9
Thanks