JPH05298140A - Self-diagnostic system - Google Patents

Self-diagnostic system

Info

Publication number
JPH05298140A
JPH05298140A JP4099114A JP9911492A JPH05298140A JP H05298140 A JPH05298140 A JP H05298140A JP 4099114 A JP4099114 A JP 4099114A JP 9911492 A JP9911492 A JP 9911492A JP H05298140 A JPH05298140 A JP H05298140A
Authority
JP
Japan
Prior art keywords
memory
test
circuit
processor
data
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.)
Withdrawn
Application number
JP4099114A
Other languages
Japanese (ja)
Inventor
Yutaka Mukai
豊 向井
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 Software Shikoku Ltd
Original Assignee
NEC Software Shikoku 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 NEC Software Shikoku Ltd filed Critical NEC Software Shikoku Ltd
Priority to JP4099114A priority Critical patent/JPH05298140A/en
Publication of JPH05298140A publication Critical patent/JPH05298140A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To shorten self-diagnosis time at the time of starting an information processor by performing another circuit test by a processor while writing test data in a memory by a test circuit. CONSTITUTION:A processor 1 starts the test circuit by writing the test data in a test data store register 10 and afterwards writing start information (1, for example), in a test circuit control register 12. Thus, a test address control circuit 11 successively generates addresses to a memory 2, and the test data are successively written from the test data store register 10 to the memory 2 by a memory read/write control circuit 3. At Such a time, the memory 2 and the test circuit are disconnected from a bus by an address buffer 13 and a data buffer 14. The processor 1 parallelly tests an input/output device control circuit 4. When the input/output device control circuit 4 is completely tested, the test circuit control register 12 is referred to and in the case of an end state (0, for example), the data are read from the memory 2 and comparatively diagnosed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は自己診断方式に関し、特
にメモリ以外の自己診断対象回路を備えた情報処理装置
の自己診断方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a self-diagnosis system, and more particularly to a self-diagnosis system for an information processing apparatus having a self-diagnosis circuit other than a memory.

【0002】[0002]

【従来の技術】従来のこの種の自己診断方式は、図2に
示すように、プロセッサ1aと、メモリ2と、メモリ2
への書き込み及び読み出し動作を制御するメモリリード
/ライト制御回路3aと、メモリ以外の自己診断対象回
路である入出力装置制御回路4とから構成される情報処
理装置において、システムの立ち上げに際して、まずメ
モリ2の試験を行った後に入出力装置制御回路4を試験
するという順序で、プロセッサ1aがすべての自己診断
を実行するように構成されていた。
2. Description of the Related Art A conventional self-diagnosis method of this type is, as shown in FIG. 2, a processor 1a, a memory 2, and a memory 2.
In an information processing device including a memory read / write control circuit 3a for controlling writing and reading operations to and from the input / output device control circuit 4 which is a self-diagnosis target circuit other than the memory, first of all, when starting up the system, The processor 1a is configured to execute all self-diagnosis in the order of testing the I / O device control circuit 4 after testing the memory 2.

【0003】プロセッサ1aがメモリ2の試験を行う場
合、まず試験データをメモリ2に書き込んだ後、そのデ
ータをメモリ2から読み出し、書き込んだ試験データと
一致しているか比較する。この一連の動作における、プ
ロセッサ1a,メモリ2,メモリリード/ライト制御回
路3aの動作を次に示す。以下の説明において、プロセ
ッサ1aはnバイト(nは整数)のデータ幅を持ち、メ
モリ2はm×nバイト(mは整数)の容量を持つものと
する。
When the processor 1a tests the memory 2, first, the test data is written in the memory 2 and then the data is read from the memory 2 and compared with the written test data for comparison. The operation of the processor 1a, the memory 2, and the memory read / write control circuit 3a in this series of operations will be described below. In the following description, it is assumed that the processor 1a has a data width of n bytes (n is an integer), and the memory 2 has a capacity of m × n bytes (m is an integer).

【0004】まず、プロセッサ1aがメモリ2へ試験デ
ータを書き込む場合は、プロセッサ1aはメモリ2に対
してアドレス及び試験データをアドレスバス5及びデー
タバス6に出力し、リード/ライト信号7を書き込み状
態とする。これによりメモリリード/ライト制御回路3
aはメモリライト信号8を有効にし、プロセッサ1aか
らの試験データがアドレスバス5で指示されたメモリ2
のアドレスに書き込まれる。次に、プロセッサ1aは、
先のアドレスにn加算したアドレスを出力し、前述の動
作を繰り返す。プロセッサ1aは、メモリ2の最終アド
レスまでこの動作を繰り返した後、書き込んだデータの
読み出し及びチェックに移る。
First, when the processor 1a writes the test data to the memory 2, the processor 1a outputs the address and the test data to the memory 2 to the address bus 5 and the data bus 6, and the read / write signal 7 is written. And As a result, the memory read / write control circuit 3
a activates the memory write signal 8 and the test data from the processor 1a is instructed by the address bus 5 in the memory 2
Is written to the address. Next, the processor 1a
An address obtained by adding n to the previous address is output, and the above operation is repeated. The processor 1a repeats this operation up to the final address of the memory 2, and then moves to read and check the written data.

