OpenOCD peeking and poking with HiFive1


(Nick Nielson) #1

Hello, I’m running the version of OpenOCD that comes packaged with Freedom Studio 20180928.
I downloaded the HiFive1 .cfg file from GitHub, and simply typed “./openocd.exe -f hifive1.cfg” to see if the board was detected by openocd. It reports “no device found … unable to open ftdi device with vid 0403, pid 6010…”. In Windows 10 device manager, it indicates that there are two USB Serial converters (A and B) which have a matching VID(0403) and PID(6010), and these both disappear when I unplug the HiFive1 board. Any advice on how to get this to work?
Thanks!


(Donnie Agema) #2

Hi Nick,

I had the same problem with Windows 7. I solved it by reinstalling the FTDI Dual RS-232HS driver using the Zadig utility. You can find it here.


(Nick Nielson) #3

Thanks! Zadig solved my problem. I had to select the “WinUSB” drivers (default) when Zadig came up, for OpenOCD to work.