AshvajitP

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: esp32 s3 jtag #33485
    AshvajitP
    Participant

    Hi,

    I have found the issue and I am able to debug my ESP32-S3 now. It turns out that visual GDB was not able to change the driver of USB device. I had to do it manually using USB Driver Tool and is working now with earlier given commands.

    Attachments:
    You must be logged in to view attached files.
    in reply to: esp32 s3 jtag #33478
    AshvajitP
    Participant

    Hi,

    I am getting the issue, not able to use debug my ESP32-S3 in custom board. I have already flashed my code in S3, but I am not able to debug using built-in USB debug of ESP32-S3.

    I am getting this exception message:

    VisualGDB version: 5.6.104.4534
    —————— System.Exception ——————
    System.Exception: esp_usb_jtag: could not find or open device!
    at VisualGDB.Common_GUI.WPF.DebugMethodTestWindow.ThrowTestFailedException()
    at VisualGDB.Common_GUI.WPF.DebugMethodTestWindow.TestThreadBody()
    trace=[VisualGDB.Common_GUI.WPF.DebugMethodTestWindow.ThrowTestFailedException:56, VisualGDB.Common_GUI.WPF.DebugMethodTestWindow.TestThreadBody:356]

     

    Test settings

    C:\Users\APRASAD\AppData\Local\VisualGDB\EmbeddedDebugPackages\com.sysprogs.esp32.core\bin\openocd.exe -c “gdb_port 60858” -c “telnet_port 60856” -f interface/esp_usb_jtag.cfg -c “adapter_khz 3000” -f target/esp32s3.cfg -c “echo VisualGDB_OpenOCD_Ready”
    Open On-Chip Debugger 0.10.0 (2022-05-03)
    Licensed under GNU GPL v2
    libusb1 09e75e98b4d9ea7909e8837b7a3f00dda4589dc3
    For bug reports, read
    http://openocd.org/doc/doxygen/bugs.html
    Info : only one transport option; autoselect ‘jtag’
    Info : esp_usb_jtag: VID set to 0x303a and PID to 0x1001
    Info : esp_usb_jtag: capabilities descriptor set to 0x2000
    adapter speed: 40000 kHz

    DEPRECATED! use ‘adapter speed’ not ‘adapter_khz’
    adapter speed: 3000 kHz

    Warn : Transport “jtag” was already selected
    VisualGDB_OpenOCD_Ready
    Info : Listening on port 6666 for tcl connections
    Info : Listening on port 60856 for telnet connections
    Error: esp_usb_jtag: could not find or open device!

    Error: No JTAG interface configured yet. Issue ‘init’ command in startup scripts before communicating with targets.
    Error: Failed to clear OCDDCR_ENABLEOCD!
    Error: No JTAG interface configured yet. Issue ‘init’ command in startup scripts before communicating with targets.
    Error: Failed to clear OCDDCR_ENABLEOCD!

     

     

    • This reply was modified 1 year, 11 months ago by AshvajitP. Reason: To add more details
    Attachments:
    You must be logged in to view attached files.
Viewing 2 posts - 1 through 2 (of 2 total)