-
Notifications
You must be signed in to change notification settings - Fork 150
Description
Development Kit
ESP32-S3-DevKitC-1
Module or chip used
ESP32-S3-WROOM1
Debug Adapter
USB Serial/JTAG
OpenOCD version
v0.11.0-esp32-20221026
Operating System
Windows
Using an IDE ?
Visual Studios Code
OpenOCD command line
openocd -f board/esp32s3-builtin.cfg
JTAG Clock Speed
default
ESP-IDF version
5.0.1
Problem Description
-
I started by opening up visual studio code, and installing the Espressif IDF v1.6.0 extension, with my ESP32S3 Device plugged in to my machine
-
I opened windows PowerShell and pasted the following line to install required drivers (downloaded successfully):
Invoke-WebRequest 'https://dl.espressif.com/dl/idf-env/idf-env.exe' -OutFile .\idf-env.exe; .\idf-env.exe driver install --espressif
-
I opened the command palette (View > Command Palette) and typed in the command 'ESP-IDF: Show Examples Projects,' then selected the current framework, which opened the example projects
-
I clicked 'blink' under the get-started examples and then created a new project using example blink
-
From here, without editing any of the code, in the lower left of the screen in the bar along the bottom I select the correct COM port, the device, and the debug type, which for me in this case was COM9, esp32s3, and JTAG.
-
I built the code, and after a successful build, I clicked the 'ESP-IDF Flash Device' button.
-
A prompt that indicates OpenOCD is not running pops up, I click 'open'
-
In the output, I get the error show in the debug logs below.
Debug Logs
[OpenOCD]
Open On-Chip Debugger v0.11.0-esp32-20221026 (2022-10-26-14:48)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
[OpenOCD]
debug_level: 2
[OpenOCD]
Info : only one t[OpenOCD]
ransport option; autoselect 'jtag'
Info : esp_usb_jtag: VID set to 0x303a and PID to 0x1001
Info : esp_usb_jtag: capabilities descriptor set to 0x2000
[OpenOCD]
Warn : Transport "jtag" w[OpenOCD]
as already selected
[OpenOCD]
Info : Listening on port 6666 for tcl conne[OpenOCD]
ctions
Info : Listening on port 4444 for telnet connections
[OpenOCD]
❌ Error: libusb_get_string_de[OpenOCD]
scriptor_ascii() failed with -9
[OpenOCD]
[Stopped] : OpenOCD ServerExpected behavior
Successful Debugging
