I have been working on a library to make it easy to interface to the Microchip 24LC256 and 24LC512 Chips.
The lib currently supports the following:
The lib is semi-configurable by running a begin function that sets the address and sets the mode of the chip (256 or 512).
- pageReads and pageWrites are done using a 16 byte burst mode. This is to overcome the limitation by the Wire Library in which the internal TX and RX buffer is 32 bytes.
I have also included a test Arduino sketch that exercises corner cases of the above functionality and random reads / writes.
The library is available for download at: http://github.com/mikeneiderhauser/I2C-EEPROM-Arduino
The library is released under the LGPL license.
I have only tested it under Arduino IDE V1.0.1.
Hope this helps everyone trying to use these chips!