JPH09160843A - Method and device for diagnosing hardware - Google Patents
Method and device for diagnosing hardwareInfo
- Publication number
- JPH09160843A JPH09160843A JP7315654A JP31565495A JPH09160843A JP H09160843 A JPH09160843 A JP H09160843A JP 7315654 A JP7315654 A JP 7315654A JP 31565495 A JP31565495 A JP 31565495A JP H09160843 A JPH09160843 A JP H09160843A
- Authority
- JP
- Japan
- Prior art keywords
- input
- output
- various interfaces
- control device
- diagnosis
- 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
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】この発明は、計算機システム
におけるハードウェアの機能,動作が正常であるかない
かを診断するハードウェア診断方法およびその方法に使
用するハードウェア診断装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a hardware diagnosing method for diagnosing whether a function or operation of hardware in a computer system is normal, and a hardware diagnosing apparatus used for the method.
【0002】[0002]
【従来の技術】図14は、複数の入出力装置(以下、I
/Oという)がシステムバスを介してCPUに接続され
ている計算機システムを示すブロック構成図である。図
において、1はCPU、2はシステムバス、3a〜3c
はI/Oである。2. Description of the Related Art FIG. 14 shows a plurality of input / output devices (hereinafter, I
Is a block configuration diagram showing a computer system in which (/ O) is connected to a CPU via a system bus. In the figure, 1 is a CPU, 2 is a system bus, and 3a to 3c.
Is I / O.
【0003】次に、このような計算機システムにおいて
各I/Oを診断する場合、診断を実行する計算機へ診断
用のOSをロードし、ロードしたOS上でそれぞれのI
/Oに対する各種診断プログラムを随時実行することに
より行っている。またこの場合、システムバス2の負荷
を判断するための手段は計算機システムを構成するどの
モジュールにもなく、CPU1はシステムバスの負荷状
態を考慮せずにシステムバス2を介して各I/Oの診断
を行っている。Next, when diagnosing each I / O in such a computer system, a diagnostic OS is loaded on the computer that executes the diagnostics, and each I / O is loaded on the loaded OS.
/ O is executed by executing various diagnostic programs as needed. Further, in this case, there is no means for judging the load of the system bus 2 in any of the modules constituting the computer system, and the CPU 1 does not consider the load state of the system bus and does not consider the load state of the system bus. Diagnosing.
【0004】図15は、図14に示す計算機システムを
さらに拡張した計算機システムの構成を示すブロック構
成図である。図において、図14と同一または相当の部
分については同一の符号を付し説明を省略する。4’と
5’は例えばディスク装置用の入出力インターフェース
であり、入出力インターフェース4’はCPU側、入出
力インターフェース5’はディスク装置側に配置され、
直列に接続されている。FIG. 15 is a block diagram showing the configuration of a computer system obtained by further expanding the computer system shown in FIG. In the figure, parts that are the same as or correspond to those in FIG. 14 are assigned the same reference numerals and explanations thereof are omitted. Reference numerals 4'and 5'are input / output interfaces for the disk device, for example, the input / output interface 4'is arranged on the CPU side, and the input / output interface 5'is arranged on the disk device side.
They are connected in series.
【0005】次に、この計算機システムにおいて行われ
るハードウェア診断方法の動作について説明する。この
ような計算機システムにおいて各I/Oを診断する場
合、CPU1はI/O3a,3cおよび入出力インター
フェース4’に対し診断を行う。特に入出力インターフ
ェース4’に対しては入出力インターフェース5’およ
びディスク装置6を含めた一体的な診断を行うことにな
り、入出力インターフェース4’あるいは入出力インタ
ーフェース5’あるいはディスク装置6それぞれに対し
独立した診断を行うことはできず、I/O3aを診断す
る診断プログラム、I/O3cを診断する診断プログラ
ム、入出力インターフェース4’と入出力インターフェ
ース5’とディスク装置6とを一体的に診断する診断プ
ログラムというように、3通りの診断プログラムを3通
りのコマンドを入力することにより使い分けて実行する
必要がある。Next, the operation of the hardware diagnosing method performed in this computer system will be described. When diagnosing each I / O in such a computer system, the CPU 1 diagnoses the I / O 3a, 3c and the input / output interface 4 '. In particular, for the I / O interface 4 ', the integrated diagnosis including the I / O interface 5'and the disk device 6 will be performed. Independent diagnosis cannot be performed, and a diagnostic program for diagnosing I / O 3a, a diagnostic program for diagnosing I / O 3c, an I / O interface 4 ', an I / O interface 5', and a disk device 6 are integrally diagnosed. Like the diagnostic program, it is necessary to execute the three diagnostic programs separately by inputting three commands.
【0006】また、このような計算機システムのハード
ウェア、特にI/Oに発生する障害を診断するハードウ
ェア診断装置としては、特開平5−108509号公報
に開示された「入出力装置のヘルスチェック装置」があ
る。この入出力装置のヘルスチェック装置は、I/Oに
対する通常のアクセスの使用頻度が高い場合には前記I
/Oの障害検出動作を停止させ、使用頻度が低い場合に
は前記I/Oの障害検出動作を開始させるように機能す
るものである。Further, as a hardware diagnostic device for diagnosing the hardware of such a computer system, especially a fault occurring in I / O, a "health check of input / output device" disclosed in Japanese Patent Laid-Open No. 5-108509. There is a device. The health check device of this input / output device uses the above-mentioned I / O device when normal access to the I / O is frequently used.
The I / O failure detection operation is stopped, and the I / O failure detection operation is started when the usage frequency is low.
【0007】[0007]
【発明が解決しようとする課題】従来のハードウェア診
断方法およびその装置は以上のように構成されているの
で、診断プログラムを実行する場合はアクセスの使用頻
度が低い場合であり、この使用頻度が低い状態でのアク
セスに対しては、診断プログラムを実行している間は無
効となり、診断対象となっているI/OへのCPU1の
アクセスやサービスが届かない課題があった。Since the conventional hardware diagnosing method and its apparatus are configured as described above, the frequency of access is low when the diagnostic program is executed. The access in the low state is invalid while the diagnostic program is being executed, and there is a problem that the access or service of the CPU 1 does not reach the I / O to be diagnosed.
【0008】また、前記入出力インターフェースが階層
化されて構成される計算機システムにおいて故障が発生
した場合、CPU1は入出力インターフェース4’を介
して入出力インターフェース5’さらにディスク装置6
を一体的に診断することになるため、どの階層での故障
かを切り分けて判断することができない課題があった。When a failure occurs in a computer system in which the input / output interfaces are hierarchized, the CPU 1 causes the input / output interface 5'and the disk device 6 via the input / output interface 4 '.
Therefore, there is a problem that it is not possible to discriminate and determine in which layer the fault is due to the integrated diagnosis.
【0009】この発明は上記のような課題を解決するた
めになされたもので、システムバス、特に制御線を監視
することによりシステムバスの負荷状態を判断し、所定
の時間アクセスが行われていない状態にあるハードウェ
アに対しCPUの負担を軽減して、あるいは前記CPU
に負担をかけることなく自動的に診断を行うハードウェ
ア診断方法およびその装置を得ることを目的とする。The present invention has been made to solve the above problems, and determines the load state of the system bus by monitoring the system bus, especially the control line, and access is not performed for a predetermined time. The load on the CPU for the hardware in the state is reduced, or the CPU is
An object of the present invention is to provide a hardware diagnostic method and an apparatus therefor, which automatically diagnoses without burdening the user.
【0010】また、この発明は異なった種類の入出力イ
ンターフェースなどのデバイスが存在していても、同一
のコマンドにより効率的に診断を実行することのできる
ハードウェア診断方法およびその装置を得ることを目的
とする。Further, the present invention provides a hardware diagnosing method and an apparatus therefor capable of efficiently executing diagnosis by the same command even if devices such as input / output interfaces of different types exist. To aim.
【0011】さらに、この発明は入出力装置あるいは入
出力制御装置あるいは各種インターフェースなどが階層
化されている場合にそれぞれのデバイスごとに折り返し
診断を施すことによってどの階層で障害が発生したかを
木目細かに知ることで計算機システム全体としての障害
に発展する前に前記障害の発生したI/Oを切り分ける
ことを可能にするハードウェア診断方法およびその装置
を得ることを目的とする。Further, according to the present invention, when the input / output device, the input / output control device, various interfaces, etc. are hierarchized, the return diagnosis is performed for each device so that it is possible to precisely determine in which layer the fault has occurred. It is an object of the present invention to obtain a hardware diagnostic method and an apparatus therefor which make it possible to isolate an I / O in which a failure has occurred before it develops into a failure in the entire computer system.
【0012】[0012]
【課題を解決するための手段】請求項1記載の発明に係
るハードウェア診断方法は、システムバスの制御線を監
視することでアクセスが所定の時間ない状態を検出し、
該検出結果を基に生成された割り込み信号によりCPU
が診断プログラムを実行し、前記アクセスがないときに
前記入出力装置あるいは入出力制御装置あるいは各種イ
ンターフェースで生じている異常を検出する構成を備え
たものである。According to a first aspect of the present invention, there is provided a hardware diagnosing method, wherein a control line of a system bus is monitored to detect a state in which no access is made for a predetermined time.
The CPU uses the interrupt signal generated based on the detection result.
Executes a diagnostic program and detects an abnormality occurring in the input / output device, the input / output control device, or various interfaces when there is no access.
【0013】請求項2記載の発明に係るハードウェア診
断方法は、システムバスの状態からアクセスがないこと
を示す通知により、診断プログラムによる診断開始の最
初にCPUは前記システムバス上での各種データの授受
がないことを確認し、該確認後に前記開始した診断プロ
グラムに従った処理を進める構成を備えたものである。In the hardware diagnosing method according to a second aspect of the present invention, the CPU indicates the various data on the system bus at the beginning of diagnosis by the diagnostic program by the notification indicating that there is no access from the state of the system bus. It is provided with a configuration in which it is confirmed that there is no exchange, and after the confirmation, the process according to the started diagnostic program is advanced.
【0014】請求項3記載の発明に係るハードウェア診
断方法は、診断プログラムによる診断開始の最初にシス
テムバスの状態から検出されるアクセスがあることを示
す通知によりCPUが前記システムバス上での各種デー
タの授受があることを確認したときには、前記CPUは
前記開始した診断プログラムの実行を強制的に終了する
構成を備えたものである。According to a third aspect of the present invention, there is provided a hardware diagnosing method, wherein a CPU indicates various types of information on the system bus by a notification indicating that there is an access detected from the state of the system bus at the beginning of diagnosis by a diagnostic program. The CPU is configured to forcibly end the execution of the started diagnostic program when it is confirmed that data has been transferred.
【0015】請求項4記載の発明に係るハードウェア診
断方法は、入出力装置あるいは入出力制御装置あるいは
各種インターフェースの診断の際のログデータを、割り
込み信号の発生側で保存するようにしたものである。According to a fourth aspect of the present invention, there is provided a hardware diagnosing method, wherein log data for diagnosing an input / output device, an input / output control device, or various interfaces is saved on the side where an interrupt signal is generated. is there.
【0016】請求項5記載の発明に係るハードウェア診
断方法は、CPU、入出力装置あるいは入出力制御装置
あるいは各種インターフェース以外に備えられたアクセ
ス監視手段がシステムバスの制御線を監視することでア
クセスが所定の時間ない状態を検出したときに、前記C
PU、前記入出力装置あるいは前記入出力制御装置ある
いは前記各種インターフェース以外に備えられたマイク
ロプロセッサは診断プログラムを実行し、また、前記ア
クセス監視手段が前記システムバスの制御線を監視する
ことでアクセスが発生したことを検出したときには実行
中の診断プログラムを強制的に終了し、前記アクセスが
ないときに前記マイクロプロセッサが前記入出力装置あ
るいは入出力制御装置あるいは各種インターフェースを
診断する構成を備えたものである。In the hardware diagnosing method according to a fifth aspect of the present invention, the access monitoring means provided in addition to the CPU, the input / output device, the input / output control device or various interfaces monitors the control line of the system bus for access. Is detected for a predetermined time, the C
The PU, the input / output device, the input / output control device, or a microprocessor provided other than the various interfaces executes a diagnostic program, and the access monitoring unit monitors the control line of the system bus to access. When the occurrence is detected, the running diagnostic program is forcibly terminated, and the microprocessor diagnoses the input / output device or the input / output control device or various interfaces when there is no access. is there.
【0017】請求項6記載の発明に係るハードウェア診
断方法は、CPU、入出力装置あるいは入出力制御装置
あるいは各種インターフェース以外に備えられたマイク
ロプロセッサは、診断プログラム実行による診断開始の
最初にシステムバスの状態から再度アクセスがないこと
を確認し、該確認後に前記入出力装置あるいは前記入出
力制御装置あるいは前記各種インターフェースに対する
前記診断プログラムによる診断を進める構成を備えたも
のである。According to a sixth aspect of the present invention, there is provided a hardware diagnosing method in which a microprocessor provided other than a CPU, an input / output device, an input / output control device, or various interfaces has a system bus at the beginning of diagnosis by executing a diagnostic program. From the above state, it is confirmed that there is no access again, and after the confirmation, the diagnosis by the diagnosis program for the input / output device, the input / output control device, or the various interfaces is advanced.
【0018】請求項7記載の発明に係るハードウェア診
断方法は、入出力装置あるいは入出力制御装置あるいは
各種インターフェースの診断結果を、CPU、前記入出
力装置、前記入出力制御装置、前記各種インターフェー
ス以外に備えられたマイクロプロセッサが使用するメモ
リに保存する構成を備えたものである。According to a seventh aspect of the present invention, there is provided a hardware diagnosing method, wherein a diagnosis result of an input / output device, an input / output control device or various interfaces is used except for the CPU, the input / output device, the input / output control device and the various interfaces. It is provided with a configuration for saving in the memory used by the microprocessor provided in.
【0019】請求項8記載の発明に係るハードウェア診
断方法は、システムバスの制御線を監視することでアク
セスが所定の時間ない状態が検出されたときに生成され
出力された割り込み信号により、入出力装置あるいは入
出力制御装置あるいは各種インターフェースは、それぞ
れ自分自身に搭載されたマイクロプロセッサおよび診断
プログラムにより、前記システムバスを介して自分以外
の他の前記入出力装置あるいは前記入出力制御装置ある
いは前記各種インターフェース装置に対し診断を行う構
成を備えたものである。According to an eighth aspect of the present invention, there is provided a hardware diagnosing method, wherein an interrupt signal generated and output when a state in which no access is made for a predetermined time is detected by monitoring a control line of a system bus is input. The output device, the input / output control device, or the various interfaces may be the other input / output device other than itself, the input / output control device, or the various types other than itself via the system bus by the microprocessor and the diagnostic program installed in the self. The interface device is provided with a configuration for making a diagnosis.
【0020】請求項9記載の発明に係るハードウェア診
断方法は、診断を行う順位を予め優先順位として決めて
おき、該優先順位に従って入出力装置あるいは入出力制
御装置あるいは各種インターフェースは、それぞれ自分
自身に搭載されたマイクロプロセッサおよび診断プログ
ラムにより、システムバスを介して自分以外の他の前記
入出力装置あるいは前記入出力制御装置あるいは前記各
種インターフェース装置に対し診断を行う構成を備えた
ものである。In the hardware diagnosing method according to a ninth aspect of the present invention, the order of diagnosis is determined in advance as a priority order, and the input / output device, the input / output control device, or the various interfaces are themselves determined according to the priority order. A microprocessor and a diagnostic program installed in the system provide a configuration for diagnosing the input / output device other than itself, the input / output control device, or the various interface devices via the system bus.
【0021】請求項10記載の発明に係るハードウェア
診断方法は、入出力装置あるいは入出力制御装置あるい
は各種インターフェースがそれぞれ前記システムバスの
制御線を監視することでアクセスが所定の時間ない状態
を検出し、該検出結果を基に割り込み信号を出力し、前
記割り込み信号を受け付けた入出力装置あるいは入出力
制御装置あるいは各種インターフェースから前記割り込
み信号を出力した前記入出力装置あるいは前記入出力制
御装置あるいは前記各種インターフェースに対し自分自
身が保有する診断プログラムを実行することで診断を行
い、該診断終了後、前記診断を行った側から割り込み信
号を出力し、今度は前記診断を受けた前記入出力装置あ
るいは前記入出力制御装置あるいは前記各種インターフ
ェースは、前記出力された割り込み信号を受け付けるこ
とで前記診断を行った側に対し自分自身が保有する診断
プログラムを実行することで診断を行う構成を備えたも
のである。According to a tenth aspect of the present invention, in a hardware diagnosing method, an input / output device, an input / output control device, or various interfaces each monitor a control line of the system bus to detect a state in which there is no access for a predetermined time. Then, an interrupt signal is output based on the detection result, and the input / output device or the input / output control device that receives the interrupt signal or the input / output device that outputs the interrupt signal from various interfaces or the Diagnosis is performed by executing a diagnostic program owned by itself for various interfaces, and after the diagnosis is completed, an interrupt signal is output from the side that performed the diagnosis, and this time the input / output device that has received the diagnosis or The input / output control device or the various interfaces are Those having a structure for performing diagnosis by executing the diagnostic program is itself held against that side was the diagnosis that accepts the interrupt signal.
【0022】請求項11記載の発明に係るハードウェア
診断方法は、システムバスの制御線を監視することでア
クセスがない状態を検出する際の所定の時間を規定する
時間データを、診断を受ける側の入出力装置あるいは入
出力制御装置あるいは各種インターフェースの診断を受
ける際の優先度の高さに応じて短くなる値に予め決めて
おき、診断を受ける際の優先度の高い入出力装置あるい
は入出力制御装置あるいは各種インターフェースは優先
度の低い入出力装置あるいは入出力制御装置あるいは各
種インターフェースに比べて先に診断を受ける構成を備
えたものである。In the hardware diagnosing method according to an eleventh aspect of the present invention, time data defining a predetermined time when detecting a state of no access by monitoring a control line of a system bus is provided to a side to be diagnosed. I / O device or I / O control device or I / O device or I / O with high priority when receiving a diagnosis The control device or the various interfaces are provided with a configuration for receiving a diagnosis prior to the input / output device having a low priority, the input / output control device, or the various interfaces.
【0023】請求項12記載の発明に係るハードウェア
診断方法は、入出力装置あるいは入出力制御装置あるい
は各種インターフェースがそれぞれシステムバスの制御
線を監視することでアクセスが所定の時間ない状態を検
出し、該検出結果を基に割り込み信号を出力し、前記割
り込み信号を受け付けた他の入出力装置あるいは入出力
制御装置あるいは各種インターフェースは前記割り込み
信号を出力した入出力装置あるいは入出力制御装置ある
いは各種インターフェース以外の入出力装置あるいは入
出力制御装置あるいは各種インターフェースに対し自分
自身が保有する診断プログラムを実行することで診断を
行い、該診断において診断対象となった前記入出力装置
あるいは前記入出力制御装置あるいは前記各種インター
フェースに対する診断結果が「正常」である場合に限
り、前記診断終了後、該診断を行った側は割り込み信号
を出力し、前記「正常」と診断された前記入出力装置あ
るいは前記入出力制御装置あるいは前記各種インターフ
ェース以外の入出力装置あるいは入出力制御装置あるい
は各種インターフェースが前記出力された割り込み信号
を受け付けることで前記診断を受けた側の当事者になっ
ていない入出力装置あるいは入出力制御装置あるいは各
種インターフェースに対し自分自身が保有する診断プロ
グラムを実行することで診断を行う構成を備えたもので
ある。According to a twelfth aspect of the present invention, there is provided a hardware diagnosing method, wherein an input / output device, an input / output control device, or various interfaces each monitor a control line of a system bus to detect a state in which no access is made for a predetermined time. An input / output device, an input / output control device, or various interfaces that output the interrupt signal based on the detection result, and the other input / output device or input / output control device that receives the interrupt signal, or various interfaces Other than the I / O device, the I / O control device, or the various interfaces to execute a diagnostic program that the user has to make a diagnosis, and the I / O device or the I / O control device or the I / O control device that is the diagnosis target in the diagnosis is executed. For the various interfaces Only when the disconnection result is "normal", after the diagnosis is completed, the side that has performed the diagnosis outputs an interrupt signal, and the input / output device or the input / output control device or the The input / output device other than the various interfaces, the input / output control device, or the various interfaces accepts the output interrupt signal, so that the input / output device, the input / output control device, or the various interfaces that are not the parties involved in the diagnosis On the other hand, it is provided with a configuration for making a diagnosis by executing a diagnosis program that the user has.
【0024】請求項13記載の発明に係るハードウェア
診断方法は、診断を行った入出力装置あるいは入出力制
御装置あるいは各種インターフェースは、前記診断を行
った際のログデータを所定のメモリエリアへ保存する構
成を備えたものである。According to a thirteenth aspect of the present invention, in the hardware diagnosing method, the I / O device, the I / O controller, or the various interfaces that have made the diagnosis save the log data at the time of the diagnosis in a predetermined memory area. It is equipped with a configuration.
【0025】請求項14記載の発明に係るハードウェア
診断方法は、診断結果が「異常」と判断された診断対象
となった入出力装置あるいは入出力制御装置あるいは各
種インターフェースは、診断結果を「異常」と判断した
前記診断を行った側の入出力装置あるいは入出力制御装
置あるいは各種インターフェースが出力する割り込み信
号を基に、前記「異常」と判断された際のログデータを
自分自身が備えるメモリの所定のエリアへ保存する構成
を備えたものである。In the hardware diagnosing method according to the fourteenth aspect of the present invention, the input / output device or the input / output control device or various interfaces which are diagnosed and whose diagnostic result is judged to be "abnormal" indicate that the diagnostic result is "abnormal". Based on the interrupt signal output from the I / O device or input / output control device or various interfaces on the diagnosing side, the log data of the time when it is judged to be “abnormal” is stored in the memory of its own memory. It is provided with a configuration for storing in a predetermined area.
【0026】請求項15記載の発明に係るハードウェア
診断方法は、入出力装置あるいは入出力制御装置あるい
は各種インターフェースそれぞれに対し行う診断の内容
と、前記入出力装置あるいは前記入出力制御装置あるい
は前記各種インターフェースそれぞれに対し前記内容に
従った診断を行うための前記入出力装置あるいは前記入
出力制御装置あるいは前記各種インターフェースに共通
するコマンドを予め決めておき、CPUから前記入出力
装置あるいは前記入出力制御装置あるいは前記各種イン
ターフェースへ与えられる前記コマンドにより、前記入
出力装置あるいは前記入出力制御装置あるいは前記各種
インターフェースそれぞれが前記予め決められた診断の
内容に従った自己診断を診断プログラムにより行う構成
を備えたものである。According to a fifteenth aspect of the present invention, in the hardware diagnosing method, the contents of the diagnosis performed on the input / output device, the input / output control device, or the various interfaces, and the input / output device, the input / output control device, or the various interfaces. A command common to the input / output device, the input / output control device, or the various interfaces for performing the diagnosis according to the above contents for each interface is determined in advance, and the CPU outputs the input / output device or the input / output control device. Alternatively, the input / output device, the input / output control device, or the various interfaces may be configured to perform a self-diagnosis according to the content of the predetermined diagnosis by a diagnostic program by the command given to the various interfaces. And .
【0027】請求項16記載の発明に係るハードウェア
診断方法は、診断プログラムを実行するCPUまたは入
出力装置あるいは入出力制御装置あるいは各種インター
フェースは、前記診断プログラムによる診断開始の最初
にシステムバスの状態から前記システムバス上での各種
データの授受がないことを確認し、該確認後に前記開始
した診断プログラムに従った処理を進める構成を備える
ようにしたものである。According to a sixteenth aspect of the present invention, in the hardware diagnosing method, the CPU for executing the diagnostic program, the input / output device, the input / output control device, or various interfaces is configured so that the state of the system bus is started at the beginning of the diagnosis by the diagnostic program. From the above, it is confirmed that various kinds of data are not exchanged on the system bus, and after the confirmation, the processing according to the started diagnostic program is performed.
【0028】請求項17記載の発明に係るハードウェア
診断方法は、診断プログラムを実行するCPUまたは入
出力装置あるいは入出力制御装置あるいは各種インター
フェースは、前記診断プログラムによる診断開始の最初
にシステムバスの状態から前記システムバス上での各種
データの授受があることを確認したときには、前記開始
した診断プログラムの実行を強制的に終了する構成を備
えたものである。According to a seventeenth aspect of the present invention, in the hardware diagnosing method, the CPU for executing the diagnostic program, the input / output device, the input / output control device or various interfaces is configured so that the state of the system bus is started at the beginning of the diagnosis by the diagnostic program. From the above, when it is confirmed that various kinds of data are exchanged on the system bus, the execution of the started diagnostic program is forcibly terminated.
【0029】請求項18記載の発明に係るハードウェア
診断方法は、システムバスの制御線および階層化されて
接続されている入出力装置あるいは入出力制御装置ある
いは各種インターフェースの間での各種データの授受の
状態を監視することでアクセスが所定の時間ない状態を
CPUが検出し、前記アクセスが所定の時間ない状態の
ときに前記CPUは診断プログラムを実行し、階層化さ
れて接続されている前記入出力装置あるいは前記入出力
制御装置あるいは前記各種インターフェースを上位の階
層の前記入出力装置あるいは前記入出力制御装置あるい
は前記各種インターフェースから下位の階層の前記入出
力装置あるいは前記入出力制御装置あるいは前記各種イ
ンターフェースの順で診断を行い、前記階層化されてい
る前記入出力装置あるいは前記入出力制御装置あるいは
前記各種インターフェースで生じている異常を検出する
構成を備えるようにしたものである。In the hardware diagnosing method according to the eighteenth aspect of the present invention, various data is transmitted and received between a control line of the system bus and an input / output device or input / output control device or various interfaces connected hierarchically. The CPU detects a state in which there is no access for a predetermined time by monitoring the state of, and the CPU executes a diagnostic program when the access is not performed for a predetermined time, and the CPU is connected in a hierarchical manner. The output device, the input / output control device, or the various interfaces from the input / output device, the input / output control device, or the various interfaces in a higher layer to the input / output device, the input / output control device, or the various interfaces in a lower layer The diagnosis is performed in the order of Rui is obtained by so provided an arrangement for detecting an abnormality occurring in the input-output control unit or the various interfaces.
【0030】請求項19記載の発明に係るハードウェア
診断方法は、システムバスに接続する入出力装置あるい
は入出力制御装置あるいは各種インターフェース、階層
化されている入出力装置あるいは入出力制御装置あるい
は各種インターフェースに対しては最上位の入出力装置
あるいは入出力制御装置あるいは各種インターフェース
に対しそれぞれ行う診断の内容と、前記入出力装置ある
いは前記入出力制御装置あるいは前記各種インターフェ
ースそれぞれに対し前記内容に従った診断を行うための
前記入出力装置あるいは前記入出力制御装置あるいは前
記各種インターフェースに共通するコマンドを予め決め
ておき、CPUから前記入出力装置あるいは前記入出力
制御装置あるいは前記各種インターフェースへ与えられ
る前記コマンドにより、前記入出力装置あるいは前記入
出力制御装置あるいは前記各種インターフェースそれぞ
れが前記予め決められた診断の内容に従った自己診断を
診断プログラムにより行い、前記階層化されて接続され
ている前記入出力装置あるいは前記入出力制御装置ある
いは前記各種インターフェースについては、前記最上位
の階層の前記入出力装置あるいは前記入出力制御装置あ
るいは前記各種インターフェースから下位の階層の前記
入出力装置あるいは前記入出力制御装置あるいは前記各
種インターフェースへの順で診断を行う構成を備えたも
のである。A hardware diagnosing method according to a nineteenth aspect of the present invention is an input / output device or an input / output control device or various interfaces connected to a system bus, a hierarchical input / output device, an input / output control device or various interfaces. For the above, the contents of the diagnosis performed for the highest-level I / O device, the I / O control device, or the various interfaces, and the diagnosis according to the above contents for the I / O device, the I / O control device, or the various interfaces, respectively A command common to the input / output device, the input / output control device, or the various interfaces for performing the above is determined in advance, and the command given from the CPU to the input / output device, the input / output control device, or the various interfaces is determined. The input / output device, the input / output control device, or the various interfaces each perform self-diagnosis according to the predetermined diagnostic content by a diagnostic program, and the hierarchically connected input / output device Alternatively, as for the input / output control device or the various interfaces, the input / output device or the input / output control device of the highest layer or the input / output device or the input / output control device of the lower layer from the various interfaces It is equipped with a configuration for performing diagnosis in order to various interfaces.
【0031】請求項20記載の発明に係るハードウェア
診断方法は、入出力装置あるいは入出力制御装置あるい
は各種インターフェース、階層化されている前記入出力
装置あるいは前記入出力制御装置あるいは前記各種イン
ターフェースに対しては最上位の入出力装置あるいは入
出力制御装置あるいは各種インターフェースに対しそれ
ぞれ行う診断の内容と、前記入出力装置あるいは前記入
出力制御装置あるいは前記各種インターフェースに対し
それぞれ前記内容に従った診断を行うための共通するコ
マンドを予め決めておき、CPU、前記入出力装置、前
記入出力制御装置、前記各種インターフェース以外に備
えられたマイクロプロセッサ側でシステムバスの制御線
を監視することで所定の時間アクセスのない状態を検出
したときに前記マイクロプロセッサは診断プログラムを
実行し、前記アクセスがないときに前記入出力装置ある
いは前記入出力制御装置あるいは前記各種インターフェ
ースへ前記マイクロプロセッサが与える前記コマンドに
より、前記入出力装置あるいは前記入出力制御装置ある
いは前記各種インターフェースそれぞれに対する自己診
断を前記予め決められた診断の内容に従って行い、前記
階層化されている前記入出力装置あるいは前記入出力制
御装置あるいは前記各種インターフェースについては、
前記最上位の階層の前記入出力装置あるいは前記入出力
制御装置あるいは前記各種インターフェースから下位の
階層の前記入出力装置あるいは前記入出力制御装置ある
いは前記各種インターフェースへの順で前記診断プログ
ラムによる自己診断を行う構成を備えたものである。According to a twentieth aspect of the present invention, there is provided a hardware diagnosing method for an input / output device, an input / output control device, various interfaces, and the hierarchical input / output device, the input / output control device, or various interfaces. As for the uppermost input / output device, the input / output control device, or various interfaces, the contents of the diagnosis are performed, and the input / output device, the input / output control device, or the various interfaces are diagnosed according to the above contents. A common command for predetermining a predetermined time is used, and the microprocessor, which is provided other than the CPU, the input / output device, the input / output control device, and the various interfaces, monitors the control line of the system bus to access for a predetermined time. When a condition without The microprocessor executes a diagnostic program, and when the microprocessor does not access the input / output device, the input / output control device, or the various interfaces, the microprocessor gives the input / output device or the input / output control device or A self-diagnosis for each of the various interfaces is performed according to the content of the predetermined diagnosis, and the hierarchical input / output device, the input / output control device, or the various interfaces are
A self-diagnosis by the diagnostic program is performed in the order of the input / output device or the input / output control device or the various interfaces of the highest layer to the input / output device, the input / output control device or the various interfaces of the lower layer. It has a configuration for performing.
【0032】請求項21記載の発明に係るハードウェア
診断装置は、システムバスの制御線を監視することでア
クセスが所定の時間ない状態か否かを検出するバス監視
装置と、該バス監視装置で前記アクセスが所定の時間な
い状態が検出されることで前記バス監視装置が生成し出
力した割り込み信号を受け付けたCPUが入出力装置あ
るいは入出力制御装置あるいは各種インターフェースに
対し診断を行うための前記CPU側に設けられた診断プ
ログラムと、該診断プログラムの実行により得られたデ
ータをログデータとして前記バス監視装置で記憶する記
憶手段とを備えたものである。According to a twenty-first aspect of the present invention, there is provided a hardware diagnosing device, which comprises a bus monitoring device for detecting whether or not there is no access for a predetermined time by monitoring a control line of a system bus, and the bus monitoring device. The CPU for accepting an interrupt signal generated and output by the bus monitoring device when a state in which the access is not performed for a predetermined time is detected is used by the CPU to diagnose the input / output device, the input / output control device, or various interfaces. It is provided with a diagnostic program provided on the side, and storage means for storing the data obtained by executing the diagnostic program as log data in the bus monitoring device.
【0033】請求項22記載の発明に係るハードウェア
診断装置は、診断プログラムによる診断開始の最初に、
システムバスの状態からバス監視装置がアクセスがない
ことを検出することで前記バス監視装置から送られてく
る通知により、CPUは前記システムバス上での各種デ
ータの授受がないことを確認し、該確認後に前記開始し
た診断プログラムに従った処理を進める構成を備えるよ
うにしたものである。According to a twenty-second aspect of the present invention, there is provided a hardware diagnosing device, which is provided at the beginning of diagnosing by a diagnosing program.
When the bus monitoring device detects that there is no access from the state of the system bus and the notification sent from the bus monitoring device, the CPU confirms that various data is not transmitted and received on the system bus. After the confirmation, the configuration is such that the processing according to the started diagnostic program is advanced.
【0034】請求項23記載の発明に係るハードウェア
診断装置は、診断プログラムによる診断開始の最初に、
バス監視装置がシステムバスの状態からアクセスがある
ことを検出することで前記バス監視装置から送られてく
る通知により、CPUは前記システムバス上での各種デ
ータの授受があることを確認したときには、前記開始し
た診断プログラムの実行を強制的に終了する構成を備え
たものである。According to a twenty third aspect of the present invention, there is provided a hardware diagnosing apparatus, which is provided at the beginning of diagnosing by a diagnosing program.
When the CPU confirms by the notification sent from the bus monitoring device that the bus monitoring device detects that there is an access from the state of the system bus, the CPU confirms that various data is transmitted and received on the system bus, It is provided with a configuration for forcibly ending the execution of the started diagnostic program.
【0035】請求項24記載の発明に係るハードウェア
診断装置は、入出力装置あるいは入出力制御装置あるい
は各種インターフェースを診断するための診断プログラ
ムと、システムバスの制御線を監視することでアクセス
が所定の時間ない状態を検出する制御線監視部と、前記
制御線監視部が前記システムバスの制御線を監視するこ
とでアクセスが所定の時間ない状態を検出したときに前
記診断プログラムを実行し、前記入出力装置あるいは前
記入出力制御装置あるいは前記各種インターフェースを
診断するマイクロプロセッサとを有したバス監視装置を
備えるように構成したものである。According to a twenty-fourth aspect of the present invention, there is provided a hardware diagnosing device, which has a diagnostic program for diagnosing an input / output device, an input / output control device or various interfaces, and a predetermined access by monitoring a control line of a system bus. And a control line monitoring unit for detecting a state where there is no time, and the control line monitoring unit monitors the control line of the system bus to execute the diagnostic program when detecting a state where there is no access for a predetermined time, A bus monitor having a writing output device, the input / output control device, or a microprocessor for diagnosing the various interfaces is provided.
【0036】請求項25記載の発明に係るハードウェア
診断装置は、診断プログラムを実行することで開始した
診断の最初に、マイクロプロセッサはシステムバスの状
態から再度アクセスがないことを確認し、該確認後に前
記診断を進める構成を備えるようにしたものである。According to the twenty-fifth aspect of the present invention, in the hardware diagnosing device, the microprocessor confirms from the state of the system bus that there is no access again at the beginning of the diagnosis started by executing the diagnostic program. The configuration is provided so as to proceed with the diagnosis later.
【0037】請求項26記載の発明に係るハードウェア
診断装置は、入出力装置あるいは入出力制御装置あるい
は各種インターフェースの診断結果を、バス監視装置へ
保存する構成を備えるようにしたものである。A hardware diagnostic apparatus according to a twenty-sixth aspect of the present invention has a configuration for storing the diagnostic result of the input / output device, the input / output control device or various interfaces in the bus monitoring device.
【0038】請求項27記載の発明に係るハードウェア
診断装置は、システムバスの制御線を監視することでア
クセスが所定の時間ない状態を検出し、該検出結果を基
に割り込み信号を生成し出力するバス監視装置と、入出
力装置あるいは入出力制御装置あるいは各種インターフ
ェースそれぞれに搭載され、自分以外の他の入出力装置
あるいは入出力制御装置あるいは各種インターフェース
を診断するための診断プログラムおよび前記割り込み信
号を受け付けることで前記診断プログラムを実行し、自
分以外の他の入出力装置あるいは入出力制御装置あるい
は各種インターフェースを診断するマイクロプロセッサ
とを備えるように構成したものである。A hardware diagnostic device according to a twenty-seventh aspect of the present invention detects a state in which there is no access for a predetermined time by monitoring the control line of the system bus, and generates and outputs an interrupt signal based on the detection result. Bus monitoring device, and a diagnostic program installed in each of the input / output device, the input / output control device, and the various interfaces for diagnosing other input / output devices, the input / output control device, or the various interfaces other than itself and the interrupt signal. Upon receipt, the diagnostic program is executed, and a microprocessor for diagnosing other input / output devices or input / output control devices or various interfaces other than itself is configured.
【0039】請求項28記載の発明に係るハードウェア
診断装置は、入出力装置あるいは入出力制御装置あるい
は各種インターフェースの間で診断を行う順位を予め優
先順位として決めておくための優先順位決定手段を有
し、該優先順位決定手段により決定されている優先順位
に従って、前記入出力装置あるいは前記入出力制御装置
あるいは前記各種インターフェースのそれぞれに搭載さ
れたマイクロプロセッサが、それぞれの診断プログラム
によりシステムバスを介して自分以外の他の前記入出力
装置あるいは前記入出力制御装置あるいは前記各種イン
ターフェース装置に対し診断を行う構成を備えるように
したものである。A hardware diagnostic device according to a twenty-eighth aspect of the present invention comprises a priority order determining means for predetermining the order of diagnosis among the input / output device, the input / output control device or various interfaces as a priority order. According to the priority order determined by the priority order determining means, a microprocessor mounted on each of the input / output device, the input / output control device, and the various types of interfaces causes a diagnostic program to be transmitted via the system bus. In addition, a configuration for diagnosing the input / output device other than itself, the input / output control device, or the various interface devices is provided.
【0040】請求項29記載の発明に係るハードウェア
診断装置は、入出力装置あるいは入出力制御装置あるい
は各種インターフェースにそれぞれ搭載された、システ
ムバスの制御線を監視することでアクセスが所定の時間
ない状態を検出する制御線監視部と、該制御線監視部の
検出結果を基に割り込み信号を生成し出力し、また自分
以外の他の入出力装置あるいは入出力制御装置あるいは
各種インターフェースから出力された割り込み信号を受
け付けることで前記割り込み信号を出力した前記他の入
出力装置あるいは入出力制御装置あるいは各種インター
フェースに対し診断を行うマイクロプロセッサと、前記
他の入出力装置あるいは入出力制御装置あるいは各種イ
ンターフェースに対し診断を行うための診断プログラム
とを備えるようにしたものである。In the hardware diagnosing apparatus according to the twenty-ninth aspect of the invention, there is no access for a predetermined time by monitoring the control lines of the system bus mounted on the input / output device or the input / output control device or various interfaces. A control line monitoring unit that detects a state, and an interrupt signal that is generated and output based on the detection result of the control line monitoring unit, and that is output from an I / O device other than itself, an I / O control device, or various interfaces. A microprocessor for diagnosing the other input / output device or input / output control device or various interfaces that output the interrupt signal by accepting the interrupt signal, and the other input / output device or input / output control device or various interfaces To be equipped with a diagnostic program for diagnosing Those were.
【0041】請求項30記載の発明に係るハードウェア
診断装置は、制御線監視部がシステムバスの制御線を監
視することでアクセスがない状態を検出する際の所定の
時間を規定する時間データが、診断の対象となる入出力
装置あるいは入出力制御装置あるいは各種インターフェ
ースの診断を受ける優先度の高さに応じて短くした値に
設定される、前記アクセスがない状態を検出する際の前
記所定の時間の経過を検出するためのタイマを、CPU
にシステムバスを介して接続された入出力装置あるいは
入出力制御装置あるいは各種インターフェースがそれぞ
れ備えるように構成したものである。In the hardware diagnosing device according to the thirtieth aspect of the invention, time data defining a predetermined time when the control line monitoring unit monitors the control line of the system bus to detect a state of no access is provided. Set to a value shortened according to the priority of the diagnosis of the input / output device or the input / output control device or various interfaces to be diagnosed, the predetermined value when detecting the non-access state A CPU for detecting the passage of time
And an input / output device, an input / output control device, or various interfaces connected to each other via a system bus.
【0042】[0042]
【発明の実施の形態】以下、この発明の実施の一形態を
説明する。 実施の形態1.図1は、この実施の形態1のハードウェ
ア診断方法を実現するためのハードウェア診断装置の構
成を示すブロック構成図である。図において、1はCP
U(記憶手段)、2はシステムバス、3は入出力装置
(以下、I/Oという)、4はシステムバス2の負荷状
態を監視するためのバス監視装置でありシステムバス2
に接続されている。4aはI/O3に接続する制御線に
所定の時間アクセスがない状態を検出する制御線監視
部、4bは前記所定の時間アクセスがない状態や診断中
あるいは診断が終了した状態であることを示すステータ
ス情報を格納するステータスレジスタ、4cは前記所定
の時間の経過を検出するための前記所定の時間に対応し
たタイムアップ時間情報が設定されたタイマである。な
お、前記所定の時間は夫々のシステムに応じて異なった
値である。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below. Embodiment 1 FIG. FIG. 1 is a block configuration diagram showing a configuration of a hardware diagnostic device for implementing the hardware diagnostic method of the first embodiment. In the figure, 1 is CP
U (storage means), 2 is a system bus, 3 is an input / output device (hereinafter referred to as I / O), 4 is a bus monitoring device for monitoring the load state of the system bus 2,
It is connected to the. Reference numeral 4a denotes a control line monitoring unit that detects a state where the control line connected to the I / O 3 is not accessed for a predetermined time, and 4b indicates that the control line is not accessed for the predetermined time, or is in a state of diagnosis or a state in which diagnosis is completed. The status register 4c for storing status information is a timer in which time-up time information corresponding to the predetermined time for detecting the lapse of the predetermined time is set. The predetermined time has a different value depending on each system.
【0043】次に動作について説明する。バス監視装置
4は、制御線監視部4aでI/O3に接続される制御線
をモニタリングし、あらかじめタイマ4cに設定されて
いる前記タイムアップ時間に相当する所定の時間、シス
テムバス2上でアクセスが発生していない状態を検出す
ると、ステータスレジスタ4bにその状態を示すステー
タス情報を設定し、CPU1に対して割り込みを発行す
る。CPU1は、バス監視装置4からの割り込みを受け
ると診断対象であるI/O3に対して診断プログラムを
発行する。Next, the operation will be described. The bus monitoring device 4 monitors the control line connected to the I / O 3 by the control line monitoring unit 4a, and accesses on the system bus 2 for a predetermined time corresponding to the time-up time preset in the timer 4c. When it detects a state in which is not generated, the status information indicating the state is set in the status register 4b and an interrupt is issued to the CPU 1. When the CPU 1 receives an interrupt from the bus monitoring device 4, the CPU 1 issues a diagnostic program to the I / O 3 which is a diagnostic target.
【0044】この診断プログラムでは、自己診断中のエ
ラーをシステムエラーとして報告しないように、自己診
断中であることを示すフラグを実行開始時に所定のレジ
スタへセットしておき、自己診断が終了すれば解除す
る。また、自己診断中にシステムバス2上でアクセスが
検出された場合には、自己診断を中断し、前記設定され
ている自己診断中であることを示すフラグを解除して通
常のアクセスを優先する。またバス監視装置4は、診断
プログラムが実行されると自己診断中であることを示す
LEDを点滅させ、故障が発生した場合は発生した故障
についてのログデータを残すと共に故障の発生を示すL
EDを点灯させる。In this diagnostic program, a flag indicating that self-diagnosis is in progress is set in a predetermined register at the start of execution so that an error during self-diagnosis is not reported as a system error. To release. Further, when an access is detected on the system bus 2 during the self-diagnosis, the self-diagnosis is interrupted, the set flag indicating that the self-diagnosis is in progress is released, and normal access is given priority. . Further, the bus monitoring device 4 blinks an LED indicating that the self-diagnosis is in progress when the diagnostic program is executed, and when a failure occurs, logs data about the failure that has occurred and L that indicates the occurrence of the failure.
Turn on the ED.
【0045】図2は、上述した一連の処理動作を示すフ
ローチャートである。このフローチャートによれば、バ
ス監視装置4の制御線監視部4aはCPU1とI/O3
とを接続するシステムバス2の制御線をモニタしており
(ステップST1)、所定の時間、システムバス2上で
アクセスが発生しない状態が続くかを監視している(ス
テップST2)。アクセスがない状態が前記所定の時間
続くと、アクセスがない状態であることを示すステータ
ス情報をステータスレジスタ4bへ設定し(ステップS
T3)、CPU1へ割り込み信号を発行する(ステップ
ST4)。CPU1は、バス監視装置4の発行した割り
込み信号を受信する(ステップST5)と、診断中であ
ることを示すフラグを所定のレジスタにセットし(ステ
ップST6)、I/O3を診断する診断プログラムを起
動させる(ステップST7)。この診断プログラムで
は、先ずシステムバス2上で他のアクセスが発生してい
ないかを判断する(ステップST8)。この判断は、シ
ステムバス2上でアクセスが発生したときにバス監視装
置4から送られてくる通知を基に行われ、アクセスが発
生したと判断したときには、前記ステップST7で起動
した診断プログラムを強制的に終了させる(ステップS
T19)。そして、前記ステップST6でセットした診
断中であることを示すフラグを解除する(ステップST
16)。FIG. 2 is a flowchart showing the series of processing operations described above. According to this flowchart, the control line monitoring unit 4a of the bus monitoring device 4 is connected to the CPU 1 and the I / O 3
The control line of the system bus 2 which connects to and is monitored (step ST1), and it is monitored whether a state in which no access occurs on the system bus 2 continues for a predetermined time (step ST2). When the state of no access continues for the predetermined time, status information indicating that there is no access is set in the status register 4b (step S
T3), an interrupt signal is issued to the CPU 1 (step ST4). Upon receiving the interrupt signal issued by the bus monitoring device 4 (step ST5), the CPU 1 sets a flag indicating that diagnosis is in progress in a predetermined register (step ST6), and executes a diagnostic program for diagnosing I / O3. It is activated (step ST7). In this diagnostic program, first, it is determined whether or not another access has occurred on the system bus 2 (step ST8). This judgment is made based on the notification sent from the bus monitoring device 4 when an access occurs on the system bus 2, and when it is judged that an access has occurred, the diagnostic program started in step ST7 is forced. End (step S
T19). Then, the flag which is set in step ST6 and indicates that the diagnosis is in progress is released (step ST
16).
【0046】一方、制御線をモニタしているバス監視装
置4の制御線監視部4aは、システムバス2上で発生し
たアクセスを検出して、アクセス中であることを示すス
テータス情報をステータスレジスタ4bへ設定し(ステ
ップST17)、ログデータをメモリへ書き込む(ステ
ップST18)。このメモリは図示していないがステー
タスレジスタ4bなどが設定されているメモリの所定の
領域である。On the other hand, the control line monitoring unit 4a of the bus monitoring device 4 which monitors the control line detects the access that has occurred on the system bus 2 and outputs status information indicating that the access is in progress to the status register 4b. Is set (step ST17), and the log data is written in the memory (step ST18). Although not shown, this memory is a predetermined area of the memory in which the status register 4b and the like are set.
【0047】一方、ステップST8において、CPU1
はシステムバス2に対するアクセスが発生していないと
判断したときには、前記ステップST7で起動した診断
プログラムを実行し、所定の手順でI/O3にエラーが
発生するかしないかを判断する(ステップST9)。エ
ラーが発生しないときには、正常と判断して診断プログ
ラムを終了させ(ステップST15)、前記ステップS
T16からステップST18までの処理を実行する。On the other hand, in step ST8, the CPU 1
When it is determined that the system bus 2 is not accessed, the diagnostic program started in step ST7 is executed to determine whether an error occurs in the I / O 3 according to a predetermined procedure (step ST9). . If no error occurs, the diagnostic program is judged to be normal and the diagnostic program is terminated (step ST15), and the step S
The processing from T16 to step ST18 is executed.
【0048】また、ステップST9においてI/O3に
エラーが発生したとCPU1が判断したときには実行中
の診断プログラムを強制的に終了させて、今度はCPU
1からバス監視装置4へ割り込みを発行し(ステップS
T11)、CPU1は前記ステップST6でセットした
診断中であることを示すフラグを解除する(ステップS
T12)。When the CPU 1 determines that an error has occurred in the I / O 3 in step ST9, the running diagnostic program is forcibly terminated and this time the CPU
1 issues an interrupt to the bus monitoring device 4 (step S
(T11), the CPU 1 cancels the flag set in step ST6, which indicates that the diagnosis is in progress (step S).
T12).
【0049】一方、バス監視装置4は、CPU1から割
り込みが発行されたことを検出すると、ステータスレジ
スタ4bに診断が終了している状態にあることを示すス
テータス情報を設定し(ステップST13)、さらにエ
ラーログデータの書き込みを前記メモリに対し行う(ス
テップST14)。On the other hand, when the bus monitor 4 detects that the CPU 1 has issued an interrupt, it sets the status information indicating that the diagnosis is completed in the status register 4b (step ST13). The error log data is written to the memory (step ST14).
【0050】以上のように、この実施の形態1によれ
ば、システムバス2上で発生したアクセスを監視するバ
ス監視装置4を備えることにより、前記アクセスの監視
に際してCPUへ負担をかけることなくシステムバス2
上で所定の期間アクセスがないことを検出し、この検出
結果を基に自動的に診断プログラムが実行されるように
構成したので、I/O3に発生した故障による影響が他
に及ぶ前にI/O3の故障を診断して発見し、前記故障
の影響が計算機システム全体に及ぶのを未然に防止する
ことができる効果がある。As described above, according to the first embodiment, by providing the bus monitoring device 4 for monitoring the access that has occurred on the system bus 2, the system can be monitored without burdening the CPU when monitoring the access. Bus 2
The above configuration detects that there is no access for a predetermined period of time and automatically executes the diagnostic program based on the detection result. There is an effect that the failure of / O3 can be diagnosed and detected, and the influence of the failure can be prevented from affecting the entire computer system.
【0051】実施の形態2.図3は、この実施の形態2
のハードウェア診断方法を実現するハードウェア診断装
置の構成を示すブロック構成図である。図3において図
1と同一または相当の部分については同一の符号を付し
説明を省略する。図において5および6はシステムバス
2に接続された同種あるいは異種の入出力装置(以下、
I/Oという)、5aはI/O5に搭載されているマイ
クロプロセッサ(優先順位決定手段)である。5bはI
/O5に搭載されているROMであり、自分以外の他の
I/Oに対する診断プログラムが格納されている。6a
はI/O6に搭載されているマイクロプロセッサ(優先
順位決定手段)である。6bはI/O6に搭載されてい
るROMであり、自分以外の他のI/Oに対する診断プ
ログラムが格納されている。Embodiment 2 FIG. 3 shows the second embodiment.
FIG. 3 is a block configuration diagram showing a configuration of a hardware diagnostic device that implements the hardware diagnostic method of FIG. 3, parts that are the same as or correspond to those in FIG. 1 are assigned the same reference numerals and explanations thereof are omitted. In the figure, 5 and 6 are input / output devices of the same type or different types connected to the system bus 2 (hereinafter,
Reference numeral 5a denotes a microprocessor (priority order determining means) mounted on the I / O 5. 5b is I
This is a ROM mounted on the I / O 5 and stores diagnostic programs for I / O other than itself. 6a
Is a microprocessor (priority order determination means) mounted on the I / O 6. A ROM 6b is mounted on the I / O 6, and stores a diagnostic program for other I / Os other than itself.
【0052】次に、動作について説明する。この実施の
形態のハードウェア診断方法では、バス監視装置4は制
御線をモニタリングしており、あらかじめタイマ4cに
設定しておいたタイムアップ時間に相当する所定の時
間、システムバス2に対するアクセスがないときにはス
テータスレジスタ4bへアクセスがないことを示すステ
ータス情報を設定し、さらにI/O5およびI/O6に
割り込みを発行する。I/O5とI/O6との間にはバ
ス監視装置4が発行した割り込みに対する優先順位付け
が行われており、この実施の形態では、I/O5の方が
I/O6に比べて優先順位が高い。従ってI/O5がバ
ス監視装置4の発行した割り込みを受信すると、I/O
5はROM5bに格納されている診断プログラムを実行
しI/O6の診断を行う。I/O6の診断が終了する
と、I/O6はI/O5による診断が終了したことを知
り、今度は逆にI/O6からI/O5に対してROM6
bに格納されている診断プログラムを使用して実行す
る。Next, the operation will be described. In the hardware diagnosing method of this embodiment, the bus monitoring device 4 monitors the control line, and there is no access to the system bus 2 for a predetermined time corresponding to the time-up time preset in the timer 4c. Sometimes status information indicating that there is no access to the status register 4b is set, and an interrupt is issued to I / O5 and I / O6. Interrupts issued by the bus monitoring device 4 are prioritized between I / O5 and I / O6. In this embodiment, I / O5 has a higher priority than I / O6. Is high. Therefore, when the I / O 5 receives the interrupt issued by the bus monitoring device 4, the I / O 5
Reference numeral 5 executes a diagnostic program stored in the ROM 5b to diagnose I / O6. When the diagnosis of I / O6 is completed, the I / O6 knows that the diagnosis by I / O5 is completed, and conversely, from the I / O6 to the ROM6 for I / O5.
Run using the diagnostic program stored in b.
【0053】また、前記実施の形態1と同様に、この診
断プログラムでも自己診断中のエラーをシステムエラー
として報告しないように、自己診断中であることを示す
フラグを診断を行っているI/Oのマイクロプロセッサ
の所定のレジスタへ実行開始時にセットしておき、自己
診断が終了すれば解除する。また、自己診断中にシステ
ムバス上でアクセスが発生した場合には、これをバス監
視装置4が診断を行っているI/Oへ通知し、通知を受
けたI/Oは診断プログラムの実行を中断し、前記セッ
トしたフラグを解除して通常のアクセスを優先する。ま
た、バス監視装置4は診断プログラムが実行されている
ことを示すLEDを点滅させ、発生した故障についての
エラーログデータを残すと共に故障発生を示すLEDを
点灯させる。As in the case of the first embodiment, the I / O which is diagnosing the flag indicating that the self-diagnosis is underway is also performed by this diagnostic program so that the error under self-diagnosis is not reported as a system error. It is set in a predetermined register of the microprocessor when the execution is started, and is released when the self-diagnosis is completed. Further, when an access occurs on the system bus during the self-diagnosis, the bus monitoring device 4 notifies the I / O which is performing the diagnosis, and the I / O which has received the notification executes the diagnostic program. The operation is suspended, the set flag is released, and normal access is given priority. In addition, the bus monitoring device 4 blinks an LED indicating that the diagnostic program is being executed, leaves error log data regarding the occurred fault, and turns on the LED indicating the fault occurrence.
【0054】図4は、上述した一連の処理動作を示すフ
ローチャートである。このフローチャートによれば、バ
ス監視装置4の制御線監視部4aはI/O5,6と接続
するシステムバス2の制御線を監視し(ステップST2
1)、前記所定の時間アクセスがない状態にあるかない
かを判断しており(ステップST22)、前記所定の時
間アクセスがない状態にあると判断したときには、アク
セスがない状態にあることを示すステータス情報をステ
ータスレジスタ4bへ設定し(ステップST23)、I
/O5,6に対し割り込みを発行する(ステップST2
4)。FIG. 4 is a flowchart showing the series of processing operations described above. According to this flowchart, the control line monitoring unit 4a of the bus monitoring device 4 monitors the control line of the system bus 2 connected to the I / Os 5 and 6 (step ST2).
1) It is determined whether or not there is no access for the predetermined time (step ST22), and when it is determined that there is no access for the predetermined time, a status indicating that there is no access. Information is set in the status register 4b (step ST23), and I
Issue an interrupt to / O5,6 (step ST2
4).
【0055】このバス監視装置4の制御線監視部4aか
ら発行された割り込みを検出したI/O5は(ステップ
ST25)、診断中であることを示すフラグをマイクロ
プロセッサ5aの所定のレジスタへセットし(ステップ
ST26)、ROM5bに予め格納されているI/O6
を診断するための診断プログラムを実行し、I/O6の
診断を開始する(ステップST27)。この診断プログ
ラムでは、先ずI/O5,6に接続するシステムバス2
上でアクセスが発生していない状態であるか否かを判断
し(ステップST28)、アクセスがあれば前記ステッ
プST27で開始した診断プログラムの実行を強制的に
終了させる(ステップST39)。そして、前記ステッ
プST26においてセットした診断中であることを示す
フラグを解除する(ステップST40)。The I / O 5 which has detected the interrupt issued from the control line monitoring unit 4a of the bus monitoring device 4 (step ST25) sets a flag indicating that diagnosis is in progress in a predetermined register of the microprocessor 5a. (Step ST26), I / O6 stored in advance in the ROM 5b
The diagnostic program for diagnosing is executed and the diagnosis of I / O6 is started (step ST27). In this diagnostic program, first, the system bus 2 connected to the I / Os 5 and 6 is connected.
It is determined whether or not the access has occurred above (step ST28), and if there is access, the execution of the diagnostic program started in step ST27 is forcibly ended (step ST39). Then, the flag indicating that the diagnosis is in progress, which is set in step ST26, is canceled (step ST40).
【0056】一方、バス監視装置4はステータスレジス
タ4bへシステムバス2上でアクセスが発生した状態に
あることを示すステータス情報を設定し(ステップST
41)、診断を強制終了した過程でのログデータをメモ
リへ書き込む(ステップST42)。このメモリは図示
していないがステータスレジスタ4bが設定されている
メモリの所定の領域である。On the other hand, the bus monitoring device 4 sets status information indicating that an access has occurred on the system bus 2 in the status register 4b (step ST
41), the log data in the process of forcibly ending the diagnosis is written in the memory (step ST42). Although not shown, this memory is a predetermined area of the memory in which the status register 4b is set.
【0057】一方、ステップST28において前記制御
線へのアクセスがない状態であると判断したときには、
前記ステップST27において開始したI/O6の診断
を続行し前記診断プログラムに従って所定の手順でエラ
ーが発生するかしないかを判定する(ステップST2
9)。エラーが発生しないと判断したときにはI/O6
は正常に動作すると判断して診断を終了する(ステップ
ST35)。そして、前記ステップST26においてセ
ットした診断中であることを示すフラグを解除し(ステ
ップST36)、I/O6に対し割り込みを発行して
(ステップST37)、前記終了させた診断についての
ログデータを前記メモリへ書き込む(ステップST3
8)。On the other hand, when it is determined in step ST28 that the control line is not accessed,
The diagnosis of I / O6 started in step ST27 is continued, and it is determined according to the diagnostic program whether or not an error occurs in a predetermined procedure (step ST2).
9). When it is determined that no error occurs, I / O6
Determines that it operates normally and ends the diagnosis (step ST35). Then, the flag indicating that the diagnosis is in progress, which is set in step ST26, is released (step ST36), an interrupt is issued to the I / O6 (step ST37), and the log data for the terminated diagnosis is written in the Write to memory (step ST3
8).
【0058】また、I/O5からステップST37にお
いて発行された割り込みを受信したI/O6は(ステッ
プST25)、自分に対する診断が終了したことを知
り、ステップST26以降の処理を行い、今度はI/O
5あるいは他のI/Oの診断を行う。Further, the I / O 6 which has received the interrupt issued from the I / O 5 in step ST37 (step ST25), knows that the diagnosis for itself has been completed, and performs the processing of step ST26 and subsequent steps. O
5 or other I / O diagnosis.
【0059】また、ステップST29においてエラーが
発生したとI/O5が判断したときには、I/O5は実
行中の診断プログラムを強制的に終了させ(ステップS
T30)、I/O5はバス監視装置4へ割り込みを発行
し(ステップST31)、ステップST26でセットし
た診断中であることを示すフラグを解除する(ステップ
ST32)。When the I / O 5 determines in step ST29 that an error has occurred, the I / O 5 forcibly terminates the running diagnostic program (step S29).
T30), the I / O 5 issues an interrupt to the bus monitoring device 4 (step ST31), and cancels the flag set in step ST26 indicating that the diagnosis is in progress (step ST32).
【0060】ステップST31でI/O5から発行され
た割り込みを受信したバス監視装置4は、ステータスレ
ジスタ4bへ診断が強制的に終了している状態にあるこ
とを示すステータス情報を設定し(ステップST3
3)、さらにエラーログデータの書き込みを前記メモリ
に対し行う(ステップST34)。The bus monitoring device 4, which has received the interrupt issued from the I / O 5 in step ST31, sets status information indicating that the diagnosis is forcibly completed in the status register 4b (step ST3).
3) Further, the error log data is written to the memory (step ST34).
【0061】以上のように、この実施の形態2によれば
システムバス2上の制御線を監視することでアクセスが
所定の時間ない状態を検出するバス監視装置と、各I/
Oにマイクロプロセッサと他のI/Oを診断するための
診断プログラムを格納したROMとを搭載し、アクセス
がないときに自動的に各I/Oが他のI/Oに対し診断
を実行するように構成したので、I/O間での診断をC
PU1に負担をかけることなく行うことができる効果が
ある。As described above, according to the second embodiment, the bus monitoring device for detecting the state where there is no access for a predetermined time by monitoring the control line on the system bus 2 and each I / O.
A microprocessor and a ROM storing a diagnostic program for diagnosing other I / Os are mounted on the O, and each I / O automatically executes the diagnosis for the other I / Os when there is no access. Since it is configured like this, the diagnosis between I / O is C
There is an effect that it can be performed without burdening the PU1.
【0062】実施の形態3.図5は、この実施の形態3
のハードウェア診断方法を実現するハードウェア診断装
置の構成を示すブロック構成図である。図5において図
1と同一または相当の部分については同一の符号を付し
説明を省略する。この実施の形態では、前記実施の形態
1および実施の形態2において示したバス監視装置の機
能を各I/Oに備えるように構成する。図において、7
と9は入出力装置(以下、I/Oという)であり、説明
上2つのI/O7,9のみを示しているが他に複数あっ
てもよい。7aはI/O7に搭載されたマイクロプロセ
ッサ(優先順位決定手段)、7bは他のI/O、この場
合はI/O9を診断するための診断プログラムを格納し
たROM、8はI/O7に設けられたバス監視装置であ
り、システムバス2の制御線を監視することでアクセス
が所定の時間ない状態を検出する制御線監視部(アクセ
ス監視手段)8aとステータスレジスタ8bと、前記所
定の時間の経過を検出するための前記所定の時間に相当
するタイムアップ時間情報が設定されたタイマ8cとを
備えている。Embodiment 3 FIG. 5 shows the third embodiment.
FIG. 3 is a block configuration diagram showing a configuration of a hardware diagnostic device that implements the hardware diagnostic method of FIG. 5, parts that are the same as or correspond to those in FIG. 1 are assigned the same reference numerals and explanations thereof are omitted. In this embodiment, each I / O is configured to have the function of the bus monitoring device shown in the first and second embodiments. In the figure, 7
And 9 are input / output devices (hereinafter referred to as I / Os), and only two I / Os 7 and 9 are shown for the sake of explanation, but there may be a plurality of other devices. Reference numeral 7a denotes a microprocessor (priority determining means) mounted on the I / O 7, 7b denotes another I / O, in this case, a ROM storing a diagnostic program for diagnosing the I / O 9, and 8 denotes the I / O 7. A control line monitoring unit (access monitoring means) 8a, a status register 8b, which is a provided bus monitoring device and detects a state in which no access is made for a predetermined time by monitoring the control line of the system bus 2 and the predetermined time. And a timer 8c in which time-up time information corresponding to the predetermined time for detecting the elapse of is set.
【0063】9aはI/O9に搭載されたマイクロプロ
セッサ(優先順位決定手段)、9bは他のI/O、この
場合はI/O7を診断するための診断プログラムを格納
したROM、10はI/O9に設けられたバス監視装置
であり、システムバス2の制御線を監視し所定の時間ア
クセスがない状態を検出する制御線監視部(アクセス監
視手段)10aとステータスレジスタ10bと、前記所
定の時間の経過を検出するための前記所定の時間に相当
するタイムアップ時間情報が設定されたタイマ10cと
を備えている。なお、前記所定の時間に対応したタイム
アップ時間情報は夫々のシステムに応じて異なった値で
あると共に、診断を行うI/Oの優先度に応じて異なっ
ている。つまり優先度の高いI/Oのタイマに設定され
ているタイムアップ時間情報は優先度の低いI/Oのタ
イマに設定されているタイムアップ時間情報に比べて短
く設定されており、優先度の高いI/Oほど短い。この
結果、I/O7がI/O9よりも優先度が高い場合に制
御線へのアクセスがない状態がI/O7のタイマ8cが
タイムアップする時間以上続くと、優先度の高いI/O
7から先に割り込みが発行され、この割り込みを受け付
けたI/O9からI/O7に対する診断が優先して行わ
れる。Reference numeral 9a denotes a microprocessor (priority determining means) mounted on the I / O 9, 9b denotes another I / O, in this case, a ROM storing a diagnostic program for diagnosing the I / O 7, and 10 denotes an I / O. / O9 is a bus monitoring device, which monitors a control line of the system bus 2 and detects a state in which there is no access for a predetermined time, an access monitoring unit 10a, a status register 10b, and the predetermined The timer 10c is provided with time-up time information corresponding to the predetermined time for detecting the passage of time. The time-up time information corresponding to the predetermined time has different values depending on the respective systems, and also differs according to the priority of I / O to be diagnosed. That is, the time-up time information set in the high-priority I / O timer is set shorter than the time-up time information set in the low-priority I / O timer. The higher the I / O, the shorter. As a result, if the I / O 7 has a higher priority than the I / O 9 and the control line is not accessed for more than the time when the timer 8c of the I / O 7 times up, the I / O having the higher priority is
An interrupt is issued from 7 first, and the diagnosis for I / O 9 to I / O 7 that has accepted this interrupt is given priority.
【0064】次に、動作について説明する。I/O7お
よびI/O9の制御線監視部8a,10aはシステムバ
ス2の制御線をモニタリングしている。そして、あらか
じめシステムに応じて設定されている所定の時間、各タ
イマ毎にそのI/Oの優先度に応じて設定されている制
御線へのアクセスがない状態が持続する時間を規定する
タイムアップ時間、制御線に対するアクセスがない状態
が続くと、各I/O7,9のステータスレジスタ8b,
10bにはアクセスがない状態を示すステータス情報が
設定され、I/O7,9はそれぞれ割り込みを発行する
ことになるが、タイマ8c,10cには、自I/Oの優
先度に応じたタイムアップ時間があらかじめ設定されて
おり、この場合I/O7の診断をI/O9の診断に対し
優先させるタイムアップ時間が各タイマ8c,10cに
設定されているため、I/O7はI/O9より先に割り
込みを発行することになり、このI/O7が発行した割
り込みを受け付けたI/O9によりI/O7が優先して
診断されることになる。Next, the operation will be described. The I / O 7 and I / O 9 control line monitoring units 8 a and 10 a monitor the control lines of the system bus 2. Then, a time-up that defines a predetermined time set according to the system in advance and a time during which a state in which there is no access to the control line set according to the priority of the I / O for each timer lasts If there is no access to the control line for time, the status register 8b of each I / O 7, 9
Status information indicating that there is no access is set in 10b, and the I / Os 7 and 9 issue interrupts respectively, but the timers 8c and 10c are timed up according to the priority of their own I / O. The time is set in advance, and in this case, the time-up time for prioritizing the diagnosis of I / O7 over the diagnosis of I / O9 is set in each timer 8c, 10c, so that I / O7 precedes I / O9. The interrupt is issued to the I / O7, and the I / O7 that has accepted the interrupt issued by the I / O7 is given priority to diagnose the I / O7.
【0065】図6は、上述した一連の動作を示すフロー
チャートであり、以下このフローチャートに従って動作
を説明する。このフローチャートによれば、各I/O
7,9のバス監視装置8,10の制御線監視部8a,1
0aはI/O7,9と接続するシステムバス2の制御線
をそれぞれ監視しており(ステップST51)、自I/
Oのタイマに設定されているタイムアップ時間を基に前
記所定の時間アクセスがない状態にあるかないか判断し
ている(ステップST52)。アクセスがない状態が一
定の時間持続すると、I/O7の診断をI/O9に優先
させるタイムアップ時間情報が各タイマ8c,10cに
それぞれ設定されているため、前記アクセスがない状態
がタイマ8cのタイムアップする時間を越えた時点でI
/O7からI/O9へ割り込みが発行される(ステップ
ST53)。FIG. 6 is a flow chart showing the series of operations described above, and the operation will be described below with reference to this flow chart. According to this flowchart, each I / O
7 and 9 bus monitoring devices 8 and 10 control line monitoring units 8a and 1
0a monitors the control lines of the system bus 2 connected to the I / Os 7 and 9 (step ST51), and detects its own I / O.
Based on the time-up time set in the O timer, it is judged whether or not there is no access for the predetermined time (step ST52). When the state without access continues for a certain time, the time-up time information for prioritizing diagnosis of I / O7 over I / O9 is set in each of the timers 8c and 10c. I when the time to time up is exceeded
An interrupt is issued from / O7 to I / O9 (step ST53).
【0066】そして、このI/O7が発行した割り込み
はI/O9により受け付けられ(ステップST54)、
I/O9はアクセスがない状態を示すステータス情報を
ステータスレジスタ10bへ設定し(ステップST5
5)、さらに診断中であることを示すフラグを所定のレ
ジスタへセットし(ステップST56)、ROM9bに
予め格納されている診断プログラムを実行し、I/O7
の診断を開始する(ステップST57)。The interrupt issued by this I / O7 is accepted by the I / O9 (step ST54),
The I / O 9 sets status information indicating that there is no access in the status register 10b (step ST5
5) Further, a flag indicating that the diagnosis is in progress is set in a predetermined register (step ST56), the diagnosis program previously stored in the ROM 9b is executed, and the I / O 7
The diagnosis is started (step ST57).
【0067】この診断プログラムでは、先ずI/O7,
9に接続するシステムバス2上で他のアクセスが発生し
ていない状態であるか否か、つまりアクセスのない状態
がこの時点でも続いているか判断し(ステップST5
8)、アクセスがあれば前記ステップST57で開始し
た診断プログラムの実行を強制的に終了させる(ステッ
プST65)。そして、前記ステップST55において
ステータスレジスタ10bへ設定したステータス情報を
アクセスがある状態を示すステータス情報へ設定し直し
(ステップST66)、さらに前記ステップST56に
おいてセットしたフラグを解除し(ステップST6
7)、診断を強制的に終了した過程のログデータをメモ
リへ書き込み(ステップST68)、処理を終了する。
なお、この場合のメモリは図示していないが、ステータ
スレジスタ10bが設定されるメモリの所定の領域であ
る。In this diagnostic program, I / O7,
It is determined whether or not another access has occurred on the system bus 2 connected to the CPU 9, that is, whether or not the state of no access continues at this point (step ST5).
8) If there is an access, the execution of the diagnostic program started in step ST57 is forcibly ended (step ST65). Then, the status information set in the status register 10b in the step ST55 is reset to the status information indicating the accessed state (step ST66), and the flag set in the step ST56 is released (step ST6).
7) The log data in the process of forcibly ending the diagnosis is written in the memory (step ST68), and the process ends.
Although not shown, the memory in this case is a predetermined area of the memory in which the status register 10b is set.
【0068】一方、ステップST58においてアクセス
がない状態が続いていると判断したときには、前記ステ
ップST57において開始したI/O7の診断を続行し
前記診断プログラムに従って所定の手順でエラーが発生
するかしないかを判定する(ステップST59)。エラ
ーが発生しないと判断したときにはI/O7は正常に動
作すると判断して診断を終了する(ステップST6
0)。そして、前記ステップST55においてステータ
スレジスタ10bへ設定したステータス情報を診断が正
常に終了したことなどを示すステータス情報へ設定し直
し(ステップST61)、さらに前記ステップST56
においてセットした診断中であることを示すフラグを解
除し(ステップST62)、他のI/OつまりI/O7
に対し割り込みを発行すると共に(ステップST6
3)、前記終了させた診断についてのログデータを前記
メモリへ書き込む(ステップST64)。この場合、ス
テップST63でI/O7に対し割り込みを発行するの
ではなく、I/O7以外の他のI/Oへ割り込みを発行
することにしてもよい。On the other hand, if it is determined in step ST58 that there is no access, the diagnosis of the I / O7 started in step ST57 is continued and an error occurs in a predetermined procedure according to the diagnostic program. Is determined (step ST59). When it is determined that no error occurs, the I / O 7 is determined to operate normally and the diagnosis ends (step ST6).
0). Then, the status information set in the status register 10b in the step ST55 is reset to the status information indicating that the diagnosis is normally completed (step ST61), and further the step ST56.
The flag indicating that the diagnosis is in progress is set (step ST62), and another I / O, that is, I / O7.
An interrupt is issued to (step ST6
3), The log data regarding the terminated diagnosis is written in the memory (step ST64). In this case, instead of issuing an interrupt to the I / O 7 in step ST63, an interrupt may be issued to another I / O other than the I / O 7.
【0069】また、ステップST59においてエラーが
発生したと判断したときには、実行中の診断プログラム
を強制的に終了させ(ステップST70)、ステップS
T56でセットした診断中であることを示すフラグを解
除し(ステップST71)、他のI/OつまりI/O7
に対し割り込みを発行する(ステップST72)。When it is determined in step ST59 that an error has occurred, the running diagnostic program is forcibly terminated (step ST70), and step S70 is executed.
The flag set in T56 indicating that the diagnosis is in progress is canceled (step ST71), and another I / O, that is, I / O7.
An interrupt is issued to (step ST72).
【0070】I/O7ではI/O9が発行した割り込み
を基に、ステータスレジスタ8bへエラーが発生したこ
とを示すステータス情報を設定し(ステップST7
3)、さらにエラーログデータの書き込みをバス監視装
置8のステータスレジスタ8bが設定されている図示し
ていないメモリの所定の領域へ行い(ステップST7
4)、処理を終了する。In the I / O7, status information indicating that an error has occurred is set in the status register 8b based on the interrupt issued by the I / O9 (step ST7).
3) Further, the error log data is written to a predetermined area of a memory (not shown) in which the status register 8b of the bus monitoring device 8 is set (step ST7).
4), end the process.
【0071】なお、I/O7は、ステップST63でI
/O9が発行する割り込みを受信したときには(ステッ
プST54)、自I/Oについて正常であるとの診断結
果が得られた場合であるからステータスレジスタ8bへ
制御線へのアクセスがない状態や正常であるとの診断結
果が得られたことを示すステータス情報を設定し(ステ
ップST55)、さらに診断中であることを示すフラグ
を所定のレジスタへセットし(ステップST56)、今
度はI/O7からI/O9に対する診断を開始し(ステ
ップST57)、ステップST58以降の処理を実行す
る。The I / O 7 is I in step ST63.
When the interrupt issued by the I / O 9 is received (step ST54), the diagnosis result indicating that the own I / O is normal is obtained. Therefore, the status register 8b is not accessed or is normal. The status information indicating that the diagnosis result is obtained is set (step ST55), and the flag indicating that the diagnosis is being performed is set in a predetermined register (step ST56). This time, I / O7 to I The diagnosis for / O9 is started (step ST57), and the processes after step ST58 are executed.
【0072】以上のように、この実施の形態3によれば
各I/Oにシステムバス2の制御線を監視することでア
クセスが所定の時間ないことを検出するバス監視機能を
備え、さらに各I/O毎に他のI/Oとの間での優先順
位を予め決めておき、各I/Oが相手のI/Oに対し診
断を行う構成にしたので、診断を行う際のCPU1の負
担が軽減され、さらに各I/Oの優先順位は各I/Oの
タイマに設定したタイムアップ時間情報を基に決定され
るのでハードウェア的に決定される場合に比べて診断シ
ステムとしての自由度が向上する効果がある。As described above, according to the third embodiment, each I / O is provided with the bus monitoring function for detecting the absence of access for a predetermined time by monitoring the control line of the system bus 2, and further Since the priority order with respect to other I / Os is determined in advance for each I / O and each I / O is configured to diagnose the other I / O, the CPU 1 at the time of performing the diagnosis The burden is reduced, and the priority of each I / O is determined based on the time-up time information set in the timer of each I / O, so it is more flexible as a diagnostic system than when determined by hardware. There is an effect that the degree is improved.
【0073】実施の形態4.図7は、この実施の形態4
のハードウェア診断方法の構成を示すブロック構成図で
ある。図7において図1と同一または相当の部分につい
ては同一の符号を付し説明を省略する。この実施の形態
では、前記実施の形態1において示したバス監視装置に
マイクロプロセッサと診断プログラムを格納したROM
とを設ける。図において、12はバス監視装置、12a
はシステムバス2の制御線を監視し、アクセスが所定の
時間ない状態を検出する制御線監視部(アクセス監視手
段)、12bはステータス情報を格納するステータスレ
ジスタ、12cは前記所定の時間の経過を検出するため
の前記所定の時間に相当するタイムアップ時間情報が設
定されたタイマ、12dは前記マイクロプロセッサ(優
先順位決定手段)、12eは診断プログラムを格納した
前記ROMである。なお、前記所定の時間は夫々のシス
テムに応じて異なった値である。Embodiment 4 FIG. 7 shows the fourth embodiment.
FIG. 3 is a block configuration diagram showing the configuration of the hardware diagnosis method of FIG. 7, parts that are the same as or correspond to those in FIG. 1 are assigned the same reference numerals and explanations thereof are omitted. In this embodiment, a ROM which stores a microprocessor and a diagnostic program in the bus monitoring device shown in the first embodiment
Are provided. In the figure, 12 is a bus monitoring device, 12a
Is a control line monitoring unit (access monitoring means) for monitoring the control line of the system bus 2 and detecting a state in which there is no access for a predetermined time, 12b is a status register for storing status information, and 12c is for the lapse of the predetermined time. A timer in which time-up time information corresponding to the predetermined time for detection is set, 12d is the microprocessor (priority order determining means), and 12e is the ROM storing a diagnostic program. The predetermined time has a different value depending on each system.
【0074】次に、動作について説明する。制御線監視
部12aでは、I/O3に接続するシステムバス2の制
御線をモニタリングしており、前記所定の時間、アクセ
スがない状態を検出すると、ROM12eに格納してあ
る診断プログラムを起動し、バス監視装置12によるI
/O3の診断を行う。この実施の形態の診断プログラム
においても自己診断中のエラーをシステムエラーとして
報告しないように、自己診断中であることを示すフラグ
を実行開始時に所定のレジスタへセットしておき、自己
診断が終了すれば解除する。また、自己診断中に他の何
らかのアクセスがシステムバス2上で発生した場合には
診断プログラムの実行を中断し、前記フラグを解除して
通常のアクセスを優先する。バス監視装置12は、ま
た、診断プログラムが実行されると自己診断中であるこ
とを示すLEDを点滅させ、故障が発生した場合はエラ
ーログを残すと共にI/O3の故障発生を示すLEDを
点灯させる。Next, the operation will be described. The control line monitoring unit 12a monitors the control line of the system bus 2 connected to the I / O 3, and when it detects that there is no access for the predetermined time, it activates a diagnostic program stored in the ROM 12e, I by the bus monitoring device 12
/ O3 is diagnosed. Also in the diagnostic program of this embodiment, a flag indicating that self-diagnosis is being performed is set in a predetermined register at the start of execution so that an error during self-diagnosis is not reported as a system error, and the self-diagnosis ends. Release it. If some other access occurs on the system bus 2 during the self-diagnosis, the execution of the diagnostic program is suspended, the flag is released, and normal access is given priority. When the diagnostic program is executed, the bus monitoring device 12 also blinks the LED indicating that the self-diagnosis is in progress, and when a failure occurs, an error log is left and the LED indicating the failure occurrence of the I / O3 is turned on. Let
【0075】図8は、上述した一連の動作を示すフロー
チャートであり、以下このフローチャートに従って動作
を説明する。このフローチャートによれば、バス監視装
置12の制御線監視部12aはI/O3に接続する制御
線をモニタしており(ステップST81)、所定の時
間、アクセスがない状態が続くか監視している(ステッ
プST82)。アクセスがない状態が前記所定の時間続
くと、ステータスレジスタ12bへ前記所定の時間アク
セスがない状態であることを示すステータス情報を設定
し(ステップST83)、さらに診断中であることを示
すフラグを所定のレジスタにセットし(ステップST8
4)、I/O3を診断する診断プログラムを起動させる
(ステップST85)。この診断プログラムでは、先ず
CPU1とI/O3とを接続するシステムバス2上に他
のアクセスが発生していないかを判断する(ステップS
T86)。アクセスが発生したと判断したときには、前
記ステップST85で起動した診断プログラムを強制的
に終了させる(ステップST92)。そして、前記ステ
ップST84でセットした診断中であることを示すフラ
グを解除する(ステップST93)。FIG. 8 is a flow chart showing the series of operations described above, and the operation will be described below with reference to this flow chart. According to this flowchart, the control line monitoring unit 12a of the bus monitoring device 12 monitors the control line connected to the I / O 3 (step ST81), and monitors whether or not there is no access for a predetermined time. (Step ST82). When the state of no access continues for the predetermined time, status information indicating that there is no access for the predetermined time is set in the status register 12b (step ST83), and a flag indicating that the diagnosis is in progress is predetermined. To the register (step ST8
4) Start a diagnostic program for diagnosing I / O3 (step ST85). In this diagnostic program, first, it is determined whether or not another access has occurred on the system bus 2 connecting the CPU 1 and the I / O 3 (step S).
T86). When it is determined that an access has occurred, the diagnostic program started in step ST85 is forcibly terminated (step ST92). Then, the flag set in step ST84 indicating that the diagnosis is in progress is canceled (step ST93).
【0076】そして、制御線をモニタしているバス監視
装置12の制御線監視部12aは、アクセスが発生した
ことを示すステータス情報をステータスレジスタ12b
へ設定し(ステップST94)、診断を強制的に終了し
た過程のログデータの書き込みをメモリに対し行う(ス
テップST95)。このメモリは、図示していないが、
ステータスレジスタ12bなどが設定されているメモリ
の所定の領域を指す。Then, the control line monitoring unit 12a of the bus monitoring device 12 monitoring the control line sends status information indicating that an access has occurred to the status register 12b.
Is set (step ST94), and log data in the process of forcibly ending the diagnosis is written to the memory (step ST95). This memory is not shown,
It indicates a predetermined area of the memory in which the status register 12b and the like are set.
【0077】一方、ステップST86においてアクセス
が発生していないと判断したときには、前記ステップS
T85で起動した診断プログラムを実行し、所定の手順
でI/O3にエラーが発生するかしないかを判断する
(ステップST87)。エラーが発生しないときには、
正常と判断して診断プログラムを終了させ(ステップS
T88)、前記ステップST84でセットしたフラグを
解除し(ステップST89)、診断が正常に終了してい
ることを示すステータス情報をステータスレジスタ12
bへ設定し(ステップST90)、さらに正常に行われ
た診断についてのログ情報の書き込みを前記メモリに対
し行い(ステップST91)、処理を終了する。On the other hand, when it is determined in step ST86 that an access has not occurred, the above-mentioned step S
The diagnostic program started at T85 is executed, and it is determined whether or not an error occurs in I / O3 according to a predetermined procedure (step ST87). If no error occurs,
It is judged to be normal and the diagnostic program is terminated (step S
T88), the flag set in the step ST84 is released (step ST89), and status information indicating that the diagnosis is normally completed is displayed in the status register 12
It is set to b (step ST90), log information about the diagnosis normally performed is written to the memory (step ST91), and the process is ended.
【0078】また、ステップST87において診断の対
象となったI/O3にエラーが発生したときには実行中
の診断プログラムを強制的に終了させ(ステップST9
6)、ステップST84でセットしたフラグを解除し
(ステップST97)、診断が強制的に終了しているこ
とやI/O3にエラーが発生したことを示すステータス
情報をステータスレジスタ12bへ設定し(ステップS
T98)、さらにエラーが発生した診断についてのエラ
ーログ情報を前記メモリへ書き込み(ステップST9
9)、処理を終了する。When an error occurs in the I / O 3 which is the object of diagnosis in step ST87, the running diagnostic program is forcibly terminated (step ST9
6) The flag set in step ST84 is released (step ST97), and status information indicating that the diagnosis is forcibly ended or an error has occurred in I / O3 is set in the status register 12b (step S
T98), and further write error log information about the diagnosis in which the error has occurred to the memory (step ST9).
9), end the processing.
【0079】なお、この一連の動作において各I/Oに
対しバス監視装置12から同時に診断を行うことはでき
ないので、夫々のI/Oには診断についての優先順位が
予め設定されており、この設定されている優先順位に従
って各I/Oは診断される。In this series of operations, the I / O cannot be diagnosed simultaneously from the bus monitoring device 12, so that a priority order for diagnosis is preset for each I / O. Each I / O is diagnosed according to the set priority.
【0080】あるいはまた、バス監視装置12による診
断時にマイクロプロセッサ12dによりアドレスバス上
に出力されるアドレスにより各I/Oが選択され、この
選択順序に従ってそれぞれのI/Oに対し順次診断が行
われる。Alternatively, at the time of diagnosis by the bus monitoring device 12, each I / O is selected by the address output on the address bus by the microprocessor 12d, and the diagnosis is sequentially performed on each I / O according to this selection order. .
【0081】以上のように、この実施の形態4によれば
バス監視装置12にマイクロプロセッサ12dを搭載
し、ROM12eに格納した診断プログラムを使用して
バス監視装置12から各I/O3の診断を行うことによ
り、CPU1に全く負担をかけずに各I/O3の診断を
行うことができる効果がある。As described above, according to the fourth embodiment, the bus monitor 12 is equipped with the microprocessor 12d, and the I / O 3 is diagnosed from the bus monitor 12 by using the diagnostic program stored in the ROM 12e. By doing so, there is an effect that each I / O 3 can be diagnosed without imposing any burden on the CPU 1.
【0082】実施の形態5.図9は、この実施の形態5
のハードウェア診断方法を実現するハードウェア診断装
置の構成を示すシステム構成図である。この実施の形態
のハードウェア診断装置では、各I/OがCPU19か
ら送られてくるコマンドに従って予め決められている項
目について自己診断を行う。図において、19はCP
U、20はシステムバス、21〜24はシステムバス2
0に接続するそれぞれ異なった種類の入出力装置(以
下、I/Oという)である。Embodiment 5 FIG. 9 shows the fifth embodiment.
3 is a system configuration diagram showing the configuration of a hardware diagnostic device that implements the hardware diagnostic method of FIG. In the hardware diagnostic device of this embodiment, each I / O performs self-diagnosis on a predetermined item according to a command sent from the CPU 19. In the figure, 19 is CP
U and 20 are system buses 21 to 24 are system buses 2
Input / output devices (hereinafter referred to as I / O) of different types connected to 0.
【0083】このハードウェア診断装置では、例えば図
10に示すようにコマンド番号を各I/Oの共通のテス
ト項目に対応させてあらかじめ定めておき、ユーザは実
施したいテスト項目に従ってコマンド番号をCPU19
から入力するだけで異なる全てのI/Oに対する診断を
行うことができるようにする。このため、各I/Oには
マイクロプロセッサと、システムバス20上でアクセス
が発生しておらず自己診断のためのデータ以外の授受が
行われていない状態が所定の時間続いているのを検出す
る制御線監視部およびタイマと、自己診断を行うための
前記コマンド番号を識別し、該識別したコマンド番号に
応じて実行する診断プログラムを格納したROMと、自
I/Oについての診断結果を保存するステータスレジス
タとを設けておく。また、CPU19が各I/Oからス
テータスを読み込むコマンド番号も各I/O共通に予め
決めておく。In this hardware diagnosing device, for example, as shown in FIG. 10, command numbers are set in advance corresponding to common test items of each I / O, and the user assigns command numbers to the CPU 19 according to the test items to be executed.
Enables diagnosis for all different I / O by simply inputting from. Therefore, it is detected that each I / O has not been accessed on the system bus 20 and the I / O has not been exchanged other than data for self-diagnosis for a predetermined time. A control line monitoring unit and a timer, a command number for performing self-diagnosis, a ROM storing a diagnostic program to be executed in accordance with the identified command number, and a diagnostic result for its own I / O are saved. And a status register for setting. Also, the command number for the CPU 19 to read the status from each I / O is determined in advance for each I / O.
【0084】従って、全I/Oの制御線監視部がシステ
ムバス20上でアクセスが発生していない状態を検出し
ていることを条件に、CPU19が図10に示すコマン
ドをシステムバス20へ出力すると、各I/OはCPU
19から送られてきたコマンドに従った自己診断を実行
し、この自己診断が終了するとそれぞれのI/Oは割り
込みを発行してCPU19へ通知する。このとき、各I
/Oは診断結果が「OK」か「NG」であるかを固定長
のステータスとして前記ステータスレジスタへ保存して
いるので、CPU19からコマンド番号「3」を各I/
Oへ送出することによってCPU19は各I/Oから診
断結果を読み取ることが可能になる。Therefore, the CPU 19 outputs the command shown in FIG. 10 to the system bus 20 on condition that the control line monitoring units of all I / Os detect the state in which no access occurs on the system bus 20. Then each I / O is a CPU
The self-diagnosis according to the command sent from the CPU 19 is executed, and when this self-diagnosis is completed, each I / O issues an interrupt to notify the CPU 19. At this time, each I
/ O stores in the status register whether the diagnosis result is “OK” or “NG” as a fixed-length status, so the command number “3” is sent from the CPU 19 to each I / O.
By sending it to O, the CPU 19 can read the diagnosis result from each I / O.
【0085】なお、この一連の動作において各I/Oが
同時にCPU19に対し割り込みを発行する場合に備え
て、同時に割り込みを発行したI/Oがあるときにどの
I/Oからの割り込みを優先するかを決めるための優先
順位が予め設定されている。また、各I/Oのステータ
スレジスタに保存されている診断結果をCPU19が読
み取る際にも、予め設定されている優先順位に従って読
み取ることになる。In preparation for the case where each I / O simultaneously issues an interrupt to the CPU 19 in this series of operations, when there is an I / O that simultaneously issued an interrupt, the interrupt from which I / O is prioritized. The priority order for determining whether or not is set in advance. Further, when the CPU 19 reads the diagnostic result stored in the status register of each I / O, it is read in accordance with the preset priority order.
【0086】以上のように、この実施の形態5のハード
ウェア診断方法によれば、予めテスト項目毎に定めたコ
マンド番号を利用することによって、一つのコマンドで
異なった種類の全I/Oに対し前記コマンドに対応する
項目の自己診断を各I/Oにおいて行い、その診断結果
も容易に各I/Oから読み出すことができる効果があ
る。As described above, according to the hardware diagnosing method of the fifth embodiment, by using the command number predetermined for each test item, all I / O of different types can be performed by one command. On the other hand, the self-diagnosis of the item corresponding to the command is performed in each I / O, and the diagnosis result can be easily read from each I / O.
【0087】実施の形態6.図11は、この実施の形態
6のハードウェア診断方法を説明するためのブロック図
である。図において、31はCPU、32はシステムバ
ス、33はCPU31にディスク装置35を接続するた
めの計算機システム側のインターフェース、34はディ
スク装置35側のインターフェースである。従来、この
ように構成されているシステムでは、CPU31からは
インターフェース34およびディスク装置35それぞれ
の診断を行うことができず、インターフェース33,イ
ンターフェース34,ディスク装置35を一つのハード
ウェアとして診断を行っている。このため、このインタ
ーフェース33,インターフェース34,ディスク装置
35のいずれかで故障が発生したような場合にはどこで
故障が発生したかを識別することが困難である。Embodiment 6 FIG. FIG. 11 is a block diagram for explaining the hardware diagnostic method of the sixth embodiment. In the figure, 31 is a CPU, 32 is a system bus, 33 is an interface on the computer system side for connecting the disk device 35 to the CPU 31, and 34 is an interface on the disk device 35 side. Conventionally, in a system configured in this way, the CPU 31 cannot diagnose each of the interface 34 and the disk device 35, and the interface 33, the interface 34, and the disk device 35 are diagnosed as one piece of hardware. There is. Therefore, when a failure occurs in any of the interface 33, the interface 34, and the disk device 35, it is difficult to identify where the failure has occurred.
【0088】この実施の形態では、先ずインターフェー
ス33のみの折り返しテストによるインターフェース3
3についての診断((1)の経路)を行い、インターフ
ェース33について正常であるとの診断結果が得られた
ときには、さらにインターフェース33とインターフェ
ース34とを一体的に捉えた折り返しテストによるイン
ターフェース33とインターフェース34についての診
断((2)の経路)を行う。この結果、インターフェー
ス33とインターフェース34とについて正常であると
の診断結果が得られたときには、さらにインターフェー
ス33とインターフェース34とディスク装置35とを
一体的に捉えた折り返しテストによるインターフェース
33とインターフェース34とディスク装置35とにつ
いての診断((3)の経路)を行う。In this embodiment, first, the interface 3 based on the loopback test of only the interface 33 is performed.
3 is diagnosed (the route of (1)), and when a diagnostic result indicating that the interface 33 is normal is obtained, the interface 33 and the interface 33 are integrated by a return test in which the interface 33 and the interface 34 are integrated. Diagnosis of 34 (route (2)) is performed. As a result, when the diagnostic result indicating that the interfaces 33 and 34 are normal is obtained, the interface 33, the interface 34, and the disk are discriminated by the return test in which the interface 33, the interface 34, and the disk device 35 are integrated. A diagnosis (path (3)) for the device 35 is performed.
【0089】このような診断を行うことにより、例えば
インターフェース34で異常が発生している場合には、
経路(1)による折り返しテストの診断結果は「正
常」、経路(2)による折り返しテストの診断結果は
「異常」となり、経路(2)による折り返しテストを行
った時点でインターフェース34に異常があることが判
明することになる。By performing such diagnosis, for example, when an abnormality occurs in the interface 34,
The diagnostic result of the loopback test by the route (1) is “normal”, the diagnostic result of the loopback test by the route (2) is “abnormal”, and the interface 34 is abnormal when the loopback test by the route (2) is performed. Will be revealed.
【0090】このような折り返しテストによる診断を通
常のアクセスが行われている間に自動的に行うために
は、各インターフェースおよびそれらインターフェース
によりCPU31に接続される装置、この場合にはディ
スク装置35であるが、これらインターフェースや装置
がマイクロプロセッサあるいはそれに代る機能や診断プ
ログラムを搭載している必要がある。また、CPU31
とディスク装置35などとの間で通常のアクセスによる
データの授受が行われていないことを検出する前記実施
の形態1から実施の形態5で説明したバス監視装置をこ
れらインターフェース33,34、ディスク装置35に
設ける必要がある。In order to automatically perform the diagnosis by such a loopback test during normal access, the interfaces and devices connected to the CPU 31 by these interfaces, in this case the disk device 35, are used. However, these interfaces and devices need to be equipped with a microprocessor or functions or diagnostic programs to replace it. Also, the CPU 31
Of the bus monitoring device described in the first to fifth embodiments, which detects that data is not exchanged by a normal access between the disk device 35 and the disk device 35. 35 need to be provided.
【0091】このように構成することで、システムバス
32に接続されたインターフェース33,インターフェ
ース34,ディスク装置35それぞれに対する診断を行
うことができ、診断が行われるシステムが階層化されて
いてもどの階層で発生した故障かを容易に識別すること
ができる効果がある。With this configuration, it is possible to make a diagnosis for each of the interface 33, the interface 34, and the disk device 35 connected to the system bus 32. There is an effect that it is possible to easily identify whether or not the failure has occurred.
【0092】なお以上説明した実施の形態5ではCPU
31に接続される装置はディスク装置であったが、他の
装置、例えばプリンタやCD−ROMなどの記憶装置で
あってもよく、インターフェースによりCPU31と接
続される装置であればよい。In the fifth embodiment described above, the CPU
Although the device connected to 31 is a disk device, it may be another device, for example, a storage device such as a printer or a CD-ROM, or any device connected to the CPU 31 through an interface.
【0093】実施の形態7.図12は、この実施の形態
7のハードウェア診断方法を説明するためのブロック図
である。図において、41はCPU、42はシステムバ
ス、43はCPU41にディスク装置45を接続するた
めの計算機システム側のインターフェースであり、ディ
スク装置45の動作制御に必要なコントロール信号やス
テータス信号をCPU41とディスク装置45との間で
入出力するためのI/Oポートを含む。また44はディ
スク装置45側のインターフェースであり、前記インタ
ーフェース43と同様にディスク装置45の動作制御に
必要なコントロール信号やステータス信号をCPU41
とディスク装置45との間で入出力するためのI/Oポ
ートを含む。45はディスクから読み出され、あるいは
ディスクへ書き込まれるデータをCPU41との間で送
受信するための送受信用インターフェースを含むディス
ク装置である。これらインターフェース43,44およ
びディスク装置45は診断を行うために必要なデータを
CPU41との間で送受信し、自己診断を行う機能を有
しており、このためのマイクロプロセッサおよび自己診
断プログラムを格納したROM、さらに自己診断用のデ
ータ以外の通常のアクセスによるデータの授受が所定の
時間行われていない状態を検出する制御線監視部,ステ
ータスレジスタ,タイマなどを備えており、CPU41
側から見た場合に3階層化されている。Embodiment 7 FIG. FIG. 12 is a block diagram for explaining the hardware diagnostic method of the seventh embodiment. In the figure, 41 is a CPU, 42 is a system bus, and 43 is an interface on the computer system side for connecting a disk device 45 to the CPU 41. Control signals and status signals necessary for controlling the operation of the disk device 45 are sent to the CPU 41 and the disk. It includes an I / O port for inputting / outputting from / to the device 45. Reference numeral 44 denotes an interface on the side of the disk device 45, which, like the interface 43, sends control signals and status signals necessary for controlling the operation of the disk device 45 to the CPU 41.
And an I / O port for inputting / outputting data from / to the disk device 45. Reference numeral 45 is a disk device including a transmission / reception interface for transmitting / receiving data read from or written to the disk to / from the CPU 41. The interfaces 43 and 44 and the disk device 45 have a function of transmitting / receiving data necessary for diagnosis to / from the CPU 41 and performing self-diagnosis, and stored therein a microprocessor and a self-diagnosis program for this purpose. The CPU 41 includes a ROM, a control line monitoring unit for detecting a state in which data other than the self-diagnosis data is not transferred by normal access for a predetermined time, a status register, a timer, and the like.
There are three layers when viewed from the side.
【0094】47はシステムバス42に接続された入出
力装置(以下、I/Oという)、48はメモリインター
フェース、49はメモリであり、これらI/O47,メ
モリインターフェース48,メモリ49も自己診断を行
う機能を有しており、このためのマイクロプロセッサお
よび自己診断プログラムを格納したROM、さらに自己
診断用のデータ以外の通常のアクセスによるデータの授
受が所定の時間行われていない状態を検出する制御線監
視部やタイマ、自己診断結果を保存するステータスレジ
スタなどを備えている。Reference numeral 47 is an input / output device (hereinafter referred to as I / O) connected to the system bus 42, 48 is a memory interface, and 49 is a memory. These I / O 47, memory interface 48, and memory 49 also perform self-diagnosis. It has a function to perform, a microprocessor for this purpose, a ROM storing a self-diagnosis program, and control for detecting a state in which data other than self-diagnosis data is not transferred for a predetermined time by normal access. It is equipped with a line monitoring unit, a timer, and a status register that stores the self-diagnosis results.
【0095】また、前記実施の形態5で説明したよう
に、インターフェース43,44,ディスク装置45,
I/O47,メモリインターフェース48,メモリ49
は、それぞれCPUが発行するコマンドに応じて前記診
断プログラムの実行により行う自己診断の項目が予め決
められており、自己診断結果は夫々のステータスレジス
タへ保存される。Further, as described in the fifth embodiment, the interfaces 43 and 44, the disk device 45,
I / O 47, memory interface 48, memory 49
The items of self-diagnosis performed by executing the above-mentioned diagnostic program are determined in advance in accordance with the commands issued by the CPU, and the self-diagnosis results are stored in the respective status registers.
【0096】次に、動作について説明する。システムバ
ス42へ接続された前記インターフェース43,44,
ディスク装置45,I/O47,メモリインターフェー
ス48,メモリ49などの各装置の制御線監視部がシス
テムバス42上でアクセスが所定の時間発生していない
状態を検出していることを条件に、CPU41が所定の
コマンドを出力すると、インターフェース43,I/O
47,メモリインターフェース48はCPU41から送
られてきたコマンドに従った自己診断を実行し、この自
己診断が終了するとそれぞれの装置は割り込みを発行し
てCPU41へ通知する。このとき、各装置は診断結果
が「OK」か「NG」であるかを固定長のステータスと
してステータスレジスタへ保存しているので、CPU4
1から診断結果読み出し用のコマンドを各装置へ送出す
ることによってCPU41は各装置から診断結果を読み
取ることが可能になる。なお、この場合に行われる診断
経路を経路(1),経路(2),経路(5)で示す。Next, the operation will be described. The interfaces 43, 44 connected to the system bus 42,
The CPU 41 is provided on condition that the control line monitoring unit of each of the devices such as the disk device 45, the I / O 47, the memory interface 48, and the memory 49 detects a state in which no access occurs on the system bus 42 for a predetermined time. Outputs a predetermined command, the interface 43, I / O
47 and the memory interface 48 execute self-diagnosis according to the command sent from the CPU 41, and when this self-diagnosis ends, each device issues an interrupt and notifies the CPU 41. At this time, each device stores in the status register whether the diagnosis result is “OK” or “NG” as a fixed-length status.
By sending a diagnostic result reading command from 1 to each device, the CPU 41 can read the diagnostic result from each device. The diagnostic routes performed in this case are shown as route (1), route (2), and route (5).
【0097】この一連の動作において各装置が同時にC
PU41に対し割り込みを発行する場合に備えて、同時
に割り込みを発行した装置があるときにどの装置からの
割り込みを優先するかを決めるための優先順位が予め設
定されており、また、各装置のステータスレジスタに保
存されている診断結果をCPU41が読み取る際にも予
め設定されている優先順位に従って読み取ることにな
る。In this series of operations, each device simultaneously performs C
In case of issuing an interrupt to the PU 41, a priority order for deciding which device gives priority to an interrupt when there is a device simultaneously issuing the interrupt is preset, and the status of each device is set. Even when the CPU 41 reads the diagnosis result stored in the register, the diagnosis result is read in accordance with the preset priority order.
【0098】このようにして行った自己診断結果がすべ
て「正常」である場合には、CPU41はさらに、今度
はインターフェース44とメモリ49に対する診断を行
う。この診断は、インターフェース43とインターフェ
ース44とを一体的に捉えたインターフェース44につ
いての診断((3)の経路)および、メモリインターフ
ェース48とメモリ49とを一体的に捉えたメモリ49
についての診断((6)の経路)である。If all the self-diagnosis results thus obtained are "normal", the CPU 41 further diagnoses the interface 44 and the memory 49 this time. In this diagnosis, the interface 43 and the interface 44 are integrally captured (diagram of (3)), and the memory interface 48 and the memory 49 are integrally captured.
(Diagram (6)).
【0099】この結果、インターフェース44とメモリ
49について正常であるとの診断結果が得られたときに
は、さらにディスク装置45の診断を行う。この診断は
インターフェース43とインターフェース44とディス
ク装置45とを一体的に捉えた診断((4)の経路)で
ある。As a result, when the diagnosis result that the interface 44 and the memory 49 are normal is obtained, the disk device 45 is further diagnosed. This diagnosis is a diagnosis (path (4)) in which the interface 43, the interface 44, and the disk device 45 are integrated.
【0100】以上説明したように、階層化されたシステ
ムの各階層を上位から順次診断することで、故障が発生
した箇所がどの階層の装置であるかを確実に識別できる
効果がある。As described above, by sequentially diagnosing the respective hierarchies of the hierarchized system from the upper level, there is an effect that it is possible to surely identify the hierarchy of the device in which the failure occurred.
【0101】実施の形態8.図13は、この実施の形態
8のハードウェア診断方法を実現するハードウェア診断
装置の構成および診断処理動作を示すブロック図であ
る。図13において図12と同一または相当の部分につ
いては同一の符号を付し説明を省略する。図において、
51はバス監視装置、51aはシステムバス42の制御
線を監視し、アクセスが所定の時間ない状態を検出する
制御線監視部、51bはステータス情報を格納するステ
ータスレジスタ、51cは前記所定の時間の経過を検出
するための前記所定の時間に相当するタイムアップ時間
情報が設定されたタイマ、51dはバス監視装置51に
搭載されたマイクロプロセッサ(優先順位決定手段)、
51eは診断プログラムを格納したROMである。な
お、前記所定の時間は夫々のシステムに応じて異なった
値である。Eighth Embodiment FIG. 13 is a block diagram showing a configuration and a diagnostic processing operation of a hardware diagnostic device that implements the hardware diagnostic method of the eighth embodiment. In FIG. 13, parts that are the same as or correspond to those in FIG. 12 are given the same reference numerals and description thereof is omitted. In the figure,
Reference numeral 51 is a bus monitoring device, 51a is a control line monitoring unit that monitors the control line of the system bus 42 and detects a state in which there is no access for a predetermined time, 51b is a status register for storing status information, and 51c is a status register for the predetermined time. A timer in which time-up time information corresponding to the predetermined time for detecting progress is set, 51d is a microprocessor (priority order determination means) mounted in the bus monitoring device 51,
Reference numeral 51e is a ROM that stores a diagnostic program. The predetermined time has a different value depending on each system.
【0102】次に、動作について説明する。この実施の
形態8のハードウェア診断装置では、システムバス42
に接続されたバス監視装置51に、前記実施の形態4と
同様に制御線監視部51a,ステータスレジスタ51
b,タイマ51c,マイクロプロセッサ51d,ROM
51eを設け、バス監視装置51からCPU41に負担
をかけることなくインターフェース43,44,ディス
ク装置45,I/O47,メモリインターフェース4
8,メモリ49の各診断を行う。但し、インターフェー
ス43,44,ディスク装置45,I/O47,メモリ
インターフェース48,メモリ49には、前記実施の形
態7のようにマイクロプロセッサや診断プログラムは搭
載されていないので、I/O47、階層化されたインタ
ーフェース43とインターフェース44とディスク装置
45、同様に階層化されたメモリインターフェース48
とメモリ49とに対し異なった診断を行う必要があり、
このためバス監視装置51のマイクロプロセッサ51d
はインターフェース43,インターフェース44,ディ
スク装置45とI/O47とメモリインターフェース4
8,メモリ49とをそれぞれ識別し、識別した装置毎の
診断プログラムを実行し診断を行う。Next, the operation will be described. In the hardware diagnostic device according to the eighth embodiment, the system bus 42
The bus monitoring device 51 connected to the control line monitoring unit 51a and the status register 51 are connected to the bus monitoring device 51 as in the fourth embodiment.
b, timer 51c, microprocessor 51d, ROM
51e is provided, and the interfaces 43 and 44, the disk device 45, the I / O 47, and the memory interface 4 are provided without burdening the CPU 41 from the bus monitoring device 51.
8. Each diagnosis of the memory 49 is performed. However, since the interfaces 43 and 44, the disk device 45, the I / O 47, the memory interface 48, and the memory 49 are not equipped with the microprocessor and the diagnostic program as in the seventh embodiment, the I / O 47 and the hierarchization are performed. Interface 43, interface 44, disk device 45, and similarly hierarchical memory interface 48
And the memory 49 need to be diagnosed differently,
Therefore, the microprocessor 51d of the bus monitoring device 51
Is an interface 43, an interface 44, a disk device 45, an I / O 47, and a memory interface 4.
8 and the memory 49 are respectively identified, and the diagnostic program for each identified device is executed to make a diagnosis.
【0103】このため、前記実施の形態4で説明したよ
うに、インターフェース43,インターフェース44,
ディスク装置45と、I/O47と、メモリインターフ
ェース48,メモリ49とに対しそれぞれ診断について
の優先順位を予め設定しておき、この設定されている優
先順位に従って前記各装置は診断される。Therefore, as described in the fourth embodiment, the interface 43, the interface 44,
The disk device 45, the I / O 47, the memory interface 48, and the memory 49 have respective diagnostic priorities set in advance, and the respective devices are diagnosed according to the set priorities.
【0104】あるいはまた、バス監視装置51による診
断時にマイクロプロセッサ51dによりアドレスバス上
に出力されるアドレスによりシステムバス42に接続さ
れた最上位のI/O47とインターフェース43とメモ
リインターフェース48とが選択されるようにして、こ
の選択順序に従ってI/O47,インターフェース4
3,メモリインターフェース48それぞれを最上位とす
る階層に対し順次診断が行われる。Alternatively, at the time of diagnosis by the bus monitoring device 51, the uppermost I / O 47, the interface 43 and the memory interface 48 connected to the system bus 42 are selected by the address output on the address bus by the microprocessor 51d. Thus, according to this selection order, the I / O 47, the interface 4
3, the diagnosis is sequentially performed on the hierarchy with the memory interface 48 as the highest level.
【0105】制御線監視部51aはシステムバス42の
制御線をモニタリングしており、前記所定の時間、アク
セスがない状態を検出すると、ROM51eに格納して
ある診断プログラムを起動し、バス監視装置51による
インターフェース43,44,ディスク装置45,I/
O47,メモリインターフェース48,メモリ49など
の各装置の診断を行う。この場合、バス監視装置51
は、自己診断中のエラーをシステムエラーとして報告し
ないように、自己診断中であることを示すフラグを実行
開始時に所定のレジスタへセットしておき、自己診断が
終了すれば解除する。また、自己診断中に診断プログラ
ム実行によるアクセス以外の何らかのアクセスがシステ
ムバス42上で発生した場合には診断プログラムの実行
を中断し、前記フラグを解除して通常のアクセスを優先
する。バス監視装置51は、また、診断プログラムが実
行されると自己診断中であることを示すLEDを点滅さ
せ、故障が発生した場合はエラーログを残すと共にイン
ターフェース43,44,ディスク装置45,I/O4
7,メモリインターフェース48,メモリ49などの装
置で故障が発生したことを示すLEDを点灯させる。The control line monitoring section 51a monitors the control line of the system bus 42, and when it detects that there is no access for the predetermined time, it activates the diagnostic program stored in the ROM 51e, and the bus monitoring unit 51a. Interface 43, 44, disk device 45, I /
Diagnosis of each device such as the O47, the memory interface 48, and the memory 49 is performed. In this case, the bus monitoring device 51
In order to prevent an error during self-diagnosis from being reported as a system error, a flag indicating that self-diagnosis is in progress is set in a predetermined register at the start of execution, and is cleared when the self-diagnosis ends. If any access other than the access by executing the diagnostic program occurs on the system bus 42 during the self-diagnosis, the execution of the diagnostic program is interrupted, the flag is canceled, and the normal access is prioritized. When the diagnostic program is executed, the bus monitoring device 51 also blinks an LED indicating that self-diagnosis is being performed, and when a failure occurs, an error log is left and the interfaces 43 and 44, the disk device 45, and the I / O device are connected. O4
The LED indicating that a failure has occurred in devices such as 7, the memory interface 48, and the memory 49 is turned on.
【0106】また、インターフェース43,インターフ
ェース44,ディスク装置45,メモリインターフェー
ス48,メモリ49などの装置は階層化されているの
で、前記実施の形態6,実施の形態7で説明したように
上位の階層の装置から順次診断を行う必要があるが、前
記装置へ自己診断を指示するコマンドはバス監視装置5
1のマイクロプロセッサ51dから出力され、診断結果
が「異常」と判定されたときにのシステム全体の処理動
作はCPU41が行う。Further, since the devices such as the interface 43, the interface 44, the disk device 45, the memory interface 48, the memory 49, etc. are hierarchized, as described in the sixth and seventh embodiments, the higher hierarchy. It is necessary to sequentially diagnose from the above devices, but the command to instruct self-diagnosis to the above devices is the bus monitoring device 5.
The CPU 41 performs the processing operation of the entire system when it is output from the first microprocessor 51d and the diagnosis result is determined to be "abnormal".
【0107】以上、説明したように、異なった種類のイ
ンターフェースなど複数の装置が階層化されているシス
テムにおいて、システムバスへの通常のアクセスがない
ときに各階層毎の診断をバス監視装置51から自動的に
行い、各階層を構成するそれぞれの装置を上位から順に
診断することにより、階層化された複数の装置のどれが
故障しているかを識別し特定できる効果がある。As described above, in a system in which a plurality of devices such as different types of interfaces are hierarchized, when there is no normal access to the system bus, diagnosis for each hierarchy is performed from the bus monitoring device 51. By automatically performing and diagnosing each device constituting each hierarchy in order from the upper level, it is possible to identify and specify which of a plurality of hierarchized devices has a failure.
【0108】[0108]
【発明の効果】以上のように、請求項1記載の発明によ
れば、システムバスの制御線を監視し、アクセスが所定
の時間ない状態を検出することで生成された割り込み信
号によりCPUが診断プログラムを実行し、前記アクセ
スのないときに入出力装置あるいは入出力制御装置ある
いは各種インターフェースの診断を行うように構成した
ので、前記診断の実行が前記アクセスに優先して行われ
ることがなく、前記CPUおよび前記入出力装置あるい
は前記入出力制御装置あるいは前記各種インターフェー
スなどにおける本来の通常動作は従来通り行われ、前記
アクセスのない状態の検出は前記CPUの負担になら
ず、前記アクセスのない時間を有効に利用した効率的な
診断を行うことができる効果がある。As described above, according to the first aspect of the present invention, the CPU diagnoses by the interrupt signal generated by monitoring the control line of the system bus and detecting the state of no access for a predetermined time. Since the program is executed and the I / O device, the I / O controller, or various interfaces are diagnosed when there is no access, the diagnosis is not executed prior to the access. Original normal operations in the CPU and the input / output device, the input / output control device, the various interfaces, etc. are performed as usual, and the detection of the non-access state does not burden the CPU, and the time during the non-access time is reduced. There is an effect that effective diagnosis can be performed efficiently.
【0109】請求項2記載の発明によれば、診断プログ
ラムが実行されて開始された診断の最初に、システムバ
スの状態からアクセスのないことが検出されたことを示
す通知により、CPUは前記システムバス上での各種デ
ータの授受がないことを確認し、該確認後に前記開始し
た診断プログラムに従った診断を進めるように構成した
ので、前記アクセスのない状態の検出は前記CPUが行
うのではなく前記通知により得られ、前記診断プログラ
ム実行中のCPUの負担にならず、また、前記CPUお
よび入出力装置あるいは入出力制御装置あるいは各種イ
ンターフェースにおける本来の通常動作の妨げになるこ
とがなく、前記アクセスのない時間を有効に利用した効
率的な診断を行うことができる効果がある。According to the second aspect of the present invention, at the beginning of the diagnosis started by executing the diagnostic program, the CPU notifies the system by the notification indicating that no access is detected from the state of the system bus. Since it is configured to confirm that various data is not sent and received on the bus and to proceed with the diagnosis according to the diagnostic program started after the confirmation, the CPU does not detect the non-access state. The access is obtained by the notification, does not impose a burden on the CPU during execution of the diagnostic program, and does not interfere with the normal normal operation of the CPU and the input / output device or the input / output control device or various interfaces. There is an effect that an efficient diagnosis can be performed by effectively utilizing the dead time.
【0110】請求項3記載の発明によれば、診断プログ
ラム実行による診断開始の最初にシステムバスの状態か
ら検出されるアクセスがあることを示す通知によりCP
Uが前記システムバス上での各種データの授受があるこ
とを確認したときには、前記開始した診断プログラムの
実行を強制的に終了するように構成したので、前記アク
セスのあることの検出は前記CPUが行うのではなく前
記通知により得られ、前記診断プログラム実行中のCP
Uの負担にならず、また、前記診断プログラムの実行は
前記アクセスが検出されたときには強制的に終了される
ことになり、前記CPUおよび入出力装置あるいは入出
力制御装置あるいは各種インターフェースにおける本来
の通常動作の妨げになることがなく、前記アクセスのな
い時間を有効に利用した効率的な診断を行うことができ
る効果がある。According to the third aspect of the invention, the CP is notified by the notification indicating that there is an access detected from the state of the system bus at the beginning of the diagnosis start by the execution of the diagnosis program.
When it is confirmed that U has sent and received various data on the system bus, the CPU is configured to forcibly terminate the execution of the started diagnostic program. Therefore, the CPU detects the presence of the access. The CP that is obtained by the notification instead of being executed and is being executed by the diagnostic program
It is not a burden on U, and the execution of the diagnostic program is forcibly terminated when the access is detected. Therefore, the CPU and the input / output device, the input / output control device, or the normal normal operation in various interfaces are executed. There is an effect that an efficient diagnosis can be performed by effectively utilizing the time when there is no access without hindering the operation.
【0111】請求項4記載の発明によれば、入出力装置
あるいは入出力制御装置あるいは各種インターフェース
の診断の際のログデータを、割り込み信号の発生側で保
存するように構成したので、前記診断により異常が検出
されたとき、あるいは前記診断が途中で強制的に終了し
たような前記診断に際してのログを確実に残すことがで
きる効果がある。According to the invention described in claim 4, since the log data at the time of diagnosing the input / output device or the input / output control device or various interfaces is configured to be saved on the side where the interrupt signal is generated, There is an effect that a log for the diagnosis can be surely left when an abnormality is detected or when the diagnosis is forcibly terminated halfway.
【0112】請求項5記載の発明によれば、CPU、シ
ステムバスを介して前記CPUと接続する入出力装置あ
るいは入出力制御装置あるいは各種インターフェース以
外に備えられたアクセス監視手段が前記システムバスの
制御線を監視することでアクセスが所定の時間ない状態
を検出したときに、前記アクセス監視手段同様、前記入
出力装置あるいは前記入出力制御装置あるいは前記各種
インターフェース以外に備えられたマイクロプロセッサ
は診断プログラムを実行し、前記アクセスがないときに
前記入出力装置あるいは前記入出力制御装置あるいは前
記各種インターフェースを診断するように構成したの
で、前記入出力装置あるいは前記入出力制御装置あるい
は前記各種インターフェースの診断における前記CPU
の介入が不要になり、前記診断実行に際してのCPUの
負担がなくなる効果がある。According to the fifth aspect of the present invention, the access monitoring means provided in addition to the input / output device or the input / output control device or various interfaces connected to the CPU via the CPU and the system bus controls the system bus. When a state in which no access is made for a predetermined time is detected by monitoring the line, the microprocessor provided in other than the input / output device, the input / output control device, or the various interfaces, as in the access monitoring means, executes a diagnostic program. Since the input / output device, the input / output control device, or the various interfaces are configured to be executed when the access is not performed, the input / output device, the input / output control device, or the various interfaces are diagnosed in the above-described manner. CPU
This eliminates the need for the intervention, and has the effect of eliminating the burden on the CPU when executing the diagnosis.
【0113】請求項6記載の発明によれば、CPU、シ
ステムバスを介して前記CPUと接続する入出力装置あ
るいは入出力制御装置あるいは各種インターフェース以
外に備えられたマイクロプロセッサは、診断プログラム
による診断開始の最初にアクセスがないことを確認し、
該確認後に前記入出力装置あるいは前記入出力制御装置
あるいは前記各種インターフェースに対する診断を進め
るように構成したので、前記診断プログラムによる診断
開始の直後に前記アクセスが発生していても即座に前記
開始した診断を中止することができ、前記診断プログラ
ムの実行はCPUの負担にならず、また、前記アクセス
は前記診断プログラムの実行に優先して行われることに
なり、前記CPUおよび前記入出力装置あるいは前記入
出力制御装置あるいは前記各種インターフェースにおけ
る本来の通常動作の妨げになることがなく、前記アクセ
スのない時間を有効に利用した効率的な診断を行うこと
ができる効果がある。According to the sixth aspect of the present invention, the microprocessor provided other than the CPU, the input / output device or the input / output control device connected to the CPU via the system bus, or various interfaces starts the diagnosis by the diagnostic program. Make sure there is no access at the beginning of
Since the diagnosis for the input / output device, the input / output control device, or the various interfaces is advanced after the confirmation, even if the access occurs immediately after the start of the diagnosis by the diagnostic program, the diagnosis immediately starts. The execution of the diagnostic program does not impose a burden on the CPU, and the access is prioritized over the execution of the diagnostic program. There is an effect that it is possible to perform efficient diagnosis by effectively utilizing the time when there is no access without hindering the original normal operation of the output control device or the various interfaces.
【0114】請求項7記載の発明によれば、入出力装置
あるいは入出力制御装置あるいは各種インターフェース
の診断結果を、CPU、システムバスを介して前記CP
Uと接続する入出力装置あるいは入出力制御装置あるい
は各種インターフェース以外に備えられたマイクロプロ
セッサ側のメモリに保存するように構成したので、前記
診断の実行および前記診断結果の保存の実行をCPUが
行う必要がなくなり、前記診断実行に際しての前記CP
Uの負担をなくすことができる効果がある。According to the invention described in claim 7, the diagnostic result of the input / output device or the input / output control device or various interfaces is sent to the CP via the CPU and the system bus.
Since the memory is configured to be stored in the memory on the microprocessor side provided other than the input / output device or the input / output control device connected to U or various interfaces, the CPU executes the diagnosis and the storage of the diagnosis result. There is no need to use the CP when executing the diagnosis.
This has the effect of eliminating the burden on U.
【0115】請求項8記載の発明によれば、システムバ
スの制御線を監視することでアクセスが所定の時間ない
状態を検出し、該検出結果を基に生成され出力された割
り込み信号により前記システムバスに接続する入出力装
置あるいは入出力制御装置あるいは各種インターフェー
スはそれぞれ自分自身に搭載されたマイクロプロセッサ
および診断プログラムにより、前記システムバスを介し
て自分以外の他の前記入出力装置あるいは前記入出力制
御装置あるいは前記各種インターフェース装置に対し診
断を行うように構成したので、前記入出力装置あるいは
前記入出力制御装置あるいは前記各種インターフェース
装置は、前記システムバスの制御線を監視することで前
記アクセスが所定の時間ない状態の検出結果を基に生成
され出力された割り込み信号を基に、それぞれ他の入出
力装置あるいは入出力制御装置あるいは各種インターフ
ェース装置に対し自分自身が保有する前記診断プログラ
ムにより診断を行うことになり、前記診断実行に際して
CPUの負担をなくすことができる効果がある。According to the present invention, the system bus control line is monitored to detect a state in which no access is made for a predetermined time, and the system is generated by an interrupt signal generated and output based on the detection result. The input / output device, the input / output control device, or the various interfaces connected to the bus are controlled by a microprocessor and a diagnostic program installed in each of the input / output devices other than itself or the input / output control via the system bus. Since the device or the various interface devices is configured to perform the diagnosis, the I / O device, the input / output control device, or the various interface devices can access the access line by monitoring the control line of the system bus. Generated and output based on the detection result of the timeless condition On the basis of the embedded signal, another I / O device, an I / O control device, or various interface devices will be diagnosed by the diagnostic program owned by themselves, and the burden on the CPU can be eliminated when the diagnostic is executed. There is an effect that can be done.
【0116】請求項9記載の発明によれば、診断を行う
順位を予め優先順位として決めておき、該優先順位に従
って入出力装置あるいは入出力制御装置あるいは各種イ
ンターフェースは、それぞれ自分自身に搭載されたマイ
クロプロセッサおよび診断プログラムにより、システム
バスを介して自分以外の他の前記入出力装置あるいは前
記入出力制御装置あるいは前記各種インターフェース装
置に対し診断を行うように構成したので、前記入出力装
置あるいは前記入出力制御装置あるいは前記各種インタ
ーフェース装置はそれぞれ他の入出力装置あるいは入出
力制御装置あるいは各種インターフェース装置に対し自
分自身が保有する前記診断プログラムにより前記優先順
位に従って診断を行うことになり、前記診断プログラム
実行に際してCPUの負担をなくすことができる効果が
ある。According to the invention described in claim 9, the order of diagnosis is determined in advance as a priority order, and the input / output device, the input / output control device, or the various interfaces are mounted on themselves according to the priority order. Since the microprocessor and the diagnostic program are configured to diagnose the other input / output device other than itself, the input / output control device, or the various interface devices via the system bus, the input / output device or the input / output device The output control device or the various interface devices will diagnose the other input / output device, the input / output control device, or the various interface devices according to the priority according to the diagnostic program owned by itself, and execute the diagnostic program. At the time of CP There is an effect that it is possible to eliminate the burden.
【0117】請求項10記載の発明によれば、入出力装
置あるいは入出力制御装置あるいは各種インターフェー
スがそれぞれシステムバスの制御線を監視することでア
クセスが所定の時間ない状態を検出し、該検出結果を基
に割り込み信号を出力し、前記割り込み信号を受け付け
た他の入出力装置あるいは入出力制御装置あるいは各種
インターフェースは前記割り込み信号を出力した前記入
出力装置あるいは前記入出力制御装置あるいは前記各種
インターフェースに対し自分自身が保有する診断プログ
ラムを実行することで診断を行い、該診断終了後、該診
断を行った側は割り込み信号を出力して該割り込み信号
を受け付けた側から自分自身が診断されるように構成し
たので、前記入出力装置あるいは前記入出力制御装置あ
るいは前記各種インターフェース間で自分自身が保有す
る診断プログラムにより互に診断を行うことが可能にな
り、前記診断実行に際してCPUの負担をなくすことが
できる効果がある。According to the tenth aspect of the present invention, the input / output device, the input / output control device, or the various interfaces each monitor the control line of the system bus to detect a state in which there is no access for a predetermined time. Other input / output device or input / output control device or various interfaces that have received the interrupt signal are output to the input / output device, the input / output control device, or the various interfaces that output the interrupt signal. On the other hand, the diagnosis is carried out by executing the diagnostic program possessed by itself, and after the diagnosis is completed, the side performing the diagnosis outputs an interrupt signal so that the side receiving the interrupt signal diagnoses itself. Since it is configured as described above, the input / output device, the input / output control device, or the various types of Each other it is possible to make a diagnosis by the diagnosis program by itself held between interfaces, there is an effect that can be eliminated burden of CPU during the diagnostic execution.
【0118】請求項11記載の発明によれば、システム
バスの制御線を監視することでアクセスがない状態を検
出する際の所定の時間を規定する時間データを、診断を
受ける際の優先度の高さに応じて短い値に予め決めてお
き、診断を受ける際に優先度の高い入出力装置あるいは
入出力制御装置あるいは各種インターフェースは優先度
の低い入出力装置あるいは入出力制御装置あるいは各種
インターフェースに比べて先に診断を受けるように構成
したので、前記時間データの設定の仕方により診断を受
ける入出力装置あるいは入出力制御装置あるいは各種イ
ンターフェースの優先度を自由に変えることができ、シ
ステムとしての柔軟性を向上させることができる効果が
ある。According to the eleventh aspect of the present invention, the time data defining the predetermined time when detecting the state of no access by monitoring the control line of the system bus is used as the priority of the diagnosis. Predetermine to a short value according to the height, and when receiving a diagnosis, the I / O device or I / O controller or various interfaces with high priority should be changed to the I / O device, I / O controller or various interfaces with low priority. Since the system is configured to receive the diagnosis first, the priority of the input / output device or the input / output control device or various interfaces to be diagnosed can be freely changed according to the setting method of the time data, and the system flexibility There is an effect that can improve the sex.
【0119】請求項12記載の発明によれば、入出力装
置あるいは入出力制御装置あるいは各種インターフェー
スがそれぞれシステムバスの制御線を監視することでア
クセスが所定の時間ない状態を検出し、該検出結果を基
に割り込み信号を出力し、前記割り込み信号を受け付け
た他の入出力装置あるいは入出力制御装置あるいは各種
インターフェースは前記割り込み信号を出力した前記入
出力装置あるいは入出力制御装置あるいは各種インター
フェース以外の入出力装置あるいは入出力制御装置ある
いは各種インターフェースに対し自分自身が保有する診
断プログラムを実行することで診断を行い、該診断にお
いて診断対象となった前記入出力装置あるいは前記入出
力制御装置あるいは前記各種インターフェースに対する
診断結果が「正常」である場合に限り、前記診断終了
後、該診断を行った前記入出力装置あるいは前記入出力
制御装置あるいは前記各種インターフェースは割り込み
信号を出力し、前記診断された前記入出力装置あるいは
前記入出力制御装置あるいは前記各種インターフェース
以外の入出力装置あるいは入出力制御装置あるいは各種
インターフェースが前記出力された割り込み信号を受け
付けることで前記診断を受けた側の当事者になっていな
い入出力装置あるいは入出力制御装置あるいは各種イン
ターフェースに対し自分自身が保有する診断プログラム
を実行することで診断を行うように構成したので、前記
入出力装置あるいは前記入出力制御装置あるいは前記各
種インターフェースは自分自身が保有する診断プログラ
ムにより前記入出力装置あるいは前記入出力制御装置あ
るいは前記各種インターフェースの間で診断を行うこと
が可能になり、前記診断実行に際してCPUの負担をな
くすことができる効果がある。According to the twelfth aspect of the present invention, the input / output device, the input / output control device, or the various interfaces each monitor the control line of the system bus to detect a state in which there is no access for a predetermined time, and the detection result is detected. Other input / output device or input / output control device or various interfaces that have received the interrupt signal, the input / output device or input / output control device or various interfaces other than the input / output device that output the interrupt signal. The output device, the input / output control device, or the various interfaces are diagnosed by executing their own diagnostic programs, and the input / output device, the input / output control device, or the various interfaces that are diagnosed in the diagnosis. The diagnostic result for "normal Only when the diagnosis is completed, the input / output device, the input / output control device, or the various interfaces that have performed the diagnosis output an interrupt signal, and the diagnosed input / output device or the input / output control is executed. I / O device other than the device or the various interfaces, or the I / O control device, or the I / O device or the I / O control device that is not a party to the side receiving the diagnosis, by the I / O control device or the various interfaces accepting the output interrupt signal Since the diagnostics are configured to be executed by executing the diagnostic program owned by itself to the various interfaces, the input / output device, the input / output control device, or the various interfaces are input by the diagnostic program owned by the user. Output device or above It is possible to diagnose between output controller or said various interfaces, there is an effect that can be eliminated burden of CPU during the diagnostic execution.
【0120】請求項13記載の発明によれば、診断を行
った入出力装置あるいは入出力制御装置あるいは各種イ
ンターフェースは、前記診断を行った際のログデータを
所定のメモリエリアへ保存するように構成したので、ロ
グデータの保存をCPUに負担をかけずに行うことがで
きる効果がある。According to the thirteenth aspect of the present invention, the input / output device, the input / output control device, or various interfaces that have made the diagnosis are configured to store the log data when the diagnosis is made in a predetermined memory area. Therefore, there is an effect that the log data can be saved without burdening the CPU.
【0121】請求項14記載の発明によれば、診断結果
が「異常」と判断された診断対象となった入出力装置あ
るいは入出力制御装置あるいは各種インターフェース
は、診断結果を「異常」と判断した前記診断を行った側
の入出力装置あるいは入出力制御装置あるいは各種イン
ターフェースが出力する割り込み信号を基に前記「異
常」と判断された際のログデータを自分自身が備えるメ
モリの所定のエリアへ保存するように構成したので、前
記「異常」と判断された際のログデータは前記「異常」
と判断された入出力装置あるいは入出力制御装置あるい
は各種インターフェース内に保存されることになり、診
断結果の管理が容易になる効果がある。According to the fourteenth aspect of the present invention, the input / output device, the input / output control device, or the various interfaces which are the objects of diagnosis for which the diagnosis result is judged as "abnormal" judges the diagnosis result as "abnormal". Save the log data when it is judged as "abnormal" based on the interrupt signal output from the I / O device or I / O control device or various interfaces on the diagnosis side in a predetermined area of the memory of its own Therefore, the log data when it is judged as "abnormal" is the "abnormal"
It is saved in the input / output device, the input / output control device, or various interfaces that have been determined to be effective, which has the effect of facilitating the management of diagnostic results.
【0122】請求項15記載の発明によれば、入出力装
置あるいは入出力制御装置あるいは各種インターフェー
スそれぞれに対し行う診断の内容と、前記入出力装置あ
るいは前記入出力制御装置あるいは前記各種インターフ
ェースそれぞれに対し前記内容に従った診断を行うため
の前記入出力装置あるいは前記入出力制御装置あるいは
前記各種インターフェースに共通するコマンドを予め決
めておき、システムバスを介して接続するCPUから前
記入出力装置あるいは前記入出力制御装置あるいは前記
各種インターフェースへ与えられる前記コマンドによ
り、前記入出力装置あるいは前記入出力制御装置あるい
は前記各種インターフェースそれぞれが前記予め決めら
れた診断の内容に従った自己診断を診断プログラムによ
り行うように構成したので、1つのコマンドで前記内容
に従った自己診断を全ての前記入出力装置あるいは前記
入出力制御装置あるいは前記各種インターフェースに対
し効率的に指示できる効果がある。According to the fifteenth aspect of the present invention, the contents of the diagnosis performed for the input / output device, the input / output control device, or the various interfaces, and the diagnosis contents for the input / output device, the input / output control device, or the various interfaces A command common to the input / output device, the input / output control device, or the various interfaces for performing diagnosis according to the above contents is determined in advance, and the input / output device or the input / output device is input from the CPU connected via the system bus. According to the command given to the output control device or the various interfaces, the input / output device, the input / output control device, or the various interfaces, respectively, perform self-diagnosis according to the contents of the predetermined diagnosis by a diagnostic program. Configured Since, there is an effect of efficiently direct the self-diagnosis in accordance with the contents in a single command to all the input and output device or the input-output control unit or the various interfaces.
【0123】請求項16記載の発明によれば、入出力装
置あるいは入出力制御装置あるいは各種インターフェー
スは、診断プログラムによる診断開始の最初にシステム
バスの状態から通常のアクセスによる前記システムバス
上での各種データの授受がないことを確認し、該確認後
に前記開始した診断プログラムに従った診断を進めるよ
うに構成したので、前記システムバス上での各種データ
の授受がない状態で前記診断プログラムが開始されるた
め、前記診断プログラムの実行が前記診断プログラム開
始直後に発生した通常のアクセスによる前記システムバ
ス上の各種データの授受に与える影響を排除できる効果
がある。According to the sixteenth aspect of the present invention, the input / output device, the input / output control device, or the various interfaces are provided on the system bus by normal access from the state of the system bus at the beginning of diagnosis by the diagnostic program. Since it is configured to confirm that no data has been exchanged and to proceed with the diagnosis according to the diagnostic program started after the confirmation, the diagnostic program is started in the state where various data is not exchanged on the system bus. Therefore, there is an effect that it is possible to eliminate the influence of the execution of the diagnostic program on the transfer of various data on the system bus by the normal access that occurs immediately after the start of the diagnostic program.
【0124】請求項17記載の発明によれば、診断プロ
グラムを実行する入出力装置あるいは入出力制御装置あ
るいは各種インターフェースは、前記診断プログラムに
よる診断開始の最初にシステムバスの状態から前記シス
テムバス上での各種データの授受があることを確認する
と、前記開始した診断プログラムの実行を強制的に終了
するように構成したので、診断が開始された直後に通常
のアクセスにより前記システムバス上で各種データの授
受があるときには、即座に前記開始した診断を中止し、
前記通常のアクセスを優先することができ、前記診断の
実行が前記通常のアクセスによるシステムバス上の各種
データの授受に与える悪影響を排除できる効果がある。According to the seventeenth aspect of the present invention, the input / output device, the input / output control device, or various interfaces for executing the diagnostic program are connected to the system bus from the state of the system bus at the beginning of the diagnosis by the diagnostic program. When it is confirmed that the various types of data have been exchanged, the execution of the started diagnostic program is forcibly terminated. Therefore, immediately after the diagnosis is started, various types of data on the system bus are transferred by normal access. When there is a transfer, immediately stop the diagnosis that started,
The normal access can be prioritized, and the adverse effect of the execution of the diagnosis on the transfer of various data on the system bus due to the normal access can be eliminated.
【0125】請求項18記載の発明によれば、システム
バスの制御線および、階層化されて接続されている入出
力装置あるいは入出力制御装置あるいは各種インターフ
ェース間での各種データの授受の状態を監視することで
アクセスが所定の時間ない状態をCPUが検出し、前記
アクセスがないときに前記CPUは診断プログラムを実
行し、前記階層化されて接続されている入出力装置ある
いは入出力制御装置あるいは各種インターフェースを上
位の階層から下位の階層への順で診断を行うように構成
したので、階層化されて接続されているそれぞれの入出
力装置あるいは入出力制御装置あるいは各種インターフ
ェースに対する診断を行うことができる効果がある。According to the eighteenth aspect of the present invention, the status of transmission / reception of various data between the control lines of the system bus and the hierarchically connected input / output devices or input / output control devices or various interfaces is monitored. By doing so, the CPU detects a state where there is no access for a predetermined time, and when there is no access, the CPU executes a diagnostic program, and the hierarchically connected input / output devices or input / output control devices or various types are connected. Since the interface is configured to perform diagnosis in the order from the upper hierarchy to the lower hierarchy, it is possible to diagnose each input / output device or input / output control device or various interfaces connected hierarchically. effective.
【0126】請求項19記載の発明によれば、システム
バスに直接接続される入出力装置あるいは入出力制御装
置あるいは各種インターフェース、階層化されている場
合には最上位の入出力装置あるいは入出力制御装置ある
いは各種インターフェースに対し、それぞれ行う診断の
内容と前記入出力装置あるいは前記入出力制御装置ある
いは前記各種インターフェースそれぞれに対し前記内容
に従った診断を行うための前記入出力装置あるいは前記
入出力制御装置あるいは前記各種インターフェースに共
通するコマンドを予め決めておき、前記CPUから与え
られる前記コマンドにより、前記入出力装置あるいは前
記入出力制御装置あるいは前記各種インターフェースそ
れぞれが前記予め決められた診断の内容に従った自己診
断を診断プログラムにより行い、前記階層化されている
ときには最上位の階層から下位の階層へ順次自己診断を
行うように構成したので、前記システムバスに直接ある
いは階層化されて接続されている前記入出力装置あるい
は前記入出力制御装置あるいは前記各種インターフェー
スそれぞれの診断を、前記CPUから与えられるコマン
ドに従った内容で行うことができる効果がある。According to the nineteenth aspect of the present invention, the input / output device or the input / output control device or various interfaces directly connected to the system bus, or the uppermost input / output device or the input / output control when hierarchized. The contents of diagnosis performed on the device or various interfaces, and the input / output device or the input / output controller for performing diagnosis on the input / output device, the input / output control device, or the various interfaces, respectively. Alternatively, a command common to the various interfaces is determined in advance, and the command given from the CPU causes the input / output device, the input / output control device, or the various interfaces to comply with the predetermined diagnostic content. Self-diagnosis program Since the self-diagnosis is performed sequentially from the uppermost layer to the lower layer when the hierarchical structure is adopted, the input / output device or the previous device connected to the system bus directly or in the hierarchical structure is used. There is an effect that the entry output control device or each of the various interfaces can be diagnosed with the content according to the command given from the CPU.
【0127】請求項20記載の発明によれば、システム
バスに直接接続されている入出力装置あるいは入出力制
御装置あるいは各種インターフェース、階層化されてい
る場合には最上位の入出力装置あるいは入出力制御装置
あるいは各種インターフェースに対しそれぞれ行う診断
の内容と、前記入出力装置あるいは前記入出力制御装置
あるいは前記各種インターフェースに対しそれぞれ前記
内容に従った診断を行うための共通するコマンドを予め
決めておき、前記システムバスに接続するCPU、前記
入出力装置、前記入出力制御装置、前記各種インターフ
ェース以外に備えられているマイクロプロセッサ側で前
記システムバスの制御線を監視することでアクセスが所
定の時間ない状態を検出したときに前記マイクロプロセ
ッサは診断プログラムを実行し、前記アクセスがないと
きに前記入出力装置あるいは前記入出力制御装置あるい
は前記各種インターフェースへ前記マイクロプロセッサ
が与える前記コマンドにより、前記入出力装置あるいは
前記入出力制御装置あるいは前記各種インターフェース
それぞれの自己診断が前記予め決められた診断の内容に
従って行われ、前記階層化されている場合には、前記最
上位の階層から順次下位の階層へ前記診断プログラムに
より自己診断が行われるように構成したので、前記CP
Uを介することなく、前記システムバスに直接あるいは
階層化されて接続されている前記入出力装置あるいは前
記入出力制御装置あるいは前記各種インターフェースそ
れぞれの診断を、前記マイクロプロセッサから与えられ
るコマンドに従った内容で行うことができる効果があ
る。According to the twentieth aspect of the invention, the input / output device or the input / output control device or various interfaces directly connected to the system bus, or the highest level input / output device or the input / output in the case of hierarchization The contents of the diagnosis to be performed on the control device or various interfaces, and the common command for performing the diagnosis according to the contents on the input / output device, the input / output control device, or the various interfaces are determined in advance, A state in which there is no access for a predetermined time by monitoring a control line of the system bus on the side of the CPU connected to the system bus, the input / output device, the input / output control device, and a microprocessor provided other than the various interfaces. When the microprocessor detects a The input / output device, the input / output control device, or the various interfaces according to the command given by the microprocessor to the input / output device, the input / output control device, or the various interfaces when there is no access. The self-diagnosis is performed according to the content of the predetermined diagnosis, and in the case where the layers are hierarchized, the self-diagnosis is performed by the diagnostic program from the uppermost layer to the lower layers in sequence. So the CP
Content of diagnosis of each of the input / output device, the input / output control device, or the various interfaces connected directly or hierarchically to the system bus without going through U according to a command given from the microprocessor. There is an effect that can be done in.
【0128】請求項21記載の発明によれば、システム
バスの制御線を監視することでアクセスが所定の時間な
い状態か否かを検出するバス監視装置と、前記アクセス
が所定の時間ない状態を検出することで前記バス監視装
置が生成した割り込み信号を受け付けたCPUが入出力
装置あるいは入出力制御装置あるいは各種インターフェ
ースに対し診断を行うための前記CPU側に設けられた
診断プログラムと、該診断プログラムの実行の際に得ら
れたデータをログデータとして前記バス監視装置で記憶
する記憶手段とを備えるように構成したので、前記アク
セスのないことの検出は前記CPUが行うのではなく前
記バス監視装置が行い前記CPUの負担にならず、前記
CPUは前記通知により前記アクセスのないことを知る
ことができ、CPUの負荷を軽減できる効果がある。According to the twenty-first aspect of the present invention, there is provided a bus monitoring device for detecting whether or not there is no access for a predetermined time by monitoring the control line of the system bus, and a bus monitoring device for not detecting the access for a predetermined time. A diagnostic program provided on the CPU side for allowing the CPU that has received the interrupt signal generated by the bus monitoring device to perform a diagnosis on the input / output device, the input / output control device, or various interfaces, and the diagnostic program. Since the bus monitoring device is configured to store the data obtained at the time of execution as log data in the bus monitoring device, the CPU does not detect the absence of the access but the bus monitoring device. Does not impose a burden on the CPU, and the CPU can know from the notification that there is no access. There is an effect that can reduce the load.
【0129】請求項22記載の発明によれば、システム
バスの状態からアクセスがないことを検出したときにバ
ス監視装置から送られてくる通知により、CPUは診断
プログラムによる診断開始の最初で前記システムバス上
で通常のアクセスによる各種データの授受がないことを
確認し、該確認後に前記開始した診断プログラムに従っ
た処理を進めるように構成したので、前記アクセスのな
いことの検出は前記CPUが行うのではなく前記バス監
視装置が行い、前記CPUは前記通知により前記アクセ
スのないことを知ることができ、前記診断プログラム実
行中のCPUの負担にならず、また、前記診断プログラ
ムの実行が前記アクセスに優先して行われることがな
く、前記診断プログラムの実行が前記CPUおよび入出
力装置あるいは入出力制御装置あるいは各種インターフ
ェースにおける本来の通常動作の妨げになることがな
く、前記アクセスのない時間を有効に利用した効率的な
診断を行うことができる効果がある。According to the twenty-second aspect of the invention, the CPU sends the system at the beginning of the diagnosis by the diagnostic program by the notification sent from the bus monitoring device when it detects that there is no access from the state of the system bus. Since it is configured to confirm that various kinds of data are not transmitted / received by the normal access on the bus, and the processing according to the started diagnostic program is advanced after the confirmation, the CPU detects the absence of the access. Instead of the above, the bus monitoring device performs the notification, the CPU can know from the notification that there is no access, does not impose a burden on the CPU during execution of the diagnostic program, and the execution of the diagnostic program causes the access The diagnostic program is executed by the CPU and the input / output device or Controller or without hindering the original normal operation at various interfaces, there is an effect that it is possible to perform an efficient diagnosis and effective use of the no access time.
【0130】請求項23記載の発明によれば、バス監視
装置がシステムバスの状態からアクセスがあることを検
出したときには、前記バス監視装置から送られてくる通
知によりCPUは診断プログラムによる診断開始の最初
に前記システムバス上での各種データの授受があること
を確認し、前記開始した診断プログラムの実行を強制的
に終了するように構成したので、前記アクセスのあるこ
との検出は前記CPUが行うのではなく前記バス監視装
置により行われ、前記診断プログラム実行中のCPUの
負担にならず、また、前記アクセスは前記診断プログラ
ムの実行に優先して行われ前記診断プログラムは強制的
に終了し、前記CPUおよび入出力装置あるいは入出力
制御装置あるいは各種インターフェースにおける本来の
通常動作の妨げになることがなく、前記アクセスのない
時間を有効に利用した効率的な診断を行うことができる
効果がある。According to the twenty-third aspect of the invention, when the bus monitor detects that there is an access from the state of the system bus, the CPU notifies the diagnosis start by the diagnostic program by the notification sent from the bus monitor. First, it is confirmed that various kinds of data are exchanged on the system bus and the execution of the started diagnostic program is forcibly ended. Therefore, the CPU detects the presence of the access. Instead of the above, the bus monitoring device does not burden the CPU during execution of the diagnostic program, and the access is performed prior to the execution of the diagnostic program and the diagnostic program is forcibly terminated. To prevent the original normal operation of the CPU and the input / output device, the input / output control device, or various interfaces No Rukoto, there is an effect that it is possible to perform an efficient diagnosis and effective use of the no access time.
【0131】請求項24記載の発明によれば、入出力装
置あるいは入出力制御装置あるいは各種インターフェー
スを診断するための診断プログラムと、前記システムバ
スの制御線を監視することでアクセスが所定の時間ない
状態を検出する制御線監視部と、該制御線監視部が前記
システムバスの制御線を監視することでアクセスが所定
の時間ない状態を検出したときに前記診断プログラムを
実行し、前記入出力装置あるいは前記入出力制御装置あ
るいは前記各種インターフェースを診断するマイクロプ
ロセッサとを有したバス監視装置を備えるように構成し
たので、前記入出力装置あるいは前記入出力制御装置あ
るいは前記各種インターフェースの診断におけるCPU
の介入が不要になり、前記診断実行に際しての前記CP
Uの負担がなくなる効果がある。According to the twenty-fourth aspect of the present invention, a diagnostic program for diagnosing the input / output device, the input / output control device, or various interfaces, and the control line of the system bus are monitored so that access is not made for a predetermined time. A control line monitoring unit for detecting a state, and the control line monitoring unit executes the diagnostic program when the control line monitoring unit detects a state in which no access is made for a predetermined time by monitoring the control line of the system bus. Alternatively, since the bus monitoring device having the input / output control device or the microprocessor for diagnosing the various interfaces is provided, the CPU for diagnosing the input / output device or the input / output control device or the various interfaces
The intervention of the
It has the effect of eliminating the burden on U.
【0132】請求項25記載の発明によれば、制御線監
視部がシステムバスの制御線を監視することでアクセス
が所定の時間ない状態を検出したときに実行される診断
プログラムにおいて、マイクロプロセッサは開始した診
断の最初でアクセスがない状態であることを前記制御線
監視部の前記検出結果を基に確認し、該確認後に前記診
断を進めるように構成したので、前記診断プログラムに
よる診断開始の直後に前記アクセスが発生していても即
座に前記開始した診断を中止することができ、また前記
診断の実行はCPUの負担にならず、さらに前記アクセ
スは前記診断プログラムの実行に優先して行われ、前記
CPUおよび入出力装置あるいは入出力制御装置あるい
は各種インターフェースにおける本来の通常動作の妨げ
になることがなく、前記アクセスのない時間を有効に利
用した効率的な診断を行うことができる効果がある。According to the twenty-fifth aspect of the invention, in the diagnostic program executed when the control line monitoring unit monitors the control line of the system bus to detect a state in which there is no access for a predetermined time, the microprocessor is Immediately after the start of the diagnosis by the diagnosis program, since it is configured to confirm that there is no access at the beginning of the started diagnosis based on the detection result of the control line monitoring unit and advance the diagnosis after the confirmation. Even if the access occurs, the started diagnosis can be stopped immediately, the execution of the diagnosis does not burden the CPU, and the access is performed prior to the execution of the diagnostic program. , Without hindering the normal normal operation of the CPU and the input / output device, the input / output control device, or various interfaces There is an effect that it is possible to perform an efficient diagnosis and effective use of the no access time.
【0133】請求項26記載の発明によれば、入出力装
置あるいは入出力制御装置あるいは各種インターフェー
スの診断結果をバス監視装置が備えるマイクロコンピュ
ータがバス監視装置へ保存するように構成したので、前
記入出力装置あるいは前記入出力制御装置あるいは前記
各種インターフェース診断の実行および前記診断結果の
保存の実行をCPUが行う必要がなくなり、前記診断の
実行に際しての前記CPUの負担をなくすことができる
効果がある。According to the twenty-sixth aspect of the invention, since the microcomputer provided in the bus monitoring device is configured to save the diagnostic results of the input / output device, the input / output control device, or various interfaces in the bus monitoring device, There is no need for the CPU to execute the output device, the input / output control device, or the various interface diagnostics and the storage of the diagnostic result, and it is possible to eliminate the burden on the CPU when executing the diagnostics.
【0134】請求項27記載の発明によれば、システム
バスの制御線を監視することでアクセスが所定の時間な
い状態を検出し、該検出結果を基に割り込み信号を生成
し出力するバス監視装置と、入出力装置あるいは入出力
制御装置あるいは各種インターフェースそれぞれに搭載
され、自分以外の他の入出力装置あるいは入出力制御装
置あるいは各種インターフェースを診断するための診断
プログラムおよび前記割り込み信号を受け付けることで
前記診断プログラムを実行し、前記自分以外の他の入出
力装置あるいは入出力制御装置あるいは各種インターフ
ェースを診断するマイクロプロセッサとを備えるように
構成したので、前記入出力装置あるいは前記入出力制御
装置あるいは前記各種インターフェース装置は、前記バ
ス監視装置が前記システムバスの制御線を監視すること
で前記アクセスが所定の時間ない状態を検出したときに
生成され出力された割り込み信号を基に、それぞれ他の
入出力装置あるいは入出力制御装置あるいは各種インタ
ーフェース装置に対し自分自身が保有する前記診断プロ
グラムにより診断を行うことになり、前記診断実行に際
して前記システムバスに接続されるCPUの負担をなく
すことができる効果がある。According to the twenty-seventh aspect of the present invention, a bus monitoring device for detecting a state in which there is no access for a predetermined time by monitoring the control line of the system bus, and generating and outputting an interrupt signal based on the detection result. And an input / output device, an input / output control device, or various interfaces, respectively, and by receiving a diagnostic program for diagnosing other input / output devices, input / output control devices, or various interfaces other than itself and the interrupt signal, The input / output device, the input / output control device, and the various types are configured to include the input / output device other than the self, the input / output control device, and the microprocessor for diagnosing various interfaces. The bus monitoring device is the interface device. Based on the interrupt signal generated and output when the access is detected for a predetermined period of time by monitoring the control line of the stem bus, the other input / output devices or input / output control devices or various interface devices Diagnosis is made by the diagnosis program owned by itself, and there is an effect that the load of the CPU connected to the system bus can be eliminated when the diagnosis is executed.
【0135】請求項28記載の発明によれば、入出力装
置あるいは入出力制御装置あるいは各種インターフェー
スの間で診断を行う順位を予め優先順位として決めてお
くための優先順位決定手段を有し、該優先順位決定手段
により決定されている優先順位に従って前記入出力装置
あるいは前記入出力制御装置あるいは前記各種インター
フェースにそれぞれ搭載されたマイクロプロセッサは、
それぞれ自分自身に搭載された診断プログラムによりシ
ステムバスを介して自分以外の他の前記入出力装置ある
いは前記入出力制御装置あるいは前記各種インターフェ
ース装置に対し診断を行うように構成したので、前記入
出力装置あるいは前記入出力制御装置あるいは前記各種
インターフェース装置はそれぞれ他の入出力装置あるい
は入出力制御装置あるいは各種インターフェース装置に
対し自分自身が保有する前記診断プログラムにより前記
優先順位決定手段により予め決められた優先順位に従っ
て診断を行うことになり、前記診断実行に際してのCP
Uの負担をなくすことができる効果がある。According to the twenty-eighth aspect of the present invention, there is provided a priority order determining means for predetermining the order of diagnosis among the input / output devices, the input / output control device, or various interfaces as priorities. According to the priority determined by the priority determining means, the input / output device, the input / output control device, or the microprocessors respectively mounted on the various interfaces are
The input / output device is configured so as to diagnose the other input / output device other than itself, the input / output control device, or the various interface devices via a system bus by a diagnostic program installed in itself. Alternatively, the input / output control device or the various interface devices are assigned to the other input / output devices, the input / output control device or the various interface devices by the priority determining means according to the diagnostic program stored in the priority determination means. According to the CP when executing the diagnosis
This has the effect of eliminating the burden on U.
【0136】請求項29記載の発明によれば、システム
バスの制御線を監視することでアクセスが所定の時間な
い状態を検出する制御線監視部と、該制御線監視部の検
出結果を基に割り込み信号を生成し出力し、自分以外の
他の入出力装置あるいは入出力制御装置あるいは各種イ
ンターフェースから出力された割り込み信号を受け付け
ることで前記割り込み信号を出力した前記他の入出力装
置あるいは入出力制御装置あるいは各種インターフェー
スに対し診断を行うマイクロプロセッサと、前記他の入
出力装置あるいは前記入出力制御装置あるいは前記各種
インターフェースに対し診断を行うための診断プログラ
ムとを入出力装置あるいは入出力制御装置あるいは各種
インターフェースにそれぞれ搭載するように構成したの
で、前記入出力装置あるいは前記入出力制御装置あるい
は前記各種インターフェースは自分自身が保有する診断
プログラムにより互に診断を行うことが可能になり、前
記診断実行に際してのCPUの負担をなくすことができ
る効果がある。According to the twenty-ninth aspect of the present invention, a control line monitoring unit that detects a state in which there is no access for a predetermined time by monitoring the control line of the system bus, and a detection result of the control line monitoring unit are used. The other input / output device or the input / output control that outputs the interrupt signal by generating and outputting the interrupt signal and receiving the interrupt signal output from the other input / output device or input / output control device or various interfaces other than itself A microprocessor for diagnosing a device or various interfaces, and a diagnostic program for diagnosing the other I / O device, the I / O control device, or the various interfaces, the I / O device, the I / O control device, or the various Since it was configured to be mounted on each interface, Or said output control device or the various interfaces it is possible to perform mutually diagnosed by the diagnostic program is itself held, there is an effect that can be eliminated CPU load of when the diagnosis execution.
【0137】請求項30記載の発明によれば、制御線監
視部がシステムバスの制御線を監視することでアクセス
がない状態を検出する際の所定の時間を規定する時間デ
ータが、診断の対象となる入出力装置あるいは入出力制
御装置あるいは各種インターフェースの診断を受ける側
の優先度の高さに応じて短い値に設定されるタイマを、
CPUにシステムバスを介して接続された入出力装置あ
るいは入出力制御装置あるいは各種インターフェースが
それぞれ備えるように構成したので、前記時間データの
設定の仕方により診断を受ける入出力装置あるいは入出
力制御装置あるいは各種インターフェースの優先度を自
由に変えることができ、柔軟性を向上させたシステムを
構築できる効果がある。According to the thirtieth aspect of the present invention, the time data defining the predetermined time when the control line monitoring unit monitors the control line of the system bus to detect the state of no access is the object of diagnosis. A timer that is set to a short value according to the high priority of the side receiving the diagnosis of the input / output device or input / output control device or various interfaces
Since the input / output device, the input / output control device, or the various interfaces connected to the CPU via the system bus are provided respectively, the input / output device, the input / output control device, or the input / output control device to be diagnosed according to the setting method of the time data or The priority of various interfaces can be freely changed, and there is an effect that a system with improved flexibility can be constructed.
【図1】 この発明の実施の形態1のハードウェア診断
方法を実現するためのハードウェア診断装置の構成を示
すブロック構成図である。FIG. 1 is a block configuration diagram showing a configuration of a hardware diagnostic device for implementing a hardware diagnostic method according to a first embodiment of the present invention.
【図2】 この発明の実施の形態1のハードウェア診断
方法を実現するためのハードウェア診断装置の動作を示
すフローチャートである。FIG. 2 is a flowchart showing an operation of the hardware diagnostic device for implementing the hardware diagnostic method according to the first embodiment of the present invention.
【図3】 この発明の実施の形態2のハードウェア診断
方法を実現するためのハードウェア診断装置の構成を示
すブロック構成図である。FIG. 3 is a block configuration diagram showing a configuration of a hardware diagnostic device for implementing a hardware diagnostic method according to a second embodiment of the present invention.
【図4】 この発明の実施の形態2のハードウェア診断
方法を実現するためのハードウェア診断装置の動作を示
すフローチャートである。FIG. 4 is a flowchart showing an operation of the hardware diagnostic device for implementing the hardware diagnostic method according to the second embodiment of the present invention.
【図5】 この発明の実施の形態3のハードウェア診断
方法を実現するためのハードウェア診断装置の構成を示
すブロック構成図である。FIG. 5 is a block configuration diagram showing a configuration of a hardware diagnostic device for realizing a hardware diagnostic method according to a third embodiment of the present invention.
【図6】 この発明の実施の形態3のハードウェア診断
方法を実現するためのハードウェア診断装置の動作を示
すフローチャートである。FIG. 6 is a flowchart showing the operation of the hardware diagnostic device for implementing the hardware diagnostic method according to the third embodiment of the present invention.
【図7】 この発明の実施の形態4のハードウェア診断
方法を実現するためのハードウェア診断装置の構成を示
すブロック構成図である。FIG. 7 is a block configuration diagram showing a configuration of a hardware diagnostic device for realizing a hardware diagnostic method according to a fourth embodiment of the present invention.
【図8】 この発明の実施の形態4のハードウェア診断
方法を実現するためのハードウェア診断装置の動作を示
すフローチャートである。FIG. 8 is a flowchart showing an operation of the hardware diagnostic device for realizing the hardware diagnostic method according to the fourth embodiment of the present invention.
【図9】 この発明の実施の形態5のハードウェア診断
方法を実現するためのハードウェア診断装置の構成を示
すブロック構成図である。FIG. 9 is a block configuration diagram showing a configuration of a hardware diagnostic device for implementing a hardware diagnostic method according to a fifth embodiment of the present invention.
【図10】 この発明の実施の形態5のハードウェア診
断方法を実現するためのハードウェア診断装置における
コマンドと診断項目との関係を示す説明図である。FIG. 10 is an explanatory diagram showing the relationship between commands and diagnostic items in the hardware diagnostic device for implementing the hardware diagnostic method according to the fifth embodiment of the present invention.
【図11】 この発明の実施の形態6のハードウェア診
断方法を説明するためのブロック図である。FIG. 11 is a block diagram illustrating a hardware diagnostic method according to a sixth embodiment of the present invention.
【図12】 この発明の実施の形態7のハードウェア診
断方法を説明するためのブロック図である。FIG. 12 is a block diagram for explaining a hardware diagnosis method according to a seventh embodiment of the present invention.
【図13】 この発明の実施の形態8のハードウェア診
断方法を実現するためのハードウェア診断装置における
構成および診断処理動作を示すブロック図である。FIG. 13 is a block diagram showing a configuration and a diagnostic processing operation in a hardware diagnostic device for implementing a hardware diagnostic method according to an eighth embodiment of the present invention.
【図14】 複数の入出力装置がシステムバスを介して
CPUに接続されている、従来のハードウェア診断方法
が適用される計算機システムを示すブロック構成図であ
る。FIG. 14 is a block diagram showing a computer system to which a conventional hardware diagnosis method is applied, in which a plurality of input / output devices are connected to a CPU via a system bus.
【図15】 図14に示す計算機システムをさらに拡張
した計算機システムの構成を示すブロック構成図であ
る。 〔図面の簡単な説明〕 1,19,31,41 CPU、2,20,32,42
システムバス、3,5〜7,9,21〜24,47
入出力装置、4,8,10,12,51 バス監視装
置、5a,6a,7a,9a,12d,51d マイク
ロプロセッサ(優先順位決定手段)、8a,10a,1
2a 制御線監視部(アクセス監視手段)、8c,10
c タイマ、33,34,43,44 インターフェー
ス、49メモリ。FIG. 15 is a block configuration diagram showing a configuration of a computer system obtained by further expanding the computer system shown in FIG. [Brief Description of Drawings] 1, 19, 31, 41 CPU, 2, 20, 32, 42
System bus, 3,5-7,9,21-24,47
Input / output device, 4, 8, 10, 12, 51 Bus monitoring device, 5a, 6a, 7a, 9a, 12d, 51d Microprocessor (priority determining means), 8a, 10a, 1
2a Control line monitoring unit (access monitoring means), 8c, 10
c Timer, 33, 34, 43, 44 interface, 49 memory.
Claims (30)
た入出力装置あるいは入出力制御装置あるいは各種イン
ターフェースで生じている異常を検出するハードウェア
診断方法において、前記システムバスの制御線を監視す
ることでアクセスが所定の時間ない状態を検出し、該検
出結果を基に生成された割り込み信号により前記CPU
が診断プログラムを実行し、前記入出力装置あるいは前
記入出力制御装置あるいは前記各種インターフェースで
生じている異常を検出することを特徴とするハードウェ
ア診断方法。1. A hardware diagnostic method for detecting an abnormality occurring in an input / output device, an input / output control device, or various interfaces connected to a CPU via a system bus, monitoring a control line of the system bus. The CPU detects a state in which no access is made for a predetermined time, and uses the interrupt signal generated based on the detection result to detect the CPU.
Executing a diagnostic program to detect an abnormality occurring in the input / output device, the input / output control device, or the various interfaces.
セスのないことが検出されたことを示す通知により診断
プログラムによる診断開始の最初に前記システムバス上
での各種データの授受がないことを確認し、該確認後に
前記開始した診断プログラムに従った処理を進めること
を特徴とする請求項1記載のハードウェア診断方法。2. The CPU confirms by the notification indicating that no access is detected from the state of the system bus, at the beginning of diagnosis by the diagnostic program, confirms that various data is not exchanged on the system bus. The hardware diagnosis method according to claim 1, further comprising the step of advancing processing according to the diagnosis program started after the confirmation.
の最初にシステムバスの状態から検出されるアクセスが
あることを示す通知により前記システムバス上での各種
データの授受があることを確認したときには、前記開始
した診断プログラムの実行を強制的に終了することを特
徴とする請求項2記載のハードウェア診断方法。3. When the CPU confirms that various kinds of data are transmitted and received on the system bus by a notification indicating that there is an access detected from the state of the system bus at the beginning of diagnosis by the diagnostic program, The hardware diagnostic method according to claim 2, wherein the execution of the started diagnostic program is forcibly terminated.
いは各種インターフェースの診断の際のログデータを、
割り込み信号の発生側で保存することを特徴とする請求
項1から請求項3のうちのいずれか1項記載のハードウ
ェア診断方法。4. Log data for diagnosing an input / output device, an input / output control device, or various interfaces,
The hardware diagnostic method according to claim 1, wherein the hardware diagnostic method stores the interrupt signal on a generation side.
た入出力装置あるいは入出力制御装置あるいは各種イン
ターフェースで生じている異常を検出するハードウェア
診断方法において、前記CPU、前記入出力装置、前記
入出力制御装置、前記各種インターフェース以外に備え
られたアクセス監視手段が前記システムバスの制御線を
監視することでアクセスが所定の時間ない状態を検出し
たときに前記CPU、前記入出力装置、前記入出力制御
装置、前記各種インターフェース以外に備えられたマイ
クロプロセッサは診断プログラムを実行する一方、前記
アクセス監視手段が前記システムバスの制御線を監視す
ることでアクセスが発生したことを検出したときには実
行中の診断プログラムを強制的に終了し、前記入出力装
置あるいは前記入出力制御装置あるいは前記各種インタ
ーフェースで生じている異常を検出することを特徴とす
るハードウェア診断方法。5. A hardware diagnostic method for detecting an abnormality occurring in an input / output device, an input / output control device, or various interfaces connected to a CPU via a system bus, comprising: the CPU, the input / output device, and the input / output device. The CPU, the input / output device, and the input / output device when the access control unit provided in addition to the output control device and the various interfaces detects a state in which there is no access for a predetermined time by monitoring the control line of the system bus. While the control device and the microprocessor provided other than the various interfaces execute a diagnostic program, the access monitoring means monitors the control line of the system bus to detect that an access has occurred, and the diagnosis being executed. The program is forcibly terminated and the I / O device or the I / O device A hardware diagnostic method characterized by detecting an abnormality occurring in a force control device or the various interfaces.
実行により開始した診断の最初にシステムバスの状態か
ら再度アクセスがないことを確認し、該確認後に入出力
装置あるいは入出力制御装置あるいは各種インターフェ
ースに対する診断を進めることを特徴とする請求項5記
載のハードウェア診断方法。6. The microprocessor confirms that there is no access again from the state of the system bus at the beginning of the diagnosis started by executing the diagnostic program, and after the confirmation, diagnoses the input / output device or the input / output control device or various interfaces. The method for diagnosing hardware according to claim 5, wherein the method advances.
いは各種インターフェースの診断結果を、マイクロプロ
セッサ側のメモリに保存することを特徴とする請求項6
記載のハードウェア診断方法。7. A diagnostic result of an input / output device, an input / output control device or various interfaces is stored in a memory on a microprocessor side.
Described hardware diagnostic method.
た入出力装置あるいは入出力制御装置あるいは各種イン
ターフェースで生じている異常を検出するハードウェア
診断方法において、前記システムバスの制御線を監視す
ることでアクセスが所定の時間ない状態を検出し、該検
出結果を基に生成された割り込み信号により前記入出力
装置あるいは前記入出力制御装置あるいは前記各種イン
ターフェースは、それぞれ自分自身に搭載されたマイク
ロプロセッサおよび診断プログラムにより、前記システ
ムバスを介して自分以外の他の前記入出力装置あるいは
前記入出力制御装置あるいは前記各種インターフェース
装置に対し診断を行うことを特徴とするハードウェア診
断方法。8. A hardware diagnostic method for detecting an abnormality occurring in an input / output device, an input / output control device, or various interfaces connected to a CPU via a system bus, monitoring a control line of the system bus. In the above, the I / O device, the I / O controller, or the various interfaces are detected by the interrupt signal generated on the basis of the detection result of no access for a predetermined time. A hardware diagnostic method, wherein a diagnostic program diagnoses the other input / output devices other than itself, the input / output control device, or the various interface devices via the system bus.
めておき、該優先順位に従って入出力装置あるいは入出
力制御装置あるいは各種インターフェースは、それぞれ
自分自身に搭載されたマイクロプロセッサおよび診断プ
ログラムにより、システムバスを介して自分以外の他の
前記入出力装置あるいは前記入出力制御装置あるいは前
記各種インターフェース装置に対し診断を行うことを特
徴とする請求項8記載のハードウェア診断方法。9. The order of performing diagnosis is determined in advance as a priority order, and the input / output device, the input / output control device, or various interfaces are controlled by the microprocessor and the diagnostic program installed in the system according to the priority order. 9. The hardware diagnosing method according to claim 8, wherein diagnosis is performed on the other input / output device, the input / output control device, or the various interface devices other than itself via a bus.
れた入出力装置あるいは入出力制御装置あるいは各種イ
ンターフェースで生じている異常を検出するハードウェ
ア診断方法において、前記入出力装置あるいは前記入出
力制御装置あるいは前記各種インターフェースがそれぞ
れ前記システムバスの制御線を監視することでアクセス
が所定の時間ない状態を検出し、該検出結果を基に割り
込み信号を出力し、前記割り込み信号を受け付けた他の
入出力装置あるいは入出力制御装置あるいは各種インタ
ーフェースは前記割り込み信号を出力した前記入出力装
置あるいは前記入出力制御装置あるいは前記各種インタ
ーフェースに対し自分自身が保有する診断プログラムを
実行することで診断を行い、該診断終了後、該診断を行
った前記入出力装置あるいは前記入出力制御装置あるい
は前記各種インターフェースは割り込み信号を出力し、
前記診断の対象となった「正常」と診断された前記入出
力装置あるいは前記入出力制御装置あるいは前記各種イ
ンターフェースは前記出力された割り込み信号を受け付
けることで前記割り込み信号を出力した前記入出力装置
あるいは前記入出力制御装置あるいは前記各種インター
フェースに対し自分自身が保有する診断プログラムを実
行することで診断を行うことを特徴とするハードウェア
診断方法。10. A hardware diagnostic method for detecting an abnormality occurring in an input / output device, an input / output control device, or various interfaces connected to a CPU via a system bus, the input / output device or the input / output control device. Alternatively, each of the various interfaces detects a state in which there is no access for a predetermined time by monitoring the control line of the system bus, outputs an interrupt signal based on the detection result, and inputs and outputs other interrupt signals. The device, the input / output control device, or the various interfaces makes a diagnosis by executing a diagnostic program owned by itself to the input / output device, the input / output control device, or the various interfaces that output the interrupt signal, and the diagnosis is performed. After the end, the input / output device that has performed the diagnosis Alternatively, the input / output control device or the various interfaces outputs an interrupt signal,
The input / output device or the input / output control device or the various interfaces diagnosed as “normal” that is the target of the diagnosis outputs the interrupt signal by accepting the output interrupt signal, or A hardware diagnostic method, wherein diagnosis is performed by executing a diagnostic program owned by the input / output control device or the various interfaces.
でアクセスがない状態を検出する際の所定の時間を規定
する時間データを、診断を受ける側の入出力装置あるい
は入出力制御装置あるいは各種インターフェースの診断
を受ける際の優先度の高さに応じた短い値に予め決めて
おき、診断を受ける際に優先度の高い入出力装置あるい
は入出力制御装置あるいは各種インターフェースは優先
度の低い入出力装置あるいは入出力制御装置あるいは各
種インターフェースに比べて先に診断を受けることを特
徴とする請求項10記載のハードウェア診断方法。11. An input / output device, an input / output control device, or various interfaces on the side to be diagnosed, which provides time data defining a predetermined time for detecting a state of no access by monitoring a control line of a system bus. I / O device with high priority or I / O controller or various interfaces with low priority when receiving a diagnosis. 11. The hardware diagnosis method according to claim 10, wherein the diagnosis is performed prior to the input / output control device or various interfaces.
れた入出力装置あるいは入出力制御装置あるいは各種イ
ンターフェースで生じている異常を検出するハードウェ
ア診断方法において、前記入出力装置あるいは前記入出
力制御装置あるいは前記各種インターフェースがそれぞ
れシステムバスの制御線を監視することでアクセスが所
定の時間ない状態を検出し、該検出結果を基に割り込み
信号を出力し、前記割り込み信号を受け付けた他の入出
力装置あるいは入出力制御装置あるいは各種インターフ
ェースは前記割り込み信号を出力した前記入出力装置あ
るいは前記入出力制御装置あるいは前記各種インターフ
ェース以外の入出力装置あるいは入出力制御装置あるい
は各種インターフェースに対し自分自身が保有する診断
プログラムを実行することで診断を行い、該診断におい
て診断対象となった前記入出力装置あるいは前記入出力
制御装置あるいは前記各種インターフェースに対する診
断結果が「正常」である場合に限り、前記診断終了後、
該診断を行った前記入出力装置あるいは前記入出力制御
装置あるいは前記各種インターフェースは割り込み信号
を出力し、前記「正常」と診断された前記入出力装置あ
るいは前記入出力制御装置あるいは前記各種インターフ
ェース以外の入出力装置あるいは入出力制御装置あるい
は各種インターフェースが前記出力された割り込み信号
を受け付けることで前記診断を受けた側の当事者になっ
ていない入出力装置あるいは入出力制御装置あるいは各
種インターフェースに対し自分自身が保有する診断プロ
グラムを実行することで診断を行うことを特徴とするハ
ードウェア診断方法。12. A hardware diagnostic method for detecting an abnormality occurring in an input / output device, an input / output control device, or various interfaces connected to a CPU via a system bus, comprising: the input / output device or the input / output control device. Alternatively, each of the various interfaces detects a state of no access for a predetermined time by monitoring the control line of the system bus, outputs an interrupt signal based on the detection result, and another input / output device that receives the interrupt signal Alternatively, the input / output control device or the various interfaces have their own diagnostics for the input / output device, the input / output control device, or the input / output device other than the various interfaces, the input / output control device, or the various interfaces that output the interrupt signal. Run the program Only when the diagnosis result for the input / output device, the input / output control device, or the various interfaces that is the target of diagnosis in the diagnosis is “normal”, after completion of the diagnosis,
The input / output device, the input / output control device, or the various interfaces that have performed the diagnosis output an interrupt signal, and the input / output device, the input / output control device, or the various interfaces other than the “normal” are diagnosed. When the input / output device, the input / output control device, or the various interfaces accept the output interrupt signal, the input / output device, the input / output control device, or the various interfaces that are not parties to the side that has received the diagnosis are themselves A hardware diagnosing method, characterized in that diagnosis is performed by executing a diagnostic program stored therein.
力制御装置あるいは各種インターフェースは、前記診断
を行った際のログデータを所定のメモリエリアへ保存す
ることを特徴とする請求項10から請求項12のうちの
いずれか1項記載のハードウェア診断方法。13. The input / output device, the input / output control device, or various interfaces which have made a diagnosis store log data at the time of making the diagnosis in a predetermined memory area. 13. The hardware diagnostic method according to any one of 12.
対象となった入出力装置あるいは入出力制御装置あるい
は各種インターフェースは、診断結果を「異常」と判断
した前記診断を行った側の入出力装置あるいは入出力制
御装置あるいは各種インターフェースが出力する割り込
み信号を基に前記「異常」と判断された際のログデータ
を自分自身が備えるメモリの所定のエリアへ保存するこ
とを特徴とする請求項10から請求項13のうちのいず
れか1項記載のハードウェア診断方法。14. The input / output device, the input / output control device, or various interfaces which are the objects of diagnosis for which the diagnosis result is determined to be “abnormal” are input to the side which has performed the diagnosis for which the diagnosis result is determined to be “abnormal”. The log data when the "abnormal" is determined based on an interrupt signal output from the output device, the input / output control device, or various interfaces is stored in a predetermined area of a memory included in itself. The hardware diagnostic method according to any one of claims 10 to 13.
れた入出力装置あるいは入出力制御装置あるいは各種イ
ンターフェースで生じている異常を検出するハードウェ
ア診断方法において、前記入出力装置あるいは前記入出
力制御装置あるいは前記各種インターフェースそれぞれ
に対し行う診断の内容と、前記入出力装置あるいは前記
入出力制御装置あるいは前記各種インターフェースそれ
ぞれに対し前記内容に従った診断を行うための前記入出
力装置あるいは前記入出力制御装置あるいは前記各種イ
ンターフェースに共通するコマンドを予め決めておき、
前記CPUから前記入出力装置あるいは前記入出力制御
装置あるいは前記各種インターフェースへ与えられる前
記コマンドにより、前記入出力装置あるいは前記入出力
制御装置あるいは前記各種インターフェースそれぞれが
前記予め決められた診断の内容に従った自己診断を診断
プログラムにより行うことを特徴とするハードウェア診
断方法。15. A hardware diagnostic method for detecting an abnormality occurring in an input / output device, an input / output control device, or various interfaces connected to a CPU via a system bus, comprising: the input / output device or the input / output control device. Alternatively, the contents of diagnosis performed on each of the various interfaces and the input / output device or the input / output control device for performing diagnosis according to the contents on the input / output device, the input / output control device, or the various interfaces, respectively. Alternatively, a command common to the various interfaces is previously determined,
According to the command given from the CPU to the input / output device, the input / output control device, or the various interfaces, the input / output device, the input / output control device, or the various interfaces respectively follow the predetermined diagnostic content. A hardware diagnostic method, characterized in that self-diagnosis is performed by a diagnostic program.
あるいは入出力制御装置あるいは各種インターフェース
は、前記診断プログラムによる診断開始の最初にシステ
ムバスの状態から前記システムバス上での各種データの
授受がないことを確認し、該確認後に前記開始した診断
プログラムに従った処理を進めることを特徴とする請求
項8から請求項15のうちのいずれか1項記載のハード
ウェア診断方法。16. An input / output device, an input / output control device, or various interfaces for executing a diagnostic program must not exchange various data on the system bus from the state of the system bus at the beginning of diagnosis by the diagnostic program. 16. The hardware diagnostic method according to claim 8, further comprising the step of confirming, and advancing the processing according to the started diagnostic program.
あるいは入出力制御装置あるいは各種インターフェース
は、前記診断プログラムによる診断開始の最初にシステ
ムバスの状態から前記システムバス上での各種データの
授受があることを確認したときには、前記開始した診断
プログラムの実行を強制的に終了することを特徴とする
請求項16記載のハードウェア診断方法。17. An input / output device, an input / output control device, or various interfaces that execute a diagnostic program must transfer various data on the system bus from the state of the system bus at the beginning of diagnosis by the diagnostic program. 17. The hardware diagnostic method according to claim 16, further comprising: forcibly ending the execution of the started diagnostic program when is confirmed.
PUに対し階層化されて接続されている入出力装置ある
いは入出力制御装置あるいは各種インターフェースで生
じている異常を検出するハードウェア診断方法におい
て、前記システムバスの制御線および前記階層化されて
接続されている前記入出力装置あるいは前記入出力制御
装置あるいは前記各種インターフェース間での各種デー
タの授受の状態を監視することでアクセスが所定の時間
ない状態を前記CPUが検出し、前記アクセスが所定の
時間ない状態のときに前記CPUは診断プログラムを実
行して、前記階層化されて接続されている入出力装置あ
るいは入出力制御装置あるいは各種インターフェースを
上位の階層の前記入出力装置あるいは前記入出力制御装
置あるいは前記各種インターフェースから下位の階層の
前記入出力装置あるいは前記入出力制御装置あるいは前
記各種インターフェースの順で診断を行い、前記階層化
されている前記入出力装置あるいは前記入出力制御装置
あるいは前記各種インターフェースで生じている異常を
検出することを特徴とするハードウェア診断方法。18. The CPU through the system bus to the C
In a hardware diagnostic method for detecting an abnormality occurring in an input / output device, an input / output control device, or various interfaces that are hierarchically connected to a PU, the control line of the system bus and the hierarchically connected The CPU detects that there is no access for a predetermined time by monitoring the state of transmission and reception of various data between the input / output device, the input / output control device, and the various interfaces, and the access is performed for a predetermined time. When there is no state, the CPU executes the diagnostic program, and the input / output device or the input / output control device or various interfaces connected in the hierarchical form are connected to the input / output device or the input / output control device in the higher hierarchy. Alternatively, there is the input / output device in a lower layer from the various interfaces. Diagnoses in the order of the input / output control device or the various interfaces, and detects an abnormality occurring in the hierarchical input / output device, the input / output control device, or the various interfaces. Hardware diagnostic method.
れ、前記CPUに対し階層化されている入出力装置ある
いは入出力制御装置あるいは各種インターフェースを含
む入出力装置あるいは入出力制御装置あるいは各種イン
ターフェースで生じている異常を検出するハードウェア
診断方法において、前記入出力装置あるいは前記入出力
制御装置あるいは前記各種インターフェース、前記階層
化されている入出力装置あるいは入出力制御装置あるい
は各種インターフェースに対しては最上位の入出力装置
あるいは入出力制御装置あるいは各種インターフェース
に対しそれぞれ行う診断の内容と、前記入出力装置ある
いは前記入出力制御装置あるいは前記各種インターフェ
ースそれぞれに対し前記内容に従った診断を行うための
前記入出力装置あるいは前記入出力制御装置あるいは前
記各種インターフェースに共通するコマンドを予め決め
ておき、前記CPUから前記入出力装置あるいは前記入
出力制御装置あるいは前記各種インターフェースへ与え
られる前記コマンドにより、前記入出力装置あるいは前
記入出力制御装置あるいは前記各種インターフェースそ
れぞれが前記予め決められた診断の内容に従った自己診
断を診断プログラムにより行い、前記階層化されて接続
されている前記入出力装置あるいは前記入出力制御装置
あるいは前記各種インターフェースについては前記最上
位の階層の前記入出力装置あるいは前記入出力制御装置
あるいは前記各種インターフェースから下位の階層の前
記入出力装置あるいは前記入出力制御装置あるいは前記
各種インターフェースへの順で診断を行い、前記入出力
装置あるいは前記入出力制御装置あるいは前記各種イン
ターフェースで生じている異常を検出することを特徴と
するハードウェア診断方法。19. An input / output device, an input / output control device, or various interfaces including an input / output device, an input / output control device, or various interfaces, which are connected to the CPU via a system bus and are hierarchical to the CPU. In the hardware diagnostic method for detecting an abnormal state, the highest level for the input / output device, the input / output control device, or the various interfaces, and the hierarchical input / output device, the input / output control device, or the various interfaces. Of the input / output device, the input / output control device, or the various interfaces, and the input for performing the diagnosis according to the contents for the input / output device, the input / output control device, or the various interfaces, respectively. There is an output device Alternatively, a command common to the input / output control device or the various interfaces is determined in advance, and the input / output device or the input / output device is controlled by the command given from the CPU to the input / output device or the input / output control device or the various interfaces. The input / output control device or each of the various interfaces performs self-diagnosis according to the content of the predetermined diagnosis by a diagnostic program, and the input / output device or the input / output control device connected in a hierarchical manner or With respect to the various interfaces, diagnosis is performed in the order from the input / output device or the input / output control device or the various interfaces in the highest hierarchy to the input / output device, the input / output control device or the various interfaces in the lower hierarchy. There, the hardware diagnostic method characterized by detecting an abnormality has occurred in the input device or the output control device or the various interfaces.
れ、前記CPUに対し階層化されている入出力装置ある
いは入出力制御装置あるいは各種インターフェースを含
む入出力装置あるいは入出力制御装置あるいは各種イン
ターフェースで生じている異常を検出するハードウェア
診断方法において、前記入出力装置あるいは前記入出力
制御装置あるいは前記各種インターフェースと、前記階
層化されている前記入出力装置あるいは前記入出力制御
装置あるいは前記各種インターフェースに対しては最上
位の入出力装置あるいは入出力制御装置あるいは各種イ
ンターフェースとに対しそれぞれ行う診断の内容と、前
記入出力装置あるいは前記入出力制御装置あるいは前記
各種インターフェースと前記最上位の入出力装置あるい
は入出力制御装置あるいは各種インターフェースとに対
しそれぞれ前記内容に従った診断を行うための共通する
コマンドを予め決めておき、前記CPU、前記入出力装
置、前記入出力制御装置、前記各種インターフェース以
外に備えられたマイクロプロセッサ側で前記システムバ
スの制御線を監視することでアクセスが所定の時間ない
状態を検出したときに前記マイクロプロセッサは診断プ
ログラムを実行し、前記アクセスがないときに前記入出
力装置あるいは前記入出力制御装置あるいは前記各種イ
ンターフェースへ前記マイクロプロセッサが与える前記
コマンドにより、前記入出力装置あるいは前記入出力制
御装置あるいは前記各種インターフェースそれぞれに対
する自己診断が前記予め決められた診断の内容に従って
行われ、また前記階層化されて接続されている前記入出
力装置あるいは前記入出力制御装置あるいは前記各種イ
ンターフェースについては、前記最上位の階層の前記入
出力装置あるいは前記入出力制御装置あるいは前記各種
インターフェースから下位の階層の前記入出力装置ある
いは前記入出力制御装置あるいは前記各種インターフェ
ースへの順で前記診断プログラムにより自己診断が行わ
れ、前記入出力装置あるいは前記入出力制御装置あるい
は前記各種インターフェースで生じている異常を検出す
ることを特徴とするハードウェア診断方法。20. An input / output device, an input / output control device, or various interfaces including an input / output device, an input / output control device, or various interfaces which are connected to the CPU via a system bus and which are layered with respect to the CPU. In the hardware diagnosis method for detecting an abnormality, the input / output device, the input / output control device, or the various interfaces, and the hierarchical input / output device, the input / output control device, or the various interfaces are The diagnostic contents to be performed on the highest-level I / O device, I / O control device, or various interfaces, and the I / O device, the I / O control device, or various interfaces, and the highest-level I / O device or input. Output control device A common command for performing diagnosis according to the above contents is determined in advance for each of the interfaces or various interfaces, and a micro-computer provided in addition to the CPU, the input / output device, the input / output control device, and the various interfaces. By monitoring the control line of the system bus on the processor side, the microprocessor executes a diagnostic program when it detects that there is no access for a predetermined time, and when there is no access, the I / O device or the I / O By the command given by the microprocessor to the control device or the various interfaces, self-diagnosis for the input / output device, the input / output control device, or the various interfaces is performed according to the content of the predetermined diagnosis, and the hierarchy is provided. Connected For the input / output device, the input / output control device, or the various interfaces, the input / output device or the input / output control device or the various interfaces of the highest layer is in the lower layer of the input / output device or the previous interface. A hardware characterized in that a self-diagnosis is performed by the diagnostic program in the order of the entry output control device or the various interfaces, and an abnormality occurring in the input / output device, the input / output control device or the various interfaces is detected. Wear diagnostic method.
れた入出力装置あるいは入出力制御装置あるいは各種イ
ンターフェースで生じている異常を検出するハードウェ
ア診断装置において、前記システムバスの制御線を監視
することでアクセスが所定の時間ない状態か否かを検出
するバス監視装置と、該バス監視装置で前記アクセスが
所定の時間ない状態が検出されることで前記バス監視装
置が生成し出力した割り込み信号を受け付けた前記CP
Uが前記入出力装置あるいは前記入出力制御装置あるい
は前記各種インターフェースに対し診断を行うための前
記CPU側に設けられた診断プログラムと、該診断プロ
グラムの実行により得られたデータをログデータとして
前記バス監視装置で記憶する記憶手段とを備えているこ
とを特徴とするハードウェア診断装置。21. A hardware diagnostic device for detecting an abnormality occurring in an input / output device, an input / output control device, or various interfaces connected to a CPU via a system bus, monitoring the control line of the system bus. And a bus monitoring device that detects whether there is no access for a predetermined time, and an interrupt signal generated and output by the bus monitoring device when the bus monitoring device detects a state where there is no access for a predetermined time. The received CP
A diagnostic program provided on the CPU side for U to diagnose the input / output device, the input / output control device, or the various interfaces, and data obtained by executing the diagnostic program as log data on the bus. A hardware diagnostic device comprising: a storage unit that stores the data in a monitoring device.
開始の最初に、システムバスの状態からバス監視装置が
アクセスがないことを検出したときに前記バス監視装置
から送られてくる通知により前記システムバス上での各
種データの授受がないことを確認し、該確認後に前記開
始した診断プログラムに従った処理を進めることを特徴
とする請求項21記載のハードウェア診断装置。22. At the beginning of the diagnosis by the diagnostic program, the CPU causes the bus monitoring device to send a notification on the system bus when the bus monitoring device detects that there is no access from the state of the system bus. 22. The hardware diagnostic device according to claim 21, wherein it is confirmed that various data has not been transmitted and received, and the process according to the diagnostic program started after the confirmation is performed.
開始の最初に、バス監視装置がシステムバスの状態から
アクセスがあることを検出したときに前記バス監視装置
から送られてくる通知により前記システムバス上での各
種データの授受があることを確認したときには、前記開
始した診断プログラムの実行を強制的に終了することを
特徴とする請求項22記載のハードウェア診断装置。23. When the CPU detects that there is access from the state of the system bus at the beginning of the diagnosis by the diagnostic program, the CPU sends a notification on the system bus by the notification sent from the bus monitor. 23. The hardware diagnostic apparatus according to claim 22, wherein the execution of the started diagnostic program is forcibly terminated when it is confirmed that various kinds of data have been exchanged.
れた入出力装置あるいは入出力制御装置あるいは各種イ
ンターフェースで生じている異常を検出するハードウェ
ア診断装置において、前記システムバスに接続し、前記
入出力装置あるいは前記入出力制御装置あるいは前記各
種インターフェースを診断するための診断プログラム
と、前記システムバスの制御線を監視することでアクセ
スが所定の時間ない状態を検出する制御線監視部と、該
制御線監視部が前記システムバスの制御線を監視するこ
とでアクセスが所定の時間ない状態を検出したときに前
記診断プログラムを実行し、前記入出力装置あるいは入
出力制御装置あるいは各種インターフェースを診断する
マイクロプロセッサとを有したバス監視装置を備えてい
ることを特徴とするハードウェア診断装置。24. In a hardware diagnostic device for detecting an abnormality occurring in an input / output device, an input / output control device, or various interfaces connected to a CPU via a system bus, the input / output device is connected to the system bus, A diagnostic program for diagnosing the device, the input / output control device, or the various interfaces, a control line monitoring unit that detects a state in which there is no access for a predetermined time by monitoring the control line of the system bus, and the control line A microprocessor that executes a diagnostic program when a monitoring unit monitors a control line of the system bus and detects a state in which there is no access for a predetermined time, and diagnoses the input / output device or the input / output control device or various interfaces. A bus monitoring device having Hardware diagnostic device.
ムを実行することで開始した診断の最初にシステムバス
の状態から再度アクセスがないことを確認し、該確認後
に前記診断を進めることを特徴とする請求項24記載の
ハードウェア診断装置。25. The microprocessor confirms that there is no access again from the state of the system bus at the beginning of the diagnosis started by executing the diagnosis program, and advances the diagnosis after the confirmation. 24. The hardware diagnostic device according to item 24.
るいは各種インターフェースの診断結果を、バス監視装
置へ保存することを特徴とする請求項25記載のハード
ウェア診断装置。26. The hardware diagnosis device according to claim 25, wherein the diagnosis result of the input / output device, the input / output control device, or various interfaces is stored in the bus monitoring device.
れた入出力装置あるいは入出力制御装置あるいは各種イ
ンターフェースで生じている異常を検出するハードウェ
ア診断装置において、前記システムバスの制御線を監視
することでアクセスが所定の時間ない状態を検出し、該
検出結果を基に割り込み信号を生成し出力するバス監視
装置と、前記入出力装置あるいは前記入出力制御装置あ
るいは前記各種インターフェースそれぞれに搭載され、
自分以外の他の入出力装置あるいは入出力制御装置ある
いは各種インターフェースを診断するための診断プログ
ラムおよび前記割り込み信号を受け付けることで前記診
断プログラムを実行し、自分以外の他の入出力装置ある
いは入出力制御装置あるいは各種インターフェースを診
断するマイクロプロセッサとを備えていることを特徴と
するハードウェア診断装置。27. A hardware diagnostic device for detecting an abnormality occurring in an input / output device, an input / output control device, or various interfaces connected to a CPU via a system bus, monitoring the control line of the system bus. With a bus monitoring device that detects a state in which there is no access for a predetermined time, and generates and outputs an interrupt signal based on the detection result, and is mounted on each of the input / output device, the input / output control device, or the various interfaces,
An input / output device other than oneself or an input / output control device or a diagnostic program for diagnosing various interfaces and the diagnosis program is executed by receiving the interrupt signal, and another input / output device other than oneself or the input / output control A hardware diagnostic device, comprising: a device or a microprocessor for diagnosing various interfaces.
るいは各種インターフェースの間で診断を行う順位を予
め優先順位として決めておくための優先順位決定手段を
有し、該優先順位決定手段により決定されている優先順
位に従って前記入出力装置あるいは前記入出力制御装置
あるいは前記各種インターフェースにそれぞれ搭載され
たマイクロプロセッサは、それぞれ自分自身に搭載され
た診断プログラムによりシステムバスを介して自分以外
の他の前記入出力装置あるいは前記入出力制御装置ある
いは前記各種インターフェース装置に対し診断を行うこ
とを特徴とする請求項27記載のハードウェア診断装
置。28. A priority order determining means for determining in advance a priority order for performing diagnosis among the input / output device, the input / output control device or various interfaces, and the priority order determining means determines the priority order. According to the priority order, the microprocessor installed in each of the input / output device, the input / output control device, or the various interfaces is connected to the other input / output other than itself via the system bus by the diagnostic program installed in itself. 28. The hardware diagnostic device according to claim 27, which diagnoses the device, the input / output control device, or the various interface devices.
れた入出力装置あるいは入出力制御装置あるいは各種イ
ンターフェースで生じている異常を検出するハードウェ
ア診断装置において、前記入出力装置あるいは入出力制
御装置あるいは各種インターフェースにそれぞれ搭載さ
れた、前記システムバスの制御線を監視することでアク
セスが所定の時間ない状態を検出する制御線監視部、お
よび該制御線監視部の検出結果を基に割り込み信号を生
成して出力し、また自分以外の他の入出力装置あるいは
入出力制御装置あるいは各種インターフェースから出力
された割り込み信号を受け付けることで前記割り込み信
号を出力した前記他の入出力装置あるいは入出力制御装
置あるいは各種インターフェースに対し診断を行うマイ
クロプロセッサ、および前記他の入出力装置あるいは前
記入出力制御装置あるいは前記各種インターフェースに
対し診断を行うための診断プログラムを備えていること
を特徴とするハードウェア診断装置。29. A hardware diagnostic device for detecting an abnormality occurring in an input / output device or an input / output control device or various interfaces connected to a CPU via a system bus, wherein the input / output device or the input / output control device or A control line monitoring unit, which is mounted on each interface, detects a state in which there is no access for a predetermined time by monitoring the control line of the system bus, and generates an interrupt signal based on the detection result of the control line monitoring unit. And outputs the interrupt signal by receiving an interrupt signal output from another input / output device or input / output control device or various interfaces other than itself. A microprocessor that diagnoses various interfaces, And a diagnostic program for diagnosing the other input / output device, the input / output control device, or the various interfaces.
を監視することでアクセスがない状態を検出する際の所
定の時間を規定する時間データが、診断の対象となる入
出力装置あるいは入出力制御装置あるいは各種インター
フェースの診断を受ける側の優先度の高さに応じて短い
値に設定した、前記アクセスがない状態を検出する際の
前記所定の時間の経過を検出するためのタイマを、CP
Uにシステムバスを介して接続された入出力装置あるい
は入出力制御装置あるいは各種インターフェースがそれ
ぞれ備えることを特徴とする請求項29記載のハードウ
ェア診断装置。30. The input / output device or the input / output to be diagnosed is time data defining a predetermined time when the control line monitoring unit monitors the control line of the system bus to detect a state of no access. A timer, which is set to a short value according to the high priority of the side receiving the diagnosis of the control device or various interfaces, for detecting the passage of the predetermined time when detecting the state of no access,
30. The hardware diagnostic device according to claim 29, comprising an input / output device, an input / output control device, or various interfaces connected to U via a system bus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP7315654A JPH09160843A (en) | 1995-12-04 | 1995-12-04 | Method and device for diagnosing hardware |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP7315654A JPH09160843A (en) | 1995-12-04 | 1995-12-04 | Method and device for diagnosing hardware |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH09160843A true JPH09160843A (en) | 1997-06-20 |
Family
ID=18067980
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP7315654A Pending JPH09160843A (en) | 1995-12-04 | 1995-12-04 | Method and device for diagnosing hardware |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH09160843A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6931524B2 (en) * | 2001-08-29 | 2005-08-16 | Koninklijke Philips Electronics N.V. | System for bus monitoring using a reconfigurable bus monitor which is adapted to report back to CPU in response to detecting certain selected events |
US7401003B2 (en) | 2002-02-04 | 2008-07-15 | Samsung Electronics Co., Ltd. | Diagnosis method and apparatus for peripheral device of host |
JP2010211529A (en) * | 2009-03-10 | 2010-09-24 | Fujitsu Ltd | Storage device, relay device, and diagnostic method |
US7921332B2 (en) | 2003-06-23 | 2011-04-05 | Samsung Electronics Co., Ltd. | Disc drive failure diagnostic system and method |
JP2011081515A (en) * | 2009-10-05 | 2011-04-21 | Nec Computertechno Ltd | Computer device, ic tag, method and program for setting boot drive in the computer device, |
JP2011108201A (en) * | 2009-11-20 | 2011-06-02 | Fujitsu Ltd | Information processing apparatus, method and program of diagnosis |
JP2011170691A (en) * | 2010-02-19 | 2011-09-01 | Toshiba Corp | Cpu board with online test function of peripheral device part, and online test method thereof |
-
1995
- 1995-12-04 JP JP7315654A patent/JPH09160843A/en active Pending
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6931524B2 (en) * | 2001-08-29 | 2005-08-16 | Koninklijke Philips Electronics N.V. | System for bus monitoring using a reconfigurable bus monitor which is adapted to report back to CPU in response to detecting certain selected events |
US7401003B2 (en) | 2002-02-04 | 2008-07-15 | Samsung Electronics Co., Ltd. | Diagnosis method and apparatus for peripheral device of host |
US7921332B2 (en) | 2003-06-23 | 2011-04-05 | Samsung Electronics Co., Ltd. | Disc drive failure diagnostic system and method |
JP2010211529A (en) * | 2009-03-10 | 2010-09-24 | Fujitsu Ltd | Storage device, relay device, and diagnostic method |
JP2011081515A (en) * | 2009-10-05 | 2011-04-21 | Nec Computertechno Ltd | Computer device, ic tag, method and program for setting boot drive in the computer device, |
JP2011108201A (en) * | 2009-11-20 | 2011-06-02 | Fujitsu Ltd | Information processing apparatus, method and program of diagnosis |
JP2011170691A (en) * | 2010-02-19 | 2011-09-01 | Toshiba Corp | Cpu board with online test function of peripheral device part, and online test method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4466063A (en) | System intercommunication processor used in distributed data processing system | |
US8296602B2 (en) | Processor and method of controlling execution of processes | |
JP2572136B2 (en) | Lock control method in multi-processing data system | |
US6321346B1 (en) | External storage | |
US5404535A (en) | Apparatus and method for providing more effective reiterations of processing task requests in a multiprocessor system | |
EP1470492B1 (en) | Method and system for monitoring dma status in a computer system | |
JPH09160843A (en) | Method and device for diagnosing hardware | |
JPH10271185A (en) | Communication system and its fault management system | |
EP0378398B1 (en) | Data processing system with means for detecting status of data processing device receiving commands | |
CA1172381A (en) | Process and device for selectively assigning the resources of a control unit to a selected user among a plurality of potential users | |
US20030145175A1 (en) | Multiprocessor system having respective control programs of a plurality of processors stored contiguously in a memory | |
JP2002049606A (en) | Multi-cpu system | |
JPH0324657A (en) | Bus diagnostic system | |
JP2592360B2 (en) | Computer system | |
JP2682707B2 (en) | Programmable controller | |
JPH03292540A (en) | Diagnostic device for abnormality of computer | |
JPS5829062A (en) | Microcomputer system | |
JPH0467215B2 (en) | ||
JP3012402B2 (en) | Information processing system | |
JPS62222980A (en) | Group controller for elevator | |
JP2824890B2 (en) | SCSI protocol controller | |
EP1380954B1 (en) | Computer system and data processing method | |
JPS6142039A (en) | Data processor diagnosing system | |
JPH08286937A (en) | Access control system for diagnostic processor | |
JPH077344B2 (en) | Faulty processor identification method |