JPS60140439A - Self-diagnostic method of printed circuit board - Google Patents

Self-diagnostic method of printed circuit board

Info

Publication number
JPS60140439A
JPS60140439A JP24704683A JP24704683A JPS60140439A JP S60140439 A JPS60140439 A JP S60140439A JP 24704683 A JP24704683 A JP 24704683A JP 24704683 A JP24704683 A JP 24704683A JP S60140439 A JPS60140439 A JP S60140439A
Authority
JP
Japan
Prior art keywords
microcomputer
circuit board
microcomputers
printed circuit
bus
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
JP24704683A
Other languages
Japanese (ja)
Inventor
Hiroyuki Hasegawa
長谷川 広之
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.)
NEC Corp
Original Assignee
NEC Corp
Nippon Electric Co 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP24704683A priority Critical patent/JPS60140439A/en
Publication of JPS60140439A publication Critical patent/JPS60140439A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2236Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test CPU or processors

Abstract

PURPOSE:To execute the self-diagnosis of a printed board in a short time by storing a diagnostic program in a ROM of a microcomputer in advance or replacing it with a ROM storing a diagnostic program to execute the diagnostic program. CONSTITUTION:In one set of microcomputers coupled together, one is used as a master microcomputer and the other is a subordinate microcomputer, the subordinate computer is controlled by the master computer with the diagnostic program stored in advance in the ROM to diagnose the normality of the data bus between both the microcomputers and the computers themselves. When a test command from the outside of the printed circuit board 6 is inputted to the microcomputer 1, a call signal is given to the microcomputer 2. The data bus is switched into the output mode, call response data is set to the bus and the input of the call response data is requested to the microcomputer 1.

Description

【発明の詳細な説明】 〔発明の属する技術分野〕 本発明はプリント回路基板の自己診断方法に関し、特に
有機的に結合される複数個のマイクロコンピュータを搭
載するプリント回路基板の自己診断方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of the Invention] The present invention relates to a self-diagnosis method for a printed circuit board, and more particularly to a self-diagnosis method for a printed circuit board equipped with a plurality of organically coupled microcomputers.

〔従来技術〕[Prior art]

マイクロコンピュータの基本的構成はCPUを中心にR
OM、RAM、入出力ボードおよびそれらを結合するデ
ータバスおよび制御パスを含む。
The basic configuration of a microcomputer is centered around the CPU.
Contains OM, RAM, input/output boards, and data buses and control paths connecting them.

複数個のマイクロコンピュータを1枚のプリント回路基
板に搭載し、1つのマイクロコンピュータが複数のマイ
クロコンピュータ−と結合するような重複を許して有機
的に結合して1つないし複数の目的のために機能させる
インテリジェンスを有するプリント回路基板においては
、入力信号は論理的演算や時間的遅延演算などが複雑に
行われる。
Multiple microcomputers are mounted on one printed circuit board, and they are organically combined by allowing duplication, such as one microcomputer being combined with multiple microcomputers, for one or more purposes. In a printed circuit board that has the intelligence to function, input signals undergo complex logical operations, time delay operations, and the like.

それ故、互に結合される1組ごとのマイクロコンピュー
タ間のデータバスおよび制御バスの障害マイクロコンピ
ュータの接触不良などの異状が発生した場合、その障害
個所を発見することはむずかしい。
Therefore, if an abnormality occurs such as a failure in the data bus and control bus between the microcomputers of each set of interconnected microcomputers, or poor contact between the microcomputers, it is difficult to find the location of the failure.

これらの障害個所を発見するための診断装置は知られて
いるが、使用しているマイクロコンビーータに応じて専
用の装置が必要になり、かつ診断に当っては用いられて
いるマイクロコンピュータプログラムを追跡しながら行
う々どの手順が必要で、故障個所の発見には多大の時間
を要するという欠点があった。
Diagnostic devices for finding these faults are known, but they require specialized devices depending on the microcomputer being used, and the microcomputer program used for diagnosis. The problem is that it takes a lot of time to find the location of a failure because it requires a lot of follow-up.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、マイクロコンピュータのROMに予め
互に結合する相手マイクロコンピータとの診断プログラ
ムを格納しておくかまたは診断プログラムを格納したR
OMと差替えて該診断プログラムを実行することにより
、専用の診断装置を必要とせずかつ短時間に故障個所を
発見できるプリント回路基板の自己診断方法を提供する
ことにある。
An object of the present invention is to store in advance a diagnostic program for a partner microcomputer to be mutually coupled in the ROM of a microcomputer, or
It is an object of the present invention to provide a self-diagnosis method for a printed circuit board that does not require a dedicated diagnostic device and can find a failure point in a short time by replacing the OM and executing the diagnostic program.

