JPH0652012A - Information processor having diagnostic function for peripheral part of device - Google Patents

Information processor having diagnostic function for peripheral part of device

Info

Publication number
JPH0652012A
JPH0652012A JP4201134A JP20113492A JPH0652012A JP H0652012 A JPH0652012 A JP H0652012A JP 4201134 A JP4201134 A JP 4201134A JP 20113492 A JP20113492 A JP 20113492A JP H0652012 A JPH0652012 A JP H0652012A
Authority
JP
Japan
Prior art keywords
diagnostic
diagnosis
cpu
peripheral
status
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.)
Granted
Application number
JP4201134A
Other languages
Japanese (ja)
Other versions
JP3192229B2 (en
Inventor
Yoshiyuki Sato
善幸 佐藤
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP20113492A priority Critical patent/JP3192229B2/en
Publication of JPH0652012A publication Critical patent/JPH0652012A/en
Application granted granted Critical
Publication of JP3192229B2 publication Critical patent/JP3192229B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

(57)【要約】 【目的】装置周辺部の診断が、各周辺部毎に並行して行
え、診断時間が短縮できるようにする。 【構成】電源投入時等においてCPU1から装置周辺部
2-1〜2-nに接続された診断回路4-1〜4-nに対して順
に診断スタートコマンドを実行することにより、同回路
4-1〜4-n内のステータスレジスタ6-1〜6-nのスター
トビットSTBをセットする。すると、診断実行回路5
-1〜5-nが起動され、対応する装置周辺部2-1〜2-nに
固有の診断が並行して実行される。診断実行回路5-1〜
5-nによる診断の結果はステータスレジスタ6-1〜6-n
に書込まれる。CPU1は、このステータスレジスタ6
-1〜6-nの内容を読込むことにより、装置周辺部2-1〜
2-nにエラーが有ったか否かを調べ、全てエラー無しの
場合にシステムを立ち上げる。
(57) [Summary] [Purpose] Diagnosis of the peripheral parts of the device can be performed in parallel for each peripheral part, and the diagnosis time can be shortened. [Structure] By executing a diagnostic start command in order from the CPU 1 to the diagnostic circuits 4-1 to 4-n connected to the peripheral parts 2-1 to 2-n of the device when the power is turned on, etc. The start bit STB of the status registers 6-1 to 6-n in 1 to 4-n is set. Then, the diagnostic execution circuit 5
-1 to 5-n are activated, and the diagnostics specific to the corresponding device peripherals 2-1 to 2-n are executed in parallel. Diagnostic execution circuit 5-1 ~
The result of the diagnosis by 5-n is the status register 6-1 to 6-n.
Written in. The CPU 1 uses this status register 6
-By reading the contents of 1 to 6-n, the peripheral part of the device 2-1 to
Check if there are any errors in 2-n, and if all are error-free, start up the system.

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 having a diagnostic function for peripheral parts of the apparatus.

【0002】[0002]

【従来の技術】一般に情報処理装置では、装置の中心部
および周辺部の診断が電源投入時に行われることが多
い。このうち、周辺部、即ち装置に接続された周辺装
置、或いはその周辺装置を制御する制御回路の診断につ
いては、各周辺部診断のために作成された診断プログラ
ムを装置内の主記憶にロードし、装置の中枢を成すCP
Uが、そのプログラムに従って各周辺部に対して順次実
行していくようにしていた。
2. Description of the Related Art Generally, in an information processing apparatus, diagnosis of a central portion and a peripheral portion of the apparatus is often performed at power-on. Among these, for the diagnosis of the peripheral part, that is, the peripheral device connected to the device or the control circuit for controlling the peripheral device, the diagnostic program created for each peripheral part diagnosis is loaded into the main memory in the device. , CP that is the center of the device
U was to execute sequentially for each peripheral according to the program.

【0003】[0003]

【発明が解決しようとする課題】しかし、近年の情報処
理装置では高機能化が進み、その周辺部も高機能化され
ているため、CPUが各周辺部の診断を順次実行してい
く従来の方式では、診断に多くの時間を要するという問
題があった。
However, in recent information processing apparatuses, as the functions of the information processing apparatus have been improved and the peripheral parts thereof have also been improved in function, the conventional CPU in which the peripheral parts are sequentially diagnosed. The method has a problem that it takes a lot of time for diagnosis.

【0004】この発明は上記事情に鑑みてなされたもの
でその目的は、装置周辺部の診断が、各周辺部毎に並行
して行え、もって診断時間が短縮できる情報処理装置を
提供することにある。
The present invention has been made in view of the above circumstances, and an object thereof is to provide an information processing apparatus capable of diagnosing peripheral portions of the apparatus in parallel for each peripheral portion, thereby shortening the diagnosis time. is there.

【0005】[0005]

【課題を解決するための手段】この発明は、情報処理装
置の各周辺部毎に、対応する周辺部の診断を実行するた
めの診断手段を設けると共に、装置の中枢を成すCPU
が診断開始コマンドを実行して各診断手段に起動をかけ
る構成としたことを特徴とするものである。
SUMMARY OF THE INVENTION According to the present invention, for each peripheral portion of an information processing apparatus, a diagnostic means for executing a diagnosis of the corresponding peripheral portion is provided, and a CPU forming the center of the apparatus is provided.
Is configured to execute a diagnostic start command to activate each diagnostic means.

【0006】また、この発明は、各診断手段を起動する
ための他の構成として、電源投入を検出する電源投入検
出手段を各診断手段毎に設け、この検出手段の電源投入
検出により対応する診断手段を起動するようにしたこと
も特徴とする。
Further, according to the present invention, as another configuration for starting each diagnostic means, a power-on detection means for detecting power-on is provided for each diagnostic means, and the corresponding diagnosis is made by detecting the power-on of this detection means. It is also characterized in that the means is activated.

【0007】また、この発明は、各診断手段に、対応す
る周辺部に対する診断結果を保持するためのステータス
保持手段を設け、この各診断手段のステータス保持手段
の保持内容をCPUが読取ることにより、各診断手段に
よる各周辺部に対する診断結果を得るようにしたことを
も特徴とする。
Further, according to the present invention, each diagnosing means is provided with a status holding means for holding a diagnosis result for the corresponding peripheral portion, and the CPU reads the contents held in the status holding means of each diagnosing means. It is also characterized in that a diagnostic result for each peripheral portion by each diagnostic means is obtained.

【0008】[0008]

【作用】上記の構成において、CPUは、例えば電源投
入時に、主記憶とその制御回路を備えた装置周辺部、表
示装置とその制御回路を備えた装置周辺部など、各装置
周辺部の診断手段に対して診断開始コマンドを実行する
ことにより、各診断手段を起動する。これにより、各診
断手段は、対応する装置周辺部に対して予め定められた
その周辺部に固有の診断を並行して実行する。この間、
CPUはCPU内部の診断など、装置周辺部の診断とは
異なる処理を行うことも可能である。
In the above structure, the CPU is a means for diagnosing the peripheral portion of each device, such as the peripheral portion of the device including the main memory and its control circuit, the peripheral portion of the device including the display device and its control circuit, when the power is turned on. Each diagnostic means is started by executing the diagnostic start command for. As a result, each of the diagnosis means executes a predetermined diagnosis specific to the peripheral part of the corresponding device in parallel with the peripheral part. During this time,
The CPU can also perform processing different from the diagnosis of the peripheral portion of the device, such as the diagnosis inside the CPU.

【0009】また、各診断手段毎に電源投入検出手段を
設けた構成では、この検出手段の電源投入検出により、
対応する診断手段が起動され、各診断手段による診断動
作が並行して行われる。
Further, in the configuration in which the power-on detection means is provided for each diagnostic means, the power-on detection of this detection means
The corresponding diagnostic means is activated, and the diagnostic operation by each diagnostic means is performed in parallel.

【0010】各診断手段は、対応する装置周辺部に対す
る診断結果を、自身が持つステータス保持手段に保持す
る。CPUは、各診断手段のステータス保持手段の保持
内容を例えば一定順にリードして、各装置周辺部に対す
る診断の結果を確認する。また、各診断手段が診断終了
時にCPUに割込みをかけるようにするならば、その割
込みに応じて、CPUが対応する診断手段のステータス
保持手段の保持内容をリードすることも可能である。
Each diagnostic means holds the diagnostic result for the peripheral part of the corresponding device in its own status holding means. The CPU reads the contents held in the status holding unit of each diagnosing unit, for example, in a fixed order, and confirms the result of the diagnosis for the peripheral portion of each device. Further, if each diagnostic means interrupts the CPU at the end of the diagnostic, the CPU can read the contents held in the status holding means of the corresponding diagnostic means in response to the interrupt.

【0011】[0011]

【実施例】図1はこの発明の一実施例に係る装置周辺部
の診断機能を持つ情報処理装置の構成を示すブロック図
である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram showing the configuration of an information processing apparatus having a diagnostic function for peripheral parts of the apparatus according to an embodiment of the present invention.

【0012】図1に示す情報処理装置は、同装置の制御
中枢を成すCPU1と、装置周辺部2-1,2-2…2-n
と、CPU1および装置周辺部2-1,2-2…2-nが接続
されるシステムバス3と、装置周辺部2-1,2-2…2-n
を診断するための診断回路4-1,4-2…4-nとから構成さ
れる。
The information processing apparatus shown in FIG. 1 includes a CPU 1 which is a control center of the apparatus and peripheral portions 2-1 2-2 ... 2-n of the apparatus.
, The system bus 3 to which the CPU 1 and the device peripheral parts 2-1, 2-2 ... 2-n are connected, and the device peripheral parts 2-1, 2-2 ... 2-n
It is composed of a diagnostic circuit 4-1, 4-2 ... 4-n for diagnosing.

【0013】装置周辺部2-1は、主記憶11と、同主記
憶11を制御する主記憶制御回路12とから構成され
る。このように本実施例では、主記憶11およびその制
御回路(主記憶制御回路)12も、装置周辺部として位
置付けている。
The device peripheral section 2-1 comprises a main memory 11 and a main memory control circuit 12 for controlling the main memory 11. As described above, in the present embodiment, the main memory 11 and its control circuit (main memory control circuit) 12 are also positioned as peripheral parts of the device.

【0014】装置周辺部2-2は、表示装置21と、同表
示装置21を制御する表示制御回路22と、同表示装置
21の表示イメ一ジを格納するためのVRAM(ビデオ
RAM)23とから構成される。装置周辺部2-nは、
(磁気ディスク装置などの)ディスク装置n1と、同デ
ィスク装置n1を制御するディスク制御回路n2とから
構成される。なお、図1では、他の装置周辺部、例えば
印刷装置とその制御回路、キーボード装置とその制御回
路等の各装置周辺部については省略されている。
The device peripheral section 2-2 includes a display device 21, a display control circuit 22 for controlling the display device 21, and a VRAM (video RAM) 23 for storing a display image of the display device 21. Composed of. Device peripheral 2-n is
It is composed of a disk device n1 (such as a magnetic disk device) and a disk control circuit n2 for controlling the disk device n1. In FIG. 1, peripheral parts of other devices, for example, peripheral parts of each device such as the printing device and its control circuit, the keyboard device and its control circuit, and the like are omitted.

【0015】診断回路4-1〜4-nは、装置周辺部2-1〜
2-nに対し、その周辺部2-1〜2-nに固有の予め定めら
れた診断を実行する診断実行回路5-1〜5-nと、この診
断実行回路5-1〜5-nの診断結果を保持するためのステ
ータスレジスタ6-1〜6-nとを持つ。ステータスレジス
タ6-1〜6-nは、診断実行回路5-1〜5-nを起動するた
めのスタートビットSTBを持つ。このスタートビット
STBは、CPU1の診断スタートコマンド実行により
セットされるものである。またステータスレジスタ6-1
〜6-nは、スタートビットSTBの他、診断実行中を示
すための“診断中ビット”、タイムアウト発生を示す
“タイムアウトビット”、エラー有りを示す“エラービ
ット”等(いずれも図示せず)を持つ。次に、図1に示
す情報処理装置の周辺部の診断について、図2のフロー
チャートを参照して説明する。
The diagnostic circuits 4-1 to 4-n are connected to the device peripheral section 2-1 to 2-1.
For 2-n, the diagnostic execution circuits 5-1 to 5-n for executing predetermined diagnostics unique to the peripheral parts 2-1 to 2-n and the diagnostic execution circuits 5-1 to 5-n. It has status registers 6-1 to 6-n for holding the diagnostic result of. The status registers 6-1 to 6-n have a start bit STB for activating the diagnostic execution circuits 5-1 to 5-n. The start bit STB is set by the CPU 1 executing the diagnostic start command. Also, status register 6-1
6-n are "starting bit STB", "diagnosis bit" for indicating that diagnosis is being executed, "timeout bit" for indicating occurrence of timeout, "error bit" for indicating an error, etc. (neither is shown) have. Next, the diagnosis of the peripheral part of the information processing apparatus shown in FIG. 1 will be described with reference to the flowchart of FIG.

【0016】まずCPU1は、装置の電源投入時に、装
置周辺部2-1〜2-nに接続された診断回路4-1〜4-nに
対し、診断スタートコマンド(診断開始コマンド)を例
えば予め定められた順に実行する(ステップS1-1〜1
-n)。この診断スタートコマンドは、一種のI/O(入
出力)ライト命令であり、装置周辺部2-i(i=1〜
n)に接続された診断回路4-i内のステータスレジスタ
6-iのスタートビットSTBをセットすることを指示す
る。即ちCPU1は、診断回路4-1〜4-nに対して診断
スタートコマンドを順に実行することにより、診断回路
4-1〜4-n内のステータスレジスタ6-1〜6-nのスター
トビットSTBをそれぞれセットする。
First, the CPU 1 issues a diagnostic start command (diagnostic start command) to the diagnostic circuits 4-1 to 4-n connected to the peripheral parts 2-1 to 2-n, for example, in advance when the power of the device is turned on. Execute in a defined order (steps S1-1 to S1)
-n). This diagnostic start command is a kind of I / O (input / output) write command, and is used as a peripheral device 2-i (i = 1 to 1).
It is instructed to set the start bit STB of the status register 6-i in the diagnostic circuit 4-i connected to n). That is, the CPU 1 sequentially executes the diagnostic start command to the diagnostic circuits 4-1 to 4-n, so that the start bit STB of the status registers 6-1 to 6-n in the diagnostic circuits 4-1 to 4-n. Set respectively.

