JPH01298421A - Control method for ram with back-up battery - Google Patents

Control method for ram with back-up battery

Info

Publication number
JPH01298421A
JPH01298421A JP63129977A JP12997788A JPH01298421A JP H01298421 A JPH01298421 A JP H01298421A JP 63129977 A JP63129977 A JP 63129977A JP 12997788 A JP12997788 A JP 12997788A JP H01298421 A JPH01298421 A JP H01298421A
Authority
JP
Japan
Prior art keywords
ram
initialization
contents
backup battery
battery
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
JP63129977A
Other languages
Japanese (ja)
Inventor
Osamu Fujinawa
藤縄 修
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP63129977A priority Critical patent/JPH01298421A/en
Publication of JPH01298421A publication Critical patent/JPH01298421A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To save a labor to initialize and to prevent the initialized and inputted data from being lost by the re-initialization by judging whether or not initialization is already executed and automatically executing the initialization when the initialization is not executed. CONSTITUTION:The contents of a certain address assigned to a RAM with a battery for back-up are referred and when the contents are coincident with the value specified beforehand, it is considered that initialization is completed. When it is noncoincident, it is considered that the initialization is not yet executed and the initialization of the contents of a RAM with a battery for the back up is executed. Thus, the work of the initialization can be automatically executed, the contents of the RAM with the battery for the back-up, in which the initialization is already executed and some data are written are not initialized by mistake and the important data are not lost.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はバックアヅプ用バッテリー付RAMの制御方式
に関し、特にそのメモリの初期化に間する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a control method for a RAM with a battery for back-up use, and particularly to initialization of the memory.

〔従来の技術〕[Conventional technology]

従来、バックアップ用バッテリー付RA Mを実装可能
な装置においては、バックアップ用バッテリー付RAM
を初めて実装したとき、別途にバックアップ用バッテリ
ー付RAMの内容だけ初期化していた。
Conventionally, in devices that can implement RAM with a backup battery,
When it was first implemented, only the contents of the RAM with a backup battery were initialized separately.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のバックアップ用バッテリー付RAMの内
容の初期化においては、すでに初期化されたかどうかを
判断する手段をもたないため、内容を初期化するかどう
かの判断はメモリの実装者にまかされている。もし、そ
れを初期化したいときは、バックアップ用バッテリー付
RAMを実装したとき、何らかの操作を行うことで実現
している。このため、非常に手間がかかるという欠点が
ある。また、すでに初期化が行われ、何らかのデータが
書き込まれているバックアップ用バッテリー付RAMの
内容を誤って初期化してしまい、大切なデータを失う可
能性がある。
When initializing the contents of the conventional RAM with backup battery described above, there is no means to determine whether or not the contents have already been initialized, so the decision as to whether or not to initialize the contents is left to the memory implementer. has been done. If you want to initialize it, you can do so by performing some operation when a RAM with a backup battery is installed. Therefore, there is a drawback that it is extremely time consuming. Furthermore, there is a possibility that the contents of the RAM with a backup battery, which has already been initialized and some data written therein, will be initialized by mistake, resulting in the loss of important data.

本発明の目的は前記課題を解決したバックアップ用バッ
テリー付RAMの制御方式を提供することにある。
An object of the present invention is to provide a control system for a RAM with a backup battery that solves the above problems.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的を達成するため、本発明に係るバックアップ用
バッテリー付RAMの制御方式においては、装置を制御
するプログラムが書き込まれているROMと、そのプロ
グラムか動作するために必要とする情報等を格納するた
めのバックアップ用バッテリー付RAMを有し、バック
アップ用バッテリー付RAMの初期化を行うものである
In order to achieve the above object, in the control method of the RAM with a backup battery according to the present invention, a ROM in which a program for controlling the device is written and information necessary for the program to operate are stored. It has a RAM with a backup battery for initializing the RAM with a backup battery.

〔実施例〕〔Example〕

以下、本発明の一実施例を図により説明する。 Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図は本発明のバックアップ用バッテリー付RAMの
制御方式を示ずフローチャート、第2図はバックアップ
用バッテリー付RAMのアドレスマツプである。
FIG. 1 is a flowchart showing a control method of a RAM with a backup battery according to the present invention, and FIG. 2 is an address map of the RAM with a backup battery.

本発明のバックアップ用バッテリー付RAMの制御方式
は、装置を制御するプログラムが書き込まれているRO
Mと、そのプログラムが動作するために必要とする情報
等を格納するためのバックアップ用バッテリー付のRA
Mを有している。
The control method of the RAM with backup battery of the present invention is based on the RO in which the program for controlling the device is written.
RA with a backup battery to store M and the information necessary for the program to operate.
It has M.