〔発明の構成〕[Structure of the invention]

本発明のプリント回路基板の自己診断方法は、重複を許
して有機的に結合される複数個のマイクロコンピュータ
を1枚のプリント回路基板に実装し、互に結合される1
組ごとの前記マイクロコンピュータ間において指定され
る一方が起動して他方を呼出し、診断用データを転送し
、該診断用データに対する所定の応答があるか否かで1
組の前記マイクロコンピュータ間のバスおよびそれぞれ
の前記マイクロコンピュータの健全性を判定するように
構成される。
A self-diagnosis method for a printed circuit board according to the present invention mounts a plurality of microcomputers that are organically combined with each other on a single printed circuit board with overlap allowed, and
One of the microcomputers in each group starts up, calls the other, transfers diagnostic data, and determines whether or not there is a predetermined response to the diagnostic data.
The apparatus is configured to determine a bus between a set of said microcomputers and the health of each said microcomputer.

〔実施例の説明〕[Explanation of Examples]

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

第1図は本発明の一実施例を示すブロック図、第2図は
第1図に示す実施例において故障診断の一例を示すブロ
ック図である。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a block diagram showing an example of failure diagnosis in the embodiment shown in FIG.

第1図に示すように、マイクロコンピユクl。As shown in FIG. 1, the microcomputer l.

〜、5は1枚のプリント回路基板6に搭載される。. . . , 5 are mounted on one printed circuit board 6.

マイクロコンピュータ1はマイクロコンピュータ2、〜
,5とバス12.〜,15により、マイクロコンビー−
り5はマイクロコンピュータ1,3゜4とバス15.5
3.54によりそれぞれ結合され、1つないし複数の目
的のために機能するよう構成される。ただし、バス12
.〜s 15 v 53 t 54はそれぞれデータバ
スおよび制御バスを含む。
Microcomputer 1 is microcomputer 2, ~
, 5 and bus 12. ~, 15, Microcombi-
5 is a microcomputer 1.3°4 and a bus 15.5
3.54, each of which is configured to serve one or more purposes. However, bus 12
.. ~s 15 v 53 t 54 each include a data bus and a control bus.

〒イクロコンビーータ1,3.〜,5はそれぞれ外部端
子11 w 13 s 14 + 15によって列部回
路と接続される。
〒ICROCOMBITA 1, 3. . . . , 5 are connected to the column circuit through external terminals 11 w 13 s 14 + 15, respectively.

本発明は、互に結合される1組ごとのマイクロコンピュ
ータを一方を主たるマイクロコンピュータ、他力を従た
るマイクロコンピュータとして、主たるマイクロコンビ
具−夕側から従たるマイクロコンピュータを内蔵するR
OMに予め格納した診断プログラムにしたがって制御し
て、両マイクロコンビーータ間のデータバス、制御バス
および両マイクロコンビーータの健全性を診断するもの
である。
In the present invention, each set of microcomputers are connected to each other, with one being a main microcomputer and the other being a subordinate microcomputer.
Control is performed according to a diagnostic program stored in advance in the OM to diagnose the health of the data bus and control bus between both microconbeaters and both microconbeaters.

一例として、第2図に示すように、マイクロコンピュー
タ1とマイクロコンビーータ2との間の診断動作につい
て、第3図および第4図を参照し℃説明する。第3図は
マイクロコンビー−り1、第4図はマイクロコンピュー
タ2の動作を説明するためのフローチャートである。
As an example, a diagnostic operation between the microcomputer 1 and the microcomputer 2 as shown in FIG. 2 will be described with reference to FIGS. 3 and 4. FIG. 3 is a flowchart for explaining the operation of the microcomputer 1, and FIG. 4 is a flowchart for explaining the operation of the microcomputer 2. In FIG.

マイクロコンピュータ2はプリント回路基板6の外部に
入出力端子をもたないため、マイクロコンビーータ1を
主側に設定する。
Since the microcomputer 2 has no input/output terminals outside the printed circuit board 6, the microcomputer 1 is set on the main side.

プリント回路基板6の外部回路からテスト指示がマイク
ロコンピュータ1に入力されると、マイクロコンピュー
タ1はマイクロコンピュータ2に呼出し信号を送出する
(71)。
When a test instruction is input to the microcomputer 1 from the external circuit of the printed circuit board 6, the microcomputer 1 sends a calling signal to the microcomputer 2 (71).

