[go: up one dir, main page]

JPH01163842A - Input/output device fault testing system - Google Patents

Input/output device fault testing system

Info

Publication number
JPH01163842A
JPH01163842A JP62321240A JP32124087A JPH01163842A JP H01163842 A JPH01163842 A JP H01163842A JP 62321240 A JP62321240 A JP 62321240A JP 32124087 A JP32124087 A JP 32124087A JP H01163842 A JPH01163842 A JP H01163842A
Authority
JP
Japan
Prior art keywords
fault
address
microprogram
input
output device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP62321240A
Other languages
Japanese (ja)
Inventor
Yuji Koami
小網 裕二
Tadashi Okada
正 岡田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP62321240A priority Critical patent/JPH01163842A/en
Publication of JPH01163842A publication Critical patent/JPH01163842A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To rewrite a microprogram and to generate any types of faults by carrying out the generation of the fault due to the microprogram. CONSTITUTION:When an instruction executing address corresponds to a fault generating address 21 while an input/output device carries out a normal action 20, an address correspondence interruption 22 is generated, and activates a fault generating module 23. After one routine in fault generating routines 30 is carried out according to a fault number designated by the setting of the fault number and a fault address number, a processing is returned to the normal action 20 indicated by the next address of a fault generating address 21. At such a time point, a tested fault carried out by a fault generating module 23 is generated. In such a way, the generation of the tested fault is realized by carrying out the microprogram for the fault generation, and since the microprogram for the fault generation is loaded by maintaining and diagnosing commands, any types of the faults can be generated.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は入出力装置の障害試験方式に係り、特に被試験
障害の設定、障害発生タイミングの調整に好適な自動障
害試験方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a fault testing method for input/output devices, and particularly to an automatic fault testing method suitable for setting a fault to be tested and adjusting the timing of fault occurrence.

〔従来の技術〕[Conventional technology]

従来の技術は、特公昭58−33579号や特開昭61
−23245号公報等に記載のように、あらかじめ設定
しておいた障害発生タイミングで被試験ハードウェアに
スキャンを行うことにより障害を発生させる方法や、命
令実行数によって障害発生のタイミングを設定するとい
うように、障害の発生方法に関するものであった。
Conventional techniques include Japanese Patent Publication No. 58-33579 and Japanese Patent Application Laid-open No. 61
As described in Publication No. 23245, there are methods to generate a failure by scanning the hardware under test at a preset failure timing, and methods to set the timing of failure occurrence based on the number of executed instructions. As such, it concerned how the failure occurred.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

本発明の目的は、障害発生の手段、障害発生タイミング
の設定から、発生した障害内容の判定、障害処理と回復
の方法までの一連の処理を上位システムより制御するこ
とによって、入手操作なしに自動的に障害試験を行うこ
とにある。
The purpose of the present invention is to automatically control a series of processes from a host system, from setting the means and timing of failure occurrence, to determining the content of the failure, and to handling and recovery methods, without the need for acquisition operations. The goal is to perform disability tests on a regular basis.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的は、被試験障害を発生させるためのマイクロプ
ログラム群のロード、前記マイクロプログラム群中のど
の障害をいつ発生させるかの指定、発生した障害の回復
処理を行う3種類の保守、診断コマンドを設け、上位シ
ステムよりこれらの保守1診断コマンドによって設定さ
れた障害発生手段を使って、入出力装置が通常動作中に
障害試験を行うことにより達成される。
The above purpose is to provide three types of maintenance and diagnostic commands that load a microprogram group to cause the fault under test, specify which fault in the microprogram group should occur and when, and perform recovery processing for the fault that has occurred. This is achieved by performing a fault test during normal operation of the input/output device using the fault generating means set by the host system by these maintenance 1 diagnostic commands.

〔作用〕[Effect]

被試験障害の発生は、障害発生用のマイクロプログラム
を実行することにより実現する。この障害発生用のマイ
クロプログラムは、保守1診断コマンドによってロード
されるため、あらゆる障害の発生が可能である。
The occurrence of the fault under test is realized by executing a microprogram for fault generation. Since this fault generation microprogram is loaded by the maintenance 1 diagnostic command, any fault can occur.

また、保守1診断コマンドは、障害発生のタイミングを
指定するので、入出力動作中のあらゆるタイミングで障
害を発生させることが可能である。
Furthermore, since the maintenance 1 diagnostic command specifies the timing of failure occurrence, it is possible to cause a failure to occur at any timing during input/output operations.

さらに、発生後の障害内容の確認、回復処理を上位シス
テムの制御下で行うため、自動的に障害試験を行うこと
ができ、入手操作を必要としない。
Furthermore, since confirmation of the failure details and recovery processing after occurrence are performed under the control of the host system, failure tests can be performed automatically and no acquisition operations are required.

〔実施例〕〔Example〕

以下、図面を用いて本発明の一実施例を詳細に説明する
Hereinafter, one embodiment of the present invention will be described in detail using the drawings.

第1図は、上位システムからの保守、診断コマンドによ
り入出力装置に障害試験を起動してから。
Figure 1 shows the process after a fault test is started on the input/output device by a maintenance/diagnosis command from the host system.

障害の回復処理を行うまでの流れを示すものである。第
2図は、入出力装置が通常動作20中に、障害が発生す
る動作を示したものである。第3図は、上位システムか
らの保守、診断コマンドによって入出力装置内にロード
される障害発生ルーチン30の形式を示したものである
。以下第1図〜第3図を用いて一実施例を詳細に説明す
る。
This shows the flow up to failure recovery processing. FIG. 2 shows an operation in which a failure occurs during normal operation 20 of the input/output device. FIG. 3 shows the format of the failure occurrence routine 30 that is loaded into the input/output device by maintenance and diagnostic commands from the host system. One embodiment will be described in detail below with reference to FIGS. 1 to 3.

まず、上位システムが入出力装置に対して障害発生用マ
イクロプログラムのロード10を指示する保守、診断コ
マンドを発行すると、障害発生ルーチン30が入出力装
置の制御記憶域内にロードされる。次に1発生させる障
害を選択する障害番号と、障害発生のタイミングを決定
する障害アドレス番号の設定11を指示する保守、診断
コマンドを発行することにより、障害発生ルーチン30
中の1ルーチンが選択され、障害発生アドレス21に障
害発生の契機となるアドレス一致割込み用のアドレスが
設定される。その後、上位システムは入出力装置に通常
動作指示12を送る。
First, when the host system issues a maintenance/diagnosis command to the input/output device to instruct the load 10 of the fault occurrence microprogram, the fault occurrence routine 30 is loaded into the control storage area of the input/output device. Next, the fault generation routine 30 issues maintenance and diagnostic commands that instruct setting 11 of a fault number for selecting a fault to be generated and a fault address number for determining the timing of fault occurrence.
One of the routines is selected, and the address for the address match interrupt that triggers the occurrence of the fault is set in the fault occurrence address 21. Thereafter, the host system sends a normal operation instruction 12 to the input/output device.

次に、障害の発生方法について説明する。入出力装置が
通常動作20を実行中に、命令実行アドレスが障害発生
アドレス21に一致すると、アドレス一致割込み22が
発生し、障害発生モジュール23を起動する。障害番号
、障害アドレス番号の設定11によって指定されている
障害番号に従って障害発生ルーチン3o中の1ルーチン
を実行した後、障害発生アドレス21の次アドレスで示
される通常動作20に復帰する。この時点で障害発生モ
ジュール23で実施した被試験障害が発生する。
Next, how the failure occurs will be explained. When the instruction execution address matches the fault occurrence address 21 while the input/output device is executing the normal operation 20, an address match interrupt 22 is generated and the fault occurrence module 23 is activated. After executing one of the fault occurrence routines 3o according to the fault number specified by the fault number and fault address number setting 11, the routine returns to the normal operation 20 indicated by the next address of the fault occurrence address 21. At this point, the fault under test performed by the fault generation module 23 occurs.

上記手順が行われた後、上位システムは障害発生のチエ
ツク13、障害内容のチエツク14を1行い、入手操作
を契機にして行われる障害の回復処理と同様の処理を行
うことを指示する保守1診断コマンドによって障害の回
復処理15を行う。
After the above procedure is performed, the host system performs a check 13 for the occurrence of a failure, a check 14 for the contents of the failure, and maintenance 1 instructing to perform the same process as the failure recovery process that is triggered by the acquisition operation. Failure recovery processing 15 is performed using the diagnostic command.

障害番号、障害アドレス番号の設定11を指示する保守
1診断コマンドの障害アドレス番号を変えることによっ
て、障害の発生タイミングを変えて試験することが可能
であり、障害番号を変えることによって別の障害試験を
行うことが可能である。また、必要であれば障害発生用
マイクロプログラムのロード10を行うことにより無限
に障害発生用マイクロプログラムを書き変え、様々な障
害試験を行うことが可能である。
By changing the fault address number of the maintenance 1 diagnosis command that instructs setting 11 of the fault number and fault address number, it is possible to test by changing the timing of the fault occurrence, and by changing the fault number, it is possible to perform another fault test. It is possible to do this. Further, if necessary, by loading the fault generation microprogram 10, it is possible to rewrite the fault generation microprogram infinitely and perform various fault tests.

以上説明したように本実施例によれば、上位システムか
らの保守1診断コマンドによって入出力装置の障害試験
を自動的に行うことができる。
As described above, according to this embodiment, a fault test of an input/output device can be automatically performed by a maintenance 1 diagnosis command from a host system.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、マイクロプログラムによる障害の発生
を実施しているので、マイクロプログラムを書き変える
ことによりあらゆる障害を発生させることが可能である
。また、1命令単位に障害の発生タイミングを設定する
ことが可能である。
According to the present invention, since faults are caused by microprograms, it is possible to cause any faults by rewriting the microprograms. Furthermore, it is possible to set the timing of occurrence of a failure for each instruction.

これらの機能を上位システムから保守1診断コマンドと
して送ることによって、入手操作によらず自動的に障害
試験が実施できる。
By sending these functions as maintenance 1 diagnostic commands from the host system, failure tests can be automatically performed without requiring acquisition operations.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例の上位システムから入出力装
置へ送る指示の流れ図、第2図は入出力装置内での障害
の発生方法の説明図、第3図は入出力装置にロードされ
る障害発生ルーチンの構成図である。 10・・・障害発生用マイクロプログラムのロード。 11・・・障害番号、障害アドレス番号の設定、12・
・・通常動作指示、13・・・障害発生チエツク、7゜
14・・・障害内容チエツク、15・・・回復処理、2
0・・・通常動作、21・・・障害発生アドレス、22
アドレス−敵側込み、23・・・障害発生モジュール。 30・・・障害発生ルーチン。
Figure 1 is a flowchart of instructions sent from the host system to the input/output device according to an embodiment of the present invention, Figure 2 is an explanatory diagram of how a failure occurs within the input/output device, and Figure 3 is a flowchart of instructions sent to the input/output device. FIG. 2 is a configuration diagram of a failure occurrence routine. 10...Loading the microprogram for failure occurrence. 11...Fault number, fault address number setting, 12.
...Normal operation instruction, 13...Fault occurrence check, 7゜14...Fault details check, 15...Recovery processing, 2
0... Normal operation, 21... Failure occurrence address, 22
Address - Enemy side included, 23...fault generating module. 30... Failure occurrence routine.

Claims (1)

【特許請求の範囲】[Claims] 1、上位システムからのコマンド処理機能と、前記コマ
ンド処理を実行するマイクロプログラムを格納する記憶
域と、障害発生時の処理、回復機能を持つ入出力装置に
おいて、前記記憶域に障害発生プログラムをロードする
コマンドと、前記障害発生プログラムの種別と障害発生
のタイミングを指示するコマンドと、前記障害発生後の
回復を指示するコマンドを設け、上位システムよりのコ
マンド指示により、自動障害試験を可能としたことを特
徴とする入出力装置障害試験方式。
1. In an input/output device that has a command processing function from a host system, a storage area for storing a microprogram that executes the command processing, and a processing and recovery function in the event of a failure, load the failure program into the storage area. A command for instructing the type of the faulty program and the timing of the fault occurrence, and a command for instructing recovery after the fault has occurred, thereby making it possible to perform automatic fault testing by commands from the host system. An input/output device fault testing method featuring:
JP62321240A 1987-12-21 1987-12-21 Input/output device fault testing system Pending JPH01163842A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62321240A JPH01163842A (en) 1987-12-21 1987-12-21 Input/output device fault testing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62321240A JPH01163842A (en) 1987-12-21 1987-12-21 Input/output device fault testing system

Publications (1)

Publication Number Publication Date
JPH01163842A true JPH01163842A (en) 1989-06-28

Family

ID=18130373

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62321240A Pending JPH01163842A (en) 1987-12-21 1987-12-21 Input/output device fault testing system

Country Status (1)

Country Link
JP (1) JPH01163842A (en)

Similar Documents

Publication Publication Date Title
JPH01163842A (en) Input/output device fault testing system
JPH05224995A (en) Information processor test system
JPS63204438A (en) Device test system
JPS62139050A (en) Instruction test system by control of maintenance and diagnosis processor
JPS62271151A (en) Automatic testing system for computer main body
JPH02272947A (en) Fault monitoring system
JPS62126443A (en) Test execution system based upon simulation
JP2726998B2 (en) Computer testing method
JPH05143395A (en) Diagnostic program execution system and log information display system to be used for the execution system
JPS6370346A (en) Test program control method
JPS63109546A (en) Program debugging system
JPS62237850A (en) Fault diagnostic system
CN116301888A (en) Software integration method, device, electronic equipment and storage medium
JPH0287247A (en) Maintenance diagnosis method for input/output processing units
JPS62256049A (en) Test system for computer system
JPS6340942A (en) Device testing system
JPH02122335A (en) RAS circuit test method
JPS63106842A (en) Program test system
JPH05233349A (en) Program module automatic test tool
JPS6250858B2 (en)
JPS61168054A (en) System for inspecting information processor
JPS62184546A (en) Control system for execution of test program
JPH01305441A (en) Test program rerun system
JPH03209534A (en) Back-up device for development of program
JPS60239841A (en) Automatic operation system for test diagnosis