libftdi Archives

Subject: Re: Merely discovering FTDI devices using libftdi/libusb detaches them from ftdi_sio

From: Eric Schott <eric@xxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Mon, 4 Jun 2018 15:48:27 -0400
On Mon, 4 Jun 2018 18:22:38 +0000, Paul Ourada wrote:

I have a situation where I am using two FT4232H devices for serial communication via ftdi_sio, and a third device which I wish to use in bit bang mode to set up some control lines in the UARTS which are downstream from the first two FT4232Hs. These UARTS can be configured as RS232/422/485, etc. Of course, I do not wish to disturb the first two FT4232H devices wrt to their connection to ftdi_sio. However, I must discover all these devices to decide which one I should use with libftdi. But first, I check how things come up before attempting anything:

Have you considered changing the Vendor/Product ID, description, and/or
serial number fields stored in the EEPROM for the FT4232H which you
will be using for BitBang mode?  I use those capabilities with the
ftdi_usb_open_desc_index() method to always and easily select the
desired device irrespective of any other FTDI devices on the USB
bus.  Easy, foolproof.

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