On Mon, Oct 4, 2010 at 2:09 AM, Uwe Bonnes
<bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> I have installed libusb-win 1.2.2.0 as the filter driver . One FT232R and one
> FT2232H
> are connected to the system, and after setup TestLIBUSB lists the devices, one
> device for the FT232R and 3 devices for the FT2232H. From your
> libftdi-1.0_eeprom_24Sept2010_mingw I run "eeprom" to access the FT2232H and
> I get the error message
> "unable to open ftdi device: -5 (unable to claim usb device. Make sure the
> default FTDI driver is not in use)
> Running "eeprom -p 0x6001" gives:
> "unable to open ftdi device: -4 (usb_open() failed)
Could you post the output of testlibusb-win.exe?
The recommend way of using the filter is to use the Filter Wizard and install
the device filter to each of your device.
I just tried and it works for me. I install the device filter to interface
A of the FT2232D based Jtag debugger.
testlibusb-win output:
DLL version: 1.2.2.0
Driver version: 1.2.2.0
bus/device idVendor/idProduct
bus-0/\\.\libusb0-0001--0x0403-0xbcd9 0403/BCD9
- Manufacturer : LMI
- Product : Stellaris Evaluation Board
- Serial Number: 070200A1
wTotalLength: 32
bNumInterfaces: 1
bConfigurationValue: 1
iConfiguration: 0
bmAttributes: 80h
MaxPower: 250
bInterfaceNumber: 0
bAlternateSetting: 0
bNumEndpoints: 2
bInterfaceClass: 255
bInterfaceSubClass: 255
bInterfaceProtocol: 255
iInterface: 2
bEndpointAddress: 81h
bmAttributes: 02h
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0
bEndpointAddress: 02h
bmAttributes: 02h
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0
D:\work\libftdi\libftdi-1.0_eeprom_24Sept2010_mingw32\bin>eeprom -p 0xbcd9
Chip type 2 ftdi_eeprom_size: 128
0x000: 11 08 03 04 d9 bc 00 05 80 fa 18 00 00 02 96 08 ........ ........
0x010: 9e 36 d4 12 46 00 08 03 4c 00 4d 00 49 00 36 03 .6..F... L.M.I.6.
0x020: 53 00 74 00 65 00 6c 00 6c 00 61 00 72 00 69 00 S.t.e.l. l.a.r.i.
0x030: 73 00 20 00 45 00 76 00 61 00 6c 00 75 00 61 00 s. .E.v. a.l.u.a.
0x040: 74 00 69 00 6f 00 6e 00 20 00 42 00 6f 00 61 00 t.i.o.n. .B.o.a.
0x050: 72 00 64 00 12 03 30 00 37 00 30 00 32 00 30 00 r.d...0. 7.0.2.0.
0x060: 30 00 41 00 31 00 02 03 00 00 a1 00 02 07 00 00 0.A.1... ........
0x070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 db d6 ........ ........
EEPROM byte[0x0a] Bit 4 unexpected set. If this happened with the EEPROM
programmed by FTDI tools, please report to libftdi@xxxxxxxxxxxxxxxxxxxxxxx
VID: 0x0403
PID: 0xbcd9
Release: 0x0500
Bus Powered: 500 mA
Manufacturer: LMI
Product: Stellaris Evaluation Board
Serial: 070200A1
Checksum : d6db
Attached EEPROM: 93x46
PNP: 1
Channel A has Mode 245 High Current IO
Channel B has Mode UART VCP
--
Xiaofan
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|