Manjust
Newbie level 4
Hi,
I am facing a problem with inbuilt EERPOM in PIC. I write data in the EEPROM particular address and reading it and printing on LCD display is working fine. Once i comment the writing function and redump the code and then try accessing data from the same location from EEPROM, data is junk at this time.
Am i writing the data of EEPROM in data memory or while redumping the code is it erasing EEPROM memory along with program memory? If so, what should i do to protect EEPROM Memory from erasing. I have made WRT1:WRT0 as 00 in configuration bits.
Thanks in advance.
I am facing a problem with inbuilt EERPOM in PIC. I write data in the EEPROM particular address and reading it and printing on LCD display is working fine. Once i comment the writing function and redump the code and then try accessing data from the same location from EEPROM, data is junk at this time.
Am i writing the data of EEPROM in data memory or while redumping the code is it erasing EEPROM memory along with program memory? If so, what should i do to protect EEPROM Memory from erasing. I have made WRT1:WRT0 as 00 in configuration bits.
Thanks in advance.