i am using pic16f873a eeprom to store value. in ccs compiler i write program like this
ROM 0x2100={35,27}
hc=read_eeprom(0);
lc=read_eeprom(1);
to read eeprom
write_eeprom(0,hc);
write_eeprom(1,lc);
to write eeprom
when i complete one cycle of this operation, iam not able to read the lc value.but no problem eith reading of hc
can any body point out what is the problem with this program.thanks in advance
i think the problem is not with eeprom.some times when error value shows,i just switch off and on system.on again reading eeprom no problem with eeprom. so what is the problem with this pic(16f873a) thanks inadvance