question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Select openOCD board configuration missing esp32-s3 usb-jtag option.... this was painful to get working (VSC-897)

See original GitHub issue

esp-box dev kit here.

Ran through the installation steps, was able to program via openocd but kept getting invalid target errors, I think because I was using the esp32c3 openocd configuration as that was the closest one to the esp32s3 config with built in usb-jtag.

Started going through the bug reporting process and pulling variables and then, after verifying that the appropriate board file existed changed these entries from:

    "idf.openOcdConfigs": [
        "board/esp32c3-builtin.cfg"
    ],
    "idf.adapterTargetName": "esp32c3",

to:

    "idf.openOcdConfigs": [
        "board/esp32s3-builtin.cfg"
    ],
    "idf.adapterTargetName": "esp32s3",

then restarted vscode and its working, so I think this is what fixed it.

Is there a reason there is no esp32-s3 usb-jtag option for the openocd board config?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
chmorgancommented, May 18, 2022

Should we be looking to contribute the new entry to the plugin? Please don’t mark this as stale 😦

0reactions
brianignacio5commented, Oct 13, 2022

It should already work with built-in usb JTAG.

Could you share the troubleshooting doc What is happening when you start the debug session. What is the openOCD and Debug Adapter output? You might need to increment the logLevel of them to see the error.

Read more comments on GitHub >

github_iconTop Results From Across the Web

JTAG Debugging - ESP32-S3 - Espressif Systems
Configuring ESP32-S3 Target. Configuration of OpenOCD software and setting up of JTAG adapter hardware, which together make up the debugging target.
Read more >
Open On-Chip Debugger: OpenOCD User's Guide
The driver can be configured to search for any VID/PID pair (see the section on driver commands). • USB-JTAG Kolja Waschk's USB Blaster-compatible...
Read more >
Getting Started with OPENOCD Using FT2232H Adapter for ...
Learn how to make flashing your ARM-based MCU easy by using OpenOCD debugger with an FT2232H adapter.
Read more >
Open On-Chip Debugger: OpenOCD ... - Texas Instruments
The driver can be configured to search for any VID/PID pair (see the section on driver commands). • USB-JTAG Kolja Waschk's USB Blaster-compatible...
Read more >
Can not get running the debugging with "Espressif IDF plugins ...
I use ESP-IDF 4.4.1 with the board ESP32-S3-DevKitC-1 and the JTAG ... Based on the target and board selection, config options will be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found