SparkFun Forums 

Where electronics enthusiasts find answers.

Open source ARM Debugger
By seema
#17572
Hi

Can anyone see why my Linux machine isn't recognising the ftd2xx???

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 <type> <startup mode>
#target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
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
By Dominic
#17576
The drivers for ftd2xx and ftdi2232 have been unified into a single 'ft2232' driver, and therefor the configuration commands have also been changed into ft2232_device_desc, etc.
The interface is now called 'ft2232', and depending on configure options, either ftd2xx or libftdi is used.

Regards,

Dominic
By seema
#17630
Thanks Dominic!!!!

All working.....now to move on with Insight