ESP32DevKit cant use JTAG and UART at same time.

Sysprogs forums Forums VisualGDB ESP32DevKit cant use JTAG and UART at same time.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #28313
    Badang
    Participant

    Hello. By default in ESP-PROG FTDI’s channel 0 is using as JTAG, when channel 1 is free and using as UART.
    To use it as JTAG you must install WinUSB drivers on appropriate channgel. But in my case JTAG is workin only if both channels have WinUSB drivers.

    By guide.
    Debug using: OpenOCD
    JTAG: Esp32 Devkit
    If both FTDI channels (0 and 1) have WinUSB drivers – everything works as it should.
    But if im trying to start debug when channel 1 drivers is standart USB-CDC – ive got next error:

    Info : Listening on port 6666 for tcl connections
    Info : Listening on port 49591 for telnet connections
    Error: type ‘esp32’ is missing virt2phys
    Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
    Error: failed to reset FTDI device: LIBUSB_ERROR_PIPE
    Error: unable to open ftdi device with vid 0403, pid 6010, description ‘*’, serial ‘*’ at bus location ‘*’

    • This topic was modified 3 years, 11 months ago by Badang.
    #28316
    Badang
    Participant

    Ok the problem was what Interface 1 drivers was not “True” FTDI drivers, but Zadig’s USB-CDC, they successfuly work as serial port, but someway’s conflicting with WinUSB in interface 0.

    After installing FTDI’s drivers on interface 1 the problem is gone.

    #28324
    support
    Keymaster

    Hi,

    Good to know it works. Generally, we advise relying on VisualGDB’s logic for installing the drivers, as we test it with many popular boards. Installing drivers manually always has a chance of breaking something accidentally.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.