Please excuse me asking, but can somebody point me to a working example of using the above eeprom chip with Micropython.
So far I have been able to modify and connect the I2C devices I need for a project to the Pico W and get both to operate and give address data from an i2c.scan() whilst operating with 3.3v VCC. All great and like another forum member I am getting 2 addresses reported for the 24C256 eeprom 0x50 and 0x58 with A0,A1 and A2 all grounded on the 24C256. I have looked at the data sheet for the chip and tried to understand why I am getting 2 addresses returned. As yet I have not found a solution that clearly explains reading and writing a block or page of data to the eeprom.
I have looked and there are few discussions on the use of eeprom devices with I2C and the main one that I thought got somewhere near giving me information was relating to a project written using C language, where the user got the same two address values returned. However potential micropython libraries that were referred to in that thread turned up as 'No longer available' and
I have scanned a number of Github pages and resources, but the one that looked most comprehensive seemed for setting the eerprom up as drive and filing system by Peter Hinch at MIT but it seemed to based on testing a Pyboard and I got lost trying to follow the code for the eeprom libraries and test application and trying to modify it for the Pico I think in hindsight this extensive project by Peter was way more than I needed, for storing project current state conditions in non volatile memory.
So if someone has some libraries and example code I would be most appreciative.
Thank you.
So far I have been able to modify and connect the I2C devices I need for a project to the Pico W and get both to operate and give address data from an i2c.scan() whilst operating with 3.3v VCC. All great and like another forum member I am getting 2 addresses reported for the 24C256 eeprom 0x50 and 0x58 with A0,A1 and A2 all grounded on the 24C256. I have looked at the data sheet for the chip and tried to understand why I am getting 2 addresses returned. As yet I have not found a solution that clearly explains reading and writing a block or page of data to the eeprom.
I have looked and there are few discussions on the use of eeprom devices with I2C and the main one that I thought got somewhere near giving me information was relating to a project written using C language, where the user got the same two address values returned. However potential micropython libraries that were referred to in that thread turned up as 'No longer available' and
I have scanned a number of Github pages and resources, but the one that looked most comprehensive seemed for setting the eerprom up as drive and filing system by Peter Hinch at MIT but it seemed to based on testing a Pyboard and I got lost trying to follow the code for the eeprom libraries and test application and trying to modify it for the Pico I think in hindsight this extensive project by Peter was way more than I needed, for storing project current state conditions in non volatile memory.
So if someone has some libraries and example code I would be most appreciative.
Thank you.
Statistics: Posted by Stratcat — Wed Aug 27, 2025 5:43 pm