MEMORY DIAGNOSTIC METHOD, MEMORY DIAGNOSTIC DEVICE, AND NON-TRANSITORY COMPUTER-READABLE STORAGE MEDIUM
First Claim
1. A memory diagnostic method of diagnosing a memory used by a process during execution of the process, comprising:
- a variable domain diagnostic step with the variable domain of the memory storing first data that are possibly subject to writing by the process, comprising storing the first data stored in the variable domain in a withdrawal region different from the memory region storing the first data, writing known data in the variable domain where the first data stored in the withdrawal region were stored, and reading data in the region and determining whether the data is same as the written known data; and
a fixed domain diagnostic step with the fixed domain of the memory storing second data that are not subject to change during execution of the process, comprising adding an error-detecting code to data to be stored and storing it in the fixed domain in advance, and comparing the error-detecting code calculated from the data read from the fixed domain with the added and stored error-detecting code to determine whether there is any data error.
1 Assignment
0 Petitions
Accused Products
Abstract
In a memory diagnostic method, a fixed domain stores data that are not changed during process execution. A variable domain stores data that are subject to writing during process execution. A fixed domain diagnostic part adds an error-detecting code to data to be stored in the fixed domain. The fixed domain diagnostic part compares an error-detecting code calculated from data read from the fixed domain with the added error-detecting code to determine whether there is any data error. A variable domain diagnostic part temporarily stores data stored in the variable domain in a memory region different from the memory storing the data, and writes known data in the variable domain where the temporarily stored data were stored. The variable domain diagnostic part reads data from the region where the known data were written and determines whether the data is the same as the written known data.
14 Citations
11 Claims
-
1. A memory diagnostic method of diagnosing a memory used by a process during execution of the process, comprising:
-
a variable domain diagnostic step with the variable domain of the memory storing first data that are possibly subject to writing by the process, comprising storing the first data stored in the variable domain in a withdrawal region different from the memory region storing the first data, writing known data in the variable domain where the first data stored in the withdrawal region were stored, and reading data in the region and determining whether the data is same as the written known data; and a fixed domain diagnostic step with the fixed domain of the memory storing second data that are not subject to change during execution of the process, comprising adding an error-detecting code to data to be stored and storing it in the fixed domain in advance, and comparing the error-detecting code calculated from the data read from the fixed domain with the added and stored error-detecting code to determine whether there is any data error. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A memory diagnostic device diagnosing a memory used by a process during execution of the process, comprising:
-
a variable domain diagnostic part that, with the variable domain of the memory storing first data that are possibly subject to writing by the process, stores the first data stored in the variable domain in a withdrawal region different from the memory region storing the first data, writes known data in the variable domain where the first data stored in the withdrawal region were stored, and reads data in the region and determines whether the data is same as the written known data; and a fixed domain diagnostic part that, with the fixed domain of the memory storing second data that are not subject to change during execution of the process, adds an error-detecting code to data to be stored and stores it in the fixed domain in advance, and compares the error-detecting code calculated from the data read from the fixed domain with the added and stored error-detecting code to determine whether there is any data error.
-
-
11. A non-transitory computer-readable storage medium on which is recorded a memory diagnostic program allowing a computer to execute the following steps while the computer executes a process:
-
a variable domain diagnostic step with the variable domain of the memory storing first data that are possibly subject to writing by the process, comprising storing the first data stored in the variable domain in a withdrawal region different from the memory region storing the first data, writing known data in the variable domain where the first data stored in the withdrawal region were stored, and reading data in the region and determining whether the data is same as the written known data; and a fixed domain diagnostic step with the fixed domain of the memory storing second data that are not subject to change during execution of the process, comprising adding an error-detecting code to data to be stored and storing it in the fixed domain in advance, and comparing the error-detecting code calculated from the data read from the fixed domain with the added and stored error-detecting code to determine whether there is any data error.
-
Specification