Olimex Support Forum

ARM => ST => Topic started by: Houston on June 11, 2013, 06:58:31 PM

Title: unable to open ftdi device: unable to claim usb device
Post by: Houston on June 11, 2013, 06:58:31 PM
Hello!

I have an error when trying to @target@ my demo project blink. Please help!
Drivers are installed as described in manuals.


Open On-Chip Debugger 0.6.1 (2012-10-07-10:34)
Licensed under GNU GPL v2
For bug reports, read
   http://openocd.sourceforge.net/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
adapter speed: 1000 kHz
adapter_nsrst_delay: 100
jtag_ntrst_delay: 100
cortex_m3 reset_config sysresetreq
Error: unable to open ftdi device: unable to claim usb device. Make sure the default FTDI driver is not in use
in procedure 'init'
Title: Re: unable to open ftdi device: unable to claim usb device
Post by: LubOlimex on June 20, 2013, 11:59:31 AM
Hey Houston,

When you run OpenOCD for the first time with new hardware, you may encounter this error:

Unable to open FTDI device: unable to claim USB device. Please make sure the default FTDI driver is not in use.
If you see this error, you will need to install a Libusb Device Filter.

It can be downloaded from here: http://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/1.2.6.0/ (http://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/1.2.6.0/). The exe is called "libusb-win32-devel-filter-1.2.6.0.exe".

After you install the program check the "Test wizzard" if the device is visible and then run the Filter program and choose the last option (to remove all device filters). Overall this should be driver related. To recognize which is the debugger device check the VID - should be 15ba (the vendor ID of Olimex).

Best regards,
Lub/OLIMEX