I tried:
http://esp-idf.readthedocs.io/en/latest ... index.html
I made this file
ft232hl.cfg:
Code: Select all
interface ftdi
ftdi_vid_pid 0x0403 0x6014
ftdi_channel 0
reset_config none
adapter_khz 20000
transport select jtag
I connected FT232HL adapter to MacBook, and can see vid: 0x0403, pid: 0x6014 device on System Information.app.
Then
Code: Select all
$ openocd -f ft232hl.cfg -f target/esp32.cfg
Open On-Chip Debugger 0.10.0-dev-00003-ga9ec3301 (2018-06-07-17:20)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
none separate
adapter speed: 20000 kHz
jtag
esp32 interrupt mask on
force hard breakpoints
Error: libusb_claim_interface() failed with LIBUSB_ERROR_ACCESS
Error: unable to open ftdi device with vid 0403, pid 6014, description '*', serial '*' at bus location '*'
Code: Select all
~ sudo kextunload -p -b com.apple.driver.AppleUSBFTDI
~ sudo kextutil -b com.apple.driver.AppleUSBFTDI -p AppleUSBEFTDI-6010-1
How can I use OpenOCD for ESP32-devkit-C with FT232HL on macOS?