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