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

read write on code memory in 8051 using C

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...

Parents
  • 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.

Reply
  • 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.

Children
No data