libftdi Archives

Subject: Identifying multiple of the same FTDI devices

From: Michael Eder <ozeansoftware@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Thu, 9 Jun 2016 11:55:57 -0400
I have a question related to how one can distinguish between the devices when there are multiples of the same FTDI devices plugged into a USB hub?

I suspect the answer is to program the FTDI devices with a unique name in its EEPROM, but is there a way short of that how I can identify what device is plugged in where?

Simple example.  I have two temperature I2C devices that have the same fixed I2C address.  I need to use two FTDI devices to talk to each of these.    One I2C device is in the front of my boat the other in the back.  If I always plugged the front FTDI USB device in the same port on the USB hub and the back one also into a particular port could I that way know which device is which and, if so, how can I identify the usb port with the libftdi?  Would this mechanism work even if I plugged and unplugged the devices in at different times, but always to their assigned port.

Any suggestions how to best do this greatly appreciated.






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


Current Thread