ESP32 & PIO Unified Debugger

  1. Download and install FTDI drivers from http://www.ftdichip.com/Drivers/VCP.htm

  2. Connect the debugger to PC USB and check the device manager to see if the drivers are installed properly:

  3. Download Zadig tool from https://zadig.akeo.ie/

  4. Open Zadig Tool and go to Options->List All Devices
    zadig1

5.Select the FT2232 channel you want to use as Jtag.
In case of Wrover-Kit, is channel 0: “Dual RS232-HS (interface 0)”, according to Wrover-Kit schematic:

wrover-jtag

If you use FT2232h minimodule, you can use any channel.
The debugger work’s with FT4232h minimodule too (tested).
In this case, you have 4 channels to chose from :slight_smile:
It work’s even with cheap FT232x chip (ex. UM232H , UM232H-B modules).

  1. Select WinUSB
  2. Click Replace Driver

Capture2

After operation completed, disconnect and reconnect the device to USB port

Now you can use PIO Debugger on ESP32

PS.

In case that other channel (channel 1 in case of wrover-kit) is not detected as com port (used by esptool for flashing),
you must enable the VCP mode on channel 1, this way:

  1. On device manager, right click on “USB Serial Converter B” - >Properties ->Advanced
  2. Select “Load VCP” then click OK.

vcp

Then, the FT2232 channel 2 should be detected as Com Port on device manager:

Wiring for Olimex JTAG debuggers

2 Likes