JPH06202960A - Information processor - Google Patents

Information processor

Info

Publication number
JPH06202960A
JPH06202960A JP4360776A JP36077692A JPH06202960A JP H06202960 A JPH06202960 A JP H06202960A JP 4360776 A JP4360776 A JP 4360776A JP 36077692 A JP36077692 A JP 36077692A JP H06202960 A JPH06202960 A JP H06202960A
Authority
JP
Japan
Prior art keywords
address
ram
storage device
volatile
bus
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
JP4360776A
Other languages
Japanese (ja)
Inventor
Masami Tsunoda
正美 角田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP4360776A priority Critical patent/JPH06202960A/en
Publication of JPH06202960A publication Critical patent/JPH06202960A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To relax restriction on software for backing up part of information by judging whether or not an address specified by an address indicating means is between a 1st and a 2nd address. CONSTITUTION:An address comparing circuit 204 judges whether or not an address on an address bus 203 is within the range between addresses stored in registers 201 and 202. When a positive judgment is made, a write pulse 207 is supplied to a volatile RAM 215 and a nonvolatile RAM 206 and data on a data bus 208 are stored in the volatile RAM 215 and nonvolatile RAM 206. Consequently, the same contents are written in locations of the volatile RAM 215 and nonvolatile RAM 206 which are specified with the address on the address bus. When a negative judgment is made, on the other hand, only the volatile RAM 215 is activated and the contents of the data on the data bus are stored only in the volatile RAM 215 and not stored in the nonvolatile RAM 206.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、記憶された情報の一部
をバックアップすることが可能な情報処理装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus capable of backing up a part of stored information.

【0002】[0002]

【従来の技術】従来から、その記憶内容の一部または全
部をバックアップする情報処理装置が知られている。
2. Description of the Related Art Conventionally, an information processing apparatus for backing up a part or all of the stored contents has been known.

【0003】[0003]

【発明が解決しようとする課題】しかし、記憶内容を全
てバックアップできる程度の記憶容量を有する記憶装置
は高価であるため、装置のコストアップを伴うという問
題点があった。
However, since a storage device having a storage capacity capable of backing up all storage contents is expensive, there is a problem that the cost of the device is increased.

【0004】また、記憶内容の一部分をバックアップす
る方式では、この記憶領域が主記憶装置上のアドレスの
固定領域に取られるため、ソフトウェアに対して制約を
与えるという問題点があった。
Further, in the method of backing up a part of the stored contents, there is a problem in that the storage area is set in a fixed area of the address on the main storage device, so that the software is restricted.

【0005】本発明の目的は、上記のような問題点を解
決し、情報の一部バックアップに関するソフトウェアに
対する制約をより緩やかにすることができる情報処理装
置を提供することにある。
An object of the present invention is to provide an information processing apparatus which solves the above-mentioned problems and can relax restrictions on software for partial backup of information.

【0006】[0006]

【課題を解決するための手段】このような目的を達成す
るため、本発明は、読み書き可能な揮発性記憶装置と、
読み書き可能な不揮発性記憶装置とを有する情報処理装
置において、前記揮発性記憶装置に対してアドレス指定
するアドレス指定手段と、該アドレス指定手段によりア
ドレス指定されたアドレスが第1および第2のアドレス
の間にあるか否かを判定する判定手段と、該判定手段に
より判定した結果、肯定判定された場合、前記揮発性記
憶装置に書き込まれる内容と同一の内容を前記不揮発性
記憶装置に書き込み、否定判定された場合、前記揮発性
記憶装置にのみ書き込む書き込み手段とを備えたことを
特徴とする。
In order to achieve such an object, the present invention provides a readable and writable volatile storage device,
In an information processing device having a readable and writable non-volatile memory device, an addressing means for addressing the volatile memory device and an address addressed by the addressing means are a first and a second address. And a determination unit that determines whether or not there is a space, and if the determination unit determines that the result is affirmative, the same content as the content that is written to the volatile storage device is written to the nonvolatile storage device, and a negative determination is made. If the determination is made, a writing means for writing only to the volatile storage device is provided.

【0007】[0007]

