Page 1 of 1

HELP! Can't Flash via USB JTAG...... Help! . . . . . (esp32-s3-lcd-ev-board)

Posted: Sat Aug 24, 2024 11:15 pm
by klaatu2
When attempting to flash via Visual Studio Code/ESP-IDF, the esp32-S3 (actually the esp32-s3-lcd-ev-board).
I get this error :evil: in ESP-IDF:

Code: Select all

❌ Error: libusb_open() failed with
❌ LIBUSB_ERROR_NOT_FOUND
Error: esp_usb_jtag: could not find or open device!
e:\ESPIDF\TOOLS\tools\openocd-esp32\v0.12.0-esp32-20240318/openocd-esp32/share/openocd/scripts/target/esp_common.cfg:9: Error:
at file "e:\ESPIDF\TOOLS\tools\openocd-esp32\v0.12.0-esp32-20240318/openocd-esp32/share/openocd/scripts/target/esp_common.cfg", line 9
Windows 10 is connected to the USB-C port labeled "USB" on the esp32-s3-lcd-ev-board. I have tried the 2nd USB port labeled "UART", results in a whole new error. I have tried putting the board in boot mode, no difference. It seems like a driver issue, Windows says the driver is the latest.
At the bottom of VSC, it shows the correct com port, the right device, and "JTAG"
Jtag.jpg
Visual Studio Code
Jtag.jpg (12.69 KiB) Viewed 896 times

I can flash using ESP LaunchPad via the same USB-C "USB" Port. :o . . . . . No, ESPLaunchPad is not connected when using VSC
I have uninstalled the driver, rebooted windows 10, tried different PC USB ports, USB 3.0, USB3.2, USB-C, nothing has worked.
Any ideas? :?:

Re: Can't Flash via USB JTAG...... Help! . . . . . (esp32-s3-lcd-ev-board)

Posted: Mon Aug 26, 2024 4:55 am
by klaatu2
250 views, but no responses. I have exhausted searching the internet for a resolution. And so far contacting espressif has yielded nothing. :cry:

The best I could find was those claiming to use a 3rd party driver utility to update drivers and this resolved their issue. But the utilities are super sketchy from unknown sources.....I just can't bring myself to install this potentially malicious software

Re: HELP! Can't Flash via USB JTAG...... Help! . . . . . (esp32-s3-lcd-ev-board)

Posted: Mon Aug 26, 2024 4:33 pm
by klaatu2
Moved to the UART port on the board, driver installed, selected the new COM port.....
And the flash worked. Really disappointed could not get the non-UART port to work.
ESPLaunchPad works via this UART port too.

But in the end, the Hello_World example, does nothing on this board
UART.jpg
UART.jpg (69.62 KiB) Viewed 648 times

Re: HELP! Can't Flash via USB JTAG...... Help! . . . . . (esp32-s3-lcd-ev-board)

Posted: Tue Aug 27, 2024 12:20 am
by ESP_Sprite
klaatu2 wrote:
Mon Aug 26, 2024 4:33 pm
But in the end, the Hello_World example, does nothing on this board
It should print out some text on the serial terminal, did you check that?

Re: HELP! Can't Flash via USB JTAG...... Help! . . . . . (esp32-s3-lcd-ev-board)

Posted: Tue Aug 27, 2024 4:18 pm
by klaatu2
In VSC there is a window at the bottom, that can display various windows, PROBLEMS, OUTPUT, DEBUG CONSOLE, TERMINAL, PORTS, ESP-IDF. I checked each of these saw no output from Hello_World.

I have since imported the much more complicated Smart_Panel example, was able to compile it, flash it and it works. No need for Hello_World