【0005】次に、プロセッサ1がメモリ2からデータ
を読み出す場合は、プロセッサ1aはメモリ2に対して
アドレスをアドレスバス5に出力し、リード/ライト信
号7を読み出し状態とする。これにより、メモリリード
/ライト制御回路3aはメモリリード信号9を有効に
し、メモリ2からデータバス6に有効なデータが出力さ
れる。プロセッサ1aはこのデータを内部に取り込み、
前述の試験データと一致しているか比較する。一致して
いれば、プロセッサ1aは先のアドレスにn加算したア
ドレスを出力し、前述の動作を繰り返す。プロセッサ1
aはメモリ2の最終アドレスまでこの動作を繰り返した
後、入出力装置制御回路4の試験に移る。なお、試験デ
ータと一致しない場合は、プロセッサ1aはエラーが発
生したことを報告する動作に移る。
Next, when the processor 1 reads data from the memory 2, the processor 1a outputs an address to the memory 2 on the address bus 5 and puts the read / write signal 7 into a read state. As a result, the memory read / write control circuit 3a validates the memory read signal 9, and valid data is output from the memory 2 to the data bus 6. The processor 1a takes in this data internally,
Compare with the test data above. If they match, the processor 1a outputs an address obtained by adding n to the previous address, and repeats the above operation. Processor 1
After repeating this operation up to the final address of the memory 2, a shifts to the test of the input / output device control circuit 4. If it does not match the test data, the processor 1a moves to an operation of reporting that an error has occurred.

【0006】[0006]

【発明が解決しようとする課題】上述した従来の情報処
理装置における自己診断方式では、プロセッサがメモリ
に対してデータの書き込み及び読み出しをすべて実行し
ており、メモリ試験が終了するまでは、プロセッサはメ
モリ以外の被試験回路の診断を実行することができなか
った。又、プロセッサのメモリへのアクセスは、書き込
みと読み出しを行うため全部で2m回となるため、メモ
リ容量の増大に比例してメモリ試験の実行時間が増加
し、システム立ち上げ時のプロセッサによる自己診断に
要する時間が増加するという問題点があった。
In the above-described self-diagnosis method in the conventional information processing apparatus, the processor executes all data writing and reading in the memory, and the processor remains until the memory test is completed. The circuit under test other than the memory could not be diagnosed. In addition, since the memory access of the processor is 2m in total for writing and reading, the execution time of the memory test increases in proportion to the increase of the memory capacity, and the self-diagnosis by the processor at system startup is performed. There was a problem that the time required for it increased.

【0007】本発明の目的は、メモリ容量が増加しても
立ち上げ時の自己診断時間の増加を抑制できる自己診断
方式を提供することにある。
An object of the present invention is to provide a self-diagnosis method capable of suppressing an increase in self-diagnosis time at startup even if the memory capacity increases.

【0008】[0008]

【課題を解決するための手段】本発明の自己診断方式
は、データの書き込み及び読み出しが可能なメモリと、
前記メモリへの書き込み及び読み出しを制御するメモリ
リード/ライト制御回路と、自己診断の対象となる上記
以外の被試験回路と、自己診断プログラムを実行するプ
ロセッサとを備えた情報処理装置の自己診断方式におい
て、前記メモリの試験データを格納する試験データ格納
レジスタと、前記メモリへのアドレス信号をあらかじめ
定められた順序で発生する試験アドレス制御回路と、前
記メモリとアドレスバス及びデータバスとの間に挿入さ
れたバッファと、これらの回路と前記メモリリード/ラ
イト制御回路の起動および停止を指示する制御情報を格
納する試験回路制御レジスタとを備え、前記プロセッサ
が前記試験データ格納レジスタに試験データを格納し前
記試験回路制御レジスタに起動の指示情報を格納した後
に前記メモリへの試験データの書き込みと並行してその
他の被試験回路の診断を行うように構成されている。
The self-diagnosis method of the present invention includes a memory capable of writing and reading data,
Self-diagnosis method of information processing apparatus including memory read / write control circuit for controlling writing and reading to and from the memory, a circuit under test other than the above, which is a target of self-diagnosis, and a processor for executing a self-diagnosis program In a test data storage register for storing test data of the memory, a test address control circuit for generating address signals to the memory in a predetermined order, and inserted between the memory and the address bus and data bus. Stored buffer, a test circuit control register for storing control information for instructing activation and stop of these circuits and the memory read / write control circuit, and the processor stores test data in the test data storage register. After storing start-up instruction information in the test circuit control register, It is configured to perform the diagnosis of other circuit under test in parallel with the writing of the test data.

