Method for detecting intermittent error in volatile memory
First Claim
1. A method for checking data loss in a battery backed volatile memory to distinguish between geometrically uniform data loss resulting from power decay throughout said memory and geometrically random data loss resulting from another cause, comprising the steps of,processing data stored in two separate save areas in said volatile memory to determine whether the data in one said area is correct, and the data in the other said area incorrect or whether the data in both of said areas is incorrect,whereby an isolated malfunction, signified by said incorrect data in one but not both of said areas can be distinguished from a permanent error due to discharge of said battery, andrecovering from said data loss by copying said correct data into said area containing said incorrect data.
1 Assignment
0 Petitions
Accused Products
Abstract
Primary and secondary data save areas are established in a volatile memory (CMOS) which is backed up with a battery. The same predetermined data are stored in the primary and secondary data areas together with check sum. At a power on time, the data of the primary area are added together and the data of the secondary area are added together. When both of results of the addition are equal to the check sum, no error is detected. When only one of results of addition is different from the check sum, an intermittent error is detected. When both of results of addition are different from the check sum, battery exhausted condition is detected. If the intermittent error is detected, data of one area whose result of addition is equal to the check sum are copied to other area whose result addition is different from the check sum.
-
Citations
8 Claims
-
1. A method for checking data loss in a battery backed volatile memory to distinguish between geometrically uniform data loss resulting from power decay throughout said memory and geometrically random data loss resulting from another cause, comprising the steps of,
processing data stored in two separate save areas in said volatile memory to determine whether the data in one said area is correct, and the data in the other said area incorrect or whether the data in both of said areas is incorrect, whereby an isolated malfunction, signified by said incorrect data in one but not both of said areas can be distinguished from a permanent error due to discharge of said battery, and recovering from said data loss by copying said correct data into said area containing said incorrect data.
-
2. A method for detecting an intermittent error in a volatile memory in which information to be stored is maintained with an auxiliary battery during electric power failure comprising the steps of,
(A) establishing primary and secondary save areas, each of which includes a first and a second storage area in said memory save areas; -
(B) writing the same data in said first storage area into each of said primary and secondary data save areas together with check data resulting from processing said data in accordance with a predetermined rule; (C) reading the output data from said first storage area into said primary and secondary data save areas; (D) processing data read out of said first storage area into said primary save area in accordance with said predetermined rule to obtain a first data configuration; (E) processing data read out of said first storage area into said secondary save area in accordance with said predetermined rule to obtain a second data configuration; (F) reading said check data stored in said second storage area into said primary and secondary data save areas; (G) comparing said check data from said second storage area in said primary save area with said first data configuration; wherein an intermittent error is detected when only one of said comparing steps reveals no matching. - View Dependent Claims (3, 4, 5, 6, 7, 8)
-
Specification