JPH0612339A - Memory check method - Google Patents
Memory check methodInfo
- Publication number
- JPH0612339A JPH0612339A JP4168702A JP16870292A JPH0612339A JP H0612339 A JPH0612339 A JP H0612339A JP 4168702 A JP4168702 A JP 4168702A JP 16870292 A JP16870292 A JP 16870292A JP H0612339 A JPH0612339 A JP H0612339A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- microcomputer
- mismatch
- value
- check
- 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
Links
- 230000015654 memory Effects 0.000 title claims abstract description 57
- 238000000034 method Methods 0.000 title claims abstract description 24
- 230000002093 peripheral effect Effects 0.000 claims description 2
- 230000002950 deficient Effects 0.000 abstract description 6
- 238000001514 detection method Methods 0.000 abstract 1
- 238000012545 processing Methods 0.000 description 12
- 238000012937 correction Methods 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
(57)【要約】
【目的】大容量でかつ多数のデータメモリを使用してい
る場合においても、故障したメモリを一度の初期チェッ
クによってすべて検出することを可能にするメモリチェ
ック方式を実現する。
【構成】データメモリ202の全領域にわたってマイコ
ン201が“FF”もしくは“OO”などの値の書込み
と読み出しを実行し、書き込んだ値と読み出した値が等
しくなっているかどうかをチェックする。故障したメモ
リがあると、この書き込んだ値と読み出した値に不一致
が生じる。不一致が生じるとマイコンはそのアドレスを
専用のレジスタ208に記憶し、さらに不一致が発生し
たことを表示するレジスタ209をセットする。そして
マイコンは次のアドレスのチェックを行う。すべての領
域のチェックが終了すると、マイコン201はメモリの
値の不一致を外部に表示して、システムの動作を停止す
る。
(57) [Abstract] [Purpose] To realize a memory check method that enables detection of a defective memory by a single initial check even when a large capacity and a large number of data memories are used. [Configuration] The microcomputer 201 writes and reads a value such as “FF” or “OO” over the entire area of the data memory 202, and checks whether the written value and the read value are equal. If there is a defective memory, the written value and the read value will not match. When a mismatch occurs, the microcomputer stores the address in the dedicated register 208 and further sets the register 209 indicating that the mismatch has occurred. Then, the microcomputer checks the next address. When the check of all areas is completed, the microcomputer 201 displays the mismatch of the values in the memory to the outside and stops the system operation.
Description
【0001】[0001]
【産業上の利用分野】本発明は、マイクロコンピュータ
システムにメモリのチェック方式、特にメモリの故障を
検出して外部に通知する方式に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of checking a memory in a microcomputer system, and more particularly to a method of detecting a failure of the memory and notifying it to the outside.
【0002】[0002]
【従来の技術】図3に、従来のマイクロコンピュータシ
ステムの構成例を示す。本システムは以下の素子または
回路より構成される。2. Description of the Related Art FIG. 3 shows a configuration example of a conventional microcomputer system. This system consists of the following elements or circuits.
【0003】演算処理を行うマイクロコンピュータ
(以下マイコンと略す)201。A microcomputer (hereinafter abbreviated as "microcomputer") 201 for performing arithmetic processing.
【0004】マイコン201の演算処理用データを格
納する読み出しおよび書き込み可能なデータメモリ20
2。A readable / writable data memory 20 for storing data for arithmetic processing of the microcomputer 201.
2.
【0005】メモリの選択信号207を生成するアド
レス・デコーダ203。An address decoder 203 for generating a memory selection signal 207.
【0006】動作状態を外部に表示したり、外部から
の状態設定を行うための入出力回路204。An input / output circuit 204 for displaying the operating state to the outside and for setting the state from the outside.
【0007】各素子または回路間を接続する内部バス
205。An internal bus 205 that connects the elements or circuits.
【0008】データメモリ202には、マイコン201
の命令やマイクロコンピュータシステムの処理に必要な
データが格納される。したがってメモリ回路には高い信
頼性が要求される。そのため、マイクロコンピュータシ
ステムの動作開始時には、データメモリ202の初期チ
ェックが通常行われる。従来方式におけるメモリの初期
チェック処理手順を図4に示す。すなわち、データメモ
リ202の全領域にわたってマイコン201が“FF”
や“OO”などのテストデータの書込みと読出しを実行
し、書き込んだ値と読み出した値が等しいかどうかをチ
ェックする。メモリの故障が生じていると、書き込んだ
値と読み出した値に不一致が生じるために、マイコン2
01はメモリの故障を入出力回路204を通して外部に
表示した後、システムの動作を停止していた。The data memory 202 includes a microcomputer 201.
The instructions and data necessary for the processing of the microcomputer system are stored. Therefore, the memory circuit is required to have high reliability. Therefore, the initial check of the data memory 202 is usually performed at the start of the operation of the microcomputer system. FIG. 4 shows the procedure of the initial check processing of the memory in the conventional method. In other words, the microcomputer 201 is "FF" over the entire area of the data memory 202
Writing and reading of test data such as or "OO" is executed, and it is checked whether the written value is equal to the read value. When a memory failure occurs, the written value and the read value do not match, so the microcomputer 2
In 01, after the failure of the memory was displayed to the outside through the input / output circuit 204, the operation of the system was stopped.
【0009】[0009]
【発明が解決しようとする課題】しかしながら従来の処
理手順は、メモリの故障が極めて希な現象であるという
ことを前提としている。そのため、メモリの故障が発生
すると直ちにメモリの故障を外部に表示して、システム
を動作停止しても問題はなかった。しかし1個のメモリ
のビット数が増加するにつれて、メモリの故障が発生す
る確立も高くなっている。またマイコンの処理能力向上
につれて、必要なデータ量も増加している。そのため、
大容量でかつ多数のメモリを使用するマイクロコンピュ
ータシステムにおいては、複数のメモリが同時に故障を
起こす可能性も高くなっている。このような状態におい
て、システムの動作開始時における初期チェックの時
に、メモリの故障が一度発生しただけでシステムが停止
していると、最初に故障が検出されたメモリを交換して
も、また直ぐに別のメモリにおいて、書き込んだ値と読
み出した値の不一致が発生してしまうことになる。した
がって、そのシステムが正常になるまでにかなりの時間
を要することになる。However, the conventional processing procedure is premised on that a memory failure is an extremely rare phenomenon. Therefore, there is no problem even if the memory failure is displayed to the outside immediately after the memory failure occurs and the system is stopped. However, as the number of bits in one memory increases, the probability of memory failure increasing. Moreover, as the processing capacity of the microcomputer is improved, the amount of data required is also increasing. for that reason,
In a microcomputer system having a large capacity and using a large number of memories, there is a high possibility that a plurality of memories will simultaneously fail. In such a state, at the time of the initial check at the start of system operation, if the system is stopped due to a single memory failure, even if the memory in which the failure was detected for the first time is replaced, In another memory, a mismatch between the written value and the read value will occur. Therefore, it takes a considerable time for the system to become normal.
【0010】本発明の目的は、前記した問題点を解消
し、大容量でかつ多数のデータメモリを使用している場
合においても、故障したメモリを一度の初期チェックに
よってすべて検出することを可能にするメモリチェック
方式を実現することにある。An object of the present invention is to solve the above-mentioned problems and to make it possible to detect all defective memories by a single initial check even when a large capacity and a large number of data memories are used. It is to realize the memory check method.
【0011】[0011]
【課題を解決するための手段及び作用】本発明の要旨
は、システムの動作開始時における、データメモリの初
期チェックの時に、書き込んだ値と読み出した値の不一
致が発生しても直ちに動作停止するのではなく、不一致
が発生したことを表示するレジスタをセットし、さらに
不一致が発生したアドレスを専用のレジスタに記憶し
て、その次のアドレスのチェックに移り、メモリの全領
域のチェックを行うように処理手順を変更したことにあ
る。The gist of the present invention is to immediately stop the operation even if the written value and the read value do not match at the time of the initial check of the data memory at the start of the operation of the system. Instead, set the register that indicates that a mismatch has occurred, store the address where a mismatch has occurred in a dedicated register, move to the next address check, and check the entire memory area. There is a change in the processing procedure.
【0012】即ち、本発明の上記目的は、マイクロコン
ピュータとデータメモリとその他の周辺回路から構成さ
れるマイクロコンピュータシステムの動作開始時に実行
されるデータメモリの初期チェックにおいて、マイクロ
コンピュータが書き込んだ値と読み出した値に不一致が
発生した場合に、不一致が発生したアドレスを記録し、
初期チェックの対象となるデータメモリのチェックをす
べて実行した後に、不一致の発生とそのアドレスを外部
に通知することを特徴とするメモリのチェック方式によ
って達成される。That is, the above object of the present invention is to provide a value written by the microcomputer in the initial check of the data memory executed at the start of the operation of the microcomputer system including the microcomputer, the data memory and other peripheral circuits. If a mismatch occurs in the read values, record the address where the mismatch occurred,
This is achieved by a memory check method characterized by notifying the occurrence of a mismatch and its address to the outside after performing all the checks of the data memory that is the target of the initial check.
【0013】[0013]
【実施例】本発明におけるマイクロコンピュータシステ
ムの構成例を図2に示す。従来のシステムに加えて、デ
ータの不一致が発生したときにそのアドレスを記録する
レジスタ208と、不一致が発生したことを表示するた
めのレジスタ209が付加されている。FIG. 2 shows an example of the configuration of a microcomputer system according to the present invention. In addition to the conventional system, a register 208 for recording the address when a data mismatch occurs and a register 209 for indicating that a mismatch has occurred are added.
【0014】本発明におけるメモリの初期チェック処理
手順の実施例を図1に示す。すなわち、データメモリ2
02の全領域にわたってマイコン201が“FF”もし
くは“OO”などの値の書込みと読出しを実行し、書き
込んだ値と読み出した値が等しくなっているかどうかを
チェックする。故障したメモリがあると、この書き込ん
だ値と読み出した値に不一致が生じる。不一致が生じる
とマイコンはそのアドレスを専用のレジスタ208に記
憶し、さらに不一致が発生したことを表示するレジスタ
209をセットする。そしてマイコンは次のアドレスの
チェックを行う。すべての領域のチェックが終了する
と、マイコン201はメモリの値の不一致を外部に表示
して、システムの動作を停止する。FIG. 1 shows an embodiment of the procedure of the initial check processing of the memory according to the present invention. That is, the data memory 2
The microcomputer 201 writes and reads a value such as "FF" or "OO" over the entire area 02, and checks whether the written value and the read value are equal. If there is a defective memory, the written value and the read value will not match. When a mismatch occurs, the microcomputer stores the address in the dedicated register 208 and further sets the register 209 indicating that the mismatch has occurred. Then, the microcomputer checks the next address. When the check of all areas is completed, the microcomputer 201 displays the mismatch of the values in the memory to the outside and stops the system operation.
【0015】[0015]
【発明の効果】本発明により、システム内に故障してい
るデータメモリが複数個存在していても、一度の初期チ
ェックによってすべての異常なメモリを識別することが
できる。According to the present invention, even if there are a plurality of defective data memories in the system, all abnormal memories can be identified by a single initial check.
【図1】本発明によるメモリのチェック方式の処理手順
を示す。FIG. 1 shows a processing procedure of a memory check method according to the present invention.
【図2】本発明によるマイクロコンピュータシステムの
一実施例の内部構成例を示す。FIG. 2 shows an internal configuration example of an embodiment of a microcomputer system according to the present invention.
【図3】従来方式によるマイクロコンピュータシステム
の一例の内部構成例を示す。FIG. 3 shows an example of an internal configuration of an example of a conventional microcomputer system.
【図4】従来方式によるメモリのチェック方式の処理手
順を示す。FIG. 4 shows a processing procedure of a conventional memory check method.
201 マイクロコンピュータ 202 データメモリ 203 アドレスデコーダ 204 入出力回路 205 内部バス 207 メモリ選択信号 208 不一致発生アドレスレジスタ 209 不一致発生表示レジスタ 201 Microcomputer 202 Data memory 203 Address decoder 204 Input / output circuit 205 Internal bus 207 Memory selection signal 208 Mismatch occurrence address register 209 Mismatch occurrence display register
─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───
【手続補正書】[Procedure amendment]
【提出日】平成5年2月16日[Submission date] February 16, 1993
【手続補正1】[Procedure Amendment 1]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】0015[Name of item to be corrected] 0015
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【0015】[0015]
【発明の効果】本発明により、システム内に故障してい
るデータメモリが複数個存在していても、一度の初期チ
ェックによってすべての異常なメモリを識別することが
できる。According to the present invention, even if there are a plurality of defective data memories in the system, all abnormal memories can be identified by a single initial check.
【手続補正2】[Procedure Amendment 2]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】図面の簡単な説明[Name of item to be corrected] Brief description of the drawing
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【図面の簡単な説明】[Brief description of drawings]
【図1】本発明によるメモリのチェック方式の処理手順
を示す。FIG. 1 shows a processing procedure of a memory check method according to the present invention.
【図2】本発明によるマイクロコンピュータシステムの
一実施例の内部構成例を示す。FIG. 2 shows an internal configuration example of an embodiment of a microcomputer system according to the present invention.
【図3】従来方式によるマイクロコンピュータシステム
の一例の内部構成例を示す。FIG. 3 shows an example of an internal configuration of an example of a conventional microcomputer system.
【図4】従来方式によるメモリのチェック方式の処理手
順を示す。FIG. 4 shows a processing procedure of a conventional memory check method.
【符号の説明】 201 マイクロコンピュータ 202 データメモリ 203 アドレスデコーダ 204 入出力回路 205 内部バス 207 メモリ選択信号 208 不一致発生アドレスレジスタ 209 不一致発生表示レジスタ[Description of Reference Signs] 201 Microcomputer 202 Data memory 203 Address decoder 204 Input / output circuit 205 Internal bus 207 Memory selection signal 208 Mismatch occurrence address register 209 Mismatch occurrence display register
Claims (1)
の他の周辺回路から構成されるマイクロコンピュータシ
ステムの動作開始時に実行されるデータメモリの初期チ
ェックにおいて、マイクロコンピュータが書き込んだ値
と読み出した値に不一致が発生した場合に、不一致が発
生したアドレスを記録し、初期チェックの対象となるデ
ータメモリのチェックをすべて実行した後に、不一致の
発生とそのアドレスを外部に通知することを特徴とする
メモリのチェック方式。1. A mismatch between a value written by a microcomputer and a value read by the microcomputer occurs in an initial check of a data memory executed at the start of operation of a microcomputer system including a microcomputer, a data memory and other peripheral circuits. In this case, the memory check method is characterized in that the address where the mismatch occurs is recorded, all the checks of the data memory subject to the initial check are executed, and then the occurrence of the mismatch and the address are notified to the outside.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4168702A JPH0612339A (en) | 1992-06-26 | 1992-06-26 | Memory check method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4168702A JPH0612339A (en) | 1992-06-26 | 1992-06-26 | Memory check method |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0612339A true JPH0612339A (en) | 1994-01-21 |
Family
ID=15872874
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP4168702A Pending JPH0612339A (en) | 1992-06-26 | 1992-06-26 | Memory check method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0612339A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07271679A (en) * | 1994-04-01 | 1995-10-20 | Nec Corp | Memory diagnostic circuit |
JPH08153048A (en) * | 1994-11-28 | 1996-06-11 | Kofu Nippon Denki Kk | Storage device |
JP2009252026A (en) * | 2008-04-08 | 2009-10-29 | Kyocera Mita Corp | Memory diagnosis device and information processing apparatus |
KR100950292B1 (en) * | 2008-01-04 | 2010-03-31 | 주식회사 원세 | Far infrared ray generator |
-
1992
- 1992-06-26 JP JP4168702A patent/JPH0612339A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07271679A (en) * | 1994-04-01 | 1995-10-20 | Nec Corp | Memory diagnostic circuit |
JPH08153048A (en) * | 1994-11-28 | 1996-06-11 | Kofu Nippon Denki Kk | Storage device |
KR100950292B1 (en) * | 2008-01-04 | 2010-03-31 | 주식회사 원세 | Far infrared ray generator |
JP2009252026A (en) * | 2008-04-08 | 2009-10-29 | Kyocera Mita Corp | Memory diagnosis device and information processing apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7971112B2 (en) | Memory diagnosis method | |
JPS6061837A (en) | Error corrector | |
JPH04315898A (en) | Semiconductor integrated circuit | |
JPH0612339A (en) | Memory check method | |
KR100468933B1 (en) | Error recognition in a storage system | |
KR860002027B1 (en) | Key memory error handling system | |
JP2759824B2 (en) | Address error detection method for data storage device | |
JP3130796B2 (en) | Control storage device | |
JPH01156834A (en) | Check circuit diagnostic device | |
JP3281982B2 (en) | Data buffer | |
JPH0373014B2 (en) | ||
JP2949984B2 (en) | Memory monitoring circuit | |
JPH0793225A (en) | Memory check system | |
JPS5886000A (en) | Electronic device | |
JPS60549A (en) | Memory test method | |
JPS6032223B2 (en) | data processing system | |
JPS63271555A (en) | Storage control system | |
JPH04324551A (en) | Memory circuit | |
JPH10161940A (en) | Checking method for memory | |
JPS62221756A (en) | Storage device | |
JPH0683718A (en) | Fault detecting circuit | |
JPH0359740A (en) | Memory fault detection system | |
JPH11212731A (en) | File device testing method | |
JPH10144094A (en) | Storage integrated circuit device | |
JPH0512073A (en) | Trouble reporting circuit |