Build Amontec JTAGKey with Linux

Hi

I am having some problems with installing the Amontec JTAGKey on Linux. I successfully managed to get it going in Windows…

Here is what i did and the following errors…

Build instruction

=========================

./configure --enable-ft2232-ftd2xx --with-ftd2xx=/usr/local/lib/

make

make install

lpc2xxx_jtagkey.cfg

=========================

#daemon configuration

telnet_port 4444

gdb_port 3333

#interface

interface ftd2xx

ftd2xx_device_desc “Amontec JTAGkey A”

ftd2xx_layout jtagkey

ftd2xx_vid_pid 0x0403 0xcff8

jtag_speed 4

#use combined on interfaces or targets that can’t set TRST/SRST separately

reset_config trst_and_srst srst_pulls_trst

#jtag scan chain

#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)

jtag_device 4 0x1 0xf 0xe

#target configuration

daemon_startup reset

#target

#target arm7tdmi

target arm7tdmi little run_and_halt 0 arm7tdmi-s_r4

run_and_halt_time 0 30

#flash configuration

#flash bank lpc2000 0x0 0x40000 0 0 lpc2000_v1 0 14765 calc_checksum

For more information about the configuration files, take a look at:

http://openfacts.berlios.de/index-en.ph … p+Debugger

Execution Error

===============

seema@darkstar:~$ openocd -f lpc2xxx_jtagkey.cfg -d

Info: openocd.c:82 main(): Open On-Chip Debugger (2006-08-01 12:00 CEST)

Debug: jtag.c:1259 handle_interface_command(): ‘interface’ command didn’t specify a valid interface

Info: configuration.c:50 configuration_output_handler(): Command ftd2xx_device_desc not found

Info: configuration.c:50 configuration_output_handler(): Command ftd2xx_layout not found

Info: configuration.c:50 configuration_output_handler(): Command ftd2xx_vid_pid not found

Debug: jtag.c:1184 jtag_init():

Error: jtag.c:1223 jtag_init(): No valid jtag interface found (ftd2xx)

Error: jtag.c:1224 jtag_init(): compiled-in jtag interfaces:

Error: jtag.c:1227 jtag_init(): 0: ft2232

Hello,

for your info, the answer can be found here:

http://www.sparkfun.com/cgi-bin/phpbb/v … php?t=4064

Regards,

Michael