Debug connection through JTAG not always working in VSCode
Posted: Thu Jun 06, 2024 1:52 pm
Hello,
I am working with a DevKit "esp32-c6-devkitc-1_v1.2" and I have installed in my PC the ESP-IDF v5.2.2 using the VSCode application to run it. Everything is set-up as default and I am working just with the "blink" example... I have also installed the drivers described in the "https://docs.espressif.com/projects/esp ... -jtag.html" page.
Connecting using the USB/JTAG connection, the "Flash" and "Monitor" options work perfectly. However for the debugging I have to try the "Launch" in VSCode around 5-8 times to manage to connect. Every time if fails it shows the "Failed to init Debug Adapter!" message.
Is there any idea why this is happening? Any help would be greatly appreciated.
Thanks!
I am working with a DevKit "esp32-c6-devkitc-1_v1.2" and I have installed in my PC the ESP-IDF v5.2.2 using the VSCode application to run it. Everything is set-up as default and I am working just with the "blink" example... I have also installed the drivers described in the "https://docs.espressif.com/projects/esp ... -jtag.html" page.
Connecting using the USB/JTAG connection, the "Flash" and "Monitor" options work perfectly. However for the debugging I have to try the "Launch" in VSCode around 5-8 times to manage to connect. Every time if fails it shows the "Failed to init Debug Adapter!" message.
Is there any idea why this is happening? Any help would be greatly appreciated.
Thanks!