Am 22.01.13 11:21, schrieb Uwe Bonnes:
"derRolf" == derRolf <derRolf@xxxxxxxxxxxxxx> writes:
derRolf> Am 17.01.13 14:32, schrieb Thomas Jarosch:
...
derRolf> thanks for your thoughts. Yes, we have our own
derRolf> VID/PID. However, our software needs to operate multiple
derRolf> devices with the same VID/PID (multi-threaded). The only
derRolf> difference between the devices is the serial number, which is
derRolf> unique for each device. We have settings and configuration data
derRolf> for the devices, which applies to the specific device
derRolf> (i.e. serial number). Depending on the serial number
derRolf> (i.e. device type) we boot different FPGA bitstreams.
As a workaround, specify only the serial number and not th product string.
This is what I do (opening by PID/VID and serial), the product string is
not of interest for us. And this is what fails
when I try to open a second device with a different serial but same
PID/VID if the first device is further up in the list of devices.
Since it has already been opened, the call to retrieve the serial for
this device fails and open aborts instead of continuing to search
for the device that I actually tried to open.
--
Rolf
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|