I'm trying to get an Amontec JTAGkey-tiny working under Ubuntu 9.04 - it
connects via a USB port. I downloaded the driver from Amontec and followed their
installation instructions (with 'sudo' added in front of the commands):
1. Unzip and untar the setup.tar.gz
2. As root user copy the following files to /usr/local/lib
cp libftd2xx.so.0.4.10 /usr/local/lib
3. Change directory to /usr/local/lib
cd /usr/local/lib
4. Make symbolic links to these files using the following commands:
ln -s libftd2xx.so.0.4.10 libftd2xx.so
5. Change directory to /usr/lib
cd /usr/lib
6. Make symbolic links to these files using the following commands:
ln -s /usr/local/lib/libftd2xx.so.0.4.10 libftd2xx.so
7. Add the following line to /etc/fstab:
none /proc/bus/usb usbdevfs defaults,devmode=0666 0 0
There have been reports that you may need to use the following command for some
distros
none /proc/bus/usb usbdevfs defaults,mode=0666 0 0 (use usbfs in 2.6 kernels)
8. Remount all in the fstab file
mount –a
It all seemed to work but usbview still shows device 'Amontec JTAGkey' in red
which I think signifies that no driver is attached, however it enumerates ok in
usbview. 'mount' lists: none on /proc/bus/usb type usbfs (rw,devmode=0666)
OpenOCD fails with error message:
Error: 161 103 ft2232.c:2030 ft2232_init_libftdi(): unable to open ftdi device:
unable to fetch product description
Any suggestions on what is happening here or what else I can try.