eeprom programming in c

Thread Starter

megha chhabra

Joined Nov 28, 2008
i am doing project that reads and write data from 8051 microcontroller to 240c4 eeprom(using i2c protocol) .i have didvide 2 blocks into 4 parts n im accessing them at different time.but not getting the right o/p at right time.plz explain me how to access them?


Joined Apr 20, 2004
If you send the correct address, the data read out (or stored) has to be correct. Are you sure you are not storing beyond the last address of the defined storage areas?