【0009】[0009]

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

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

【0011】本発明の自己診断方式は、プロセッサ1
と、メモリ2と、メモリリード/ライト制御回路3と、
入出力制御回路4とに加え、試験データを格納する試験
データ格納レジスタ10と、アドレス信号をあらかじめ
定められた順序で発生する試験アドレス制御回路11
と、メモリ2とアドレスバス5及びデータバス6との間
に挿入されたアドレスバッファ13及びデータバッファ
14と、これらの回路とメモリリード/ライト制御回路
3の起動および停止を指示する制御情報を格納する試験
回路制御レジスタ12とを備え、プロセッサ1は試験デ
ータを試験データ格納レジスタ10に書き込み、試験回
路制御レジスタ12に起動の指示情報(1又は0)を書
き込んで試験回路を起動させメモリ2への試験データの
書き込みを実行させる。この間に、プロセッサ1は入出
力装置制御回路4の試験を実行し、この試験の終了後に
メモリ2からデータを読み出し、試験データと一致して
いるか否かを比較する。この一連の動作における各構成
要素の動作を次に示す。
According to the self-diagnosis method of the present invention, the processor 1
A memory 2, a memory read / write control circuit 3,
In addition to the input / output control circuit 4, a test data storage register 10 for storing test data, and a test address control circuit 11 for generating address signals in a predetermined order.
And an address buffer 13 and a data buffer 14 inserted between the memory 2 and the address bus 5 and the data bus 6, and control information for instructing activation and deactivation of these circuits and the memory read / write control circuit 3. And a test circuit control register 12 for operating the test circuit. The processor 1 writes test data in the test data storage register 10, writes start instruction information (1 or 0) in the test circuit control register 12, and starts the test circuit to the memory 2. Write test data of. During this time, the processor 1 executes the test of the input / output device control circuit 4, reads the data from the memory 2 after the end of this test, and compares it with the test data. The operation of each component in this series of operations is shown below.

【0012】まず、試験回路制御レジスタ12の初期値
は、試験回路の動作を停止する値になっており、試験デ
ータ格納レジスタ10及び試験アドレス制御回路11
は、メモリ2に対してアドレス及び試験データを出力し
ない。一方、アドレスバッファ13はアドレスバス5の
アドレスをメモリ2に対し出力し、データバッファ14
は、リード/ライト信号7により出力方向が決定され
る。すなわち、プロセッサ1からメモリ2への書き込み
の場合は、データバス6のデータをメモリ2へ出力し、
メモリ2からの読み出しの場合は、メモリ2のデータを
データバス6へ出力する。なお、メモリ2に対する実際
の書き込み及び読み出しは、リード/ライト信号7に対
応してメモリリード/ライト制御回路3から出されるメ
モリライト信号8及びメモリリード信号9により実行さ
れる。
First, the initial value of the test circuit control register 12 is a value at which the operation of the test circuit is stopped, and the test data storage register 10 and the test address control circuit 11 are provided.
Does not output the address and test data to the memory 2. On the other hand, the address buffer 13 outputs the address of the address bus 5 to the memory 2 and the data buffer 14
The output direction is determined by the read / write signal 7. That is, in the case of writing from the processor 1 to the memory 2, the data on the data bus 6 is output to the memory 2,
When reading from the memory 2, the data in the memory 2 is output to the data bus 6. Note that the actual writing and reading to and from the memory 2 are executed by the memory write signal 8 and the memory read signal 9 output from the memory read / write control circuit 3 in response to the read / write signal 7.

【0013】メモリ試験を開始する場合、プロセッサ1
は試験データを試験データ格納レジスタ10へ書き込
み、次に試験回路制御レジスタ12に起動の指示情報
(1又は0)を書き込み試験回路を起動する。これによ
り、試験アドレス制御回路11はメモリ2に対して先頭
アドレスを出力し、試験データ格納レジスタ10は格納
された試験データをメモリ2に対して出力する。一方、
アドレスバッファ13及びデータバッファ14は出力禁
止となる。
When starting the memory test, the processor 1
Writes test data to the test data storage register 10, then writes start instruction information (1 or 0) to the test circuit control register 12, and starts the test circuit. As a result, the test address control circuit 11 outputs the head address to the memory 2, and the test data storage register 10 outputs the stored test data to the memory 2. on the other hand,
The output of the address buffer 13 and the data buffer 14 is prohibited.

