Is there a guide already for openocd on mac os X somewhere in the documentation?
Think I have this running (need to make my jtag header to test) but software install looks good, there's a couple guides sort of but I thought I'd consolidate also this one (http://forum.sparkfun.com/viewtopic.php?t=8923) seems out dated (for 0.1.0 not 0.1.7) so here goes.
You need:
D2XX drivers: http://www.ftdichip.com/Drivers/D2XX/MacOSX/UniBin/D2XX0.1.7.dmg
and
openocd 4 http://sourceforge.net/projects/openocd/files/openocd/0.4.0/openocd-0.4.0.tar.bz2/download
and of course normal xcode / gnu compilers.
so from the D2XX folder you
sudo cp bin/10.6/libftd2xx.0.1.7.dylib /usr/local/lib
sudo ln -sf /usr/local/lib/libftd2xx.0.1.7.dylib /usr/local/lib/libftd2xx.dylib
sudo cp bin/ftd2xx.h /usr/local/include
sudo cp Samples/WinTypes.h /usr/local/include
then from the openocd folder you:
./configure --enable-ft2232_ftd2xx
make
sudo make install