マイクロコンピュータ2が呼出し信号を認識したとき(
ss)、データバスを出力モードに切替え(86)%呼
出し応答データをデータバスに設定しく87)、呼出し
応答データの入力をマイクロコンビーータ1に要求する
(88)。
When microcomputer 2 recognizes the calling signal (
ss), switches the data bus to the output mode (86), sets the paging response data on the data bus (87), and requests the microcon beater 1 to input the paging response data (88).

マイクロコンピータlは呼出し応答データの入力要求を
受けたとき(72)%呼出し応答データを入力してその
データを解析し、解析結果が呼出しを受付けたことを判
定したとき(73)%呼出し信号を断にして呼出しを解
除する(74)。
When the microcomputer l receives a call response data input request (72), it inputs the call response data, analyzes the data, and when the analysis result determines that the call has been accepted, it outputs a call signal (73). Then, the call is canceled (74).

続いて、呼出し解除の応答信号をマイクロコンピュータ
2に送出する(75)。
Subsequently, a response signal for canceling the call is sent to the microcomputer 2 (75).

マイクロコンピュータ2は呼出し解除の応答があったと
き(89)%データバスを入力モードに切替え(90)
%呼出し応答データの入力要求を解除する(91)。
When microcomputer 2 receives a response to cancel the call (89), it switches the data bus to input mode (90).
%Call response data input request is canceled (91).

マイクロコンピュータ1は呼出し応答データの入力要求
が解除されたことを認識したとき(76)、データバス
を出力モードに切替え(77)、データバスに診断デー
タを設定しく78)%マイクロコンピュータ2に対して
診断データの入力を要求す、L(79)。
When microcomputer 1 recognizes that the input request for call response data has been released (76), it switches the data bus to output mode (77) and sets diagnostic data on the data bus (78). L (79) requests input of diagnostic data.

マイクロコンビー−り2は診断データの入力要求を受け
たことを認識したとき(92)%診断データを受付けて
解析を行い、解析結果をマイクロコンピュータ1に応答
する(93)。
When the microcontroller 2 recognizes that it has received a request to input diagnostic data, it accepts (92)% of the diagnostic data, analyzes it, and sends the analysis result back to the microcomputer 1 (93).

マイクロコンビー−りlは解析結果の応答を認識したと
き(80)%診断データの入力要求を解除する(81)
When the microcontroller recognizes the response of the analysis result (80)%, it releases the diagnostic data input request (81).
.

マイクロコンピュータ2は診断データの入力要求の解除
を認識したとき(94)、認識した旨の応答ヲマイクロ
コンピュータ1に行い(95)、認識応答の信号を解除
して(96)s診断を終る。
When the microcomputer 2 recognizes the release of the diagnostic data input request (94), it sends a response to the microcomputer 1 indicating the recognition (95), releases the recognition response signal (96), and ends the diagnosis.

マイクロコンピュータ1はマイクロコンピュータ2が診
断データの入力要求の解除を認識した旨の応答を認識し
たとき(82)%データバスを入力モードに切替えて(
83)%診断を終る。
When the microcomputer 1 recognizes the response from the microcomputer 2 indicating that the diagnostic data input request has been canceled (82), it switches the data bus to the input mode (82).
83) Finish % diagnosis.

なお、すべての判断動作はそれぞれに設定される所定の
時間を経過後Cノオ」のときは、その時点から後の動作
は中断され、マイクロコンピ−タ1は出力端子から外部
の表示回路に不良信号を送出する。
In addition, all judgment operations are carried out after a predetermined period of time has elapsed, which is set for each case.If "NO" occurs, the subsequent operations are interrupted, and the microcomputer 1 detects a fault from the output terminal to the external display circuit. Send a signal.

また、プリント回路基板6の外部にテスト指示を入力す
る入力端子をもたない場合は、予め診断プログラムを格
納したROMとの差替えによって自動的にプログラムを
進行させその結果が主マイクロコンピュータのバスに出
力するようにして、テスト指示の起動を省略できる。そ
の場合、テスト結果はシンクロスコープ程度の汎用測定
器であらかじめテスト結果出力用に決められたマイクロ
コンピュータのバスを調べることで判定できる。
In addition, if the printed circuit board 6 does not have an external input terminal for inputting test instructions, by replacing the ROM with a ROM that stores a diagnostic program in advance, the program will automatically proceed and the results will be sent to the bus of the main microcomputer. You can omit starting the test instructions by outputting them. In that case, the test results can be determined by using a general-purpose measuring device such as a synchroscope to check the microcomputer bus designated in advance for outputting the test results.

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

