The FT232H is a single channel version of the 2232H, I modified minimodule config to reflect the PID of 6014, I used zadig to install WinUSB driver, however I am getting:
Error: libusb_get_string_descriptor_ascii() failed with LIBUSB_ERROR_IO
Error: no device found
Error: unable to open ftdi device with vid 0403, pid 6014, description ‘USB Serial Converter’, serial '’ at bus location ''strong text
Any idea on how to get this to work would be GREATLY appreciated.
I removed the ftdi_device_desc line and it seems to find it fine now, however if I try to debug it just compiles and sits there saying pre-debug, which brings up a debug toolbar with only the STOP button active.
The 6001 is the 232R, which is Serial only, the 6014 is the 232H which has the MPPSE engine (only 1 channel). I tried changing debug_tool = minimodule in platformio.ini to debug_tool = esp32_devkitj_v1 however that just gives the error:
Error: Unknown debug tool esp32_devkitj_v1. Please use one of esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa or custom
I kept it as minimodule even with your changes but that did nothing, looking at all the files that are used I don’t see devkitj_v1 being referenced by minimodule at all.
Yes I have modified the PID value as stated in my first post, the device is found and communicated with, the problem is it doesn’t work. No errors are given, I hit F5 and it compiles and just sits there (Doesn
t upload, just compiles as if I hit compile alone), debug controls appear with just the STOP button clickable, which clicking on that just makes the debug controls disappear.
I get the same error on macOS Catalina. Having the FTDI VCP driver installed. Any idea how I can solve this?
openocd -f interface/ftdi/adafruit.cfg
Open On-Chip Debugger v0.10.0-esp32-20191114 (2019-11-14-14:19)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 20000 kHz
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Error: libusb_get_string_descriptor_ascii() failed with LIBUSB_ERROR_IO
Error: no device found
Error: unable to open ftdi device with vid 0403, pid 6014, description 'Adafruit FT232H Breakout', serial '*' at bus location '*'
If you have installed any drivers, uninstall them. These drivers create a serial port for the FT232H. However, for JTAG debugging ful access to the FTDI chip is required. And no driver is needed for that…
Furthermore, Apple’s FTDI driver might get in the way as well (also creating a serial port). So temporarily unload them. To do so, search for FTDI driver directories and then call kextunload for each of them. You can simply execute the below commands. Some will fail because there is no driver in the specified location for:
I know this is an old thread, but this is how I got things to work, in case people find it useful:
Make sure you’re not using the JTAG pins on your microcontroller for anything else. I was blinking the onboard LED (pin 13), and using pin 33 as one of the control signals for a display. I had to upload a sketch with that functionality commented out (via normal usb/uart) before JTAG would work for uploading/debugging.
in my platformio.ini file, I had to add the following lines to switch from USB/Serial uploading to JTAG
#the 0x003b may be the most important part. bit pattern 0000 0000 0011 1011, sets #D5,D4,D3,__,D1,D0 as outputs, and sets D2 and the rest to inputs ftdi layout_init 0x0030 0x003b
Extra Tip: when you’re using Zadig to replace the driver, you can edit the display name before hitting “Replace Driver”. I set it to “Adafruit FT232H” so it was more recognizable than “USB Serial Converter”. Unfortunately, you still have to comment out the minimodule.cfg line mentioning the name.