Hi, I am trying to use openocd with debug board (v2+) on Debian Lenny with libftdi1 (0.13-2), openocd (0.0+r655-1.1). I have loaded ftdi_sio using:
modprobe ftdi_sio vendor=0x1457 product=0x5118 On connecting the debug board, it detects /dev/ttyUSB1: === OUTPUT === Nov 21 01:55:15 debian kernel: usb 3-2: new full speed USB device using uhci_hcd and address 17 Nov 21 01:55:15 debian kernel: usb 3-2: configuration #1 chosen from 1 choice Nov 21 01:55:15 debian kernel: hub 3-2:1.0: USB hub found Nov 21 01:55:15 debian kernel: hub 3-2:1.0: 4 ports detected Nov 21 01:55:15 debian kernel: usb 3-2.1: new full speed USB device using uhci_hcd and address 18 Nov 21 01:55:15 debian kernel: usb 3-2.1: configuration #1 chosen from 1 choice Nov 21 01:55:15 debian kernel: ftdi_sio 3-2.1:1.0: FTDI USB Serial Device converter detected Nov 21 01:55:15 debian kernel: drivers/usb/serial/ftdi_sio.c: Detected FT2232C Nov 21 01:55:15 debian kernel: usb 3-2.1: FTDI USB Serial Device converter now attached to ttyUSB0 Nov 21 01:55:15 debian kernel: ftdi_sio 3-2.1:1.1: FTDI USB Serial Device converter detected Nov 21 01:55:15 debian kernel: drivers/usb/serial/ftdi_sio.c: Detected FT2232C Nov 21 01:55:15 debian kernel: usb 3-2.1: FTDI USB Serial Device converter now attached to ttyUSB1 === END === The openocd.cfg is the same as this one: http://wiki.openmoko.org/wiki/OpenOCD#openocd.cfg On trying to connect using: sudo openocd -f openocd.cfg it exits with error: === ERROR === Open On-Chip Debugger 1.0 (2008-08-11-18:16) svn:unknown $URL: http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c $ Info: options.c:50 configuration_output_handler(): jtag_speed: 0, 0 Info: options.c:50 configuration_output_handler(): Open On-Chip Debugger 1.0 (2008-08-11-18:16) svn:unknown Error: ft2232.c:1516 ft2232_init_libftdi(): unable to open ftdi device: device not found === END === Appreciate any help in this regard, Thanks! SK -- Shakthi Kannan http://www.shakthimaan.com _______________________________________________ support mailing list [email protected] https://lists.openmoko.org/mailman/listinfo/support
