# How to reset NVRAM in Digi-Connect ME 9210

**URL:** <https://forums.digi.com/t/how-to-reset-nvram-in-digi-connect-me-9210/4344>\
**Category:** NET+OS\
**Tags:** nvram, hardware\
**Created:** [October 14, 2011, 12:35am UTC](https://forums.digi.com/t/how-to-reset-nvram-in-digi-connect-me-9210/4344 "2011-10-14T00:35:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dpitts](https://avatars.discourse-cdn.com/v4/letter/d/4491bb/32.png) [@dpitts](https://forums.digi.com/u/dpitts)\
**Post date:** [October 14, 2011, 12:35am UTC](https://forums.digi.com/t/how-to-reset-nvram-in-digi-connect-me-9210/4344/1 "2011-10-14T00:35:39Z")

</div>

I created an application to set IAM interface parameters held in NVRAM using IAM parameter API. The first version of the program must have corrupted the NVRAM.

The Digi-Connect 9210 module will not make it to the applicationStart() function when loading parameters from NVRAM. (Setting APP\_USE\_NVRAM = APP\_FOR\_ALL\_PARAMETERS in the appconf.h file). It keeps hitting the applicationTcpDown() function.

The module will run fine if APP\_USE\_NVRAM = APP\_DO\_NOT\_USE\_NVRAM and module uses parameters in appconf.h.

I then put the following code in applicationTcpDown to try and set IAM parameters back to defaults. But module still does not get to applicationStart(). I think there may be some other parameters stored in NVRAM that have been corrupted.

void applicationTcpDown (void)

{  
static int ticksPassed = 0;  
NaIamParamsInfo\_t configs;  
int i;  
int success = customizeIamGetDefaultConfig(&configs);

NaIamStaticParams\_t config;  
memset(&config,0,sizeof(NaIamStaticParams\_t));  
for(i =0 ; i\< NA\_IAM\_INTERFACE\_MAX;i++)  
{  
success = customizeIamSetInterfaceConfig((char\*)&configs.iamParams[i].ifname,&configs.iamParams[i]);  
}

success =customizeIamGetConfig(&configs);

ticksPassed++;

/\*

- Code to handle error condition if the stack doesn’t come up goes here.  
\*/  
}

Do you have any suggestions to clearing or resetting NVRAM that hold parameter information?

---

<div class="post-metadata">

**Author:** ![kubiajir](https://avatars.discourse-cdn.com/v4/letter/k/e19b73/32.png) [@kubiajir](https://forums.digi.com/u/kubiajir)\
**Post date:** [October 28, 2011, 7:34pm UTC](https://forums.digi.com/t/how-to-reset-nvram-in-digi-connect-me-9210/4344/2 "2011-10-28T19:34:10Z")

</div>

Hi, first question:  
Why you need to set APP\_USE\_NVRAM = APP\_FOR\_ALL\_PARAMETERS? ALl parameters is used only for wthernet configuration, and it overrides MAC setup an IP.

Jirka

---

<div class="post-metadata">

**Author:** ![dakotas\_dad](https://avatars.discourse-cdn.com/v4/letter/d/a88e57/32.png) [@dakotas\_dad](https://forums.digi.com/u/dakotas_dad)\
**Post date:** [October 5, 2012, 7:10pm UTC](https://forums.digi.com/t/how-to-reset-nvram-in-digi-connect-me-9210/4344/3 "2012-10-05T19:10:28Z")

</div>

There are methods that come to mind, but they are environmental dependant.

If you have access to the serial/dialog and it is connected to a terminal emulator of some kind, when the dialog asks if you want to "Press key in 5 seconds to change settings, press a key. You’ll need a user name and password. You’ll be asked if you want to reset to defaults. If you says Y, NVRAM will be reset to some reasonable settings. That might help.

Also both the command line development environment and the IDE (ESP) have a sample application that will wipe FLASH clean. Two caveats, 1) Notice I said FLASH and not just NVRAM. 2) You must be using a JTAG module. DO not try this with a non-JTAG module as your unit will trully be turned into a brick. After clearing FLASH, through the JTAG debugger yo can rewrite the bootloader and the application. Use the method above to set NVRAM to something reasonable.

---

<div class="post-metadata">

**Author:** ![thomas.kuhlmann](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/thomas.kuhlmann/32/7_2.png) [@thomas.kuhlmann](https://forums.digi.com/u/thomas.kuhlmann)\
**Post date:** [August 16, 2016, 12:33am UTC](https://forums.digi.com/t/how-to-reset-nvram-in-digi-connect-me-9210/4344/4 "2016-08-16T00:33:32Z")

</div>

maybe the knowledge base article is related:  
[http://knowledge.digi.com/articles/Knowledge\_Base\_Article/Forgot-the-root-password-for-NET-OS-firmware-Can-t-change-wrong-baud-rate-settings/](http://knowledge.digi.com/articles/Knowledge_Base_Article/Forgot-the-root-password-for-NET-OS-firmware-Can-t-change-wrong-baud-rate-settings/)