【作用】本発明では、揮発性記憶装置に対してアドレス
指定手段によりアドレス指定し、アドレス指定手段によ
りアドレス指定されたアドレスが第1および第2のアド
レスの間にあるか否かを判定手段により判定し、判定手
段により判定した結果、肯定判定された場合、前記揮発
性記憶装置に書き込まれる内容と同一の内容を前記不揮
発性記憶装置に書き込み手段により書き込み、否定判定
された場合、前記揮発性記憶装置にのみ書き込み手段に
より書き込む。
In the present invention, the volatile storage device is addressed by the addressing means, and the determining means determines whether or not the address addressed by the addressing means is between the first and second addresses. If the result of the determination made by the determination means is affirmative, the same content as that written in the volatile storage device is written in the nonvolatile storage device by the writing means, and if the determination is negative, the volatile The writing means writes only in the storage device.

【0008】[0008]

【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0009】図1は本発明の一実施例を示す。FIG. 1 shows an embodiment of the present invention.

【0010】図1において、101はCPUで、本シス
テムの制御を行うものである。102はROMで、本シ
ステムを制御する制御プログラムが格納されている。1
03は入出力装置(I/O)で、本システムと外部との
データのやり取りを行うものである。104は本システ
ムのデータ等を記憶するRAMであり、その記憶内容は
電源オフ時に消失する。105はバックアップ用のRA
Mで、電源オフ時でもその記憶を保存する。106はシ
ステムバスである。
In FIG. 1, a CPU 101 controls the present system. A ROM 102 stores a control program for controlling this system. 1
Reference numeral 03 is an input / output device (I / O) for exchanging data between this system and the outside. Reference numeral 104 denotes a RAM that stores data and the like of this system, and the stored contents are lost when the power is turned off. 105 is an RA for backup
With M, save the memory even when the power is turned off. Reference numeral 106 is a system bus.

【0011】図2は図1に示すRAM104,RAM1
05,およびシステムバス106を詳細に示す。
FIG. 2 shows the RAM 104 and RAM 1 shown in FIG.
05 and the system bus 106 are shown in detail.

【0012】図2において、201はレジスタで、第1
のアドレスを記憶するものである。202はレジスタ
で、第2のアドレスを記憶するものである。203はア
ドレスバスで、CPU101により出力される記憶装置
のアドレスを示す。206はRAM105の構成要素の
不揮発性RAMである。204はアドレス比較回路で、
アドレスバスに示されるアドレスが第1のアドレスと第
2のアドレスの間の範囲内にあるか否かを比較し、アド
レスバス203上のアドレスが第1のアドレスと第2の
アドレスの間の範囲内にある場合、RAM206を活性
化するものである。205はアドレス比較回路204の
比較結果を示す信号である。
In FIG. 2, 201 is a register, which is a first register.
It stores the address of. 202 is a register for storing the second address. An address bus 203 indicates an address of the storage device output by the CPU 101. A non-volatile RAM 206 is a constituent element of the RAM 105. 204 is an address comparison circuit,
The address shown on the address bus is compared with whether it is within the range between the first address and the second address, and the address on the address bus 203 is within the range between the first address and the second address. If it is inside, it activates the RAM 206. Reference numeral 205 is a signal indicating the comparison result of the address comparison circuit 204.

【0013】207は書き込みパルスであり、RAM2
15およびRAM206にデータを書き込むための制御
信号である。208は双方向データバスであり、RAM
215およびRAM206に書き込む書き込みデータま
たは揮発性RAM215と不揮発性RAM206からの
読み出しデータを示す。211はシステム電源である。
212は不揮発性RAM206の記憶内容をバックアッ
プするバックアップ電池である。210は電源制御回路
であり、システム電源211およびバックアップ電池2
12のうち電圧の大きな方を選択し、電源供給線209
を介して不揮発性RAM206に供給する電源を選択す
るものである。213はアドレスデコード回路であり、
所定のアドレス範囲である場合、揮発性RAM215を
活性化する信号214を出力するものである。
Reference numeral 207 denotes a write pulse, which is the RAM 2
15 is a control signal for writing data to the RAM 206 and the RAM 206. 208 is a bidirectional data bus, RAM
215 and write data to be written in the RAM 206 or read data from the volatile RAM 215 and the nonvolatile RAM 206. 211 is a system power supply.
Reference numeral 212 denotes a backup battery that backs up the contents stored in the nonvolatile RAM 206. Reference numeral 210 is a power supply control circuit, which includes a system power supply 211 and a backup battery 2.
Select the one with the higher voltage from among 12 and select the power supply line 209
The power source to be supplied to the nonvolatile RAM 206 via is selected. 213 is an address decoding circuit,
In the case of a predetermined address range, the signal 214 for activating the volatile RAM 215 is output.

【0014】図3は図1に示すCPU101によるデー
タ書き込み制御手順を示すフローチャートである。
FIG. 3 is a flow chart showing a data write control procedure by the CPU 101 shown in FIG.