【0017】ステータスレジスタ6-1〜6-nのスタート
ビットSTBがセットされると、診断回路4-1〜4-n内
の診断実行回路5-1〜5-nが起動される。これにより診
断実行回路5-1〜5-nは、ステータスレジスタ6-1〜6
-nの“診断中ビット”をセットして診断実行中であるこ
とを示して、対応する装置周辺部2-1〜2-nに対する診
断処理を並行して実行する。診断実行回路5-1〜5-n
は、この診断処理において、対応する装置周辺部2-1〜
2-n内の各回路に固有の予め定められた診断動作、即ち
同周辺部2-1〜2-nのテストに合致した動作のみ実行す
る。例えば診断実行回路5-1が装置周辺部2-1内の主記
憶11を診断する場合は、連続したアドレスに対し、そ
れぞれライト/リード/コンペア動作、即ちテストデー
タを主記憶11にライトし、そのライトしたデータを主
記憶11からリードし、そのリードしたデータとテスト
データとをコンペアする動作を繰返す。
When the start bit STB of the status registers 6-1 to 6-n is set, the diagnostic execution circuits 5-1 to 5-n in the diagnostic circuits 4-1 to 4-n are activated. As a result, the diagnostic execution circuits 5-1 to 5-n are set to the status registers 6-1 to 6
The "diagnosis bit" of -n is set to indicate that the diagnosis is being executed, and the diagnosis processing for the corresponding apparatus peripheral parts 2-1 to 2-n is executed in parallel. Diagnostic execution circuit 5-1 to 5-n
In this diagnostic processing, the
Only a predetermined diagnostic operation peculiar to each circuit in 2-n, that is, an operation that matches the test of the peripheral parts 2-1 to 2-n is executed. For example, when the diagnosis execution circuit 5-1 diagnoses the main memory 11 in the device peripheral section 2-1, the write / read / compare operation, that is, the test data is written to the main memory 11 for each successive address. The written data is read from the main memory 11 and the operation of comparing the read data with the test data is repeated.