装置の電源が投入された後、まずバックアップ用バッテ
リー付RAMが装着されているかどうかを調べる。装着
されていた場合は、次にバックアップ用バッテリー付R
AMに割当てられているあるアドレスの内容を参照する
。この内容が前に規定してあったある値と一致していた
場合、初期化は終了しているものとみなす、一致してい
ない場合は初期化かまた行われていないとみなし、バッ
クアップ用バッテリー付RAMの内容の初期化を行う。
After the device is powered on, first check whether a RAM with backup battery is installed. If it is installed, next install the R with backup battery.
Refers to the contents of a certain address assigned to AM. If this content matches a certain value specified previously, it is assumed that the initialization has been completed.If they do not match, it is assumed that the initialization has not been performed, and the backup battery Initializes the contents of attached RAM.

このとき、上述のあるアドレスには前に規定してあった
ある値を書き込んでおく。
At this time, a previously defined value is written to the above-mentioned address.

これにより、初期化の作業をオートマチックに行うこと
ができる。
This allows the initialization work to be performed automatically.

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

以上説明したように本発明はバックアップ用バッテリー
付RAMが初期化済かどうかを判断し、初期化していな
い場合は自動的に初期化を行うことにより、初期化する
手間を省くことかできるとともに、初期化されて入力し
たデータを再初期化により失うことを防止できる効果を
有する。
As explained above, the present invention determines whether the RAM with a backup battery has been initialized or not, and if it has not been initialized, automatically initializes it, thereby saving the time and effort of initializing it. This has the effect of preventing data that has been initialized and input from being lost due to reinitialization.

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

第1図は本発明のバックアップ用バッテリー付RAMの
制御方式を示すフローチャート、第2図は本発明のバッ
クアップ用バッテリー付RAMの制御方式の一実施例の
アドレスマツプを示す図である。 特許出願人  日本電気株式会社 代  理  人   弁理士 菅 野   中、;仝、
FIG. 1 is a flowchart showing a control method for a RAM with a backup battery according to the present invention, and FIG. 2 is a diagram showing an address map of an embodiment of the control method for a RAM with a backup battery according to the present invention. Patent Applicant NEC Corporation Representative Patent Attorney Naka Kanno;

Claims (1)

【特許請求の範囲】[Claims] (1)装置を制御するプログラムが書き込まれているR
OMと、そのプログラムが動作するために必要とする情
報等を格納するためのバックアップ用バッテリー付RA
Mを有し、バックアップ用バッテリー付RAMの初期化
を行うことを特徴とするバックアップ用バッテリー付R
AMの制御方式。
(1) R in which the program to control the device is written
RA with backup battery to store information required for OM and its programs to operate
R with a backup battery, characterized in that it has a RAM with a backup battery and initializes a RAM with a backup battery.
AM control method.
JP63129977A 1988-05-27 1988-05-27 Control method for ram with back-up battery Pending JPH01298421A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63129977A JPH01298421A (en) 1988-05-27 1988-05-27 Control method for ram with back-up battery

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63129977A JPH01298421A (en) 1988-05-27 1988-05-27 Control method for ram with back-up battery

Publications (1)

Publication Number Publication Date
JPH01298421A true JPH01298421A (en) 1989-12-01

Family

ID=15023118

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63129977A Pending JPH01298421A (en) 1988-05-27 1988-05-27 Control method for ram with back-up battery

Country Status (1)

Country Link
JP (1) JPH01298421A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6205526B1 (en) 1997-04-09 2001-03-20 Nec Corporation Device and method for backing up internal information and storage medium having internal information backup control program stored thereon

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6205526B1 (en) 1997-04-09 2001-03-20 Nec Corporation Device and method for backing up internal information and storage medium having internal information backup control program stored thereon

Similar Documents

Publication Publication Date Title
JP2002236589A (en) Bios data storage device of computer system and its driving method
US7489782B1 (en) Registry restore to original hardware
JPH01298421A (en) Control method for ram with back-up battery
JPS62137627A (en) Memory dump system
JPH086616A (en) Programmable controller
JPH03265027A (en) Initializing device for computer system
JPH0675957A (en) Restoration mechanism of fault during editing
JPS63298444A (en) Program patch system
JPH0546270A (en) Method for starting up computer
JPS6378253A (en) Program loading system
JPH01274258A (en) System for guaranteeing write on data memory device
JPS61236098A (en) Rom program controller
US20020089772A1 (en) Automation system with a work drive unit
JPH06342412A (en) Automatic patch system for control program for input/ output device
JPH04148427A (en) Program patch system
JPH01102643A (en) Data processing system
JPH11149418A (en) Memory system
JPS62162140A (en) Computer system
JPH0389650A (en) Modem with patch function
JPH02103628A (en) Microprogram control system
JPS6337440A (en) Control system for preventing mistaken output to file which cannot be rewritten
JPH0250734A (en) System restoration processing method
JPS5994288A (en) Automatic page size selecting system
JPS6359297A (en) Initial program loading system
JPS61166630A (en) Microprogram control system