building openocd

Into the openocd ftdi maze

Using MingW

need,

http://www.ftdichip.com/Drivers/D2XX.htm

openocd here,

http://sourceforge.net/projects/openocd/

./configure –enable-maintainer-mode –disable-werror –disable-shared –enable-ft2232_ftd2xx –with-ftd2xx-win32-zipdir=/home/openocd/ftd2xx CC=”gcc -mno-cygwin”

no spaces in path to fdti driver

use ftdi config files from here,

http://www.olimex.com/dev/arm-usb-ocd.html

http://www.olimex.com/dev/soft/arm/JTAG/ARM-USB-OCD-DRIVER.zip

uninstall USB device driver for both endpoints, re-plug
select driver from list, and have disc
should get a USB JTAG interface and USB serial driver, and under ports, a ARM-USB-OCD serial port

openocd -f interface/arm-usb-ocd.cfg -f target/lpc2148.cfg should work