【0018】診断回路4-i(i=1〜n)内の診断実行
回路5-iの装置周辺部2-iに対する診断結果は、ステー
タスレジスタ6-iに書込まれる。例えば、タイムアウト
発生時にはステータスレジスタ6-iの“タイムアウトビ
ット”がセットされ、エラー発生時には“エラービッ
ト”がセットされる。診断実行回路5-iは、装置周辺部
2-iに対する診断を終了すると、ステータスレジスタ6
-iの“診断中ビット”をリセットする。
The diagnostic result for the device peripheral portion 2-i of the diagnostic execution circuit 5-i in the diagnostic circuit 4-i (i = 1 to n) is written in the status register 6-i. For example, the "timeout bit" of the status register 6-i is set when a time-out occurs, and the "error bit" is set when an error occurs. When the diagnosis execution circuit 5-i completes the diagnosis of the device peripheral section 2-i, the status execution circuit 6-i
-Reset the "diagnostic bit" of i.

【0019】以上のように本実施例によれば、CPU1
が、装置周辺部2-1〜2-nに接続された診断回路4-1〜
4-nに対して診断スタートコマンドを実行するだけで、
診断回路4-1〜4-n内の診断実行回路5-1〜5-nが起動
されて、同回路5-1〜5-nにより装置周辺部2-1〜2-n
の診断動作が行われる。このためCPU1は、診断回路
4-1〜4-n内の診断実行回路5-1〜5-nの診断動作と並
行して、自身の診断など、装置周辺部2-1〜2-nの診断
とは異なる処理を行うことができ、処理効率が向上す
る。また、装置周辺部2-1〜2-nの診断が並行して行わ
れることから、従来に比べて診断時間も大幅に短縮す
る。
As described above, according to this embodiment, the CPU 1
Are connected to the peripheral parts 2-1 to 2-n of the diagnostic circuit 4-1 to
Simply execute the diagnostic start command for 4-n,
The diagnostic execution circuits 5-1 to 5-n in the diagnostic circuits 4-1 to 4-n are activated, and the circuit peripheral circuits 2-1 to 2-n are activated by the circuits 5-1 to 5-n.
The diagnostic operation of is performed. For this reason, the CPU 1 operates in parallel with the diagnostic operation of the diagnostic execution circuits 5-1 to 5-n in the diagnostic circuits 4-1 to 4-n, and performs its own diagnostics and the like in the peripheral parts 2-1 to 2-n of the device. Processing different from diagnosis can be performed, and processing efficiency is improved. Further, since the peripheral parts 2-1 to 2-n of the device are diagnosed in parallel, the diagnostic time is greatly shortened as compared with the conventional case.

