JPH01303534A - Resetting system for runaway of bus master unit - Google Patents
Resetting system for runaway of bus master unitInfo
- Publication number
- JPH01303534A JPH01303534A JP63134005A JP13400588A JPH01303534A JP H01303534 A JPH01303534 A JP H01303534A JP 63134005 A JP63134005 A JP 63134005A JP 13400588 A JP13400588 A JP 13400588A JP H01303534 A JPH01303534 A JP H01303534A
- Authority
- JP
- Japan
- Prior art keywords
- cpu
- watchdog timer
- system bus
- reset signal
- bus master
- 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
- 230000005856 abnormality Effects 0.000 claims abstract description 21
- 238000001514 detection method Methods 0.000 claims abstract description 17
- 238000000034 method Methods 0.000 claims description 8
- 230000004044 response Effects 0.000 claims description 2
- 238000004092 self-diagnosis Methods 0.000 abstract description 4
- 230000001960 triggered effect Effects 0.000 abstract description 3
- 230000002093 peripheral effect Effects 0.000 abstract description 2
- 230000003252 repetitive effect Effects 0.000 abstract 2
- 240000004859 Gamochaeta purpurea Species 0.000 abstract 1
- 238000011084 recovery Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000002411 adverse Effects 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
Landscapes
- Multi Processors (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、複数のバスマスタを有するマルチプロセッサ
システムに関し、特に、そのうちのひとつのバスマスタ
が暴走した際の復帰および処理の再開の方式に関する。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a multiprocessor system having a plurality of bus masters, and particularly to a method for recovering and restarting processing when one of the bus masters goes out of control.
従来の技術
従来、ウォッチドッグタイマによるCPUの暴走検出に
は、正常動作中において実時間割込などの手法により定
期的にウォッチドッグタイマにトリガをかけ続けるよう
にプログラミングしておき、・一定時間以上ウォッチド
ッグタイマに対するCPUからのトリガがない時には、
ウォッチドッグタイマは、CPUになんらかの障害が発
生し暴走したものとして異常検出信号を発生し、そのC
PUの制御下にある処理系の動作を中止したり初期化し
て再実行するなどの処理をとるのが一般的である。Conventional technology Conventionally, in order to detect a CPU runaway using a watchdog timer, the watchdog timer is programmed to continue to be triggered periodically during normal operation using methods such as real-time interrupts. When there is no trigger from the CPU for the dog timer,
The watchdog timer generates an abnormality detection signal as if some kind of failure has occurred in the CPU and caused it to run out of control.
Generally, the processing of the processing system under the control of the PU is stopped, initialized, and re-executed.
発明が解決しようとする課題
上述のように、ウォッチドッグタイマの異常検出信号に
より処理を中止したり初期化して再実行する方式でマル
チプロセッサ処理系のバスマスタユニットを構成した場
合、システムバスを介して接続された他の処理系への波
及効果を考えれば、処理系の動作中止はできる限り回避
すべきであり。Problems to be Solved by the Invention As mentioned above, when the bus master unit of a multiprocessor processing system is configured in such a way that processing is stopped or initialized and re-executed based on the abnormality detection signal of the watchdog timer, Considering the ripple effect on other connected processing systems, stopping the operation of the processing system should be avoided as much as possible.
暴走時に即、処理停止という方法は得策でない。It is not a good idea to immediately stop processing when the process goes out of control.
しかしながら、際実行する方法をとれば、もし、障害の
原因が一過性のものではなく、ハードウェアの故障とい
った恒久的な原因であるときし;は、その障害を取り除
かずに処理を再開しても再び異常状態となる確立が高く
、その場合、復帰動作がくり返し行われ、システムの動
作に悪影響を与える可能性が高いという欠点がある。However, if you use the instant execution method, if the cause of the failure is not temporary but a permanent cause such as a hardware failure, processing will be restarted without removing the failure. However, there is a high probability that the abnormal state will occur again, and in that case, the recovery operation will be repeated, which is likely to have an adverse effect on the operation of the system.
本発明は従来の上記実情に鑑みてなされたものであり、
従って本発明の目的は、従来の技術に内在する上記欠点
を解消することを可能とした新現なバスマスタユニット
暴走時の復帰方式を提供することにある。The present invention has been made in view of the above-mentioned conventional situation,
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a new recovery method when a bus master unit runs out of control, which makes it possible to eliminate the above-mentioned drawbacks inherent in the conventional technology.
課題を解決するための手段
上記目的を達成する為に1本発明に係るバスマスタユニ
ット異常時の復帰方式は、複数の処理系が単一のシステ
ムバスを使用してなるマルチプロセッサ処理システムを
構成するバスマスタユニットに、 cpu、メモリ回路
、システムバスインターフェース回路、゛および前記C
PUの暴走検出用のウォッチドッグタイマによる異常検
出信号とをセンスしてリセットパルスを発生するための
リセット信号発生器を有し、ウォッチドッグタイマが発
生する異常検出信号によってリセット信号発生器がリセ
ットパルスをCPUに対して発生した際にCPUは前記
ウォッチドッグタイマの異常検出信号をモニタし、ウォ
ッチドッグタイマ出力に起因するリスタートの場合には
システムバスインターフェース回路をイネーブル状態に
する前に自己診断プログラムに従ってハードウェア障害
の有無を調査し、異常が検出されない時にのみ処理を再
開し、システムバスインターフェース回路をイネーブル
にすることを特徴としている。Means for Solving the Problems In order to achieve the above-mentioned objects, the present invention provides a method for recovering from an abnormality in the bus master unit by configuring a multiprocessor processing system in which a plurality of processing systems use a single system bus. The bus master unit includes a CPU, a memory circuit, a system bus interface circuit, and the above C.
It has a reset signal generator for generating a reset pulse by sensing an abnormality detection signal from a watchdog timer for detecting runaway of the PU, and the reset signal generator generates a reset pulse by sensing an abnormality detection signal generated by the watchdog timer. When this occurs to the CPU, the CPU monitors the abnormality detection signal of the watchdog timer, and in the case of a restart caused by the watchdog timer output, the CPU executes a self-diagnosis program before enabling the system bus interface circuit. The system is characterized in that it investigates whether there is a hardware failure or not, and restarts processing only when no abnormality is detected, and enables the system bus interface circuit.
実施例
次に本発明をその好ましい一実施例について図面を参照
して具体的に説明する。Embodiment Next, a preferred embodiment of the present invention will be specifically explained with reference to the drawings.
第1図は本発明の一実施例を示すブロック構成図である
。FIG. 1 is a block diagram showing one embodiment of the present invention.
第1図を参照するに、 CPIIIIは内部バスを介し
てROO20RA旧3、I10ボート14に接続され、
内部バスはシステムバスインターフェース回路15を通
してシステムバスに接続される。実時間割込み発生器1
6の出力信号は、cputtの割込み入力に接続され、
−・定時間間隔でCPU 11に割込みをかけ、割込み
サービスプログラムを起動する。ウォッチドッグタイマ
17は、 CPUIIの出力パルスにより定期的にトリ
ガされ、 cputtからのトリガが一定時間間隔行な
われない時に、異常検出信号を発生して、リセット信号
発生器18とCI’U11に対して異常を通知する。リ
セット信号発生器18は、ウォッチドッグタイマ17か
らの異常検出信号あるいはシステムバスからの異常検出
信号を検出してバスマスタユニットの内部リセット信号
を生成し、システムバスインターフェース回路15、C
PUIIおよび周辺回路に供給する。Referring to Figure 1, CPIII is connected to ROO20RA old 3, I10 boat 14 via an internal bus,
The internal bus is connected to the system bus through system bus interface circuit 15. Real-time interrupt generator 1
The output signal of 6 is connected to the interrupt input of cputt,
- Interrupt the CPU 11 at fixed time intervals and start the interrupt service program. The watchdog timer 17 is periodically triggered by the output pulse of the CPUII, and when the trigger from the cputt is not performed for a certain period of time, it generates an abnormality detection signal and sends it to the reset signal generator 18 and CI'U11. Notify of abnormality. The reset signal generator 18 detects the abnormality detection signal from the watchdog timer 17 or the abnormality detection signal from the system bus, generates an internal reset signal for the bus master unit, and generates an internal reset signal for the system bus interface circuit 15, C.
Supplies PUII and peripheral circuits.
CPUIIは、定常状態では実時間割込み発生器16に
よって一定時間間隔で割込サービスプログラムが起動さ
れ、この割込に関連させてウォッチドッグタイマ17に
対するトリガパルスを供給する0例えば1割込の回数を
カウンタで数え、実時間割込サービスの外にカウンタの
値を評価し、一定値以上になったらウォッチドッグタイ
マ17へのトリガパルスを発生するようなルーチンを通
常の処理ルーチン内に埋めておけば、 CPUIIがメ
モリへの読み書きエラー、バスショートといった障害に
より暴走してしまった場合には、トリガパルスが発生で
きなくなり、ウォッチドッグタイマ17から異常検出信
号が発生する。In a steady state, an interrupt service program is activated by the real-time interrupt generator 16 at regular time intervals, and the CPU II supplies a trigger pulse to the watchdog timer 17 in connection with this interrupt. If you count with a counter, evaluate the counter value outside of the real-time interrupt service, and embed a routine in the normal processing routine that generates a trigger pulse to the watchdog timer 17 when it exceeds a certain value, If the CPU II goes out of control due to a failure such as a memory read/write error or a bus short, a trigger pulse cannot be generated, and the watchdog timer 17 generates an abnormality detection signal.
この異常検出信号はリセット信号発生器18によって検
出され、バスマスタユニットの内部リセット信号が発生
され、バスマスタユニットが初期化される。リセット信
号発生器18では、システムバスからのシステムリセッ
ト信号によっても同様に内部リセット信号を発生する機
能を有するが、異常発生時のリスタートが、これと異な
るのはCPUIIがウォッチドッグタイマ17の発生し
た異常検出信号をラッチしていた場合にはりセラ1−ス
タートの時に自動的に自己診断プログラムを実行してメ
モリの試験、I10ボートの試験などハードウェアの検
査を行い、少なくとも自己診断で検出できる範囲の障害
が認められない場合に、ウォッチドッグタイマ17を初
期化、システムバスインターフェース回路15をイネー
ブル状態にし、処理を再開する。This abnormality detection signal is detected by the reset signal generator 18, an internal reset signal of the bus master unit is generated, and the bus master unit is initialized. The reset signal generator 18 also has the function of generating an internal reset signal in response to the system reset signal from the system bus, but the restart in the event of an error is different from this when the CPU II generates the watchdog timer 17. If the abnormality detection signal is latched, a self-diagnosis program will be automatically executed at the time of start of Sera 1 to perform hardware tests such as memory test and I10 board test, and at least it can be detected by self-diagnosis. If no range failure is recognized, the watchdog timer 17 is initialized, the system bus interface circuit 15 is enabled, and processing is restarted.
この一連の処理中、システムバスへの影響を最小限にす
るために、システムバスインターフェース回路15は内
部リセット信号によりシステムバスから切り離され(デ
ィスエイプル状態)、自己診断、初期化が正常に実行さ
れ、処理が再開されるときにはじめてイネーブル状態に
するという回路構成にすべきである。During this series of processing, in order to minimize the impact on the system bus, the system bus interface circuit 15 is disconnected from the system bus (disabled state) by an internal reset signal, and self-diagnosis and initialization are executed normally. , the circuit configuration should be such that it is enabled only when processing is restarted.
リスター1〜時に、自己診断プログラムで障害が発見さ
れた場合、ランプを点灯する、メツセージ出力などの方
法により外部へアラームを出力し、障害発生をすみやか
に通知し、システムバスインターフェース回路15はデ
ィスエイプル状態を保持する。これによって障害の早期
発見、障害部分の切り分けを容易にしシステムの保守性
能の向上に寄与する。If a fault is found in the self-diagnosis program during lister 1~, an alarm is output to the outside by a method such as lighting a lamp or outputting a message to immediately notify the occurrence of the fault, and the system bus interface circuit 15 is disabled. Retain state. This facilitates early detection of failures and isolation of faulty parts, contributing to improved system maintenance performance.
発明の詳細
な説明したように1本発明によれば、へスマスタのCP
U暴走をウォッチドッグタイマで検出した際に内部リセ
ット信号を自動的に発生し、その復帰を開始するととも
にハードウェアの自己診断を実行し、障害検出を行うこ
とで恒久的障害による復帰動作のくり返し発生を未然に
防ぐとともにアラームを出力して障害箇所の早期発見に
寄与し、また雑音等による一過性の障害に対しては自動
復旧を可能にするので、システムの保守性を向上させる
という効果が得られる。DETAILED DESCRIPTION OF THE INVENTION According to the present invention, the CP of the hess master
When U runaway is detected by the watchdog timer, an internal reset signal is automatically generated, and at the same time the recovery is started, hardware self-diagnosis is executed, and a failure is detected, making it possible to repeat the recovery operation due to a permanent failure. It prevents occurrences, outputs alarms and contributes to early detection of failure locations, and enables automatic recovery from temporary failures caused by noise, etc., which improves system maintainability. is obtained.
第1図は本発明の一実施例を示すブロック構成図である
。FIG. 1 is a block diagram showing one embodiment of the present invention.
Claims (1)
ルチプロセッサ処理システムを構成するためのCPU、
メモリ回路、システムバスインターフェース回路、およ
び前記CPUの暴走検出用ウォッチドッグタイマ、シス
テムバスからのリセット信号と前記ウォッチドッグタイ
マが発生する異常検出信号とをセンスしてリセットパル
スを発生するためのリセット信号発生器を有するバスマ
スタユニットにおいて、ウォッチドッグタイマが発生す
る異常検出信号によってリセット信号発生器がリセット
パルスをCPUに発生した際にCPUは前記ウォッチド
ッグタイマの異常検出信号をモニタし、ウォッチドッグ
タイマ出力に起因するリスタートの場合にはシステムバ
スインターフェース回路をイネーブル状態にする前に自
己診断プログラムに従ってハードウェア障害の有無を調
査し、異常が検出されないときのみ処理を再開してシス
テムバスインターフェース回路をイネーブル状態にする
ことを特徴とするバスマスタユニット暴走時の復帰方式
。a CPU for configuring a multiprocessor processing system in which multiple processing systems use a single system bus;
A memory circuit, a system bus interface circuit, a watchdog timer for detecting runaway of the CPU, and a reset signal for sensing a reset signal from the system bus and an abnormality detection signal generated by the watchdog timer to generate a reset pulse. In a bus master unit having a generator, when the reset signal generator generates a reset pulse to the CPU in response to the abnormality detection signal generated by the watchdog timer, the CPU monitors the abnormality detection signal of the watchdog timer and outputs the watchdog timer. In the case of a restart caused by a system bus interface circuit, before enabling the system bus interface circuit, check for a hardware failure according to a self-diagnosis program, and only if no abnormality is detected, restart processing and enable the system bus interface circuit. A method for recovering when a bus master unit runs out of control.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63134005A JPH01303534A (en) | 1988-05-31 | 1988-05-31 | Resetting system for runaway of bus master unit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63134005A JPH01303534A (en) | 1988-05-31 | 1988-05-31 | Resetting system for runaway of bus master unit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH01303534A true JPH01303534A (en) | 1989-12-07 |
Family
ID=15118152
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63134005A Pending JPH01303534A (en) | 1988-05-31 | 1988-05-31 | Resetting system for runaway of bus master unit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH01303534A (en) |
-
1988
- 1988-05-31 JP JP63134005A patent/JPH01303534A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4956842A (en) | Diagnostic system for a watchdog timer | |
| US20040034816A1 (en) | Computer failure recovery and notification system | |
| JP3520662B2 (en) | Monitoring device for electronic control unit | |
| CN107430167A (en) | Semiconductor device and diagnostic test method | |
| CN113946148A (en) | MCU chip awakening system based on multi-ECU cooperative control | |
| JP2002251300A (en) | Fault monitoring method and device | |
| US4627057A (en) | Method and arrangement for the functional testing of computers | |
| CN114356708A (en) | Equipment fault monitoring method, device, equipment and readable storage medium | |
| JP2593915B2 (en) | Double microcomputer system runaway prevention circuit | |
| JPH01303534A (en) | Resetting system for runaway of bus master unit | |
| JP4432354B2 (en) | Watchdog timer circuit status monitoring system | |
| JPH11259340A (en) | Reactivation control circuit for computer | |
| JP2004086520A (en) | Monitoring control device and monitoring control method | |
| JPH08202589A (en) | Information processor and fault diagnostic method | |
| JP3164360B2 (en) | Microprocessor circuit device having watchdog circuit and method of monitoring flow of processor program | |
| JP2000065691A (en) | Diagnostic device with self-shut-off function | |
| JP4126849B2 (en) | Multi-CPU system monitoring method | |
| CN118226942B (en) | Method for processing abnormal reset of microcontroller | |
| JP2659067B2 (en) | Microcomputer reset circuit | |
| CN118656246B (en) | External watchdog monitoring system of domain controller | |
| JPH1078896A (en) | Industrial computer | |
| CN120723586B (en) | Storage system process management method, electronic device, storage medium and program product | |
| JP2002318643A (en) | Information processing device | |
| JPH02308343A (en) | Trouble detection reporting system for microprocessor | |
| JP2990008B2 (en) | Processor self-diagnosis method |