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

Saving data to non-volatile on chip memory.

Greetings,

I am a newbie and started to learn 89s8253 micro processor. So far i have written c code for Modbus Slave. I am storing the device id in idata variable but the value is lost on power off.

Please guide me how to store the value on on-chip memory so that it is retained even on power off.

Parents
  • You forgot to give a complete chip description - that would include manufacturer and complete set of characters in the name.

    But if we assume it's an Atmel AT89S8253, then it's time to start looking at application notes how to make use of the EEPROM available in the microcontroller. It's specifically there to allow non-volatile storage of configuration or state information.

Reply
  • You forgot to give a complete chip description - that would include manufacturer and complete set of characters in the name.

    But if we assume it's an Atmel AT89S8253, then it's time to start looking at application notes how to make use of the EEPROM available in the microcontroller. It's specifically there to allow non-volatile storage of configuration or state information.

Children