libftdi Archives

Subject: Re: FT2232H second interface

From: Michael Wilt <mike@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Fri, 30 Sep 2011 11:50:00 -0400
Thanks for the help, I got it working now.

On 9/30/2011 7:27 AM, Uwe Bonnes wrote:
"Michael" == Michael Wilt<mike@xxxxxxxxx>  writes:
     Michael>    I have an FT2232H working under Windows XP.  I can make the
     Michael>  first interface work just fine, but I can't get the second
     Michael>  interface to work.  If I pass an index of 1 to
     Michael>  ftdi_usb_open_desc_index it always gets "device unavailable" on
     Michael>  subsequent calls.  If I just open the first device and try to
     Michael>  specify INTERFACE_B or any other value to ftdispi_open I always
     Michael>  get usb bulk write failed on subsequent calls.  I noticed that
     Michael>  ftdispi_open ignores the interface argument so I changed the
     Michael>  call to ftdi_set_interface to use this argument.  Is anyone
     Michael>  having success with the second interface of the FT2232H?

You need to set the interface before you call ftdi_usb_open_desc_index.



--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
Current Thread