only in this topic
Open this post in threaded view
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;
libftdi - see
To unsubscribe send a mail to
Return to libFTDI
1 view|%1 views
Free forum by Nabble
Edit this page