【0014】次に、メモリリード/ライト制御回路3は
メモリライト信号8を出力し、試験データがメモリ2の
指定されたアドレスに書き込まれる。1回の書き込みが
終了すると、試験アドレス制御回路11は先のアドレス
にn加算したアドレスを出力し、前述の動作を繰り返
す。各試験回路はメモリ2の最終アドレスまでこの動作
を繰り返した後に初期状態に戻り、試験回路制御レジス
タ12は停止の指示情報(0又は1)に初期化される。
一方、プロセッサ1は、各試験回路が試験データのメモ
リ2への書き込みを実行している間に、入出力装置制御
回路4の試験を実行する。
Next, the memory read / write control circuit 3 outputs the memory write signal 8 and the test data is written to the designated address of the memory 2. When one write is completed, the test address control circuit 11 outputs an address obtained by adding n to the previous address, and repeats the above operation. Each test circuit returns to the initial state after repeating this operation up to the final address of the memory 2, and the test circuit control register 12 is initialized to stop instruction information (0 or 1).
On the other hand, the processor 1 executes the test of the input / output device control circuit 4 while each test circuit is writing the test data in the memory 2.

【0015】プロセッサ1は、入出力装置制御回路4の
試験が終了すると試験回路制御レジスタ12を参照し、
メモリ2への試験データの書き込みが終了したか否かを
判断する。メモリ2への試験データの書き込みが終了し
ていなければ、プロセッサ1は上記の参照動作を繰り返
して終了を待ち、終了するとメモリ2からのデータの読
み出し及び比較に移る。メモリ2からのデータの読み出
し及び比較の実行については、従来の場合と同じ動作と
なる。
When the test of the input / output device control circuit 4 is completed, the processor 1 refers to the test circuit control register 12,
It is determined whether the writing of the test data to the memory 2 is completed. If the writing of the test data to the memory 2 is not completed, the processor 1 repeats the above reference operation and waits for the end, and when it is completed, the data read from the memory 2 and comparison are started. Reading of data from the memory 2 and execution of comparison are the same as in the conventional case.

【0016】以上の結果、従来の方式と比べて、試験回
路によるメモリ書き込み処理の総時間がプロセッサ1に
よる入出力装置制御回路4の試験時間より短い場合は、
プロセッサ1による自己診断の時間はm回の書き込み時
間だけ短縮され、試験回路によるメモリ書き込み処理の
総時間がプロセッサ1による入出力装置制御回路4の試
験時間より長い場合は、プロセッサ1による入出力装置
制御回路4の試験の所要時間だけ短縮される。
As a result, when the total time of the memory write processing by the test circuit is shorter than the test time of the input / output device control circuit 4 by the processor 1 as compared with the conventional method,
The self-diagnosis time by the processor 1 is shortened by the write time of m times, and when the total memory write processing by the test circuit is longer than the test time of the input / output device control circuit 4 by the processor 1, the input / output device by the processor 1 The time required for testing the control circuit 4 is shortened.

【0017】[0017]

【発明の効果】以上説明したように、本発明の自己診断
方式は、メモリ試験におけるメモリへの試験データの書
き込みを、プロセッサでなく試験回路により実行するよ
うにしたので、メモリへの試験データの書き込み中に、
プロセッサはメモリ以外の被試験回路の診断を実行で
き、自己診断に要する時間が短縮される効果がある。
As described above, according to the self-diagnosis method of the present invention, the test data is written to the memory in the memory test by the test circuit instead of the processor. While writing
The processor can execute the diagnosis of the circuit under test other than the memory, and has the effect of shortening the time required for self-diagnosis.

【0018】又、プロセッサのメモリへのアクセスはm
回の読み出しのみとなるため、メモリ容量が増大した場
合の自己診断に要する時間の増加が、従来方式に比べて
m回の書き込み処理に要する時間だけ減るという効果が
ある。
The access to the memory of the processor is m
Since the reading is performed only once, the time required for the self-diagnosis when the memory capacity is increased is reduced by the time required for the writing process m times as compared with the conventional method.

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

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

【図2】従来の自己診断方式の一例を示すブロック図で
ある。
FIG. 2 is a block diagram showing an example of a conventional self-diagnosis method.

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

1,1a プロセッサ 2 メモリ 3,3a メモリリード/ライト制御回路 4 入出力装置制御回路 5 アドレスバス 6 データバス 7 リード/ライト信号 8 メモリライト信号 9 メモリリード信号 10 試験データ格納レジスタ 11 試験アドレス制御回路 12 試験回路制御レジスタ 13 アドレスバッファ 14 データバッファ 1, 1a processor 2 memory 3, 3a memory read / write control circuit 4 input / output device control circuit 5 address bus 6 data bus 7 read / write signal 8 memory write signal 9 memory read signal 10 test data storage register 11 test address control circuit 12 Test Circuit Control Register 13 Address Buffer 14 Data Buffer

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 データの書き込み及び読み出しが可能な
メモリと、前記メモリへの書き込み及び読み出しを制御
するメモリリード/ライト制御回路と、自己診断の対象
となる上記以外の被試験回路と、自己診断プログラムを
実行するプロセッサとを備えた情報処理装置の自己診断
方式において、前記メモリの試験データを格納する試験
データ格納レジスタと、前記メモリへのアドレス信号を
あらかじめ定められた順序で発生する試験アドレス制御
回路と、前記メモリとアドレスバス及びデータバスとの
間に挿入されたバッファと、これらの回路と前記メモリ
リード/ライト制御回路の起動および停止を指示する制
御情報を格納する試験回路制御レジスタとを備え、前記
プロセッサが前記試験データ格納レジスタに試験データ
を格納し前記試験回路制御レジスタに起動の指示情報を
格納した後に前記メモリへの試験データの書き込みと並
行してその他の被試験回路の診断を行うことを特徴とす
る自己診断方式。
1. A memory capable of writing and reading data, a memory read / write control circuit for controlling writing and reading to and from the memory, a circuit under test other than the above, which is a target of self-diagnosis, and a self-diagnosis. In a self-diagnosis method of an information processing apparatus including a processor for executing a program, a test data storage register for storing test data of the memory, and a test address control for generating address signals to the memory in a predetermined order A circuit, a buffer inserted between the memory and an address bus and a data bus, and a test circuit control register for storing control information for instructing start and stop of these circuits and the memory read / write control circuit. The processor stores test data in the test data storage register, A self-diagnosis method characterized in that after the start instruction information is stored in the path control register, the other test circuits are diagnosed in parallel with the writing of the test data in the memory.
JP4099114A 1992-04-20 1992-04-20 Self-diagnostic system Withdrawn JPH05298140A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4099114A JPH05298140A (en) 1992-04-20 1992-04-20 Self-diagnostic system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4099114A JPH05298140A (en) 1992-04-20 1992-04-20 Self-diagnostic system

Publications (1)

Publication Number Publication Date
JPH05298140A true JPH05298140A (en) 1993-11-12

Family

ID=14238786

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4099114A Withdrawn JPH05298140A (en) 1992-04-20 1992-04-20 Self-diagnostic system

Country Status (1)

Country Link
JP (1) JPH05298140A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010092125A (en) * 2008-10-03 2010-04-22 Fujitsu Ltd Computer system, memory diagnostic method, and memory diagnosis control program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010092125A (en) * 2008-10-03 2010-04-22 Fujitsu Ltd Computer system, memory diagnostic method, and memory diagnosis control program

Similar Documents

Publication Publication Date Title
JPH04271445A (en) Analysis for high-speed memory when power supply using dma is turned on
EP0686981A2 (en) Method for testing large memory arrays during system initialization
JP2591825B2 (en) Logic circuit testing method and apparatus using compressed data
EP0870237B1 (en) Processing system and method for reading and restoring information in a ram configuration
CN115543720A (en) File system read-write correctness testing method and device and storage medium
JPH05298140A (en) Self-diagnostic system
JPH03138742A (en) Memory system
JP2001175500A (en) Trace method for in-circuit emulator and recording medium with trace procedure and trace circuit
JPS6045829B2 (en) fail memory
JP2954666B2 (en) Memory check method
JPS63148498A (en) Memory device with self-disagnosing function
JP3036442B2 (en) Memory monitoring method
JPH0652013A (en) Tracing circuit
JPH0238879A (en) Logical circuit
JPH01245473A (en) Test system for disk driving function
JPS6153579A (en) Tester for function of logical circuit
JP2705359B2 (en) Trace circuit
JPH0764871A (en) Memory circuit with self-checking function
JPH07110790A (en) Memory diagnostic device
JPS60549A (en) Memory testing system
JPH07182156A (en) Microprogram controller
JPH05158802A (en) Method and circuit for controlling memory circuit
JPS63307543A (en) Debug device
JPH0315948A (en) Address bus test system
JPH0460735A (en) Diagnostic system for storage device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990706