Hello!
I am trying to get Amontec’s JTAGkey to work with OpenOCD (svn trunk) on an opensuse-10.1 with libftd2xx (In the long run I want to move to libftdi, but I want to get something working before trying the more complicated task).
This is how I configured openocd:
$ svn co http://svn.berlios.de/svnroot/repos/openocd/trunk openocd
$ cd openocd
$ ./configure --enable-ft2232_ftd2xx --with-ftd2xx=~/libftd2xx0.4.10
I can see the JTAGkey with lsusb:
$ lsusb
Bus 005 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 001 Device 007: ID 0403:cff8 Future Technology Devices International, Ltd
Bus 001 Device 001: ID 0000:0000
$
USBviewer shows the device named “Amontec JTAGkey”, too. But openocd fails to recognize the JTAGkey:
$ openocd/src/openocd -f openocd/doc/configs/arm7_ft2232.cfg --debug 3
Info: openocd.c:84 main(): Open On-Chip Debugger (2006-11-22 14:00 CEST)
Debug: jtag.c:1217 jtag_init():
Debug: ft2232.c:1244 ft2232_init(): 'ft2232' interface using FTD2XX with 'jtagkey' layout
Error: ft2232.c:1286 ft2232_init(): unable to open ftdi device: 2
To make sure that it is not a naming problem, I tried
--- openocd/doc/configs/arm7_ft2232.cfg (Revision 121)
+++ openocd/doc/configs/arm7_ft2232.cfg (Arbeitskopie)
@@ -4,7 +4,7 @@
#interface
interface ft2232
-ft2232_device_desc "Amontec JTAGkey A"
+ft2232_device_desc "Amontec JTAGkey"
ft2232_layout jtagkey
ft2232_vid_pid 0x0403 0xcff8
jtag_speed 2
and
--- openocd/doc/configs/arm7_ft2232.cfg (Revision 121)
+++ openocd/doc/configs/arm7_ft2232.cfg (Arbeitskopie)
@@ -4,7 +4,7 @@
#interface
interface ft2232
-ft2232_device_desc "Amontec JTAGkey A"
+ft2232_device_desc "Future Technology Devices International, Ltd"
ft2232_layout jtagkey
ft2232_vid_pid 0x0403 0xcff8
jtag_speed 2
But that did not help.
Any ideas what might go wrong here? I did not expect any problems since http://openfacts.berlios.de/index-en.ph … ng_OpenOCD suggests that the build would be pretty seamless… What am I doing wrong here?