JPS6263355A - Checking method for battery back-up ram - Google Patents

Checking method for battery back-up ram

Info

Publication number
JPS6263355A
JPS6263355A JP60201552A JP20155285A JPS6263355A JP S6263355 A JPS6263355 A JP S6263355A JP 60201552 A JP60201552 A JP 60201552A JP 20155285 A JP20155285 A JP 20155285A JP S6263355 A JPS6263355 A JP S6263355A
Authority
JP
Japan
Prior art keywords
ram
data
checking
battery
battery back
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP60201552A
Other languages
Japanese (ja)
Inventor
Masanobu Nemezawa
根目沢 正信
Yojiro Miyahara
養治侶 宮原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP60201552A priority Critical patent/JPS6263355A/en
Publication of JPS6263355A publication Critical patent/JPS6263355A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To check the preservation of the data without omission by checking all data in the battery back-up RAM. CONSTITUTION:Into a ROM 2, the program executed by a microprocessor 1 is included. The control constant different for the controlled system is included in a RAM 3, and at the time of power failure, the electric power source is supplied by a battery 5, and therefore, the data can be preserved. When the contents of the RAM 3 are applied by neglecting the carry, the data for the sum checking in which the result is zero, are added to the optional address in the RAM 3. Thus, the data preservation is checked.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明はマイクロコンピュータを用いたリアルタイム制
御装置などのバッテリバックアップRAM(ランダムア
クセスメモリ)のデータ保存の信頼性をチェックするバ
ッテリバックアップRAMのチェック方法に関する。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a battery backup RAM (random access memory) checking method for checking the reliability of data storage in a battery backup RAM (random access memory) of a real-time control device using a microcomputer. .

〔発明の背景〕[Background of the invention]

従来のバッテリバックアップRAMのチェック方法は、
特開昭60−41149号公報に記載のように、RAM
内の一つ以上に特定データを入れておき、本データをチ
ェックすることにより、データ保存のチェックを行う方
法としていた。
The conventional way to check battery backup RAM is as follows:
As described in Japanese Patent Application Laid-open No. 60-41149, RAM
The method was to check data storage by storing specific data in one or more of the files and checking this data.

しかし、本方式の場合、全てのデータチェックしていな
いためRAM内の一部のデータ破壊に関しては考慮され
ておらず、チェック方法は完全とは言えないものであっ
た。
However, in the case of this method, since all data is not checked, destruction of some data in the RAM is not taken into account, and the checking method cannot be called perfect.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、バッテリバックアップRAMのデータ
保存性を全てチェックすることにより、信頼性の高いバ
ッテリバックアップRAMのチェック方法を提供するこ
とにある。
An object of the present invention is to provide a highly reliable method of checking a battery backup RAM by checking all data storage properties of the battery backup RAM.

〔発明の概要〕[Summary of the invention]

本発明は、一つのICチップのRAMには通常数にビッ
ト以上のメモリがあり、RAM内にRAMのデータ全て
を加算した場合、加算結果が零(桁上がり無視)となる
データ一つを付加しておきRAMのサムチェックを行う
ことにより、データ保存性のチェックをするものである
In the present invention, the RAM of one IC chip usually has more than one bit of memory, and when all the RAM data is added to the RAM, one piece of data is added whose addition result is zero (carry is ignored). Data storage is checked by performing a sum check of the RAM.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の実施例を第2図および第3図により説明
する。
Embodiments of the present invention will be described below with reference to FIGS. 2 and 3.

第2図において、1はマイクロプロセッサ(BPU)、
2はリードオンリーメモリ (ROM)、3はランダム
アクセスメモリ(RAM)、4はダイオード、5はバッ
テリー、6は電源である。
In FIG. 2, 1 is a microprocessor (BPU);
2 is a read-only memory (ROM), 3 is a random access memory (RAM), 4 is a diode, 5 is a battery, and 6 is a power supply.

この構成でROM2内には、マイクロプロセッサ1が実
行するプログラムが入っている。また。
With this configuration, the ROM 2 contains a program executed by the microprocessor 1. Also.

