Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

Getting Amontec JTAGkey to work

  Date: Dec 04    Category: Unix / Linux / Ubuntu    Views: 457
  

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.

Share: 

 

1 Answer Found

 
Answer #1    Answered On: Dec 04    

All working now. I've found out the Amontec version of the driver is out of
date. The latest version of OpenOCD now supports JTAGkey without needing an
additional driver. It just needs to be compiled with libftdi support.

 
Didn't find what you were looking for? Find more on Getting Amontec JTAGkey to work Or get search suggestion and latest updates.




Tagged: