esp32 s3 jtag

Sysprogs forums Forums VisualGDB esp32 s3 jtag

This topic contains 3 replies, has 2 voices, and was last updated by  support 2 months, 1 week ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #32832

    engineering-spirit
    Participant

    Is there support for the buildin usb JTAG of the esp32-s3 ?

     

     

    #32833

    engineering-spirit
    Participant

    C:\Users\pvisser\AppData\Local\VisualGDB\EmbeddedDebugPackages\com.sysprogs.esp32.core\bin\openocd.exe -c “gdb_port 64499” -c “telnet_port 64497” -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 64497 for telnet connections
    Error: libusb_open() failed with LIBUSB_ERROR_NOT_FOUND
    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!

    #32852

    engineering-spirit
    Participant

    so the buildin jtag is not supported?
    Or is there a way to use it.

    I cant vind any option to use it in the debug configuration.

    #32854

    support
    Keymaster

    Hi,

    We have just retested it with the ESP32-S3-BOX and it worked just fine. Please make sure you actually install the WinUSB driver for the “USB Composite device”  as VisualGDB suggests (you need to select “USB Devices” in the “Debug Using” field for VisualGDB to check the drivers).

    The default driver layout (separate serial port & debug nodes) appears to be incompatible with the current version of OpenOCD.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.