ESP32-S3 JTAG debugging using Espressif IDE
Posted: Wed Oct 26, 2022 12:33 pm
Hello. I have been using vscode for a while now. I have decided to download Espressif and try debugging with JTAG using ESP32-S3.
I have setup Espressif IDE (https://dl.espressif.com/dl/esp-idf/?idf=4.4)
And imported "hello world" project. I have created a a new configuration :
https://im4.ezgif.com/tmp/ezgif-4-76d35bac1c.png
I use ESP32-S3 development board that has UART and USB connectors. If I want to use JTAG, I must connected to USB and that is what I did.
When I try to launch in debug mode, I get the following error:
Could someone help me understand a little how to setup the IDE for ESP32-S3 debugging
I have setup Espressif IDE (https://dl.espressif.com/dl/esp-idf/?idf=4.4)
And imported "hello world" project. I have created a a new configuration :
https://im4.ezgif.com/tmp/ezgif-4-76d35bac1c.png
I use ESP32-S3 development board that has UART and USB connectors. If I want to use JTAG, I must connected to USB and that is what I did.
When I try to launch in debug mode, I get the following error:
Code: Select all
Open On-Chip Debugger v0.11.0-esp32-20211220 (2021-12-20-15:43)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 20000 kHz
Flashing C:/Espressif/frameworks/esp-idf-v4.4.2/workspace/hello_world/build/partition_table/partition-table.bin at 0x8000
Error: no device found
Error: unable to open ftdi device with vid 0403, pid 6010, description '*', serial '*' at bus location '*'
Error: no device found
Error: unable to open ftdi device with vid 0403, pid 6014, description '*', serial '*' at bus location '*'
** OpenOCD init failed **
shutdown command invoked
** Flashing Failed **
-1
Started by GNU MCU Eclipse
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Assertion failed!
Program: C:\Espressif\tools\openocd-esp32\v0.11.0-esp32-20211220\openocd-esp32\bin\openocd.exe
File: ../src/jtag/core.c, Line 343
Expression: jtag_trst == 0
Could someone help me understand a little how to setup the IDE for ESP32-S3 debugging