MotoHawk-FAQ: Difference between revisions

From NewEagleWiki
Jump to navigation Jump to search
No edit summary
m (/* There are some tasks I need to perform when an app is booting up on an ECM that has never had my application on it before. In other words, it's either a blank ECM or has had some other application on it. I need to do some memory initalization an)
Line 1: Line 1:
===There are some tasks I need to perform when an app is booting up on an ECM that has never had my application on it before.  In other words, it's either a blank ECM or has had some other application on it.  I need to do some memory initalization and cleanup and I don't want to have to worry about building a specific flash file that has all the memory initialized.  In other words, if the application is new, I want to init memory, if not, don't init memory.===
==Memory Questions==
===How is memory initialized, without having to build a specific flash file, for a new application?===


:There should be an init checkbox in the fixed Non-Volatile manager window. This will allow you to say if you want the app to load the default values or values previously on the module. This should take care of initializing the values yourself.


:There should be an init checkbox in the fixed NV manager window. This will allow you to say if you want the app to load the default values or values previously on the module. This should take care of initializing the values yourself.
:Similarly, the same result is done by performing an offline calibration change in the System | NonVolatile Storage | NonVolatile Storage Config | NonVolatileRestoreOnFirstStartup calibration. After changing this cal to "Load saved application values on next startup," you just need to merge back into your programming file, and then use the merged file for programming.

Revision as of 03:39, 14 December 2009

Memory Questions

How is memory initialized, without having to build a specific flash file, for a new application?

There should be an init checkbox in the fixed Non-Volatile manager window. This will allow you to say if you want the app to load the default values or values previously on the module. This should take care of initializing the values yourself.
Similarly, the same result is done by performing an offline calibration change in the System | NonVolatile Storage | NonVolatile Storage Config | NonVolatileRestoreOnFirstStartup calibration. After changing this cal to "Load saved application values on next startup," you just need to merge back into your programming file, and then use the merged file for programming.