# non-volatile parameters

**URL:** <https://forums.digi.com/t/non-volatile-parameters/5419>\
**Category:** NET+OS\
**Created:** [May 10, 2010, 2:41pm UTC](https://forums.digi.com/t/non-volatile-parameters/5419 "2010-05-10T14:41:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrey](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@Andrey](https://forums.digi.com/u/Andrey)\
**Post date:** [May 10, 2010, 2:41pm UTC](https://forums.digi.com/t/non-volatile-parameters/5419/1 "2010-05-10T14:41:08Z")

</div>

I need to store some user parameters in a non-volatile memory so they don’t reset after recycling the power on the board (I am using ConnectMe 9210, NET+OS7.4). What would be a best method?

---

<div class="post-metadata">

**Author:** ![steved2](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@steved2](https://forums.digi.com/u/steved2)\
**Post date:** [May 11, 2010, 8:06am UTC](https://forums.digi.com/t/non-volatile-parameters/5419/2 "2010-05-11T08:06:43Z")

</div>

Depends a bit how often they change, and how much space they occupy.  
If they change rarely, and you have the flash file system enabled, you could save them in a file.  
Otherwise I’d suggest connecting an EEPROM to the I2C port.  
I actually use Ramtron FRAM devices, which are faster to write to than EEPROM ([http://www.ramtron.com/products/nonvolatile-memory/serial.aspx](http://www.ramtron.com/products/nonvolatile-memory/serial.aspx))

---

<div class="post-metadata">

**Author:** ![rdeabill](https://avatars.discourse-cdn.com/v4/letter/r/91b2a8/32.png) [@rdeabill](https://forums.digi.com/u/rdeabill)\
**Post date:** [May 11, 2010, 8:33am UTC](https://forums.digi.com/t/non-volatile-parameters/5419/3 "2010-05-11T08:33:58Z")

</div>

It is also possible to save small amounts of rarely changing parametrs in the NV section that is used by NET+OS for storage of the main board parameters such as IP addresses etc.

I use this for defining fixed calibration parameters and the build options on my boards.

Look in the help file for the NVRAM driver, to find the API routines to access this area.

---

<div class="post-metadata">

**Author:** ![Andrey](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@Andrey](https://forums.digi.com/u/Andrey)\
**Post date:** [May 11, 2010, 3:53pm UTC](https://forums.digi.com/t/non-volatile-parameters/5419/4 "2010-05-11T15:53:24Z")

</div>

Thanks for prompt response, nice live community here.  
I was looking for exactly these two options.