RAM3には、制御対象毎に異なる制御定数が入ってお
り、停電時もバッテリー5により電源が供給されるため
データを保存することができる。このRAMa内の任意
のアドレスには、本RAMの内容を桁上げを無視して加
算した時、結果が零となるサムチェック用データが付加
されている。
The RAM 3 contains different control constants for each controlled object, and data can be saved even in the event of a power outage because power is supplied from the battery 5. Added to an arbitrary address in this RAMa is data for sum check that, when the contents of this RAM are added ignoring carry, the result is zero.

この構成において、起動時のマイクロプロセッサ1が実
行するRAM3のチェック手順を第3図に示す、すなわ
ち、起動時RAM3のデータ全てを桁上げを無視して加
算し、その結果が零となればデータ保存は正常とみなし
、以下、制御演算を実行する。しかし、結果が零となら
ない場合は。
In this configuration, the procedure for checking the RAM 3 executed by the microprocessor 1 at startup is shown in FIG. The storage is assumed to be normal, and control calculations are executed below. However, if the result is not zero.

RAMa内のいずれかのアドレスにおいて、データ破壊
があったものと判定し、停止するようになっている。
It is determined that data has been destroyed at any address within RAMa, and the process is stopped.

また、RAMa内の制御定数は時々変更されるが、その
時、サムチェック用データを書き換えておかないと再起
動時に異常となり、起動できないという不具合を生じる
。そこで、本実施例では、第1図に示すように、RAM
3内のデータ変更時にその都度サムチェック用データを
算出し、RAM5内のサムチェック用データを更新して
おくことにより、上述の不具合の発生を防止している。
Further, the control constants in RAMa are sometimes changed, and if the sum check data is not rewritten at that time, an abnormality will occur upon restart, resulting in the inconvenience that the system cannot be started. Therefore, in this embodiment, as shown in FIG.
By calculating sum check data each time data in RAM 5 is changed and updating the sum check data in RAM 5, the above-mentioned problem is prevented from occurring.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、バッテリバックアツプRAM内の全て
のデータチェックを行うため、もれなくデータ保存のチ
ェックを行うことができ、信頼性の向上を図ることがで
きる。
According to the present invention, since all data in the battery backup RAM is checked, data storage can be checked without exception, and reliability can be improved.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例のサムチェック用テータ算出
手順を示した図、第2図は従来の全体構成図、第3図は
、起動時のバッテリバックアツプRAMチェック手順を
示した図である。 1・・・マイクロプロセッサ、2・・・リードオンリー
メモリ(ROM)、3・・・ランダムアクセスメモリ(
RAM)、4・・・ダイオード、5・・・バッテリー、
6・・・電源。
Fig. 1 is a diagram showing the sum check data calculation procedure according to an embodiment of the present invention, Fig. 2 is a conventional overall configuration diagram, and Fig. 3 is a diagram showing the battery backup RAM check procedure at startup. It is. 1...Microprocessor, 2...Read only memory (ROM), 3...Random access memory (
RAM), 4...Diode, 5...Battery,
6...Power supply.

Claims (1)

【特許請求の範囲】 1、電源をバッテリ等により停電時もバックアップされ
たRAMにおいて、 前記RAMの任意の番地に前記RAMの内容全てを加算
した値が零となるサムチェック用データを付加し、前記
RAMのデータ全てを加算して、その結果により前記R
AMの内容の全体、または、一部が破損されたか否かを
検出するようにしたことを特徴とするバッテリバックア
ップRAMのチェック方法。
[Claims] 1. In a RAM whose power source is backed up by a battery or the like even in the event of a power outage, sum check data is added to an arbitrary address in the RAM such that the sum of all the contents of the RAM becomes zero; Add all the data in the RAM and use the result to calculate the R
A method for checking a battery backup RAM, characterized in that it detects whether all or part of the contents of an AM has been damaged.
JP60201552A 1985-09-13 1985-09-13 Checking method for battery back-up ram Pending JPS6263355A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60201552A JPS6263355A (en) 1985-09-13 1985-09-13 Checking method for battery back-up ram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60201552A JPS6263355A (en) 1985-09-13 1985-09-13 Checking method for battery back-up ram