【0020】さてCPU1は、装置周辺部2-1〜2-nに
接続された診断回路4-1〜4-nに対して診断スタートコ
マンドを実行し、更に自身の診断など、所定の処理を行
うと、例えば装置周辺部2-1に接続された診断回路4-1
に対してステータスリードコマンドを実行する(ステッ
プS2-1)。これによりCPU1は、診断回路4-1内の
ステータスレジスタ6-1の内容、即ち、装置周辺部2-1
に対する診断結果のステータスを、装置周辺部2-1、シ
ステムバス3を介して読込む。
Now, the CPU 1 executes a diagnostic start command to the diagnostic circuits 4-1 to 4-n connected to the peripheral parts 2-1 to 2-n, and further executes a predetermined process such as its own diagnostics. If done, for example, the diagnostic circuit 4-1 connected to the device peripheral section 2-1
A status read command is executed with respect to (step S2-1). As a result, the CPU 1 causes the contents of the status register 6-1 in the diagnostic circuit 4-1, that is, the device peripheral section 2-1.
The status of the diagnostic result is read from the device peripheral section 2-1 and the system bus 3.

【0021】次にCPU1は、診断回路4-1内のステー
タスレジスタ6-1から読込んだステータスの“診断中ビ
ット”を参照して、装置周辺部2-1に対する診断が終了
しているか否かをチェックする(ステップS3-1)。
Next, the CPU 1 refers to the "diagnostic bit" of the status read from the status register 6-1 in the diagnostic circuit 4-1, and determines whether or not the diagnosis of the peripheral part 2-1 of the device is completed. It is checked (step S3-1).

