Hello,
I am trying to use openOCD with the OpenOCD USB debugger from www.embedded-projects.net. I can’t figure out why I always get the following error-messages when I start openOCD:
C:\..\lpc2103demo_gcc\blink>openocd-ftd2xx -f lpc2103_openocd_usb.cfg
Open On-Chip Debugger (2008-06-19 19:00) svn: 717
URL: http://svn.berlios.de/svnroot/repos/openocd/trunk
Info: options.c:50 configuration_output_handler(): jtag_speed: 4, 4
Info: options.c:50 configuration_output_handler(): Open On-Chip Debugger (2008-06-19 19:00) svn: 717
Error: ft2232.c:1419 ft2232_init_ftd2xx(): unable to open ftdi device: 2
Error: ft2232.c:1434 ft2232_init_ftd2xx(): ListDevices: 2
Error: ft2232.c:1436 ft2232_init_ftd2xx(): 0: Dual RS232 A
Error: ft2232.c:1436 ft2232_init_ftd2xx(): 1: Dual RS232 B
I’m using Windows XP and I have installed the drivers from the FTDI website. My openOCD configuration file contains the following:
#daemon configuration
telnet_port 4444
gdb_port 3333
#interface
interface ft2232
ft2232_device_desc "Dual RS232"
ft2232_layout oocdlink
ft2232_vid_pid 0x0403 0x6010
jtag_speed 4
reset_config trst_and_srst
#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_init 0 arm7tdmi-s_r4
run_and_halt_time 0 30
working_area 0 0x40000000 0x2000 nobackup
#flash configuration
#flash bank lpc2000 0x0 0x40000 0 0 lpc2000_v2 0 14745 calc_checksum
flash bank lpc2000 0x0 0x40000 0 0 0 lpc2000_v2 14745 calc_checksum
flash bank cfi 0x80000000 0x400000 2 2 0
I hope someone can help me.
best regards, tobi