OpenOCD on OS X
From Tim's Wiki
How to install OpenOCD on OS X
These instructions assume that you are using MacPorts.
sudo port install libusb libftdi
wget http://sourceforge.net/projects/openocd/files/openocd/0.5.0/openocd-0.5.0.tar.bz2/download tar xjvf openocd-0.5.0.tar.bz2
export CFLAGS="-I/opt/local/include" export CPPFLAGS="-I/opt/local/include" export LDFLAGS="-L/opt/local/lib" cd openocd-0.5.0/ ./configure --enable-ft2232_libftdi make sudo make install