windows下eclipse开发esp32,芯片为esp32-u4wdh,想用JTAG下载调试程序,买了esp-prog,驱动安装替换好了,
在eclispe里面下载程序就出了问题:
adapter speed: 20000 kHz
Flashing E:/Espressif/workspace/blink/build/bootloader/bootloader.bin at 0x1000
Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
Error: libusb_open() failed with LIBUSB_ERROR_ACCESS
Error: no device found
Error: unable to open ftdi device with vid 0403, pid 6010, descrip
tion '*', serial '*' at bus location '*'
Error: no device found
Error: unable to open ftdi device with vid 0403, pid 6014, description '*', serial '*' at bus location '*'
** OpenOCD init failed **
shutdown command invoked
** Flashing Failed **
run configuration 里面openocd的设置:
-s ${openocd_path}/share/openocd/scripts -f interface/ftdi/esp32_devkitj_v1.cfg -f target/esp32.cfg
我怀疑是设置有问题,看了变量openocd_path,好像没有值
有没有大神知道什么原因,如何解决?