Olimex GDB Server
Olimex arm usb tiny h JTAG to be able to program and debug a target board.
libftdi library is available from the SUSE package manager or alternatively it can be downloaded from here: http://www.intra2net.com/en/developer/libftdi/download.php
Build it with the normal series of auto tools commands:
$./configure
$make
$sudo make install
I downloaded and compiled openOCD 0.7.0 from here http://openocd.sourceforge.net/, copied this over to /opt/openocd directory and then build it with:
$./configure --enable-ftdi --enable-ft2232_libftdi
$make
$make install
When plugging in the arm-usb-tiny-h, you will not be granted access by default. To handle this you have to create a rule for udev:
$cd /etc/udev/rules.d
As root, create a file named 99-olimex-arm-usb-tiny-h.rule with this content:
SUBSYSTEMS=="usb", ATTRS{idVendor}=="15ba", ATTRS{idProduct}=="002a", MODE="0666"
Now I run openOCD with the following command (paths relative from where I built openOCD):
$openOCD -f /opt/openocd/tcl/interfaces/ftdi/olimex-arm-usb-tiny-h.cfg -f atmel_at91sam7s-ek.cfg
You can download the atmel_at91sam7s-ek.cfg from Olimex web site.
Problems have been found with the brltty USB drivers interfering with ftdi so this can be removed if not required, and it may be that libftd2xx.so library is also needed, but current setup is working fine with just the libftdi library.