Hi,
I am trying to start OpenOCD with the Olimex JTAG TINY on Ubuntu 7.04 but I keep on getting errors:
*****@****:~/source/openocd/src$ ./openocd -f lpc2xxx_armusbocd_tiny.cfg -d 3
Info: openocd.c:86 main(): Open On-Chip Debugger (2007-06-28 12:30 CEST)
Debug: jtag.c:1393 jtag_init(): -
Debug: ft2232.c:1420 ft2232_init_libftdi(): 'ft2232' interface using libftdi with 'olimex-jtag' layout (15ba:0004)
Error: ft2232.c:1432 ft2232_init_libftdi(): unable to open ftdi device: unable to fetch product description
The configuration file looks like that (I copied it from the CD from Olimex):
#daemon configuration
telnet_port 4444
gdb_port 3333
#interface
interface ft2232
ft2232_device_desc "Olimex OpenOCD JTAG TINY A"
ft2232_layout "olimex-jtag"
#the next line should be right, because I am getting "device not found" if I change it
ft2232_vid_pid 0x15ba 0x0004
jtag_speed 2
#use combined on interfaces or targets that can't set TRST/SRST separately
reset_config trst_and_srst separate
#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
#target_script 0 reset oocd_flash2138.script
working_area 0 0x40000000 0x40000 nobackup
#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.phtml?title=Open+On-Chip+Debugger
The module ftdi_sio is not inserted. I did not try ftd2xx. What can I do to make it work?