以上述べたように、本発明のプリント回路基板の自己診
断方法はマイクロコンピュータのROMに予め互に結合
する相手マイクロコンピュータとの診断プログラムを格
納しておくか、または診断プログラムを格納したROM
と差替えて診断プログラムを実行することにより、専用
の診断装置を必要とせずかつ短時間に故障個所を発見で
きるので調整および保守効率を向上できるという効果が
ある。
As described above, the self-diagnosis method for a printed circuit board according to the present invention involves storing in advance a diagnostic program for a partner microcomputer to be mutually coupled in the ROM of a microcomputer, or a ROM storing a diagnostic program.
By replacing this with the diagnostic program and running the diagnostic program, the failure location can be found in a short time without the need for a dedicated diagnostic device, which has the effect of improving adjustment and maintenance efficiency.

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

第1図は本発明の一実施例を示すブロック図、第2図は
第1図に示す実施例において故障診断の一例を示すブロ
ック図、第3図は第2図における主たるマイクロコンピ
ュータの動作を説明するだめのフローチャート、第4図
は第2図における従たるマイクロコンピュータの動作を
説明するためのフローチャートである。 図において、1.〜,5・・・・・・マイクロコンピー
タ、6・・・・・・プリント回路基板、12.〜,15
,53゜54・・・・・・バス。 泰I 別 第2 回 第3 凹 第4 回
FIG. 1 is a block diagram showing one embodiment of the present invention, FIG. 2 is a block diagram showing an example of failure diagnosis in the embodiment shown in FIG. 1, and FIG. 3 shows the operation of the main microcomputer in FIG. FIG. 4 is a flowchart for explaining the operation of the microcomputer shown in FIG. 2. In the figure, 1. ~, 5... Microcomputer, 6... Printed circuit board, 12. ~,15
,53゜54... bus. Yasushi I Betsu 2nd 3rd Concave 4th

Claims (1)

【特許請求の範囲】[Claims] 重複を許して有機的に結合される複数個のマイクロコン
ピュータを1枚のプリント回路基板に実装し、互に結合
される1組ごとの前記マイクロコンピータ間において指
定される一方が起動して他方を呼出し、診断用データを
転送し、該診断用データに対する所定の応答があるか否
かで1組の前記マイクロコンピュータ間のバスおよびそ
れぞれの前記マイクロコンピュータの健全性を判定する
ことを特徴とするプリント回路基板の自己診断方法。
A plurality of microcomputers organically coupled with each other are mounted on a single printed circuit board, and one of the microcomputers in each set of mutually coupled microcomputers starts up and activates the other. The printer is characterized in that the bus between the set of microcomputers and the health of each of the microcomputers is determined based on whether or not there is a predetermined response to the diagnostic data. How to self-diagnose a circuit board.
JP24704683A 1983-12-28 1983-12-28 Self-diagnostic method of printed circuit board Pending JPS60140439A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24704683A JPS60140439A (en) 1983-12-28 1983-12-28 Self-diagnostic method of printed circuit board

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24704683A JPS60140439A (en) 1983-12-28 1983-12-28 Self-diagnostic method of printed circuit board

Publications (1)

Publication Number Publication Date
JPS60140439A true JPS60140439A (en) 1985-07-25

Family

ID=17157603

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24704683A Pending JPS60140439A (en) 1983-12-28 1983-12-28 Self-diagnostic method of printed circuit board

Country Status (1)

Country Link
JP (1) JPS60140439A (en)

Similar Documents

Publication Publication Date Title
JPS6347849A (en) Mode switching system
CA2002966A1 (en) Method of checking test program in duplex processing apparatus
JPS60140439A (en) Self-diagnostic method of printed circuit board
JPS62245341A (en) Engine control device
JPS6310456B2 (en)
JPH0314136A (en) Mutual diagnostic system for microprocessor system
JPH01187644A (en) Maintenance system for information processor
JPH0192847A (en) Debugging control system
JPS63177231A (en) Debug system for parallel program
JPS59202547A (en) Debugging device
JPH0773278B2 (en) Multiprocessor system
SU798782A1 (en) Input-output processor
JPS63310031A (en) Error detection system
JPH06161974A (en) Diagnosing method for multi-cpu board
JPH03233744A (en) Stand-by system route test system
JPS644221B2 (en)
JPS61233845A (en) Normality check system for standby system device
JPS58103250A (en) Data communication controller
JPH02297238A (en) Diagnostic system for multi-processor
JPS63276137A (en) Remote maintenance diagnosis system
JPS5962261A (en) Failure detecting method of electronic exchange
JPH03288205A (en) Programmable controller system
JPH0675812A (en) Fault detecting device of microprocessor
JPH04138750A (en) Communication controller diagnostic system
JPH06223046A (en) Bus tracing execution method