Hello,
I've been lurking here for well over a year and finally figured I should post something.
I've been learning to use the USCI I2C interface on the on MSP430G2553 and came up with this code for talking to the 24LC256 chip.
The code implements single/multibyte read/write routines for the 24LC256 EEPROM.
It should work on the 24LC512 without modification and on other 24LCxx family chips with minimal modification to the addressing.
I have probably broken numerous coding rules and best practices, there is no error checking to speak of, and nothing has timeouts. So use at you