JPS62229339A - Diagnosis system for microprogram - Google Patents

Diagnosis system for microprogram

Info

Publication number
JPS62229339A
JPS62229339A JP61057032A JP5703286A JPS62229339A JP S62229339 A JPS62229339 A JP S62229339A JP 61057032 A JP61057032 A JP 61057032A JP 5703286 A JP5703286 A JP 5703286A JP S62229339 A JPS62229339 A JP S62229339A
Authority
JP
Japan
Prior art keywords
microprogram
diagnosis
diagnosed
main
main controller
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
JP61057032A
Other languages
Japanese (ja)
Inventor
Mitsuru Matsumoto
満 松本
Akiyoshi Taguchi
明美 田口
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP61057032A priority Critical patent/JPS62229339A/en
Publication of JPS62229339A publication Critical patent/JPS62229339A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten the diagnosis executing time by transferring a microprogram stored in a main memory of a main controller to a RAM of a device to be diagnosed and executing this microprogram through said device to attain the self-diagnosis. CONSTITUTION:A main controller 11 designates a device 13 to be diagnosed and carries out the STREG instruction of the diagnosis program of a main memory 12. Thus a microprocessor 15 of the device 13 is started. Then a microprogram (i) is sent to the device 13 from the memory 12 and then written to a RAM 14 under the control of the microprocessor 15. Then the EXC instruc tion of the diagnosis program is executed and the processor 15 of the device 13 is started for execution of the program (i) written to the RAM 14. Thus the seld-diagnosis of the device 13 is carried out and the result of this diagnosis is sent back to the controller 11.

Description

【発明の詳細な説明】 〔概要〕 主制御装置のメインメモリに格納されたマイクロプログ
ラムを、磁気ディスク制御装置等の被診゛断装置のラン
ダムアクセスメモリに転送し、そのマイクロプログラム
を被診断装置で実行して自己診断を行うものであり、診
断実行時間を短縮することができるものである。
[Detailed Description of the Invention] [Summary] A microprogram stored in the main memory of a main controller is transferred to a random access memory of a device to be diagnosed such as a magnetic disk control device, and the microprogram is transferred to the device to be diagnosed. The self-diagnosis is performed by executing the self-diagnosis, and the diagnostic execution time can be shortened.

〔産業上の利用分野〕[Industrial application field]

本発明は、主制御装置からの命令によって被診断装置が
マイクロプログラムを実行して自己診断を行うマイクロ
プログラム診断方式に関するものである。
The present invention relates to a microprogram diagnosis method in which a device to be diagnosed executes a microprogram to perform self-diagnosis in response to instructions from a main controller.

〔従来の技術〕[Conventional technology]

磁気ディスク制御装置等のマイクロプロセッサを内蔵し
た各種周辺装置を備えた電子交換システム等に於いては
、主側it装置によってそれらの装置の診断を行うもの
であり、その場合、メインメモリに格納された診断プロ
グラムに従ったテストデータを編集し、そのテストデー
タを主制御装置の制御によって被診断装置へ順次転送し
、被診断装置でテストデータを処理した結果を主制御装
置へ転送し、被診断装置の障害個所を探索するものであ
った。
In electronic switching systems equipped with various peripheral devices such as magnetic disk control devices that have built-in microprocessors, the main IT device diagnoses these devices. The test data is edited according to the diagnostic program, the test data is sequentially transferred to the device to be diagnosed under the control of the main controller, the test data is processed by the device to be diagnosed, the results are transferred to the main controller, and the test data is transferred to the device being diagnosed. The purpose was to search for failures in equipment.

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

前述のように、従来の診断方式は、主制御装置によりテ
ストデータを編集して被診断装置へ転送するものである
から、主制御装置のオーバヘッドが大きくなり、診断実
行時間が長くなる欠点があった。
As mentioned above, in the conventional diagnostic method, the main controller edits the test data and transfers it to the device being diagnosed, which has the drawback of increasing the overhead of the main controller and lengthening the diagnostic execution time. Ta.

又被診断装置の種類に対応したそれぞれ異なるテストデ
ータの編集処理、実行処理を行うことになるから、テス
トデータの作成が容易でない欠点があった。
Furthermore, since different test data editing and execution processes are performed depending on the type of device to be diagnosed, there is a drawback that test data cannot be easily created.

本発明は、前述の従来の欠点を改善したものであり、短
時間で診断を実行できるようにすることを目的とするも
のである。
The present invention improves the above-mentioned conventional drawbacks, and aims to enable diagnosis to be performed in a short time.

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

本発明のマイクロプログラム診断方式は、マイクロプロ
セッサを有する被診断装置に、マイクロプログラムを転
送して診断を実行させるものであり、第1図を参照して
説明する。主制御装置1のメインメモリ2に格納された
マイクロプログラムを、磁気ディスク制御装置等のマイ
クロプロセッサ(MPU)5を有する被診断装置3のラ
ンダムアクセスメモリ (RAM)4に転送し、このラ
ンダムアクセスメモリ4に書込まれたマイクロプログラ
ムを被診断装置3が実行して診断を行うものである。
The microprogram diagnosis method of the present invention transfers a microprogram to a device to be diagnosed having a microprocessor to execute diagnosis, and will be explained with reference to FIG. The microprogram stored in the main memory 2 of the main controller 1 is transferred to the random access memory (RAM) 4 of the device to be diagnosed 3 having a microprocessor (MPU) 5 such as a magnetic disk controller. The device to be diagnosed 3 executes the microprogram written in the microprogram 4 to perform diagnosis.

〔作用〕 メインメモリ2に格納されたマイクロプログラムは、テ
ストオーダ、実行処理等をパッケージ化しておくもので
、主制御装置1の制御によって所望の被診断装置3のラ
ンダムアクセスメモリ4に転送し、主制御装置lが実行
指示を行うことによって、被診断装置3ではマイクロプ
ロセッサ5の制御によって自己診断を開始することにな
り、主側′411+装置1に於けるテストデータの編集
処理等は必要でなくなるから、診断時間を短縮すること
ができる。
[Operation] The microprogram stored in the main memory 2 packages test orders, execution processing, etc., and is transferred to the random access memory 4 of the desired device to be diagnosed 3 under the control of the main controller 1. When the main controller 1 issues an execution instruction, the device 3 to be diagnosed starts self-diagnosis under the control of the microprocessor 5, and editing of test data in the main side 411 + device 1 is not necessary. This reduces diagnostic time.

〔実施例〕〔Example〕

以下図面を参照して本発明の実施例について詳細に説明
する。
Embodiments of the present invention will be described in detail below with reference to the drawings.

第2図は本発明の実施例の動作説明図であり、11は主
制御装置、12はメインメモリ、13は被診断装置、■
4はランダムアクセスメモリ (RAM)、15はマイ
クロプロセッサ(MPU)である。メインメモリ12に
格納された診断プログラムには、マイクロプログラムを
ストアする為の5TREG命令、そのマイクロプログラ
ムを実行する為のEXC命令と、パッケージ化されたマ
イクロプログラムi、j、  ・・・とから構成されて
いる。
FIG. 2 is an explanatory diagram of the operation of the embodiment of the present invention, in which 11 is the main controller, 12 is the main memory, 13 is the device to be diagnosed,
4 is a random access memory (RAM), and 15 is a microprocessor (MPU). The diagnostic program stored in the main memory 12 includes a 5TREG instruction for storing a microprogram, an EXC instruction for executing the microprogram, and packaged microprograms i, j, . . . has been done.

主制御装置11は、被診断装置13を装置番号等により
指定して、メインメモリ12の診断プログラムの5TR
EG命令を実行する■。それによって、被診断装置13
のマイクロプロセッサ15が起動される。そして、メイ
ンメモリ12の被診断装置13に対するマイクロプログ
ラムiが転送される■。この転送されたマイクロプログ
ラムiは、マイクロプロセッサ15の制御によってラン
ダムアクセスメモリ14に書込まれる。そして、診断プ
ログラムのEXC命令を実行する■。それによって、被
診断装置13のマイクロプロセッサ15が起動されて、
ランダムアクセスメモリ14に書込まれたマイクロプロ
グラムiを実行し、自己診断を行う。診断結果は主制御
装置11へ返送される。
The main control device 11 specifies the device to be diagnosed 13 by device number, etc., and executes the 5TR of the diagnostic program in the main memory 12.
■Execute the EG command. Thereby, the device to be diagnosed 13
microprocessor 15 is activated. Then, the microprogram i for the device to be diagnosed 13 in the main memory 12 is transferred (2). This transferred microprogram i is written into the random access memory 14 under the control of the microprocessor 15. Then, execute the EXC command of the diagnostic program. As a result, the microprocessor 15 of the device to be diagnosed 13 is activated,
The microprogram i written in the random access memory 14 is executed to perform self-diagnosis. The diagnosis results are sent back to the main controller 11.

このような診断を行う為のマイクロプログラム”r  
Jr  ・・・は、被診断装置13の種類対応にパッケ
ージ化して、メインメモリ12に格納しておけば良いこ
とになり、その場合は、被診断装置13の装置番号等に
対応したマイクロプログラムi、J+  ・・・を転送
すれば良いことになる。又被診断装置13のランダムア
クセスメモリ14は、通常の制御を行う場合に各種のデ
ータの読出し書込みを行うもので、診断時に、その領域
に前述のマイクロプログラムを書込むことになる。
A microprogram to perform such diagnosis
Jr... can be packaged according to the type of the device to be diagnosed 13 and stored in the main memory 12. In that case, the microprogram i corresponding to the device number of the device to be diagnosed 13, etc. , J+, and so on. The random access memory 14 of the device to be diagnosed 13 is used to read and write various data when performing normal control, and the aforementioned microprogram is written into that area during diagnosis.

又被診断装置13の診断ステップ対応にパッケージ化し
、例えば、前述のように、最初にマイクロプログラムi
を実行して自己診断を行い、その結果が良好の場合に、
主制御装置11に診断結果’OKの情報を返送し、それ
によって、主制御装置11は、次のマイクロプログラム
jを被診断装置13に転送し、被診断装置13でこのマ
イクロプログラムjを実行して自己診断を行い、これを
繰り返して被診断装置13の全機能の診断を行うことが
できる。又自己診断NGの場合には、その診断ステップ
に対応した個所の障害であると判断することができる。
In addition, it is packaged to correspond to the diagnostic steps of the device to be diagnosed 13, for example, as described above, the microprogram i
Run the self-diagnosis and if the result is good,
Information indicating the diagnosis result 'OK' is sent back to the main control device 11, whereby the main control device 11 transfers the next microprogram j to the device to be diagnosed 13, and executes this microprogram j in the device to be diagnosed 13. It is possible to perform a self-diagnosis by repeating the self-diagnosis and to diagnose all functions of the device to be diagnosed 13. If the self-diagnosis fails, it can be determined that the failure is at a location corresponding to the diagnosis step.

第3図は本発明の実施例のブロック図であり、二重化構
成の場合を示すものである。20.30はメインメモリ
 (MMo 、MMl) 、21.31は主制御装置(
cco、cc、)、22.32はチャネル制御装置(C
HCo 、CHC+ ) 、23.33は磁気ディスク
制御装置(DKCo 、DKc、)、24.34は磁気
ディスク装置(D K 。
FIG. 3 is a block diagram of an embodiment of the present invention, showing a duplex configuration. 20.30 is the main memory (MMo, MML), 21.31 is the main controller (
cco, cc, ), 22.32 is the channel control device (C
HCo, CHC+), 23.33 is a magnetic disk control device (DKCo, DKc,), and 24.34 is a magnetic disk device (DK).

、DK、)、25.35は磁気テープ制御装置(TPC
o 、TPO+) 、26.36は磁気テープ装置(T
Po、TP+)、27はマイクロプロセッサ(MPU)
 、28はランダムアクセスメモリ(RAM)である。
, DK, ), 25.35 is a magnetic tape controller (TPC)
o, TPO+), 26.36 is a magnetic tape device (TPO+), 26.36 is a magnetic tape device (TPO+)
Po, TP+), 27 is a microprocessor (MPU)
, 28 is a random access memory (RAM).

主制御装置21からメインメモリ20.30の何れに対
してもアクセスすることができ、又チャネル制御装置2
2.32の何れに対しても制御することが可能な構成で
、それらの何れか一方が現用系、他方が予備系となる。
Main memory 20, 30 can be accessed from main controller 21, and channel controller 2
2.32, one of which is the active system and the other is the backup system.

又磁気ディスク制御装置23.33によって磁気ディス
ク装置24゜34が制御され、データの書込み及び読出
しが行われる。同様に、磁気テープ制御装置25.35
により磁気テープ装置26.36が制御されて、データ
の書込み及び読出しが行われる。
Further, magnetic disk devices 24 and 34 are controlled by magnetic disk controllers 23 and 33, and data is written and read. Similarly, magnetic tape controller 25.35
The magnetic tape devices 26 and 36 are controlled to write and read data.

主制御装置21(CCo)を含む0系を予備系とし、主
制御装置31(CCV)を含む1系を現用系とし、予備
系の磁気ディスク制御装置23を被診断装置とする場合
、主制御装置31からチャネル制御装置22を介して磁
気ディスク制御装置23に、第2図について説明した診
断プログラムの5TREG命令が実行されて、磁気ディ
スク制御装置23のマイクロプロセッサ27が起動され
る。そして、磁気ディスク制御装置23に対応したマイ
クロプログラムがメインメモリ30から転送されて、ラ
ンダムアクセスメモリ28に書込まれる。
When the 0 system including the main controller 21 (CCo) is the standby system, the 1 system including the main controller 31 (CCV) is the active system, and the standby magnetic disk controller 23 is the device to be diagnosed, the main controller The 5TREG command of the diagnostic program described in FIG. 2 is executed from the device 31 to the magnetic disk control device 23 via the channel control device 22, and the microprocessor 27 of the magnetic disk control device 23 is activated. Then, the microprogram corresponding to the magnetic disk controller 23 is transferred from the main memory 30 and written into the random access memory 28.

次に、診断プログラムのEXC命令が実行されて、ラン
ダムアクセスメモリ28に書込まれたマイクロプログラ
ムが実行されて自己診断が行われる。診断結果は、チャ
ネル制御装置22を介して主制御装置31に転送される
Next, the EXC instruction of the diagnostic program is executed, and the microprogram written in the random access memory 28 is executed to perform self-diagnosis. The diagnosis results are transferred to the main control device 31 via the channel control device 22.

磁気テープ制御装置25を被診断装置とする場合も、前
述と同様の処理で自己診断が実行されることになる。
When the magnetic tape control device 25 is used as the device to be diagnosed, self-diagnosis is executed in the same manner as described above.

メインメモリ30からランダムアクセスメモリ28に転
送するマイクロプログラムは、診断ステップ毎にパッケ
ージ化した場合、複数の被診断装置に対して、それぞれ
の診断ステップに対応したマイクロプログラムを転送し
て自己診断を行わせることも可能である。
When the microprogram transferred from the main memory 30 to the random access memory 28 is packaged for each diagnostic step, self-diagnosis is performed by transferring the microprogram corresponding to each diagnostic step to a plurality of devices to be diagnosed. It is also possible to

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

以上説明したように、本発明は、主制御装置1の制御に
よりメインメモリ2の診断プログラムのマイクロプログ
ラムを、被診断装置3のランダムアクセスメモリ4に転
送し、そのランダムアクセスメモリ4に書込まれたマイ
クロプログラムを実行させて自己診断を行わせるもので
あり、主制御装置1に於いては、テストデータの編集等
を行う必要がないので、診断時間を短縮することが可能
となる。又転送するマイクロプログラムをパフケージ化
することにより、種類の異なる被診断装置に対する診断
処理を容易にすることが可能であり、又診断ステップ対
応にパッケージ化することもできるから、任意の診断ス
テップで自己診断を行わせることもできる。
As explained above, the present invention transfers the microprogram of the diagnostic program in the main memory 2 to the random access memory 4 of the device to be diagnosed 3 under the control of the main controller 1, and writes the microprogram in the random access memory 4. Since the main controller 1 does not need to edit test data or the like, it is possible to shorten the diagnosis time. In addition, by packaging the microprogram to be transferred, it is possible to facilitate diagnostic processing for different types of devices to be diagnosed, and it is also possible to package the microprogram to correspond to the diagnostic steps, so it is possible to perform self-programming at any diagnostic step. Diagnosis can also be performed.

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

第1図は本発明の原理ブロック図、第2図は本発明の実
施例の動作説明図、第3図は本発明の実施例のブロック
図である。 1.11は主制御装置、2.12はメインメモリ、3.
13は被診断装置、4.14はランダムアクセスメモリ
 (RAM) 、5.15はマイクロプロセッサ(MP
U)である。
FIG. 1 is a block diagram of the principle of the present invention, FIG. 2 is an explanatory diagram of the operation of an embodiment of the invention, and FIG. 3 is a block diagram of an embodiment of the invention. 1.11 is the main controller, 2.12 is the main memory, 3.
13 is the device to be diagnosed, 4.14 is the random access memory (RAM), and 5.15 is the microprocessor (MP
U).

Claims (1)

【特許請求の範囲】[Claims] 主制御装置(1)のメインメモリ(2)に格納されたマ
イクロプログラムを、被診断装置(3)のランダムアク
セスメモリ(4)に転送し、該ランダムアクセスメモリ
(4)に書込まれた前記マイクロプログラムを前記被診
断装置(3)が実行して診断を行うことを特徴とするマ
イクロプログラム診断方式。
The microprogram stored in the main memory (2) of the main controller (1) is transferred to the random access memory (4) of the device to be diagnosed (3), and the microprogram stored in the random access memory (4) is A microprogram diagnosis method characterized in that the device to be diagnosed (3) executes a microprogram to perform diagnosis.
JP61057032A 1986-03-17 1986-03-17 Diagnosis system for microprogram Pending JPS62229339A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61057032A JPS62229339A (en) 1986-03-17 1986-03-17 Diagnosis system for microprogram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61057032A JPS62229339A (en) 1986-03-17 1986-03-17 Diagnosis system for microprogram

Publications (1)

Publication Number Publication Date
JPS62229339A true JPS62229339A (en) 1987-10-08

Family

ID=13044097

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61057032A Pending JPS62229339A (en) 1986-03-17 1986-03-17 Diagnosis system for microprogram

Country Status (1)

Country Link
JP (1) JPS62229339A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01282647A (en) * 1988-05-10 1989-11-14 Hitachi Ltd Program diagnostic system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51110935A (en) * 1975-03-25 1976-09-30 Tokyo Shibaura Electric Co JIKOSHINDANKINOTSUKISHINGOSHORISOCHI
JPS5354939A (en) * 1976-10-29 1978-05-18 Hitachi Ltd Fault diagnosis system
JPS5462748A (en) * 1977-10-28 1979-05-21 Toshiba Corp Diagnostic system
JPS58182767A (en) * 1982-04-19 1983-10-25 Nec Corp System operation analyzer

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51110935A (en) * 1975-03-25 1976-09-30 Tokyo Shibaura Electric Co JIKOSHINDANKINOTSUKISHINGOSHORISOCHI
JPS5354939A (en) * 1976-10-29 1978-05-18 Hitachi Ltd Fault diagnosis system
JPS5462748A (en) * 1977-10-28 1979-05-21 Toshiba Corp Diagnostic system
JPS58182767A (en) * 1982-04-19 1983-10-25 Nec Corp System operation analyzer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01282647A (en) * 1988-05-10 1989-11-14 Hitachi Ltd Program diagnostic system

Similar Documents

Publication Publication Date Title
JPS62229339A (en) Diagnosis system for microprogram
JPS58182775A (en) Self-diagnosing system of magnetic disk
JP2639927B2 (en) Test method for control device in data processing system
JPS63191375A (en) Self-diagnosing method for floppy disk device
JP2682707B2 (en) Programmable controller
JP2584903B2 (en) External device control method
JPH01144133A (en) System for diagnozing computer system
JPS59201110A (en) Programmable controller
JPH02122335A (en) Test method for ras circuit
JPS6020771B2 (en) Micro diagnosis method
JPH03100836A (en) Fault diagnostic processing system
JPS62219035A (en) Diagnostic system for computer system
JPH0241781B2 (en)
JPH08235029A (en) Storage method for system fault information
JPS6270947A (en) Control system for debug interruption
JPS626335A (en) Data processing system
JPS58211227A (en) Testing system of peripheral equipment
JPH01281520A (en) External storage device
JPH09218829A (en) Write testing method for external storage and information processing system adopting the same
JPS58154055A (en) Tester for disk device
JPS63153647A (en) Diagnostic system in input/output device in computer system
JPS62166451A (en) History analyzing device for logical unit
JPS62191953A (en) Diagnosing system for dma controller
JPH04181321A (en) Microprogram loading system
JPS6284354A (en) Trace instruction controlling system