This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

AT24c16 Eprom Code not Working

Hi all...
I am trying to Interface AT24C16 Eeprom with AT89S52 microcontroller.
My concept is to save the data's from string Eprom_data in which user input's using keypad. and then again read the data and then store it to string chanuser and then display it on the LCD.
but what the problem is the code only works perfect with AT24C32 and AT24C64 but does not work properly with AT24C16.
I have tried stimulating in Proteus.
if i use AT24C16 and try writing data to any page address or any other block, it wont write to that specific address.. it will write only to 0x0001.
but if i work with the same code using 24C32 and 24C64. the things work prefect.



0