Thanks, that works.
Shoould have looked into ftdi.h myself...
Marko Cebokli
-----Original Message-----
From: Thomas Jarosch [mailto:thomas.jarosch@xxxxxxxxxxxxx]
Sent: Tuesday, October 15, 2019 10:33 AM
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Subject: Re: FT245 unique chip ID
Hi Marko,
You wrote on Mon, Oct 14, 2019 at 02:15:25PM +0200:
> I can read that, but I can also change it using the »ftdi-eeprom« program.
>
> However, the ft245 datasheet mentions a factory programmed, non-alterable
> chip ID, which can be used to identify each particular device.
>
> This is described in the AN232R-02 application note from FTDI.
>
>
>
> I can see some »random« values in the last eight bytes of eeprom, cuold that
> be it? I've run »eeprom –w« and these last bytes did not change.
may be give ftdi_read_chipid() a try :)
The example program "simple" prints it for R type devices. The
ftdi_read_chipid() function does quite some bit shifting to "unscramble" the id.
Cheers,
Thomas
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|