【0022】もし終了していなければ(“診断中ビッ
ト”がセットされているならば)、CPU1は一定時間
を待った後、再びステップS2-1を実行して、ステータ
スレジスタ6-1からのステータス読込みを行う。
If it has not ended (if the "diagnosis bit" is set), the CPU 1 waits for a certain period of time, and then executes step S2-1 again to display the status from the status register 6-1. Read.

【0023】これに対し、装置周辺部2-1に対する診断
が終了していれば、CPU1はステータスレジスタ6-1
から読込んだステータスの“エラービット”等を参照し
て、装置周辺部2-1に対する診断エラーが有るか否かを
チェックする(ステップS4-1)。
On the other hand, if the diagnosis of the peripheral portion 2-1 of the device is completed, the CPU 1 determines the status register 6-1.
It is checked whether or not there is a diagnostic error with respect to the device peripheral section 2-1 by referring to the "error bit" of the status read from (step S4-1).

【0024】もし、エラーが有るならば、CPU1は装
置周辺部2-1にエラーが有る旨のエラー表示を行う(ス
テップS5)。これにより、ユーザ(操作員)は装置周
辺部2-1を調べて、必要があれば交換等を行うことがで
きる。
If there is an error, the CPU 1 displays an error message indicating that there is an error in the device peripheral section 2-1 (step S5). As a result, the user (operator) can inspect the peripheral part 2-1 of the device and can replace it if necessary.

