Hello,
today I have successfully compiled openocd under MinGW. I followed this nice guide (viewtopic.php?f=18&t=11221). But when I try to connect my openocd to hardware I get the famous error:
Warn : Unable to open FTDI Device tried:...
Error: unable to open ftdi device: 2
Some time ago I compiled openocd under Cygwin and it works well. I think there is some problem with Windows driver.
Please could anyone tell me what to do?
The picture below demonstrates my situation.
~/openocd2/trunk/src (is compiled for MinGW)
~/openocd/src (is compiled for Cygwin)