Wednesday, May 28, 2008

openocd in Ubuntu

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

What worked for when I was getting this error was to kick off openocd with sudo.e.g. instead of 'openocd -f jtagkey-arm7.cfg' try 'sudo openocd -f jtagkey-arm7.cfg'

-daa

1 comment:

daa said...

So it turns out that I made a mistake in setting up the mount for the jtag usb and that was the reason I had to start openocd with sudo for it have access of the usb port. After installing the Amontec Jtag mini, I updated the /etc/fstab with the following:
none /proc/bus/usb usbfs auto,users,mode=0666 0 0
which should have been:
none /proc/bus/usb usbfs auto,users,devmode=0666 0 0.