【0025】これに対し、エラーが無いならば、CPU
1は上記ステップS2-1〜S4-1と同様の処理を、装置
周辺部2-2に接続された診断回路4-2を対象に実行す
る。即ちCPU1は、診断回路4-2内のステータスレジ
スタ6-2からのステータス読込みを行い(ステップS2
-2)、読込んだステータスが診断終了を示しているか否
かをチェックし(ステップS3-2)、診断終了を示して
いるならば、同ステータスがエラー有りを示しているか
否かをチェックする(ステップS4-2)。もし、エラー
有りを示しているならば、CPU1はステップS5に進
み、装置周辺部2-2にエラーが有る旨のエラー表示を行
う。
On the other hand, if there is no error, the CPU
1 executes the same processing as in steps S2-1 to S4-1 for the diagnostic circuit 4-2 connected to the apparatus peripheral section 2-2. That is, the CPU 1 reads the status from the status register 6-2 in the diagnostic circuit 4-2 (step S2
-2), it is checked whether or not the read status indicates the end of diagnosis (step S3-2), and if it indicates the end of diagnosis, it is checked whether or not the status indicates that there is an error. (Step S4-2). If it indicates that there is an error, the CPU 1 proceeds to step S5 and displays an error indicating that there is an error in the device peripheral section 2-2.

【0026】これに対し、エラー無しを示しているなら
ば、CPU1は、前記ステップS4-1において装置周辺
部2-1のエラー無しを検出した場合と同様の処理を、装
置周辺部2-2の次の装置周辺部に接続された診断回路を
対象に実行する。
On the other hand, if no error is indicated, the CPU 1 performs the same processing as in the case of detecting no error in the device peripheral section 2-1 in step S4-1, and the apparatus peripheral section 2-2. The diagnostic circuit connected to the peripheral part of the device next to is executed.

【0027】このようにして、装置周辺部2-1から装置
周辺部2-nの直前の装置周辺部までのエラー無しが確認
されると、CPU1は、同様の処理を、装置周辺部2-n
に接続された診断回路4-nを対象に実行する。即ちCP
U1は、診断回路4-n内のステータスレジスタ6-nから
のステータス読込みを行い(ステップS2-n)、読込ん
だステータスが診断終了を示しているか否かをチェック
し(ステップS3-n)、診断終了を示しているならば、
同ステータスがエラー有りを示しているか否かをチェッ
クする(ステップS4-n)。ここで、エラーが有りを示
しているならば、CPU1は装置周辺部2-nにエラーが
有る旨のエラー表示を行う(ステップS5)。
In this way, when it is confirmed that there is no error from the apparatus peripheral section 2-1 to the apparatus peripheral section immediately before the apparatus peripheral section 2-n, the CPU 1 performs the same processing as the apparatus peripheral section 2-. n
The diagnostic circuit 4-n connected to is executed. That is CP
U1 reads the status from the status register 6-n in the diagnostic circuit 4-n (step S2-n), and checks whether the read status indicates the end of diagnosis (step S3-n). , If it indicates the end of diagnosis,
It is checked whether or not the status indicates that there is an error (step S4-n). Here, if there is an error, the CPU 1 displays an error indicating that there is an error in the device peripheral section 2-n (step S5).

【0028】これに対し、エラー無しを示しているなら
ば、CPU1は、全ての装置周辺部2-1〜2-nが正常で
あるものとして、システム立ち上げを実行する(ステッ
プS6)。
On the other hand, if there is no error, the CPU 1 determines that all the device peripheral parts 2-1 to 2-n are normal, and executes the system startup (step S6).

【0029】なお、前記実施例では、読取ったステータ
スにより診断終了が示されていない場合には、CPU1
は再度同じステータスレジスタからのステータス読込み
(再読込み)を実行するものとして説明したが、次の診
断回路内のステータスレジスタからのステータス読込み
に進み、再読込みについては、ステータス読込みが一巡
した後に行うようにしてもよい。
In the above embodiment, when the read status does not indicate the end of diagnosis, the CPU 1
Explained that the status read (reread) from the same status register is executed again, but proceed to the status read from the status register in the next diagnostic circuit, and read again after the status read has completed one cycle. You may

