ESP32-S3 DEBUG ISSUE vscode idf
Posted: Fri Oct 11, 2024 4:49 am
Hi everyone,
I'm currently working on an ESP32-S3 board and trying to debug it using the ESP-Prog debug module with JTAG. I'm following the official ESP-IDF programming guide to set up GDB and JTAG in VSCode. However, I'm encountering an issue that I haven't been able to resolve.
Here are the details:
ESP-IDF Version: v5.2.3
VSCode Setup: ESP-IDF Extension installed, configuration according to the docs
Debugger: ESP-Prog with JTAG connection
GDB Path: /home/dnk120/.espressif/tools/xtensa-esp-elf-gdb/14.2_20240403/xtensa-esp32s3-elf-gdb/bin/xtensa-esp32s3-elf-gdb
Target: ESP32-S3 WROOM 1U
Host OS: Linux Lite
Problem: When I try to connect to GDB and start a debugging session, I see the following issue (attached a picture of the error):
[Describe the error you see, or attach the error image directly]
I've followed the steps to set up JTAG and GDB as per the guide, but it doesn't seem to work. I'm unsure whether it's a configuration issue in VSCode, a problem with the GDB connection, or something else.
What I've Tried:
Verified connections with the ESP-Prog module (checked wiring and JTAG pins).
Double-checked my ESP32-S3 WROOM 1U is properly flashed.
Followed the steps for OpenOCD and GDB commands provided in the ESP-IDF guide.
Source I've use:
https://docs.espressif.com/projects/esp ... et-started i have follw command for setup JTAG,openocd,gdb etc.
Request:
Can anyone help identify what might be causing this issue or suggest additional steps I could take to troubleshoot? Any guidance on configuring VSCode for GDB and JTAG debugging with ESP-Prog on ESP32-S3 would be much appreciated.
Thank you!
I'm currently working on an ESP32-S3 board and trying to debug it using the ESP-Prog debug module with JTAG. I'm following the official ESP-IDF programming guide to set up GDB and JTAG in VSCode. However, I'm encountering an issue that I haven't been able to resolve.
Here are the details:
ESP-IDF Version: v5.2.3
VSCode Setup: ESP-IDF Extension installed, configuration according to the docs
Debugger: ESP-Prog with JTAG connection
GDB Path: /home/dnk120/.espressif/tools/xtensa-esp-elf-gdb/14.2_20240403/xtensa-esp32s3-elf-gdb/bin/xtensa-esp32s3-elf-gdb
Target: ESP32-S3 WROOM 1U
Host OS: Linux Lite
Problem: When I try to connect to GDB and start a debugging session, I see the following issue (attached a picture of the error):
[Describe the error you see, or attach the error image directly]
I've followed the steps to set up JTAG and GDB as per the guide, but it doesn't seem to work. I'm unsure whether it's a configuration issue in VSCode, a problem with the GDB connection, or something else.
What I've Tried:
Verified connections with the ESP-Prog module (checked wiring and JTAG pins).
Double-checked my ESP32-S3 WROOM 1U is properly flashed.
Followed the steps for OpenOCD and GDB commands provided in the ESP-IDF guide.
Source I've use:
https://docs.espressif.com/projects/esp ... et-started i have follw command for setup JTAG,openocd,gdb etc.
Request:
Can anyone help identify what might be causing this issue or suggest additional steps I could take to troubleshoot? Any guidance on configuring VSCode for GDB and JTAG debugging with ESP-Prog on ESP32-S3 would be much appreciated.
Thank you!