I am using P89v51rd2.
I want to store only one variable in the code memory, so that it is stored permanently. (say a=9999; max)
I want to update this frequently in the program, and read when required.
can anyone provide me the code for the same ?
thank you...
Checkpointed write transactions to non-volatile memory are used on some systems that lack adequate power-fail notification. A "record" is either written in its entirety before power fails or a partial write is "rolled back" during power-up recovery.
Some keywords to Google.