【0015】ステップS1にて、アドレスをアドレスバ
ス203上に出力し、アドレスデコード回路213はア
ドレスバス203上のアドレスをデコードし、RAM2
15を活性化する。この時、書き込みパルス207をR
AM215に供給し、データバス208上のデータの内
容をRAM215に記憶させる。
In step S1, the address is output onto the address bus 203, the address decoding circuit 213 decodes the address on the address bus 203, and the RAM 2
Activate 15. At this time, the write pulse 207 is changed to R
The data is supplied to the AM 215 and the content of the data on the data bus 208 is stored in the RAM 215.

【0016】また、アドレスバス203上のアドレスは
アドレス比較回路204に供給され、アドレスデコード
回路213によるデコードと並行して、ステップS2お
よびS3にて、アドレス比較回路204はレジスタ20
1とレジスタ202にそれぞれ記憶されているアドレス
と、アドレスバス上のアドレスを比較し、アドレスバス
203上のアドレスがレジスタ201とレジスタ202
にそれぞれ記憶されているアドレスの範囲内にあるか否
かを判定する。
Further, the address on the address bus 203 is supplied to the address comparing circuit 204, and in parallel with the decoding by the address decoding circuit 213, the address comparing circuit 204 causes the address comparing circuit 204 to register 20 in steps S 2 and S 3.
1 and register 202, respectively, and the address on the address bus are compared, and the address on address bus 203 is determined to be register 201 and register 202.
It is determined whether or not it is within the range of the addresses respectively stored in.

【0017】判定した結果、肯定判定された場合、ステ
ップS4に移行し、ステップS4にて、アドレス比較回
路204は活性化信号205を活性化し、不揮発性RA
M206を活性化する。そして、ステップS5にて判定
した結果、書き込みある場合は、ステップS6にて、書
き込みパルス207を揮発性RAM215および不揮発
性RAM206に供給し、データバス208上のデータ
を揮発性RAM215および不揮発性RAM206に記
憶させる。その結果、揮発性RAM215と不揮発性R
AM206のアドレスバス上のアドレスによりアドレス
指定された位置に同一の内容が書き込まれる。他方、書
き込みでない場合は、ステップS7に移行し、ステップ
S7にて、データバス208上に不揮発性RAM206
の内容を出力する。
When the result of the determination is affirmative, the process proceeds to step S4, in which the address comparison circuit 204 activates the activation signal 205 and the nonvolatile RA
Activate M206. If the result of determination in step S5 is that there is writing, in step S6 the write pulse 207 is supplied to the volatile RAM 215 and the non-volatile RAM 206, and the data on the data bus 208 is supplied to the volatile RAM 215 and the non-volatile RAM 206. Remember. As a result, the volatile RAM 215 and the non-volatile R
The same content is written in the position addressed by the address on the address bus of the AM 206. On the other hand, if it is not a write, the process proceeds to step S7, and in step S7, the nonvolatile RAM 206 is placed on the data bus 208.
Output the contents of.

【0018】他方、否定判定された場合は、アドレス比
較回路204は活性化信号205を非活性化し、不揮発
性RAM206を非活性化する。よって、揮発性RAM
215のみが活性化されることになり、データバス上の
データの内容は揮発性RAM215のみに記憶され、不
揮発性RAM206には記憶されないことになる。
On the other hand, if a negative decision is made, the address comparison circuit 204 deactivates the activation signal 205 and deactivates the nonvolatile RAM 206. Therefore, volatile RAM
Only 215 will be activated, and the content of the data on the data bus will be stored only in the volatile RAM 215 and not in the non-volatile RAM 206.

【0019】このように2つのアドレスを指定すること
により、記憶内容の一部をバックアップすることが可能
である。
By thus designating the two addresses, it is possible to back up a part of the stored contents.

【0020】[0020]

【発明の効果】以上説明したように、本発明によれば、
揮発性記憶装置に対してアドレス指定されたアドレスが
第1および第2のアドレスの間にあるか否かを判定し、
判定した結果、肯定判定された場合、揮発性記憶装置に
書き込まれる内容と同一の内容を不揮発性記憶装置に書
き込み、否定判定された場合、揮発性記憶装置にのみ書
き込むようにしたので、情報の一部バックアップに関す
るソフトウェアに対する制約をより緩やかにすることが
できるという効果がある。
As described above, according to the present invention,
Determining whether the address addressed to the volatile storage device is between the first and second addresses,
If the result of the determination is positive, the same content as that written to the volatile storage device is written to the non-volatile storage device, and if negative determination is made, only the volatile storage device is written. The effect is that the restrictions on the software related to partial backup can be relaxed.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】図1に示すRAM104,105およびシステ
ムバス106の構成を示すブロック図である。
2 is a block diagram showing configurations of RAMs 104 and 105 and a system bus 106 shown in FIG.

