??? 03/30/06 21:42 Read: times |
#113439 - I'd start in the data sheet Responding to: ???'s previous message |
Ryan Killian said:
Hello, im working on a project in which I would like to implement a setup screen, on which the user can change values which will affect the response of the program. However, I need the new values to somehow be retained if the board were to be powered off or reset, and still be changeable if new values are needed. I am using Keil uVision 3's embedded C and an ADUC848 microcontroller. Any help/ suggestions on where to get started?
Thank You, Ryan Killian Start with the ADUC848 Data Sheet. Specifically, look at page 48, "NONVOLATILE FLASH/EE MEMORY OVERVIEW" and pages 51-52, "USING FLASH/EE DATA MEMORY". This chip has 4 KB of flash which may be used for user nonvolatile data storage, and there's even a nicely annotated example of how to use it in the data sheet! Of course, you could use an external NVSRAM, EEPROM, or other device, but unless you have a particularly good reason to do so, it would probably be better just to use the internal resources provided by your IC. --Sasha Jevtic |
Topic | Author | Date |
Retaining Variable Values Through Reset | 01/01/70 00:00 | |
I'd start in the data sheet | 01/01/70 00:00 | |
Reasons not to use the internal EEPROM: | 01/01/70 00:00 | |
another rason | 01/01/70 00:00 | |
Non Volitle Memory | 01/01/70 00:00 | |
EEPROM | 01/01/70 00:00 | |
Thanks![]() | 01/01/70 00:00 |