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

User avatar
klaatu2
Posts: 16
Joined: Wed Feb 08, 2023 11:32 pm
Location: TEXAS

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

Postby klaatu2 » Sat Aug 24, 2024 11:15 pm

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 1131 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? :?:
Attachments
devicemanager.jpg
Windows 10 Device Manager screen capture
devicemanager.jpg (85.84 KiB) Viewed 1129 times
Last edited by klaatu2 on Mon Aug 26, 2024 4:04 pm, edited 5 times in total.

User avatar
klaatu2
Posts: 16
Joined: Wed Feb 08, 2023 11:32 pm
Location: TEXAS

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

Postby klaatu2 » Mon Aug 26, 2024 4:55 am

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

User avatar
klaatu2
Posts: 16
Joined: Wed Feb 08, 2023 11:32 pm
Location: TEXAS

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

Postby klaatu2 » Mon Aug 26, 2024 4:33 pm

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 883 times

ESP_Sprite
Posts: 9709
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Tue Aug 27, 2024 12:20 am

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?

User avatar
klaatu2
Posts: 16
Joined: Wed Feb 08, 2023 11:32 pm
Location: TEXAS

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

Postby klaatu2 » Tue Aug 27, 2024 4:18 pm

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

Who is online

Users browsing this forum: ccrause and 219 guests