Error occurred when using JTAG to burn the program to ESP32:libusb_handle_events() failed with LIBUSB_ERROR_IO

Sirius
Posts: 6
Joined: Wed Aug 16, 2023 9:08 am

Error occurred when using JTAG to burn the program to ESP32:libusb_handle_events() failed with LIBUSB_ERROR_IO

Postby Sirius » Fri Jan 05, 2024 3:17 am

Hi Team

The JTAG debugger I used was espressif's official ESP-PROG, the compilation software was VSCODE, and the connection confirmation was in accordance with TMS-TMS,TDI-TDI,TCK-TCK and TDO-TDO connections.

I am trying to use JTAG to burn the ESP32 program, but the following error occurs. How to solve this problem?
2024-01-05 111244.png
error
2024-01-05 111244.png (22.11 KiB) Viewed 21413 times
Thanks
Siruis

ESP_kondalkolipaka
Posts: 188
Joined: Wed Jul 17, 2019 5:26 pm

Re: Error occurred when using JTAG to burn the program to ESP32:libusb_handle_events() failed with LIBUSB_ERROR_IO

Postby ESP_kondalkolipaka » Fri Jan 05, 2024 11:09 am

Hello,

This error most likey caused by esp32 and JTAG adaptor connection problem.

Please check this
https://docs.espressif.com/projects/esp ... nstruction

Reference
https://github.com/espressif/openocd-esp32/issues/197

Sirius
Posts: 6
Joined: Wed Aug 16, 2023 9:08 am

Re: Error occurred when using JTAG to burn the program to ESP32:libusb_handle_events() failed with LIBUSB_ERROR_IO

Postby Sirius » Tue Jan 09, 2024 1:25 am

ESP_kondalkolipaka wrote:
Fri Jan 05, 2024 11:09 am
Hello,

This error most likey caused by esp32 and JTAG adaptor connection problem.

Please check this
https://docs.espressif.com/projects/esp ... nstruction

Reference
https://github.com/espressif/openocd-esp32/issues/197
Thank you very much for your reply. I went through the steps again, but I still couldn't. I also went to understand the solution of GitHub. Our mistakes are not the same. I use the espressif's official circuit board, and his solution is not suitable for me.

I also found a forum response from 2019 that I think is the most similar error to mine.(https://esp32.com/viewtopic.php?f=13&t= ... 837#p49837)
I was using the WROOM module. The response said "WROOM module comes with AT command app" and the solution was to download the app in a different way. Does this mean ESP32 can't be downloaded using JTAG?

ESP_kondalkolipaka
Posts: 188
Joined: Wed Jul 17, 2019 5:26 pm

Re: Error occurred when using JTAG to burn the program to ESP32:libusb_handle_events() failed with LIBUSB_ERROR_IO

Postby ESP_kondalkolipaka » Wed Jan 10, 2024 5:00 am

Please check this.

https://docs.espressif.com/projects/esp ... lity-issue

Let me move this thread to esp-idf group so that you will get an expert advise from the hardware point of view.

Who is online

Users browsing this forum: VinayDand and 424 guests