FTDI Community

General Category => Discussion - Software => Topic started by: jaypdx on January 10, 2022, 03:04:58 PM

Title: FT260 - how to read serial number?
Post by: jaypdx on January 10, 2022, 03:04:58 PM
I have multiple FT260's attached to my PC and I'd like to use the serial number to tell them apart.  How can I read the serial number of each?  I don't see a function in libft260 that does this.  If this isn't possible, is there some other way to uniquely identify each FT260 attached to the system?



Title: Re: FT260 - how to read serial number?
Post by: FTDI Community on January 11, 2022, 04:57:26 PM
Hi
You can use the FT Prog utility to read/ program the serial for these parts
https://ftdichip.com/wp-content/uploads/2021/05/FT_Prog_v3.12.11.594%20Installer.zip (https://ftdichip.com/wp-content/uploads/2021/05/FT_Prog_v3.12.11.594%20Installer.zip)

Regards
FTDI Community

Title: Re: FT260 - how to read serial number?
Post by: jaypdx on January 11, 2022, 05:06:26 PM
How can I read the SN from my application?
Title: Re: FT260 - how to read serial number?
Post by: jaypdx on January 13, 2022, 06:46:44 AM
Do the D2XX functions work for HID devices like the FT260?  When I call FT_ListDevices(&numDev, NULL, FT_LIST_NUMBER_ONLY), it returns numDev=0 with my FT260 EVM attached (though FT_PROG can see it just fine).
Title: Re: FT260 - how to read serial number?
Post by: FTDI Community on January 14, 2022, 08:38:45 AM
Hi Joseph,
You have already contacted us by email.
Feel free to post any resolution here to help other community users

Regards
FTDI Community
Title: Re: FT260 - how to read serial number?
Post by: jaypdx on January 14, 2022, 09:09:58 PM
I haven't received a resolution via email yet, but I'm thinking I can open each attached FT260 and read the configuration EEPROM via the FT260_I2CMaster_* commands.  I should be able to figure out where the serial number is stored by comparison with FT_PROG.  This only works because I have an external EEPROM on my board... I'm not sure how one would read the serial number stored inside the chip.  Is this a reasonable approach?  How does FTDI recommend differentiating between multiple FT260's connected to a system?