Document for builtin USB-JTAG debugging
Document for builtin USB-JTAG debugging
We are using ESP32 modules and the tool is ESP-IDF VScode. So we are decided to debug through a builtin USB-JTAG debugger, for that please provide a document .
Thanks in advance
Thanks in advance
-
- Posts: 63
- Joined: Wed Mar 06, 2019 4:39 am
- Contact:
Re: Document for builtin USB-JTAG debugging
Which ESP32 Module you have?
Re: Document for builtin USB-JTAG debugging
I have ESP32-C6, ESP32-C3 and ESP32-S3 modules.
-
- Posts: 63
- Joined: Wed Mar 06, 2019 4:39 am
- Contact:
Re: Document for builtin USB-JTAG debugging
Check the following pages.
ESP32-S3 - https://docs.espressif.com/projects/esp ... -jtag.html
ESP32-C6 - https://docs.espressif.com/projects/esp ... -jtag.html
ESP32-C3 - https://docs.espressif.com/projects/esp ... -jtag.html
ESP32-S3 - https://docs.espressif.com/projects/esp ... -jtag.html
ESP32-C6 - https://docs.espressif.com/projects/esp ... -jtag.html
ESP32-C3 - https://docs.espressif.com/projects/esp ... -jtag.html
Re: Document for builtin USB-JTAG debugging
Thank you for the response.
The hardware design is completed for the ESP32-C6 module. Being new to this ESP-IDF VSCode tool, I am little bit confused about debugging and I have some queries which are mentioned below :
1. Where can I start debugging ?
2. what are the setting have to be change in software ?
3. What are the steps involved in Built-in JTAG debugging ?
Please help me...
Thanks
The hardware design is completed for the ESP32-C6 module. Being new to this ESP-IDF VSCode tool, I am little bit confused about debugging and I have some queries which are mentioned below :
1. Where can I start debugging ?
2. what are the setting have to be change in software ?
3. What are the steps involved in Built-in JTAG debugging ?
Please help me...
Thanks
-
- Posts: 63
- Joined: Wed Mar 06, 2019 4:39 am
- Contact:
Re: Document for builtin USB-JTAG debugging
Hi,
After installing VS code 1st step add ESP-IDF as extension by referring this document - https://github.com/espressif/vscode-esp ... install.md
Detailed debugging procedure found here - https://github.com/espressif/vscode-esp ... bugging.md
After installing VS code 1st step add ESP-IDF as extension by referring this document - https://github.com/espressif/vscode-esp ... install.md
Detailed debugging procedure found here - https://github.com/espressif/vscode-esp ... bugging.md
-
- Posts: 63
- Joined: Wed Mar 06, 2019 4:39 am
- Contact:
Re: Document for builtin USB-JTAG debugging
ESP32-C6 has a built-in JTAG circuitry and can be debugged without any additional chip.
By default, ESP32-C6 JTAG interface is connected to the built-in USB_SERIAL_JTAG peripheral.
Only an USB cable connected to the D+/D- pins is necessary.
ESP32-C6 Pin USB Signal
GPIO12 D-
GPIO13 D+
5V V_BUS
GND Ground
By default, ESP32-C6 JTAG interface is connected to the built-in USB_SERIAL_JTAG peripheral.
Only an USB cable connected to the D+/D- pins is necessary.
ESP32-C6 Pin USB Signal
GPIO12 D-
GPIO13 D+
5V V_BUS
GND Ground
Re: Document for builtin USB-JTAG debugging
So we no need to change the any settings like efuse0, efuse1, efuse2 in JTAG source control configuration.
-
- Posts: 63
- Joined: Wed Mar 06, 2019 4:39 am
- Contact:
Re: Document for builtin USB-JTAG debugging
Yes. ESP32C6 built-in JTAG circuitry with VSCode debugging works fine.
Re: Document for builtin USB-JTAG debugging
I am little bit confused about In JTAG source control table EFUSE bits are given like this EFUSE_DIS_PAD_JTAG = 0, EFUSE_DIS_USB_JTAG = 0 and EFUSE_JTAG_SEL_ENABLE= 1. But in Sdkconfig.h file EFUSE bits are set to EFUSE_DIS_PAD_JTAG = 1 and EFUSE_DIS_USB_JTAG = 1 .
Is this configuration works for inbuilt USB_SERIAL_JTAG ? If not how to change this bits in sdkconfig.h file.
Is this configuration works for inbuilt USB_SERIAL_JTAG ? If not how to change this bits in sdkconfig.h file.
- Attachments
-
- Screenshot 2023-08-12 113340.png (109.34 KiB) Viewed 4770 times
-
- Screenshot 2023-08-12 105822.png (18.59 KiB) Viewed 4770 times
Who is online
Users browsing this forum: No registered users and 116 guests