libftdi Archives

Subject: RE: About FT2232

From: "Michael Plante" <michael.plante@xxxxxxxxx>
To: <libftdi@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 5 Aug 2009 12:20:25 -0500
>> Do you use the default vendor-/product-id? Maybe it would help if you use
a
>> different product id that the d2xx-driver doesn't know about.

I do.  I'll look into that if my group starts complaining, but, in the end,
the win32 platform is primarily for initial testing/development, and the
fact that the finished product seems to work just as well there is merely a
(big) convenience.  Just trying to point out something Qiang might run into.


>> [...] replace it with something based upon libusb-1.0 [...]
>>
>> Actually Jie Zhang wrote that he is working on it some days ago, you can
>> search for his post the mailinglist-archive.

Okay, now I'm just hoping the new version will degrade nicely (as opposed to
just failing) with only 0.1.12-win32 available. ;)


Thanks,
Michael



-----Original Message-----
From: Gerd v. Egidy [mailto:gerd.von.egidy@xxxxxxxxxxxxx]
Sent: Wednesday, August 05, 2009 9:42 AM
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Cc: Xiaofan Chen
Subject: Re: About FT2232


> > I can't speak for the "H" part, but the "FT2232D" part works just fine
> > under Win32 with MSVC.  I also built the same libftdi source for Linux
> > with gcc. I use direct/UART mode ("direct" meaning *not* VCP), as well
as
> > MPSSE/SPI mode.  My team will likely move to the "H" part in a few
> > months, so I'll know more then.

Ok, nice to know that it works.

> > One caveat is that Device Manager likes
> > to give the device to d2xx, and it takes some coaxing to make it take
> > libusb-win32 (I sometimes have to "update driver" a second time after
the
> > first unplug/replug...but not always).

Do you use the default vendor-/product-id? Maybe it would help if you use a
different product id that the d2xx-driver doesn't know about.

You can ask FTDIchip, they will usually provide you with a unique product id
out of their range for free.

> libusb-win32 actually supports async mode, so does libusb-1.0.
> Right now the async mode of libftdi seems to directly manipulate
> sysfs and it is only for Linux.

The async-mode of libftdi is an evil hack which I wrote when libusb-1.0
wasn't
available yet. It would be nice to replace it with something based upon
libusb-1.0. I currently don't have the time to do that, but if someone wants
to work on it we could certainly provide some help and feedback.

Actually Jie Zhang wrote that he is working on it some days ago, you can
search for his post the mailinglist-archive.

Kind regards,

Gerd


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


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

Current Thread