Publications (1)

Publication Number Publication Date
JPS6263355A true JPS6263355A (en) 1987-03-20

Family

ID=16442938

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60201552A Pending JPS6263355A (en) 1985-09-13 1985-09-13 Checking method for battery back-up ram

Country Status (1)

Country Link
JP (1) JPS6263355A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008525491A (en) * 2004-12-27 2008-07-17 バクスター・インターナショナル・インコーポレイテッド Polymer-von Willebrand factor conjugate
WO2010144502A2 (en) * 2009-06-08 2010-12-16 Amunix Operating Inc. Growth hormone polypeptides and methods of making and using same
WO2011060242A2 (en) * 2009-11-13 2011-05-19 Talecris Biotherapeutics, Inc. Von willebrand factor (vwf)-containing preparations, and methods, kits, and uses related thereto
WO2011069164A2 (en) * 2009-12-06 2011-06-09 Biogen Idec Ma Inc. Factor viii-fc chimeric and hybrid polypeptides, and methods of use thereof
WO2011101267A1 (en) * 2010-02-16 2011-08-25 Novo Nordisk A/S Conjugated fviii variants
JP2011525363A (en) * 2008-06-24 2011-09-22 ツェー・エス・エル・ベーリング・ゲー・エム・ベー・ハー Factor VIII, von Willebrand factor or a complex thereof having an extended in vivo half-life

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008525491A (en) * 2004-12-27 2008-07-17 バクスター・インターナショナル・インコーポレイテッド Polymer-von Willebrand factor conjugate
JP2011525363A (en) * 2008-06-24 2011-09-22 ツェー・エス・エル・ベーリング・ゲー・エム・ベー・ハー Factor VIII, von Willebrand factor or a complex thereof having an extended in vivo half-life
WO2010144502A2 (en) * 2009-06-08 2010-12-16 Amunix Operating Inc. Growth hormone polypeptides and methods of making and using same
WO2011060242A2 (en) * 2009-11-13 2011-05-19 Talecris Biotherapeutics, Inc. Von willebrand factor (vwf)-containing preparations, and methods, kits, and uses related thereto
WO2011069164A2 (en) * 2009-12-06 2011-06-09 Biogen Idec Ma Inc. Factor viii-fc chimeric and hybrid polypeptides, and methods of use thereof
WO2011101267A1 (en) * 2010-02-16 2011-08-25 Novo Nordisk A/S Conjugated fviii variants

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JPN6017017654; Nature Biotechnology Vol. 27, No. 12, 2009, pp. 1186-1190 *

Similar Documents

Publication Publication Date Title
JPS605363A (en) Confirmation system for memory contents
JPS6263355A (en) Checking method for battery back-up ram
JPH02297237A (en) Automatic restarting device for electronic computer system
KR910010317A (en) A reset control system and method for performing a resume processing while checking the operation mode of the CPU
JPH02100743A (en) Electronic equipment
JP2854154B2 (en) Processing equipment
JPH022414A (en) Countermeasure device for hit of power supply
JP2731251B2 (en) Computer system
JPS6215635A (en) System controller
JPS62251833A (en) Computer system
JPH11203115A (en) Controller
JPS62284449A (en) Initial program loading system
JPS6211918A (en) Checking system for memory back-up battery
JPH0789308B2 (en) Computer automatic restart method
JPS6210746A (en) Non-volatile ram checking method
JPS6326748A (en) Method for deciding abnormality of memory
JPH02100744A (en) Electronic equipment
JPS63276111A (en) Start system for microcomputer applied device
JPS59168994A (en) Secrecy protection system of data in system provided with memory
JPS63266563A (en) Data file device
JPS62235665A (en) Checking device for backup of ram
JPS61278953A (en) Method for checking error in ram
JPS60132250A (en) Restarting method of control device
JPS63136234A (en) Check sum calculation system
KR19980046140A (en) Control method of computer system