Quote Originally Posted by Squibcakes View Post
Hi Guys n Gals,

Is it possible to poll a I2C eeprom to detect what size it is?

For instance, if I had a 24LC256 installed and later upgraded to a 24LC515 chip, could the pic detect the size increase or hardware number etc and make use of the extra memory in the bigger eeprom?

Cheers

Squib
About the only way I can think of is to write a value at 64K-1, read it back, then write another value and see if it changes. If it does, you can be reasonably sure it's a '515, if it doesn't, '256.