Method for re-initializing vehicle parameters after a power loss in a motor vehicle
First Claim
1. A method for reinitializing vehicle parameters stored in memory of a controller in a motor vehicle after a power loss to the controller, said method comprising the steps of:
- determining whether predetermined conditions are right for transferring, at least one vehicle parameter stored in a volatile memory of a controller;
transferring the vehicle parameter stored in the volatile memory to a non-volatile memory of the controller if the predetermined conditions are right for transferring the vehicle parameter;
determining whether predetermined conditions are right for re-initializing the vehicle parameter after a power loss to the controller;
performing a validity check of the vehicle parameter stored in the non-volatile memory by determining whether a predetermined number of vehicle parameters stored in the non-volatile memory is equal to a predetermined number of vehicle parameters stored in a read only memory;
transferring the vehicle parameter from the non-volatile memory to the volatile memory if the predetermined conditions are right for re-initializing the vehicle parameter and the validity check is valid; and
initializing the vehicle parameter with a predetermined initial value stored in the non-volatile memory to the volatile memory if the predetermined conditions are not right for re-initializing the vehicle parameter and the validity check is not valid.
21 Assignments
0 Petitions
Accused Products
Abstract
A method for reinitializing vehicle parameters stored in a memory of a controller in a motor vehicle after a power loss to the controller includes the steps of determining whether predetermined conditions are right for transferring at least one vehicle parameter stored in a volatile memory of a controller, transferring the vehicle parameter stored in the volatile memory to a non-volatile memory if the predetermined conditions are right for transferring the vehicle parameter, determining whether predetermined conditions are right for re-initializing the vehicle parameter after a power loss to the controller, transferring the vehicle parameter from the non-volatile memory to the volatile memory if the predetermined conditions are right for re-initializing the vehicle parameter, and initializing the vehicle parameter with a predetermined initial value stored in the non-volatile memory to the volatile memory if the predetermined conditions are not right for re-initializing the vehicle parameter.
-
Citations
11 Claims
-
1. A method for reinitializing vehicle parameters stored in memory of a controller in a motor vehicle after a power loss to the controller, said method comprising the steps of:
-
determining whether predetermined conditions are right for transferring, at least one vehicle parameter stored in a volatile memory of a controller; transferring the vehicle parameter stored in the volatile memory to a non-volatile memory of the controller if the predetermined conditions are right for transferring the vehicle parameter; determining whether predetermined conditions are right for re-initializing the vehicle parameter after a power loss to the controller; performing a validity check of the vehicle parameter stored in the non-volatile memory by determining whether a predetermined number of vehicle parameters stored in the non-volatile memory is equal to a predetermined number of vehicle parameters stored in a read only memory; transferring the vehicle parameter from the non-volatile memory to the volatile memory if the predetermined conditions are right for re-initializing the vehicle parameter and the validity check is valid; and initializing the vehicle parameter with a predetermined initial value stored in the non-volatile memory to the volatile memory if the predetermined conditions are not right for re-initializing the vehicle parameter and the validity check is not valid. - View Dependent Claims (2, 3)
-
-
4. A method for reinitializing vehicle parameters stored in memory of a controller in a motor vehicle after a power loss to the controller, said method comprising the steps of:
-
determining whether predetermined conditions are right for transferring at least one vehicle parameter stored in a volatile memory of a controller; transferring the vehicle parameter stored in the volatile memory to a non-volatile memory of the controller if the predetermined conditions are right for transferring the vehicle parameter; determining whether predetermined conditions are right for re-initializing the vehicle parameter after a power loss to the controller; transferring the vehicle parameter from the non-volatile memory to the volatile memory if the predetermined conditions are right for re-initializing the vehicle parameter; initializing the vehicle parameter with a predetermined initial value stored in the non-volatile memory to the volatile memory if the predetermined conditions are not right for re-initializing the vehicle parameter; wherein said step of determining whether the predetermined conditions are right for transferring comprises; determining if the ignition is OFF at least a predetermined period of time; continuing said method if the ignition has been OFF at least the predetermined period of time; determining whether the non-volatile memory needs updating; checking if a counter equals a predetermined number if the non-volatile memory does not need updating; updating the counter if the counter does not equal the predetermined number; and determining whether the non-volatile memory is currently being written to if the counter does equal the predetermined number. - View Dependent Claims (5, 6, 7)
-
-
8. A method for reinitializing vehicle parameters stored in memory of a controller in a motor vehicle after a power loss to the controller, said method comprising the steps of:
-
determining whether predetermined conditions are right for transferring, at least one vehicle parameter stored in a volatile memory of a controller; transferring the vehicle parameter stored in the volatile memory to a non-volatile memory of the controller if the predetermined conditions are right for transferring the vehicle parameter; determining whether predetermined conditions are right for re-initializing the vehicle parameter after a power loss to the controller; transferring the vehicle parameter from the non-volatile memory to the volatile memory if the predetermined conditions are right for re-initializing the vehicle parameter; initializing the vehicle parameter with a predetermined initial value stored in the non-volatile memory to the volatile memory if the predetermined conditions are not right for re-initializing the vehicle parameter; and performing a validity check of the vehicle parameters by determining if a number of vehicle parameters stored in the non-volatile memory is equal to a predetermined number stored in the non-volatile memory prior to said step of transferring.
-
-
9. A method for reinitializing vehicle parameters stored in memory of a controller in a motor vehicle after a power loss to the controller, said method comprising the steps of:
-
determining whether predetermined conditions are right for copying at least one vehicle parameter stored in a volatile memory of a controller; checking whether a non-volatile memory of the controller is ready for updating if the predetermined conditions are right for copying the vehicle parameter; copying at least one vehicle parameter stored in the volatile memory to the non-volatile memory if the non-volatile memory is ready for updating; during a next start-up of the vehicle, checking if the power was disconnected to the controller; performing a validity check of the vehicle parameter stored in the non-volatile memory by determining if a number of vehicle parameters stored in the non-volatile memory is equal to a predetermined number stored in the non-volatile memory; copying vehicle parameters into random access memory from non-volatile memory if the validity check is positive; and copying initial values for vehicle parameters from a read only memory to the volatile memory if the validity check is negative.
-
-
10. A method for reinitializing vehicle parameters stored in memory of a controller in a motor vehicle after a power loss to the controller, said method comprising the steps of:
-
determining whether predetermined conditions are right for transferring, at least one vehicle parameter stored in a volatile memory of a controller; transferring the vehicle parameter stored in the volatile memory to a non-volatile memory of the controller after a predetermined number of engine starts if the predetermined conditions are right for transferring the vehicle parameter; determining whether predetermined conditions are right for re-initializing the vehicle parameter after a power loss to the controller; performing a validity check of the vehicle parameter stored in the non-volatile memory by determining whether a predetermined number of vehicle parameters stored in the non-volatile memory is equal to a predetermined number of vehicle parameters stored in a read only memory; transferring the vehicle parameter from the non-volatile memory to the volatile memory if the predetermined conditions are right for re-initializing the vehicle parameter and the validity check is valid; and initializing the vehicle parameter with a predetermined initial value stored in the non-volatile memory to the volatile memory if the predetermined conditions are not right for re-initializing the vehicle parameter and the validity check is not valid.
-
-
11. A method for reinitializing vehicle parameters stored in memory of a controller in a motor vehicle after a power loss to the controller, said method comprising the steps of:
-
determining whether predetermined conditions are right for transferring a plurality of vehicle parameters stored in a volatile memory of a controller; transferring the vehicle parameters stored in the volatile memory to a non-volatile memory of the controller if the predetermined conditions are right for transferring the vehicle parameters; determining whether predetermined conditions are right for re-initializing the vehicle parameters after a power loss to the controller; performing a validity check of the vehicle parameters stored in the non-volatile memory by calculating a checksum of the vehicle parameters stored in the non-volatile memory; transferring the vehicle parameters from the non-volatile memory to the volatile memory if the predetermined conditions are right for re-initializing the vehicle parameters and the validity check is valid; and initializing the vehicle parameters with a predetermined initial value stored in the non-volatile memory to the volatile memory if the predetermined conditions are not right for re-initializing the vehicle parameters and the validity check is not valid.
-
Specification