Error: The specified JTAG interface was not found (ft2232)

Hi, i’m newbie on this things…i need a little help from all of you THANKS.

i have problems with interface olimex arm-usb-ocd.

I have ubuntu 9.10 with openocd 0.4.0 builded with enabled ftd2xx

Linux adi 2.6.28-16-generic #57-Ubuntu SMP Wed Nov 11 09:47:24 UTC 2009 i686 GNU/Linux

When inserted the interface i get this from dmesg

[10920.120183] usb 3-1: new full speed USB device using uhci_hcd and address 2

[10920.317982] usb 3-1: configuration #1 chosen from 1 choice

[10920.383106] usbcore: registered new interface driver usbserial

[10920.383183] USB Serial support registered for generic

[10920.383360] usbcore: registered new interface driver usbserial_generic

[10920.383372] usbserial: USB Serial Driver core

[10920.403502] USB Serial support registered for FTDI USB Serial Device

[10920.405487] usb 3-1: Ignoring serial port reserved for JTAG

[10920.405714] ftdi_sio 3-1:1.1: FTDI USB Serial Device converter detected

[10920.405825] usb 3-1: Detected FT2232C

[10920.406021] usb 3-1: FTDI USB Serial Device converter now attached to ttyUSB0

[10920.406090] usbcore: registered new interface driver ftdi_sio

[10920.406103] ftdi_sio: v1.4.3:USB FTDI Serial Converters Driver

from lsusb i get this

Bus 003 Device 002: ID 15ba:0003 Olimex Ltd. OpenOCD JTAG

a cat from openocd.cfg here…

root@adi:~/Scrivania/ocd/openocd-0.4.0# cat openocd.cfg

source [find interface/olimex-arm-usb-ocd.cfg]

source [find target/samsung_s3c2440.cfg]

…and when try to run i get this…

root@adi:~/Scrivania/ocd/openocd-0.4.0# openocd

Open On-Chip Debugger 0.4.0 (2010-03-10-01:06)

Licensed under GNU GPL v2

For bug reports, read

http://openocd.berlios.de/doc/doxygen/bugs.html

Error: The specified JTAG interface was not found (ft2232)

The following JTAG interfaces are available:

Command handler execution failed

Error: JTAG interface has to be specified, see “interface” command

Command handler execution failed

Even when i put the interface /directory_of_cfg_file_here i get the same error.

another question…which one is correct from this two? the line with space between interface /interface_directory or

the another one without space between interface/interface_directory?

openocd -f interface /home/adi/Scrivania/ocd/openocd-0.4.0/tcl/interface/olimex-arm-usb-ocd.cfg

openocd -f interface/home/adi/Scrivania/ocd/openocd-0.4.0/tcl/interface/olimex-arm-usb-ocd.cfg

so… with openocd -f interface /home/adi/Scrivania/ocd/openocd-0.4.0/tcl/interface/olimex-arm-usb-ocd.cfg

i get this:

root@adi:~/Scrivania/ocd/openocd-0.4.0# openocd -f interface /home/adi/Scrivania/ocd/openocd-0.4.0/tcl/interface/olimex-arm-usb-ocd.cfg

Open On-Chip Debugger 0.4.0 (2010-03-10-01:06)

Licensed under GNU GPL v2

For bug reports, read

http://openocd.berlios.de/doc/doxygen/bugs.html

Error: JTAG interface has to be specified, see “interface” command

Command handler execution failed

with

openocd -f interface/home/adi/Scrivania/ocd/openocd-0.4.0/tcl/interface/olimex-arm-usb-ocd.cfg

i get this:

root@adi:~/Scrivania/ocd/openocd-0.4.0# openocd -f interface/home/adi/Scrivania/ocd/openocd-0.4.0/tcl/interface/olimex-arm-usb-ocd.cfg

Open On-Chip Debugger 0.4.0 (2010-03-10-01:06)

Licensed under GNU GPL v2

For bug reports, read

http://openocd.berlios.de/doc/doxygen/bugs.html

Can’t find interface/home/adi/Scrivania/ocd/openocd-0.4.0/tcl/interface/olimex-arm-usb-ocd.cfg

which one is correct? …i think the first one…

so…where i’m wrong?

THANKS

solved

in ubuntu 9.10 from terminal first install libftdi1, after that install libftdi-dev, or from synaptic install both packages libftdi1 and liftdi-dev.

after that you can start installing openocd 0.4.0.

in my case with interface olimex arm usb ocd was

./configure --enable-ft2232_libftdi

make

make install

…hope this will be a point to start for newbies like me.

kikusan:
solved

in ubuntu 9.10 from terminal first install libftdi1, after that install libftdi-dev, or from synaptic install both packages libftdi1 and liftdi-dev.

after that you can start installing openocd 0.4.0.

in my case with interface olimex arm usb ocd was

./configure --enable-ft2232_libftdi

make

make install

…hope this will be a point to start for newbies like me.

I’m having the same problem – I installed OpenOCD from Synaptic (it lists it as 0.0 + r2403-1), which dragged in libftdi1, and the result is unable to see the USB hardware.

You say you installed OpenOCD 0.4.0 – did that come off of the OpenOCD website, then? What all did you end up building?

TIA…

My problem was worse than yours – I had an older board with FTDI names and processor versions that did not match. In interface/luminary-lm3s811.cfg I changed

ft2232_device_desc “LM3S811 Evaluation Board A”

to

#ft2232_device_desc “LM3S811 Evaluation Board A”

then in target/lm3s811.cfg I changed

set _CPUTAPID 0x3ba00477

to

set _CPUTAPID 0x2ba00477

And it talks!

Now I need to obtain a Gdb/insight pair that works…