MotoHawk:Blocks:NonVolatile Status
From MotoHawk
Jump to navigationJump to searchNonVolatile Status
This MotoHawk™ block returns the current status of the NonVolatile memory.
Block ID
motohawk_nv_status
Library
MotoHawk_lib/Data Storage Blocks
Description
Note that there is always a Display variable indicating this status available in MotoTune called NonVolatileStatus.
Block Parameters
This MotoHawk™ block has no user-definable parameters. Listed below are the status indicators.
Value | Description |
0: NV Currently Loading from Factory FLASH to RAM | This is set while performing the copy from factory defaults in FLASH to the working copy in RAM. |
1: NV Currently Loading from EEPROM to RAM | This is set while performing the copy from stored EEPROM values to the working copy in RAM . |
2: NV Currently Storing from RAM to EEPROM | This is set while performing the copy from the working area in RAM to the serial EEPROM. |
3: NV Loaded Factory FLASH due to change Format ID | This occurs when the stored EEPROM values do not match the structure expected by the model. |
4: NV Loaded Factory FLASH due to CRC Failure | This occurs if the last stored value are corrupt, due to a power failure during write or bad memory. |
5: NV Loaded Factory FLASH due to User Request | This occurs if the user requested that factory defaults be reloaded into RAM, even though the values in EEPROM are OK. |
6: NV Loaded Last Stored Values from EEPROM | This normally occurs when the model restarts, and no errors occur. |