??? 08/31/06 22:46 Read: times |
#123477 - Do you have non-volatile memory? Responding to: ???'s previous message |
Ryan Killian said:
I need to be able to retain variables after power down, but am getting nowhere with it. Ive tried casting variables in far and xdata space, but the values are lost after being powered down for more than 5 minutes. Do you have non-volatile memory located in far and xdata space? Have you modified the startup.a51 so that it doesn't clear memory on startup? there a way in which i can somehow change the program at runtime to cast variables at new values How could the program know what values to cast? The only way to do this is with some sort of non-volatile memory: Does the chip have EEPROM? Could you provide battery backup? |
Topic | Author | Date |
Storing Variables after power-down | 01/01/70 00:00 | |
What do you expect? | 01/01/70 00:00 | |
Do you have non-volatile memory?![]() | 01/01/70 00:00 |