Cancel or Kill NvM_WriteAll to Reach Required Start-Up Times
To accelerate the start-up, MICROSAR has the possibility to cancel NvM_WriteAll hard after a certain timeout and after NvM_CancelWriteAll was called.
In BSW Management configuration editor of DavinciConfigurator Pro (Version 5 in higher), the ECU State Handling has already a pre-defined rule ESH_WaitToWakeup. This rule is executed when the ECU State handling waits until NvM_WriteAll is finished and a wake-up event is noticed during this waiting time. The rule executes an action list called ESH_AL_WaitForNvMWakeup. The action list includes an action to start a timer and to call NvM_CancelWriteAll. The duration of this timer is configurable so that you can assure your re-start requirements.
Configure the value of the timer to reach the required start-up times. If the timer is expired, NvM_KillWriteAll shall be called. This step is not done automatically. Therefore, add an additional user-defined rule which is executed when the CancelWriteAllTimer is expired. The user action of the rule calls NvM_KillWriteAll.