JPS61226845A - Watch dog timer - Google Patents

Watch dog timer

Info

Publication number
JPS61226845A
JPS61226845A JP60067417A JP6741785A JPS61226845A JP S61226845 A JPS61226845 A JP S61226845A JP 60067417 A JP60067417 A JP 60067417A JP 6741785 A JP6741785 A JP 6741785A JP S61226845 A JPS61226845 A JP S61226845A
Authority
JP
Japan
Prior art keywords
reset signal
stall
timer
logic device
reset
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
JP60067417A
Other languages
Japanese (ja)
Inventor
Masami Toyoshima
豊嶋 雅美
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
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 filed Critical NEC Corp
Priority to JP60067417A priority Critical patent/JPS61226845A/en
Publication of JPS61226845A publication Critical patent/JPS61226845A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To monitor and detect a stall with one watch dog timer for all action levels by adding a resetting signal selecting circuit in the watch dog timer used for the information processing system. CONSTITUTION:In accordance with the action level in respective steps of a logical device 4, plural resetting signals 6-8 are inputted to a resetting signal selecting circuit 2, and the resetting signals 6-8 are alternatively selected by a selecting control signal 5. Consequently, the stall can be monitored and detected by one watch dog timer only ranging over all action levels of the logical device 4. When the stall is detected, by investigating the condition of the resetting signal selecting control signal, it can be known by which action level the stall occurs.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は情報処理システムの障害検出に関し、特に論理
装置のストール状態を常時監視し、それを早期に検出す
るためのウォッチドッグタイマに関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to failure detection in information processing systems, and more particularly to a watchdog timer for constantly monitoring a stalled state of a logical device and detecting it early.

