blank eeproms

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

blank eeproms

Clive Stubbings

I'm having a bit of difficulty talking to blank eeproms. eeprom->size is not
accessible from outside the library and there seems to be no way to get the
library to set it for some devices.

The following patch will help. I think this behavior makes more sense since you
are writing the raw eeprom content to the library.

@@ -3969,6 +3971,8 @@ int ftdi_set_eeprom_buf(struct ftdi_context *ftdi, const unsigned char * buf, in

      memcpy(ftdi->eeprom->buf, buf, size);

+ ftdi->eeprom->size = size;
      return 0;


libftdi - see for details.
To unsubscribe send a mail to [hidden email]