Trying to get the builtin USB-to-JTAG debugger running using ESP-IDE in VSC and running OpenOCD.
The USB driver appears to be running:
When attempting to start the OpenOCD Server:
I have searched and searched an can't find a solution.
I see nothing from Espressif that helps.
Various AI discuss creating a launch.json file. No real mention from Espressif
Shouldn't the OpenOCD server be pre-configured by ESP-IDE without a launch file??
I tried this launch.json file, but it still fails: Not sure it needs this file.
ESP32 built in USB-to-JTAG debugger - SOLVED
ESP32 built in USB-to-JTAG debugger - SOLVED
- Attachments
-
- launch.jpg (84.06 KiB) Viewed 930 times
Last edited by klaatu2 on Tue Mar 11, 2025 8:24 pm, edited 1 time in total.
Re: ESP32 built in USB-to-JTAG debugger - HELP
There are two ESP32 efuses which can disable the USB/JTAG interface, both are set to not disable the function:
Is this a driver issue? Notice the age of this driver, 19 years old....can this be the right driver?
Is this a driver issue? Notice the age of this driver, 19 years old....can this be the right driver?
Re: ESP32 built in USB-to-JTAG debugger - HELP
It was the driver.
The 2021 driver can be found here
https://dl.espressif.com/dl/idf-driver/ ... -07-15.zip
While the OpenOCD Server is now running, it is reporting errors. More debug required
The 2021 driver can be found here
https://dl.espressif.com/dl/idf-driver/ ... -07-15.zip
While the OpenOCD Server is now running, it is reporting errors. More debug required
Re: ESP32 built in USB-to-JTAG debugger - HELP
That launch.json file also was not correct
Instead, I deleted it. then hit CTRL SHIFT P, and entered "ESP-IDF: Add vscode Configuration Folder"
That created a new launch.json file
And now the debugger seems to be running
Now to figure out how to use it
Instead, I deleted it. then hit CTRL SHIFT P, and entered "ESP-IDF: Add vscode Configuration Folder"
That created a new launch.json file
And now the debugger seems to be running
Now to figure out how to use it
Who is online
Users browsing this forum: Applebot, Google [Bot] and 5 guests