従来の技術 従来仁の種のウォッチドッグタイマは、ソフトウェア(
例えばオペレージ冒ンシステムO8)により一定時間毎
に発生させられるリセット信号をタイマ回路によって監
視し、予め設定された時間以上経過してもリセット信号
が届かない場合にストールと判定していた。
Conventional technology The conventional watchdog timer is a software (
For example, a timer circuit monitors a reset signal generated by an operating system (O8) at regular intervals, and if a reset signal does not arrive after a preset time has elapsed, it is determined that a stall has occurred.

しかし従来のウォッチドッグタイマには、監視できるリ
セット信号が1りしかないため、例えば、それをノアト
ウエアで発生させられる信号とすると、ソフトウェアが
動作可能となるまで(例えばハードウェアの初期設定中
やO8のロード中)は、監視機能を停止させる必要があ
り、またその間にストールが発生しても検出できないと
いう欠点がありた。
However, with conventional watchdog timers, there is only one reset signal that can be monitored, so for example, if this is a signal that can be generated by no-aware software, it can be used until the software is ready to operate (for example, during hardware initialization or O8 ), the monitoring function must be stopped, and even if a stall occurs during that time, it cannot be detected.

また、上記リセット信号をハードウェアで発生させる信
号とすれば、そのハードウェア上で動作しているファー
ムウェアやソフトウェアのストールは検出できないとい
う欠点があった。
Furthermore, if the reset signal is a signal generated by hardware, there is a drawback that a stall in firmware or software running on the hardware cannot be detected.

更にal!2図に示すように、ハードウェアのみ動作可
能な状態、ファームウェアまで動作可能だがまだソフト
ウェアが動かない状態、ソフトウェアが動作可能な状態
の3つの各状態について監視機能を実現するためには、
複数個のウォッチドッグタイマと、その結果をまとめる
論理和回路が必要となる欠点があった◎ 発明が解決しようとする問題点 本発明の目的は、上記の欠点、すなわちリセット信号が
1つしかないため、動作可能となるまでは監視が行えな
いこと、およびハードウェア、ファームウェア、ソフト
ウェアなどの複数の動作状態を監視するためには複数個
のウォッチドッグタイマを必要とするという問題点を解
決したウォッチドッグタイマを提供することにある。
Furthermore al! As shown in Figure 2, in order to realize the monitoring function for each of the three states: a state in which only the hardware is operational, a state in which the firmware is operational but the software is not yet operational, and a state in which the software is operational.
There was a drawback that multiple watchdog timers and an OR circuit for summarizing the results were required. ◎ Problems that the invention aims to solve The purpose of the present invention is to solve the above drawback, that is, there is only one reset signal This watch solves the problem that monitoring cannot be performed until it becomes operational, and that multiple watchdog timers are required to monitor multiple operating states of hardware, firmware, software, etc. The purpose is to provide a dog timer.

問題点を解決するための手段 本発明は上述の問題点を解決するために、論理装置から
ハードウェア、ファームウェア、ソフトウェアの各段階
においてそれぞれ異なる動作レベルのリセット信号を発
生させるとともに、論理装置から前記の各リセット信号
を選択制御する信号を発生させ、前記の諸信号をリセッ
ト信号選択回路に入力し、この選択回路によシ前記の各
リセット信号を択一的に選択して得たタイマリセット信
号をタイマ回路に入力し、このタイマ回路から前記各段
階のストール検出信号を出力させる構成を採用するもの
でめる。
Means for Solving the Problems In order to solve the above-mentioned problems, the present invention generates reset signals of different operation levels from the logic device at each stage of hardware, firmware, and software, and also generates reset signals from the logic device at the respective stages of hardware, firmware, and software. A timer reset signal is obtained by generating a signal for selectively controlling each of the reset signals, inputting the above-mentioned signals to a reset signal selection circuit, and having the selection circuit selectively select each of the above-mentioned reset signals. is input to a timer circuit, and the timer circuit outputs the stall detection signals of each stage.

作用 本発明は上述のように構成したので、論理装置の各段階
においての異なる動作レベルに応じての複数のリセット
信号がリセット信号選択回路に入力し、この選択回路は
論理装置からの選択制御信号によって択一的に前yIJ
セット信号を選択するので、論理装置の各動作レベルに
ある各段階のストールを監視検出することができる。
Operation Since the present invention is configured as described above, a plurality of reset signals corresponding to different operation levels at each stage of the logic device are input to the reset signal selection circuit, and this selection circuit receives selection control signals from the logic device. alternatively before yIJ
Since the set signal is selected, stalls at each stage at each operating level of the logic device can be monitored and detected.

実施例 次に本発明の実施例について図面上#照して説明する。Example Next, embodiments of the present invention will be described with reference to the drawings.

本発明の一実施例をブロック図で示す第1図を参照する
と、本発明のウォッチドッグタイマ1は。
Referring to FIG. 1, which shows a block diagram of an embodiment of the present invention, a watchdog timer 1 of the present invention is shown.

リセット信号選択回路2と、タイマ回路3とからなシ、
論理装置4からリセット信号6,7.8およびリセット
信号選択制御信号5とが選択回路2に入力している。論
理装置4は電源が投入されると、第2図に示すように、
まずハードウェアが動作を開始し、ハードウェアの初期
設定が完了した後、そのハードウェア上で動作するファ
ームウェアをロードし、それを起動する。その後ファー
ムウェアが機能し所定の処理を完了すると、ソフトウェ
ア(通常はO8)のロードを開始し、それが正常に終了
した時点でソフトウェアに制御を移す。りir動作レベ
ルがハードウェアレベル、ファームウェアレベル、ソフ
トウェアレベルと多重になりている。
The reset signal selection circuit 2 and the timer circuit 3,
Reset signals 6, 7.8 and a reset signal selection control signal 5 are input from the logic device 4 to the selection circuit 2. When the logic device 4 is powered on, as shown in FIG.
First, the hardware starts operating, and after the initial settings of the hardware are completed, the firmware that runs on that hardware is loaded and started. After that, when the firmware functions and completes a predetermined process, it starts loading the software (usually O8), and transfers control to the software when it completes normally. The IR operation level is multiplexed at the hardware level, firmware level, and software level.

リセット信号6,7.8は各動作レベルに対応しておシ
、各々のレベルでの動作が正常に実行されているかぎシ
、一定時間ごとに繰返し発生し、ストール状態になると
発生しなくなる信号である。
Reset signals 6, 7, and 8 correspond to each operation level, and are signals that are repeatedly generated at regular intervals to indicate that the operation at each level is being executed normally, and that are not generated when a stall condition occurs. It is.

リセット信号6はハードウェア、リセット信号7はファ
ームウェア、リセット信号8はソフトウェアによって発
生および停止が制御されており、動作レベルはこの順に
下位から上位にあるものとする。
The generation and stop of the reset signal 6 is controlled by hardware, the reset signal 7 is controlled by firmware, and the reset signal 8 is controlled by software, and the operating levels are in this order from lower to upper.

リセット信号選択制御信号5は、論理装置4の動作レベ
ルに応じて3本のリセット信号6,7.8のうちどのリ
セット信号をタイマリセット信号9とするかを指示する
信号である。
The reset signal selection control signal 5 is a signal that instructs which of the three reset signals 6, 7.8 is to be used as the timer reset signal 9 depending on the operating level of the logic device 4.

リセット信号選択回路’2a、IJセット信号選択制御
信号5の指示によシ、3本のリセット信号の中から有効
な最上位のリセット信号1本を選択し、それをタイマリ
セット信号9として出力する。
The reset signal selection circuit '2a selects one effective highest reset signal from the three reset signals according to the instruction of the IJ set signal selection control signal 5, and outputs it as the timer reset signal 9. .

タイマ回路3は、タイマリセット信号90発生時間間隔
を監視し、予め定められた時間以上タイマリセット信号
9が発生しなければ、ストール検出信号10を発生する
The timer circuit 3 monitors the time interval at which the timer reset signal 90 is generated, and generates a stall detection signal 10 if the timer reset signal 9 is not generated for a predetermined period of time or more.

論理装置4がハードウェアレベルで動作中、すなわちフ
ァームウェアの動作前では、リセット信号選択制御信号
5の指示にしたがって、リセット信号6がリセット信号
選択回路2を通りてタイマリセット信号9となシ、タイ
マ回路3で時間監視の対象となる。これは第2図の時間
t・と時間t1との間である。
While the logic device 4 is operating at the hardware level, that is, before the firmware operates, the reset signal 6 passes through the reset signal selection circuit 2 and becomes the timer reset signal 9 according to the instructions of the reset signal selection control signal 5. It is subject to time monitoring in circuit 3. This is between time t. and time t1 in FIG.

論理装置4がファームウェアレベルの動作中、すなわち
ハードウェアは動作状態となったがまだソフトウェアは
動作できない状態になると、リセット信号7をタイマ回
路3での時間監視対象とし、ソフトウェアレベルではリ
セット信号8をその時間監視対象とする。これらはそれ
ぞれ第2図の時間t1と時間1.との間および時間t2
以降である。
When the logic device 4 is operating at the firmware level, that is, when the hardware is in an operating state but the software is not yet operating, the reset signal 7 is subject to time monitoring by the timer circuit 3, and the reset signal 8 is monitored at the software level. The time will be monitored. These are time t1 and time 1 in FIG. 2, respectively. and time t2
Hereafter.

発明の効果 以上に説明したように、本発明によれば、従来のウォッ
チドッグタイマにリセット信号選択回路゛を付加するこ
とによシ、論理装置の全ての動作レベルにわたってただ
1つのウォッチドッグタイマでストールの監視・検出を
行える効果がある。またストールが検出された時点で、
リセット信号選択制御信号の状態を調べることによシ、
どの動作レベルでストールが発生したかを知ることがで
きるという効果がある。
Effects of the Invention As explained above, according to the present invention, by adding a reset signal selection circuit to a conventional watchdog timer, a single watchdog timer can be used for all operating levels of a logic device. This has the effect of monitoring and detecting stalls. Also, when a stall is detected,
By examining the state of the reset signal selection control signal,
This has the advantage that it is possible to know at what operating level the stall has occurred.

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

第1図は本発明の一実施例を示すブロック図、第2図は
論理装置の各動作レベルのタイミングを示す図である。 1・・・・・・本発明のウォッチドッグタイマ、2・・
・・・・リセット信号選択回路、3・・・・・・タイマ
回路、4・・・・・・監視の対象となる論理装置、5・
・・・・・リセット信号選択制御信号、6・・・・・・
ハードウェアにて制御されるリセット信号、7・・・・
・・ファームウェアにて制御されるリセット信号、8・
・・・・・ソフトウェアにて制御されるリセット信号、
9・・・・・・タイマリセット信号、10・・・・・・
ストール検出信号。 第 1 回
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG. 2 is a diagram showing the timing of each operation level of a logic device. 1... Watchdog timer of the present invention, 2...
. . . Reset signal selection circuit, 3 . . . Timer circuit, 4 . . . Logic device to be monitored, 5.
...Reset signal selection control signal, 6...
Reset signal controlled by hardware, 7...
... Reset signal controlled by firmware, 8.
...Reset signal controlled by software,
9...Timer reset signal, 10...
Stall detection signal. 1st

Claims (1)

【特許請求の範囲】[Claims] 論理装置のストール状態を検出するために、一定時間毎
に発生させられるリセット信号をタイマ回路によって監
視するウォッチドッグタイマにおいて、前記論理装置か
らハードウェア、ファームウェア、ソフトウェアの各段
階の異なる動作レベルに応じて送られてくるリセット信
号を入力され、同じく前記論理装置から送られてくるリ
セット信号選択制御信号によって前記の各リセット信号
を択一的に選択して、前記タイマ回路に入力させるリセ
ット信号選択回路を設けたことを特徴とするウォッチド
ッグタイマ。
In a watchdog timer in which a timer circuit monitors a reset signal generated at regular intervals in order to detect a stall state of a logic device, the timer circuit monitors a reset signal that is generated at regular intervals in order to detect a stall state of a logic device. a reset signal selection circuit that receives a reset signal sent from the logic device, selectively selects each of the reset signals according to a reset signal selection control signal also sent from the logic device, and inputs the selected reset signal to the timer circuit; A watchdog timer characterized by being provided with.
JP60067417A 1985-03-30 1985-03-30 Watch dog timer Pending JPS61226845A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60067417A JPS61226845A (en) 1985-03-30 1985-03-30 Watch dog timer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60067417A JPS61226845A (en) 1985-03-30 1985-03-30 Watch dog timer

Publications (1)

Publication Number Publication Date
JPS61226845A true JPS61226845A (en) 1986-10-08

Family

ID=13344311

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60067417A Pending JPS61226845A (en) 1985-03-30 1985-03-30 Watch dog timer

Country Status (1)

Country Link
JP (1) JPS61226845A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0245839A (en) * 1988-08-08 1990-02-15 Nec Corp Watch dog timer prohibiting circuit
JPWO2012053110A1 (en) * 2010-10-22 2014-02-24 富士通株式会社 Fault monitoring apparatus, fault monitoring method and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0245839A (en) * 1988-08-08 1990-02-15 Nec Corp Watch dog timer prohibiting circuit
JPWO2012053110A1 (en) * 2010-10-22 2014-02-24 富士通株式会社 Fault monitoring apparatus, fault monitoring method and program

Similar Documents

Publication Publication Date Title
US4635258A (en) System for detecting a program execution fault
JPS61226845A (en) Watch dog timer
JPH1153225A (en) Fault processor
JPH0363857A (en) Channel device
JPH09160808A (en) Flow monitor device for program
JPS5936786B2 (en) Failure detection device for weighing machine control
JPH01310422A (en) Resetting circuit for microcomputer
JPH1078896A (en) Industrial electronic computer
JPH064318A (en) Error detecting system
JPS63280345A (en) Detection of program abnormality
JPH01134637A (en) Supervising system for information in stall processing system
JPH05257748A (en) Microprocessor device
JPH0830490A (en) Monitoring method for starting of plural programs
JPS6313559Y2 (en)
JP2774595B2 (en) Operation monitoring device for CPU system
JPS62182848A (en) Monitor system for abnormality of program run
JPH0346853B2 (en)
JPS6213153Y2 (en)
JPH05324407A (en) Cpu monitor system
JPH0991170A (en) Fault detector
JPS59158402A (en) System control circuit device
JPS63238641A (en) Simplified detecting system for fault of microprocessor
JPH06274272A (en) Exclusive control device for input of pointing device
JPS60171544A (en) Self-diagnosis device for abnormality of computer system
JPS6152749A (en) System supervisory system