>>>>> "Damien" == Damien Borie <[email protected]> writes:

    Damien> Hello, I need to get the serial number of a FT4232 chip.

    Damien> I first tried to do it the same way I saw in ftdi_open_desc
    Damien> function, using directly the usb_get_string_simple function like
    Damien> this :

    Damien> usb_get_string_simple(ftdic[2]->usb_dev,
    Damien> dev->descriptor.iSerialNumber, string, sizeof(string));

If you didn't program a serial number, there is no serial number.

    Damien> So I tried to read eeprom datas to get the serial number. 
    Damien> I use ftdi_read_eeprom in a 128 bytes buffer, but when 
    Damien> I debug this function, I see that only 255 are read for each byte.

This is expected for an unprogrammed device...
-- 
Uwe Bonnes                [email protected]

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to [email protected]   

Reply via email to