【0030】また、前記実施例では、CPU1は診断回
路4-i(i=1〜n)内の診断実行回路5-iによる診断
動作が終了しているか否かに無関係に、ステータス読込
みを行うものとして説明したが、これに限るものではな
い。例えば、各診断回路4-i内の診断実行回路5-iが診
断終了時にCPU1に対してシステムバス3経由で割込
み(診断終了割込み)をかけ、この割込みによりCPU
1がその診断回路4-i内のステータスレジスタ6-iから
のステータス読込みを行うようにしても構わない。
In the above embodiment, the CPU 1 reads the status regardless of whether the diagnostic operation by the diagnostic execution circuit 5-i in the diagnostic circuit 4-i (i = 1 to n) is completed. However, the present invention is not limited to this. For example, the diagnostic execution circuit 5-i in each diagnostic circuit 4-i issues an interrupt (diagnostic end interrupt) to the CPU 1 via the system bus 3 when the diagnostic is completed, and this interrupt causes the CPU
1 may read the status from the status register 6-i in the diagnostic circuit 4-i.

【0031】また、前記実施例では、各診断回路4-i内
の診断実行回路5-iは、CPU1からの診断スタートコ
マンド実行により起動されるものとして説明したが、各
診断回路4-i内に電源投入を検出するための電源投入検
出回路を設け、この検出回路の電源投入検出により起動
されるようにしてもよい。
In the above embodiment, the diagnostic execution circuit 5-i in each diagnostic circuit 4-i has been described as being activated by the execution of the diagnostic start command from the CPU 1, but in each diagnostic circuit 4-i. Alternatively, a power-on detection circuit for detecting power-on may be provided, and the power-on detection of this detection circuit may be activated.

【0032】[0032]

【発明の効果】以上詳述したようにこの発明によれば、
情報処理装置の各周辺部毎に、対応する周辺部の診断を
実行するための診断手段を設け、CPUからの診断開始
コマンド(診断スタートコマンド)の実行または電源投
入検出手段の電源投入検出により各診断手段を起動する
構成としたので、各装置周辺部の診断がCPUから独立
に且つ並行して行えるようになり、従来に比べて診断時
間を大幅に短縮でき、しかもCPUの負荷を軽減するこ
ともできる。
As described above in detail, according to the present invention,
For each peripheral part of the information processing apparatus, a diagnostic means for executing the diagnosis of the corresponding peripheral part is provided, and the diagnostic start command (diagnostic start command) from the CPU is executed or the power-on detection means detects the power-on. Since the diagnostic means is activated, the peripheral parts of each device can be diagnosed independently and in parallel from the CPU, and the diagnostic time can be greatly shortened compared to the conventional case, and the load on the CPU can be reduced. You can also

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

【図1】この発明の一実施例に係る装置周辺部の診断機
能を持つ情報処理装置の構成を示すブロック図。
FIG. 1 is a block diagram showing the configuration of an information processing apparatus having a diagnostic function for peripheral parts of an apparatus according to an embodiment of the present invention.

【図2】同実施例の動作を説明するためのフローチャー
ト。
FIG. 2 is a flowchart for explaining the operation of the embodiment.

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

