Protect eeprom simulated variables
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-07-01 5:02 PM
Posted on July 02, 2015 at 02:02
Im using firmware for eeprom emulation as outlined here :
However I'm pretty new to this and can't seem to figure out if there is a way to prevent my program from being too big and over witting the data that I want to save. From what I know, it simply saves the variables in a specified address and is able to recover them on reboot. However, the code is constantly being updated and I was worried that somebody will inadvertently overwrite the variables that I want to save.Does this make sense? #eeprom-emulation
Labels:
- Labels:
-
EEPROM devices
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-07-01 5:44 PM
Posted on July 02, 2015 at 02:44
So shrink the FLASH allocation reported to the linker so that it doesn't include the space you're using for the EEPROM at the end of flash space.
You'd do this via project's target menu options, scatter files, or linker scripts, or whatever method you're tools documentation describe.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
