Hi Thomas,
On 02/19/2014 11:05 AM, Thomas Jarosch wrote:
Hi Tamas,
On Tuesday, 18. February 2014 10:50:49 Szabo Tamas wrote:
I have used libftdi 1.0 in the past to communicate with a 230X device
and everything worked fine, but the new partial support for FT230X chips
breaks it.
The device I use looks like this:
vid = 0x0403
pid = 0x6015
bcdDevice = 0x1000
Up until libftdi 1.1 the ftdi->type was TYPE_BM (set in ftdi_init) which
worked fine.
But now the type is set to TYPE_230X in ftdi_usb_open_dev, leading to an
incorrect baudrate to be returned by ftdi_convert_baudrate when trying
to set the baudrate of the connection with ftdi_set_baudrate.
The other devices of TYPE_R that I use continue to work fine and are not
affected by this, only the ones with TYPE_230X.
For now, I have downgraded to use the older version, but it would be
great if this could be fixed asap.
yes, please send a patch for this issue and I'll apply it ASAP.
I don't have the hardware to fix this myself.
Thanks
Thomas
I cannot provide a fix atm, only workarounds, as I am unfamiliar
with the chip.
I did manage to pinpoint the commit that breaks the support though:
Added partial support for
FT230X, by Nathael Pajani
Maybe Nathael can look into it.
Hope that helps,
Tamas
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|
|