【図3】図1に示すCPU101による制御手順の一例
を示すフローチャートである。
3 is a flowchart showing an example of a control procedure by a CPU 101 shown in FIG.

【符号の説明】[Explanation of symbols]

101 CPU 102 ROM 103 入出力装置(I/O) 104,105 RAM 106 システム・バス 201,202 レジスタ 203 アドレスバス 204 アドレス比較回路 205 活性化信号 206 不揮発性RAM 207 書き込みパルス 208 データバス 209 電源供給線 210 電源制御回路 211 システム電源 212 バックアップ用電池 213 アドレスデコード回路 214 活性化信号 215 揮発性RAM 101 CPU 102 ROM 103 Input / Output Device (I / O) 104, 105 RAM 106 System Bus 201, 202 Register 203 Address Bus 204 Address Comparison Circuit 205 Activation Signal 206 Nonvolatile RAM 207 Write Pulse 208 Data Bus 209 Power Supply Line 210 power supply control circuit 211 system power supply 212 backup battery 213 address decoding circuit 214 activation signal 215 volatile RAM

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 読み書き可能な揮発性記憶装置と、読み
書き可能な不揮発性記憶装置とを有する情報処理装置に
おいて、 前記揮発性記憶装置に対してアドレス指定するアドレス
指定手段と、 該アドレス指定手段によりアドレス指定されたアドレス
が第1および第2のアドレスの間にあるか否かを判定す
る判定手段と、 該判定手段により判定した結果、肯定判定された場合、
前記揮発性記憶装置に書き込まれる内容と同一の内容を
前記不揮発性記憶装置に書き込み、否定判定された場
合、前記揮発性記憶装置にのみ書き込む書き込み手段と
を備えたことを特徴とする情報処理装置。
1. An information processing apparatus having a readable / writable volatile storage device and a readable / writable non-volatile storage device, comprising: addressing means for addressing the volatile storage device; and the addressing means. Determination means for determining whether or not the addressed address is between the first and second addresses, and if the determination means makes a positive determination,
An information processing apparatus comprising: a writing unit that writes the same content as the content written in the volatile storage device into the nonvolatile storage device, and writes only the volatile storage device when a negative determination is made. .
JP4360776A 1992-12-29 1992-12-29 Information processor Pending JPH06202960A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4360776A JPH06202960A (en) 1992-12-29 1992-12-29 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4360776A JPH06202960A (en) 1992-12-29 1992-12-29 Information processor

Publications (1)

Publication Number Publication Date
JPH06202960A true JPH06202960A (en) 1994-07-22

Family

ID=18470872

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4360776A Pending JPH06202960A (en) 1992-12-29 1992-12-29 Information processor

Country Status (1)

Country Link
JP (1) JPH06202960A (en)

Similar Documents

Publication Publication Date Title
EP0818731B1 (en) Memory board, memory access method and memory access device
RU2215321C2 (en) Memory access protection
US6282644B1 (en) Apparatus and method for storing BIOS data of computer system
KR960009220A (en) Non-volatile memory, memory card and information processing device using same, and software write protect control method of non-volatile memory
US5915080A (en) Reprogramming device of a flash memory
JP2000148507A (en) Method and device for, programming of controller,
US6742089B1 (en) Access controller and access method for controlling access from a CPU to a memory based on use states of plural access ports
JPH06202960A (en) Information processor
JP2002358232A (en) Memory access device
JPH0844622A (en) Information processor
JPH06162786A (en) Information processor using flash memory
JPH0765586A (en) Access system for eeprom
JPS6232832B2 (en)
JPH1139222A (en) Microcomputer
JPS5918792B2 (en) Refresh read/write control method
JPH08335193A (en) Information processor
JPH03256128A (en) Method for loading program
JPH0731640B2 (en) Disk access control method
JPH0887446A (en) Information processor
JPH05182484A (en) Method for writing in memory
JPH0728990A (en) Graphic memory access circuit
JPH05100965A (en) Method and device for controlling nonvolatile memory
JPH08235894A (en) Flash memory and flash memory control device
JP2000047943A (en) Memory protect system
JPH0675866A (en) Memory control circuit