I wrote a simple program to write and read 0x99 to address 0x0077 of 24c04 but the simulation does'nt read the value 0x99 from that address instead it reads 0x77 from 0x0077.
In the proteus file i changed the serial eeprom with 24c32, 24c64, 24c128 and 24c256 and it worked fine and written and read the value 0x99 to/from address 0x0077 successfully. But with 24c04 this does'nt work. Please suggest some solution or rectify the problem.
for 24c01 to 24c16 (including 24c04) you have only 1 byte for addressing... (works fine with 24c01 and 24c02) for extra addressing you must use the 3 lower bits of I2c-address
so you must chage your writing/readings routines...
{the extra stuff over 0xA0 to the 3bit extra addressing... }
i am using eeprom 24c08, i wanto to store an many strings into eeprom one string is of 4 bytes. but i dont know how to put it in eeprom. can anyone send me the code for 8051 (keil) or PIC (using MIKROC) in C language.....the string is of having 1000 each of 4 bytes. plz send me the code....
thankyou...
email id: ashu_aka88@yahoo.com