1…CPU、2-1〜2-n…装置周辺部、3…システムバ
ス、4-1〜4-n…診断回路、5-1〜5-n…診断実行回
路、6-1〜6-n…ステータスレジスタ、STB…スター
トビット。
1 ... CPU, 2-1 to 2-n ... Device peripheral part, 3 ... System bus, 4-1 to 4-n ... Diagnostic circuit, 5-1 to 5-n ... Diagnostic execution circuit, 6-1 to 6- n ... Status register, STB ... Start bit.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 装置の中枢を成すCPUを備えた情報処
理装置において、 前記装置の各周辺部毎に設けられ、対応する周辺部の診
断を実行するための診断手段と、 前記CPUから前記各診断手段に対して、診断開始を指
示するための診断開始コマンドの実行により起動をかけ
る手段と、 を具備し、前記各診断手段は、前記CPUの診断開始コ
マンド実行により起動されて、対応する前記周辺部に対
して予め定められた診断を実行することを特徴とする情
報処理装置。
1. An information processing apparatus comprising a CPU which is the center of the apparatus, and diagnostic means provided for each peripheral portion of the apparatus for executing diagnosis of the corresponding peripheral portion, and the CPU to Means for activating the diagnostic means by executing a diagnostic start command for instructing the diagnostic start, wherein each of the diagnostic means is activated by executing the diagnostic start command of the CPU, An information processing apparatus, characterized in that a predetermined diagnosis is executed for a peripheral portion.
【請求項2】 装置の中枢を成すCPUを備えた情報処
理装置において、 前記装置の各周辺部毎に設けられ、対応する周辺部の診
断を実行するための診断手段と、 この各診断手段毎に設けられ、電源投入を検出すること
により対応する診断手段を起動する電源投入検出手段
と、 を具備し、前記各診断手段は、対応する前記電源投入検
出手段の電源投入検出により起動されて、対応する前記
周辺部に対して予め定められた診断を実行することを特
徴とする情報処理装置。
2. An information processing apparatus having a CPU which is the center of the apparatus, and a diagnostic means provided for each peripheral portion of the apparatus, for executing diagnosis of the corresponding peripheral portion, and each diagnostic means. And power-on detection means for activating the corresponding diagnostic means by detecting power-on, each of the diagnostic means being activated by the power-on detection of the corresponding power-on detection means, An information processing apparatus, which executes a predetermined diagnosis on the corresponding peripheral portion.
【請求項3】 前記各診断手段は、対応する前記周辺部
に対する診断結果を保持するためのステータス保持手段
を有し、前記CPUは、前記各診断手段のステータス保
持手段の保持内容を読取ることにより、前記各診断手段
による前記各周辺部に対する診断結果を得るようにした
ことを特徴とする請求項1または請求項2記載の情報処
理装置。
3. Each of the diagnosis means has status holding means for holding a diagnosis result for the corresponding peripheral portion, and the CPU reads the contents held in the status holding means of each of the diagnosis means. The information processing apparatus according to claim 1 or 2, characterized in that a diagnostic result for each peripheral portion by each diagnostic means is obtained.
JP20113492A 1992-07-28 1992-07-28 Information processing device with diagnostic function for device peripherals Expired - Fee Related JP3192229B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20113492A JP3192229B2 (en) 1992-07-28 1992-07-28 Information processing device with diagnostic function for device peripherals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20113492A JP3192229B2 (en) 1992-07-28 1992-07-28 Information processing device with diagnostic function for device peripherals

Publications (2)

Publication Number Publication Date
JPH0652012A true JPH0652012A (en) 1994-02-25
JP3192229B2 JP3192229B2 (en) 2001-07-23

Family

ID=16435972

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20113492A Expired - Fee Related JP3192229B2 (en) 1992-07-28 1992-07-28 Information processing device with diagnostic function for device peripherals

Country Status (1)

Country Link
JP (1) JP3192229B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020037415A (en) * 2000-11-14 2002-05-21 구자홍 Peripheral Device State Monitoring Apparatus
KR100433547B1 (en) * 2002-04-11 2004-05-31 삼성전자주식회사 Method and apparatus for checking state of peripheral
JP2009223636A (en) * 2008-03-17 2009-10-01 Fujitsu Ltd Information processing system, function expansion unit, and control method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020037415A (en) * 2000-11-14 2002-05-21 구자홍 Peripheral Device State Monitoring Apparatus
KR100433547B1 (en) * 2002-04-11 2004-05-31 삼성전자주식회사 Method and apparatus for checking state of peripheral
JP2009223636A (en) * 2008-03-17 2009-10-01 Fujitsu Ltd Information processing system, function expansion unit, and control method

Also Published As

Publication number Publication date
JP3192229B2 (en) 2001-07-23

Similar Documents

Publication Publication Date Title
JP2010092127A (en) Computer system, processor diagnostic method, and processor diagnosis control program
JPH0652012A (en) Information processor having diagnostic function for peripheral part of device
JP3141787B2 (en) Microcomputer
JPS61220030A (en) Software discriminating system
JPH02244232A (en) information processing equipment
JPH0410654B2 (en)
JP2849780B2 (en) Computer system
JP3060376U (en) Memory device
JPH0962534A (en) Computer self-diagnosis method
JPS63316242A (en) Diagnosing system
JPH076103A (en) Fault processing system for input/output channel
JPH05151021A (en) Debugging system using debugger with built-in resident area
JP4527419B2 (en) Program trace method and trace processing system
JP2000353109A (en) Emulator and emulation system
JPH07168768A (en) Initial self-diagnosing method
JPH09330276A (en) Memory diagnosis method
JPS60254245A (en) False fault setting system
JPH0628218A (en) Microcomputer program development support device
JPH05181781A (en) Input/output control device
JPH02127738A (en) Necessary time monitor controller
JPH08101781A (en) Instruction processor
JPH06309192A (en) Peripheral controller
JPS62187959A (en) Information processing system
JPH0375909B2 (en)
JPH04243431A (en) Evaluation system for fault processing function

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees