Unable to open ftdi device

Dear All,

I am using ARM-USB-OCD JTEG tool and Eclipse 3.3 platform, When i run a sample program to stm32f103_stk using OpenOCD i got the following error

Info: openocd.c:93 main(): Open On-Chip Debugger (2007-09-05 09:00 CEST)

Error: ft2232.c:1341 ft2232_init_ftd2xx(): unable to open ftdi device: 2

Error: ft2232.c:1356 ft2232_init_ftd2xx(): ListDevices: 2

Error: ft2232.c:1358 ft2232_init_ftd2xx(): 0: Olimex OpenOCD JTAG B

Error: ft2232.c:1358 ft2232_init_ftd2xx(): 1: V>

Can anyone help me

Thanks in advance.

Gaurang

I have the same error.

Error:   ft2232.c:1065 ft2232_init(): unable to open ftdi device: 2
Error:   ft2232.c:1080 ft2232_init(): ListDevices: 2

Error:   ft2232.c:1082 ft2232_init(): 0: Symphony SoundBite A
Error:   ft2232.c:1082 ft2232_init(): 1: Symphony SoundBite B

I tried solving the problem all day and night. Searched the entire net too. :slight_smile:

But no solution. :frowning:

  • I tried to reinstall driver

  • I tried to change the pid number in the cfg file

  • I tried to change the name in the cfg file

Nothing worked.

My configuration file:

#daemon configuration
telnet_port 23
gdb_port 9998

#interface
interface ft2232
ft2232_device_desc "Symphony Soundbite A"
ft2232_layout "soundbite"
ft2232_vid_pid 0x0403 0x6010
jtag_speed 2 # was 2

#use combined on interfaces or targets that can't set TRST/SRST separately
reset_config trst_and_srst

#jtag scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0x3 0x2

#target configuration
daemon_startup reset
#target <type> <startup mode>
target dsp56374 big run_and_halt 0

Please, someone help us!

carrejans,

openocd supports various ftdi based dongles, but i am not aware of any support for a ft2232_layout “soundbite”

you will have to speak to freescale and ask where the src is, or look at the schematic and try and add the interface.

Cheers

Spen

Hello, sorry if I’m asking some stupid question, but I’m a total newb to ARM and OCD and I’m trying to run my “Hello World”. I have the same problem. I’m using ARM-USB-TINY and STM32-103STK and the message I get when I run external tool is:

Open On-Chip Debugger 1.0 (2008-10-15-13:12) svn:exported
$URL: http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c $
Info:    options.c:50 configuration_output_handler(): jtag_speed: 10, 10
Info:    options.c:50 configuration_output_handler(): Open On-Chip Debugger 1.0 (2008-10-15-13:12) svn:exported
Error:   ft2232.c:1375 ft2232_init_ftd2xx(): unable to open ftdi device: 2
Error:   ft2232.c:1390 ft2232_init_ftd2xx(): ListDevices: 2

Error:   ft2232.c:1392 ft2232_init_ftd2xx(): 0: Olimex OpenOCD JTAG TINY A
Error:   ft2232.c:1392 ft2232_init_ftd2xx(): 1: Olimex OpenOCD JTAG TINY B

I tried using the other external tool (openocd-ftd2xx.exe) and then it seems to start but I get error when I try to debug.

Hi Kizzo,

The configuration file that you are trying to use is for the Freescale Soundbite board. I don’t think that’s gonna work with your ARM JTAG debugger.

Csaba

I have exact same problem here, have you find out how to use ARM-USB-OCD?

Under windows it is usually a driver installation problem

If you are using Linux it is often a problem of setting access rights to the usb device, usually using a udev rule, this has been discussed in the lists (or google).

Hi guys this work for me:

on /etc/fstab I add

amontec jtag

none /proc/bus/usb usbfs auto,users,mode=0666 0 0

instead of

none /proc/bus/usb usbfs default,mode=0666 0 0

auto and users (group my uid belongs) make the diff

:wink:

pf