Claims
- 1. An electronic apparatus with a check-sum function, said apparatus comprising:
- processing means for processing data;
- first memory means for storing data to be processed by said processing means;
- calculating means, independent of said processing means, for calculating a first check-sum value and a second check-sum value of the data stored in said first memory means;
- instruction means for instructing that power to said apparatus be turned off;
- first control means for controlling said calculating means to calculate the first check-sum value in response to the instruction that power be turned off;
- second memory means for storing the first check-sum value;
- second control means for controlling said calculating means to calculate the second check-sum value whenever power is turned on;
- comparator means for comparing the first check-sum value stored in said second memory means with the second check-sum value; and
- discrimination means for determining whether or not the data stored in said first memory means is correct when the first and second check-sum values are compared.
- 2. An electronic apparatus according to claim 1, wherein said processing means and said comparator means are included in a CPU.
- 3. An electronic apparatus according to claim 1, wherein said first and second control means interrupt said processing means when said calculating means calculates the first and second check-sum values.
- 4. An electronic apparatus with a check-sum function, said apparatus comprising:
- processing means for processing data;
- first memory means for storing data to be processed by said processing means;
- calculating means, independent of said processing means, for calculating a first check-sum value and a second check-sum value of the data stored in said first memory means;
- direct memory access means for transferring the date from said first memory means to said calculating means;
- instruction means for instructing that power to said apparatus be turned off;
- first control means for activating said direct memory access means in response to the instruction that power be turned off, to calculate the first check-sum value;
- second memory means for storing the first check-sum value;
- second control means for activating said direct memory access means whenever power is turned on, to calculate the second check-sum value;
- comparator means for comparing the first check-sum value stored in said second memory means with the second check-sum value; and
- discrimination means for determining whether or not the data stored in said first memory means is correct when the first and second check-sum values are compared.
- 5. An electronic apparatus according to claim 4, wherein said processing means and said comparator means are included in a CPU.
- 6. An electronic apparatus according to claim 4, wherein said direct memory access means interrupts said processing means when said calculating means calculates the first and second check-sum values.
Priority Claims (1)
Number |
Date |
Country |
Kind |
61-282117 |
Nov 1986 |
JPX |
|
Parent Case Info
This application is a continuation of application Ser. No. 07/124,929 filed Nov. 24, 1987, now abandoned.
US Referenced Citations (10)
Foreign Referenced Citations (1)
Number |
Date |
Country |
45156 |
Mar 1980 |
JPX |
Non-Patent Literature Citations (1)
Entry |
"Read-Only Array Data Checking", IBM TDB, vol. 28, No. 3, Aug. 1985 pp. 1163-1165. |
Continuations (1)
|
Number |
Date |
Country |
Parent |
124929 |
Nov 1987 |
|