Posted: Thu Mar 07, 2024 4:46 pm Post subject: Eram questions
I'm writing a program that will save settings to Eram. I'm expecting future versions will have more variables saved to Eram. Do I need to do anything special to add variables without messing up current variables? Are they stored in Eram based on the order they are dimensioned? By variable name? Something else?
They are stored in order. If you want to keep EEProm mapping, you need to add new ERam-variables to the end.
Be careful not to write in a loop, as this finally would kill the EEProm cells, also set the EESAVE fuse in your unnamed controller to protect your data through the erase cycle before programming.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum