JPH02278364A - Test system for multiprocessor - Google Patents
Test system for multiprocessorInfo
- Publication number
- JPH02278364A JPH02278364A JP9894689A JP9894689A JPH02278364A JP H02278364 A JPH02278364 A JP H02278364A JP 9894689 A JP9894689 A JP 9894689A JP 9894689 A JP9894689 A JP 9894689A JP H02278364 A JPH02278364 A JP H02278364A
- Authority
- JP
- Japan
- Prior art keywords
- test
- processor
- starting
- processors
- execution control
- 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
- Multi Processors (AREA)
- Hardware Redundancy (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明はデータ処理装置に収容された複数のプロセッサ
のプロセッサ命令の試験を行う多重プロセッサの試験方
式に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a multiprocessor testing method for testing processor instructions of a plurality of processors housed in a data processing device.
[従来の技術]
従来のこの種の多重プロセッサの試験方式は、人手を介
して1個のプロセッサを選択しこのプロセッサを立ちt
けたのち、このプロセッサに対して試験の起動を行い、
このブロモ・ンサの試験が終了すると、また人手を介し
て次のブロモ・ンサを選択して立ち上げ、これに試験の
起動を行うものとなっている。[Prior Art] A conventional test method for this type of multiprocessor is to manually select one processor and turn it on and off.
After that, start the test on this processor,
When this Bromo Nsa test is completed, the next Bromo Nsa is selected and started up manually, and the test is started on it.
[発明が解決しようとする課題]
上述した従来の多重プロセッサの試験方式は、プロセッ
サ命令の試験を実行する被試験ブロモ・ノサを選択して
試験を行う毎に人手を介してこの選択されたプロセッサ
を立ち上げなければならないので、再立ち上げするのに
時間かかかったり、また再立ち上げに際して人手を必要
とするので誤操作を招くという問題があった。[Problems to be Solved by the Invention] The conventional multiprocessor testing method described above selects a test target for executing a processor instruction test, and each time a test is performed, the selected processor is , it takes a long time to restart the system, and since restarting the system requires human intervention, it can lead to operational errors.
また、データ処理装置内に収容されるプロセッサの数が
増えると、これに比例して試験時間が長くかかるという
問題もあった。Another problem is that as the number of processors housed in a data processing device increases, testing time increases proportionally.
[課題を解決するための手段]
このような課題を解決するために本発明に係る多重プロ
セッサの試験方式は、複数の10セ・ソサの中から1個
のプロセッサを選択してこのプロセッサの立ち上げを行
うブロモ・7す立ち上げ手段と、プロセッサの試験の実
行制御を行う試験実行制御手段と、この試験実行制御手
段により制御されて上記プロセッサ立ち上げ手段により
立ち上げられたプロセッサに対して試験を起動する試験
起動手段と、この試験起動手段により起動されたプロセ
ッサの試験の終了を検出したのち上記試験実行制御手段
に対して試験の終了を通知する試験終了通知手段と、上
記プロセッサの試験終了が検出されたのち上記試験実行
制御手段により制御されてこのプロセッサの試験結果を
判定する試験結果判定手段と、この試験結果判定手段に
より試験結果が判定されたのち次の10セツサの選択を
行いこれを立ち上げて試験の起動を行う手段とを偏えた
ものである。[Means for Solving the Problems] In order to solve such problems, the multiprocessor testing method according to the present invention selects one processor from a plurality of 10 processors and tests the startup of this processor. a test execution control means for controlling the execution of the test of the processor; a test start means for starting up the processor; a test end notification means for notifying the test execution control means of the end of the test after detecting the end of the test of the processor started by the test start means; and end of the test for the processor. a test result determining means for determining the test result of this processor under the control of the test execution control means after the test result is detected; This method is biased toward the method of starting up the software and starting the test.
[作用]
試験起動手段がプロセッサを選択してこれに試験起動を
行うと、試験終了通知手段はこの試験の終了を検出して
試験実行制御手段に試験の終了を通知する。試験実行制
御手段はこの通知を受は取ると試験結果判定手段に対し
て試験結果を判定させる。そして、この試験の結果が判
定されると、次のプロセッサが選択されて立ち上げられ
試験が起動される。[Operation] When the test activation means selects a processor and tests it, the test completion notification means detects the end of this test and notifies the test execution control means of the end of the test. When the test execution control means receives this notification, it causes the test result determination means to determine the test result. When the result of this test is determined, the next processor is selected and started up, and the test is started.
[実施例] 次に本発明について図面を参照して説明する。[Example] Next, the present invention will be explained with reference to the drawings.
第1図は、本発明の多重プロセッサの試験方式の一実施
例を示すブロック図である。同図において、1ないし4
は被試験プロセッサ、10は主記憶装置、70は母線、
71は操作部、72はコンソール装置である。FIG. 1 is a block diagram showing an embodiment of a multiprocessor testing method according to the present invention. In the same figure, 1 to 4
is the processor under test, 10 is the main memory, 70 is the bus line,
71 is an operation unit, and 72 is a console device.
そして主記憶装置10内には、図のように試験実行制御
部20.試験起動部30.試験終了通知部40.プロセ
ッサ状態記憶部50.試験結果判定部60が格納されて
おり、これらはプログラムおよびデータとして構成され
ている。さらに上記各部の構成について詳述すると、試
験実行制御部20には試験実行の手順および試験実行の
ためのデータ等が記憶されている。そして、プロセッサ
状態記憶部50には、被試験プロセッサ1ないし4の試
験対象プロセッサ番号、すなわち被試験プロセッサ1.
2,3.4に対応してそれぞれ1番、2番、3番、4番
と設定した試験対象プロセッサ番号が記憶されている。In the main storage device 10, as shown in the figure, a test execution control section 20. Test startup part 30. Exam completion notification section 40. Processor state storage unit 50. A test result determination section 60 is stored, and these are configured as programs and data. Further, to describe the configuration of each of the above sections in detail, the test execution control section 20 stores test execution procedures, data for test execution, and the like. The processor state storage unit 50 stores the test target processor numbers of the processors under test 1 to 4, that is, the processors under test 1.
Test target processor numbers set as 1, 2, 3, and 4 corresponding to 2, 3, and 4 are stored, respectively.
また、プロセッサ状態記憶部50には、試験対象プロセ
ッサ番号に対応してこの番号に該当するプロセッサの状
態、すなわち試験未実行状B1実行中状態、実行終了状
態のいずれかの状態も記憶されている。In addition, the processor state storage unit 50 also stores, in correspondence with the test target processor number, the state of the processor corresponding to this number, that is, either the test non-execution state B1 running state or the execution completed state. .
そして、操作部71がこれと接続された4個のプロセッ
サの中から1個のプロセッサを選択して、これにブート
ストラップ動作を行わせるようにして立ち上げると、こ
の立ち上げられたプロセッサは、主記憶装置10内に格
納された上記各部のプログラムを読み出してこれを実行
する。すなわち、試験実行制御部20はプロセッサ状態
記憶部50を参照して試験対象プロセッサ番号を試験起
動部30に対して通知する。試験起動部30は試験対象
プロセッサ番号を受は収るとプロセッサ間通信の機能に
より試験対象プロセッサのレジスタ等のプロセッサの内
部状態を設定して、試験対象ブロモ・ソサに対して試験
を起動する。また、試験起動部30は、プロセッサ状態
記憶部50内の該当するプロセッサの状態を初期状態で
ある試験未実行状態から試験実行状態に更新する。試験
終了通知部40は、試験起動部30により起動された試
験の終了を検出すると、試験実行制御部20にこの試験
が終了したプロセッサ番号を通知する。また、試験終了
通知部40は、プロセッサ状態記憶部50内の該当する
プロセッサの状態を試験実行中状態から試験終了状態に
更新する。試験結果判定部60は、試験対象プロセッサ
に対する試験の結果を判定しエラーを検出すると、コン
ソール装置72に対してエラーメツセージを送信する。Then, when the operation unit 71 selects one processor from among the four connected processors and bootstraps it to perform a bootstrap operation, the launched processor The programs for each of the above sections stored in the main storage device 10 are read out and executed. That is, the test execution control section 20 refers to the processor state storage section 50 and notifies the test starting section 30 of the processor number to be tested. When the test activation unit 30 receives the test target processor number, it sets the internal state of the processor such as the register of the test target processor using the inter-processor communication function, and starts the test on the test target Bromo Sosa. Further, the test starting unit 30 updates the state of the corresponding processor in the processor state storage unit 50 from the initial state, which is the test not executed state, to the test execution state. When the test end notification section 40 detects the end of the test started by the test starting section 30, it notifies the test execution control section 20 of the processor number on which this test has ended. Further, the test end notification section 40 updates the state of the corresponding processor in the processor state storage section 50 from the test execution state to the test end state. The test result determination unit 60 determines the test result for the processor to be tested and upon detecting an error, transmits an error message to the console device 72 .
そして、試験実行制御部20は、プロセッサ状態記憶部
50を参照して全てのプロセッサ状態が試験終了状態で
あれば、コンソール装置72に対して試験終了メツセー
ジを送信する。Then, the test execution control section 20 refers to the processor state storage section 50 and, if all the processor states are in the test end state, transmits a test end message to the console device 72.
以上のように構成された多重プロセッサの試験方式につ
いて、第2図のフローチャートに基づきその詳細な動作
を説明する。The detailed operation of the multiprocessor testing method configured as described above will be explained based on the flowchart shown in FIG.
ステップ100において、操作部71によって選択され
たプロセッサ1に対してブートストラップ動作を行わせ
るような制御を行ってプロセッサ1を立ち上げる。プロ
セッサ1が主記憶装置10内の試験実行制御部20.試
験起動部30.試験終了通知部40.プロセッサ状態記
憶部50.試験結果判定部60に対してアクセス可能と
なったとき、ステップ101で操作者によりコンソール
装置72に対して試験実行コマンドが投入されると、試
験実行制御部20はこの試験実行コマンドを検出する。In step 100, the processor 1 selected by the operation unit 71 is controlled to perform a bootstrap operation to start up the processor 1. The processor 1 is a test execution control unit 20 .in the main memory 10 . Test startup part 30. Exam completion notification section 40. Processor state storage unit 50. When the test result determination section 60 becomes accessible, when the operator inputs a test execution command to the console device 72 in step 101, the test execution control section 20 detects this test execution command.
この試験実行コマンドはプロセッサ1〜4に対して試験
をするという内容のコマンドで、このコマンドはコンソ
ール装置72.母線70を介して試験実行制御部20に
伝達されるものである。試験実行制御部20は、上記の
試験実行コマンドを検出してこれを受は取ると、ステッ
プ102で試験起動部30に対して試験対象プロセッサ
番号を通知する。そして試験起動部30は、これを受は
取ってステップ103でこの番号に対応するプロセッサ
に対して試験を起動する。This test execution command is a command to test the processors 1 to 4, and this command is a command for testing the processors 1 to 4. It is transmitted to the test execution control section 20 via the bus line 70. When the test execution control section 20 detects and accepts the above test execution command, it notifies the test starting section 30 of the test target processor number in step 102. Then, the test starting unit 30 receives this and starts a test for the processor corresponding to this number in step 103.
次にステップ104で試験終了通知部40は、このプロ
セッサの試験の終了を検出し、この終了が検出されると
、ステップ105で試験終了したこの試験対象プロセッ
サ番号を試験実行制御部20に対して通知する。試験実
行制御部20では、この試験終了通知に基づき、ステッ
プ106で試験結果判定部60に対して試験対象プロセ
ッサが実行した試験結果の判定をさせる。試験結果判定
部60はステップ107でこの試験結果の良否の判定、
すなわちこれがエラーであるか否かを判定しこれが「Y
」、つまりエラーであると判定したときステップ108
で上記のエラーメツセージをコンソール装置72に対し
て送信し、コンソール装置72ではこれを受信して表示
をし、操作者に対して報告を行う。また、試験結果判定
部60がステップ107で「N」、つまりエラーではな
いと判定したときはステップ109に移行する。そして
、試験結果判定部60が上記の試験結果判定処理を終了
すると、試験実行制御部20はステップ109でプロセ
ッサ状態記憶部50を参照して試験対象のプロセッサが
あるか否か、すなわち試験すべきプロセッサがまだ残っ
ているが否かを判断する。これが「N」、すなわち残っ
ていないときは全てのプロセッサの試験が終了ししたも
のと判断し、コンソール装置72に対して上記の試験終
了メツセージを送信し、コンソール装置72ではこれを
受信して表示を行い、操作者に対して試験の終了を通知
する。ステップ10っで「Y」、すなわちまだ試験すべ
きプロセッサが残っているとき、試験実行制御部20は
、上記のプロセッサ間通信に基づいて次のプロセッサを
選択してこれを立ち上げ、ステップ103に移行してこ
の立ち上げられたプロセッサの実行する試験起動部3o
により試験が起動される。Next, in step 104, the test completion notification unit 40 detects the completion of the test of this processor, and when this completion is detected, in step 105, the test target processor number for which the test has been completed is sent to the test execution control unit 20. Notice. Based on this test completion notification, the test execution control unit 20 causes the test result determination unit 60 to determine the result of the test executed by the processor under test in step 106. In step 107, the test result determination unit 60 determines whether the test result is good or bad.
In other words, it is determined whether this is an error or not.
", that is, when it is determined that there is an error, step 108
The above error message is sent to the console device 72, which receives it, displays it, and reports it to the operator. Further, when the test result determination section 60 determines "N" in step 107, that is, it determines that there is no error, the process proceeds to step 109. When the test result determination section 60 finishes the above test result determination process, the test execution control section 20 refers to the processor state storage section 50 in step 109 to determine whether there is a processor to be tested. Determine whether there are still processors remaining. If this is "N", that is, there are no remaining processors, it is determined that the test of all processors has been completed, and the above-mentioned test completion message is sent to the console device 72, which receives it and displays it. and notify the operator of the end of the test. When the result of step 10 is "Y", that is, there are still processors to be tested, the test execution control unit 20 selects and starts the next processor based on the above-mentioned inter-processor communication, and proceeds to step 103. The test startup unit 3o is migrated and executed by this launched processor.
The test is started.
このように、順次立ち上げられたプロセッサが主記憶装
置10に格納された各部のプログラムを読みだして実行
することにより試験が遂行されるものである。In this way, the test is carried out by sequentially starting up the processors reading out and executing the programs of each section stored in the main storage device 10.
なお、本実施例の場合立ち上げプロセッサをプロセッサ
1にしたが、これは他のプロセッサにしてもよく、上記
したと同様に試験を行うことができる。In this embodiment, the startup processor is Processor 1, but it may be any other processor and the test can be performed in the same manner as described above.
[発明の効果]
以上説明したことから明らかなように本発明に係る多重
プロセッサの試験方式によれば、複数のプロセッサの中
から1個のプロセッサを選択し、これを立ち上げて試験
起動を行えば、このプロセッサの試験が終了したのち、
順次他のプロセッサが立ち上げられて試験が行われるよ
うに構成しなので、1度のプロセッサの立ちLげで連続
して自動的に複数のプロセッサの試験ができ、人手を介
して再立ち上げを行う必要がなく、従って再立ち上けに
伴う誤操作がなく、試験時間も短くなるという効果があ
る。[Effects of the Invention] As is clear from the above explanation, according to the multiprocessor testing method according to the present invention, one processor is selected from a plurality of processors, and it is started up for test startup. For example, after testing this processor,
Since the configuration is such that tests are performed by starting up other processors in sequence, it is possible to automatically test multiple processors in succession by starting up one processor, and restarting the processor without manual intervention is possible. There is no need to do this, so there are no erroneous operations associated with restarting, and the test time is also shortened.
第1図は本発明に係る多重プロセッサの試験方式の一実
施例を示すブロック図、第2図はこの動作説明に供する
フローチャートである。
1〜4・・・・プロセッサ、10・・・・主記憶装置、
20・・・・試験実行制御部、30・・・・試験起動部
、40−・・・試験終了通知部、50・・・・10セッ
サ状態記憶部、60・・試験結果判定部、70・・・・
EJ:線、71・・・・操作部、72・・・・コンソー
ル装置。
特許出願人 日本電気株式会社FIG. 1 is a block diagram showing an embodiment of a multiprocessor testing method according to the present invention, and FIG. 2 is a flowchart for explaining the operation. 1 to 4...processor, 10...main storage device,
20...Test execution control unit, 30...Test starting unit, 40-...Test end notification unit, 50...10 processor status storage unit, 60...Test result determination unit, 70... ...
EJ: line, 71...operation unit, 72...console device. Patent applicant: NEC Corporation
Claims (1)
行う多重プロセッサの試験方式において、 前記複数のプロセッサの中から1個のプロセッサを選択
してこのプロセッサの立ち上げを行うプロセッサ立ち上
げ手段と、 前記プロセッサの試験の実行制御を行う試験実行制御手
段と、 前記試験実行制御手段により制御されて前記プロセッサ
立ち上げ手段により立ち上げられたプロセッサに対して
試験を起動する試験起動手段と、この試験起動手段によ
り起動されたプロセッサの試験の終了を検出したのち前
記試験実行制御手段に対して試験の終了を通知する試験
終了通知手段と、 前記プロセッサの試験終了が検出されたのち前記試験実
行制御手段により制御されてこのプロセッサの試験結果
を判定する試験結果判定手段と、 この試験結果判定手段により試験結果が判定されたのち
次のプロセッサの選択を行いこれを立ち上げて試験の起
動を行う手段と を備え、1個のプロセッサを立ち上げてこのプロセッサ
に対し試験を起動することにより自動的に順次プロセッ
サを立ち上げて試験を行うようにしたことを特徴とする
多重プロセッサの試験方式。[Claims] In a multiprocessor test method for testing a plurality of processors housed in a data processing device, a processor that selects one processor from the plurality of processors and starts up this processor. startup means; test execution control means for controlling execution of a test of the processor; and test startup means for starting a test on a processor that is controlled by the test execution control means and started up by the processor startup means. and a test end notification means for notifying the test execution control means of the end of the test after detecting the end of the test of the processor started by the test start means; a test result determining means that determines the test result of this processor under control of the test execution control means; and after the test result is determined by the test result determining means, the next processor is selected and started up to start the test. A multiprocessor testing method characterized in that the processors are automatically started up in sequence and tested by starting one processor and starting a test on this processor. .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9894689A JPH02278364A (en) | 1989-04-20 | 1989-04-20 | Test system for multiprocessor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9894689A JPH02278364A (en) | 1989-04-20 | 1989-04-20 | Test system for multiprocessor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02278364A true JPH02278364A (en) | 1990-11-14 |
Family
ID=14233268
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9894689A Pending JPH02278364A (en) | 1989-04-20 | 1989-04-20 | Test system for multiprocessor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02278364A (en) |
-
1989
- 1989-04-20 JP JP9894689A patent/JPH02278364A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4226108B2 (en) | Digital signal processor and processor self-test method | |
| JPH0588933A (en) | Parallel processing system with debugging function | |
| JPH10289129A (en) | Task scheduler for debugging | |
| JPS62107354A (en) | Microprogram control device | |
| JPH05165737A (en) | Memory test system | |
| JPH07105045A (en) | Debugging method of information processing equipment functional test program | |
| JPH01258138A (en) | System for testing central processing unit | |
| JPH04243431A (en) | Evaluation system for fault processing function | |
| JPH05143395A (en) | Diagnostic program execution system and log information display system to be used for the execution system | |
| JP2639927B2 (en) | Test method for control device in data processing system | |
| JPS62187942A (en) | Debugging control processing system | |
| JPS6013494B2 (en) | Self-diagnosis method | |
| JPH02244232A (en) | information processing equipment | |
| JP2628776B2 (en) | Fault diagnosis device for programmable controller | |
| JPS59195751A (en) | Diagnostic system of information processing device | |
| JPH07168768A (en) | Initial self-diagnosing method | |
| JP2849780B2 (en) | Computer system | |
| JPS5849900B2 (en) | Diagnosis method during IPL | |
| JPH0472257B2 (en) | ||
| JPH01305441A (en) | Test program rerun system | |
| JPS6220579B2 (en) | ||
| JPH10228434A (en) | Hardware diagnostic system using network | |
| JPH0635516A (en) | Batch enable / disable processing method for multiple programs in programmable controller | |
| JPS61170847A (en) | Automatic testing equipment of peripheral device | |
| JPS62103701A (en) | Restart control method for sequence controller |