JPS59200357A - Watchdog timer circuit - Google Patents

Watchdog timer circuit

Info

Publication number
JPS59200357A
JPS59200357A JP58073717A JP7371783A JPS59200357A JP S59200357 A JPS59200357 A JP S59200357A JP 58073717 A JP58073717 A JP 58073717A JP 7371783 A JP7371783 A JP 7371783A JP S59200357 A JPS59200357 A JP S59200357A
Authority
JP
Japan
Prior art keywords
program
initial
counter
data
timer
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
JP58073717A
Other languages
Japanese (ja)
Inventor
Momoko Miura
三浦 百子
Yoshiro Azuma
東 吉郎
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP58073717A priority Critical patent/JPS59200357A/en
Publication of JPS59200357A publication Critical patent/JPS59200357A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0754Error or fault detection not based on redundancy by exceeding limits
    • G06F11/0757Error or fault detection not based on redundancy by exceeding limits by exceeding a time limit, i.e. time-out, e.g. watchdogs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To attain the automatic monitor even in an initial program loading mode and an initial processing mode by setting the initial value of a counter with an initial value setting fixed memory. CONSTITUTION:A selector SEL selects the data 2 of an initial value setting fixed memory DIP and the data 1 for operation program. In a power-on mode the data 2, i.e., the contents of the memory DIP is selected by the selector SEL and set to a counter as the initial value to give the monitoring during initial program loading and initial processing. When the operation program is executed, the data 1 given by a timer value setting instruction is selected by the SEL and set to the counter.

Description

【発明の詳細な説明】 (技術分野) 本発明はイニシャルプログラムロードとイニシャルプロ
グラム処理時間内も監視することが容易にで−きるウォ
ッチドッグタイマ回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Technical Field) The present invention relates to a watchdog timer circuit that can easily monitor initial program loading and initial program processing time.

(背景技術) 従来のウォッチドッグタイマ回路は運用プログラム中に
ついてのみその動作を果たす。
(Background Art) A conventional watchdog timer circuit performs its operation only during an operational program.

このような構成のウォッチドッグタイマ回路を第1図に
示す。第1図に2いて、カウンタはプログラムでリード
/ライト可能なl)own  カウンタ、WDT(ウォ
ッチドッグタイマー)用クロックはウォッチドッグタイ
マ用クロック発生回路である。
A watchdog timer circuit having such a configuration is shown in FIG. 2 in FIG. 1, the counter is an own counter that can be read/written by a program, and the WDT (watchdog timer) clock is a watchdog timer clock generation circuit.

第1図のカウンタは次のように動作する。The counter of FIG. 1 operates as follows.

バスよりデータ1をカウンタにセットしWDT用クコク
ロックりカウンタ値が順次減少される。
Data 1 is set in the counter from the bus, and the counter value is sequentially decremented by the WDT clock.

たとえば第2図に2いて説明する。第2図で注(1)の
部分ではIPL動作やイニシアル処理が実行きれる。
For example, the explanation will be given with reference to FIG. In the part marked with note (1) in FIG. 2, the IPL operation and initial processing can be completed.

データ1がカウンタにセットされるとクロックによりカ
ウンタL)own l、ていき再度データ1がセットさ
れるとカウンタ値は初期値にもどりカウンタDownを
する。また、何らかの異常でカウンタ値II O11に
なるまでデータ1がカウンタに設定されないとウオッチ
ドックタイマ−エラーとして警報を発生する。
When data 1 is set in the counter, the counter is incremented by the clock, and when data 1 is set again, the counter value returns to the initial value and the counter is down. Further, if data 1 is not set in the counter until the counter value II O11 is reached due to some abnormality, an alarm is generated as a watchdog timer error.

この・構成の問題点を第3図を用いて説明する。Problems with this configuration will be explained using FIG. 3.

第3図(b)はウォッチドッグタイマーカウンタを示す
。PGvVERON後イニシャルプログラムロードおよ
びイニシャル処理中はウオッチドックタイマ−カウンタ
は動作せず、終了後動作が始まるため運用プログラム中
のみ監視する。イニシャルプログラムロードおよびイニ
シャル処理中に誤動作が生じたとき、ワオツチドッグタ
イマー機能は動作していないため、異常状態を知らせる
ことがない。
FIG. 3(b) shows a watchdog timer counter. The watchdog timer counter does not operate during the initial program loading and initial processing after PGvVERON, but starts operating after completion, so it is monitored only during the operational program. When a malfunction occurs during initial program loading and initial processing, the watchdog timer function is not operating, so no abnormality is notified.

従ってその場に人間が介在しなければ装置は異常状態の
まま放置されている状態であり装置は装置自身の役目を
果すことができないため異常状態を防ぐ/(めにプログ
ラムが運用状j顧になる」−で人間が装置を監視しなけ
ればならないとも・う欠点がある。
Therefore, if there is no human intervention, the device will remain in an abnormal state, and the device will not be able to fulfill its own role. There is also a drawback that humans have to monitor the equipment.

(発明の課題) 本発明は前述の問題を解決するためになされたもので以
下詳細に説明する。
(Problem of the Invention) The present invention has been made to solve the above-mentioned problems, and will be described in detail below.

(発明の構成および作用) 第4図に本発明の構成の一例を、第5図にタイムチャー
トを示す。
(Structure and operation of the invention) FIG. 4 shows an example of the structure of the invention, and FIG. 5 shows a time chart.

第4図においてDIPは初期値設定用固定メモリである
。SELはセレクタであI’:1DIPによるデータ2
と運用プログラム用のデータ1を選択する。池は従来方
式と同様である。
In FIG. 4, DIP is a fixed memory for initial value setting. SEL is a selector and I': 1 data 2 by DIP
and select data 1 for the operational program. The pond is the same as the conventional method.

動作方法を第5図を用いて説明する。なお第5図で注(
1)の部分ではIPL動作やイニシャル処理が実行され
る。
The operating method will be explained using FIG. Note (
In part 1), IPL operation and initial processing are executed.

POWERON時にDIPの内容であるデータ2がSE
Lによって選択されカウンタに初期値として設定シイニ
シャルプログラムローにやイニシャル処理の時間監視を
行う。運用プログラムが実行しだ後はタイマー値セット
命令によって与えるデータ1がSELによって選択され
たカウンタに初期値として設定される。
Data 2, which is the contents of DIP, is set to SE when power is turned on.
When the initial program is selected by L and set as an initial value in the counter, the time of initial processing is monitored. After the operation program starts running, data 1 given by the timer value set command is set as an initial value in the counter selected by SEL.

(発明の効果) 以上説明したように、DIPにより初期値を設定できる
ことによりイニシャルプログラムロードとイニシャル処
理時にも自動監視することができ異常発生を起こした時
の処置も容易である。
(Effects of the Invention) As described above, since initial values can be set using DIP, automatic monitoring can be performed during initial program loading and initial processing, and it is also easy to take measures when an abnormality occurs.

また、このことは人間が常に介在して監視しなくてもよ
い利点がある。
This also has the advantage of not requiring constant human intervention and monitoring.

本発明はマイコン応用装置に広く応用可能であり無人監
視用に極めて有効である。
The present invention is widely applicable to microcomputer-applied devices and is extremely effective for unmanned monitoring.

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

第1図は従来のウオッチドックタイマ−の構成図、第2
図はウオッチドックタイマ−カウンタ動作−何区、第3
図は従来のウオッチドックタイマ−tDタイムチャート
、第4図は本発明のウオッチドックタイマーの一例を示
す構成図、第5図は本発明のウオッチドックタイマ−の
動作タイムチャートである。 1 カウンタ:WDT用カウンタ 2  DIS  、固定メモリ 3  SEL’、  :セレクタ 特許出願人 沖電気工業株式会社 特許出願代理人 弁理士 山 本 恵 −
Figure 1 is a configuration diagram of a conventional watchdog timer, Figure 2
The diagram shows watchdog timer counter operation - number of sections, number 3
FIG. 4 is a block diagram showing an example of the watchdog timer of the present invention, and FIG. 5 is an operation time chart of the watchdog timer of the present invention. 1 Counter: Counter for WDT 2 DIS, Fixed memory 3 SEL', : Selector Patent applicant Oki Electric Industry Co., Ltd. Patent agent Megumi Yamamoto -

Claims (1)

【特許請求の範囲】 コンビーータのプログラムが異常ループに落ち込んだこ
とを検出するためのタイマーで一定時間経過すると割込
みを起こしプログラムが正常状態° では前記割込をリ
セットすることにより異常状態のときに警報を発生づ−
るウォッチドッグタイマーにおいて、イニシャルプログ
ラムロードおよびイニシャル処理時間を設定する固定メ
モリと、プログラム中でその一定時間内に命令でリセッ
トするタイマー値セット回路と、前記固定メモリによる
データおよび前記タイマー値セット回路のデータとを選
択するセレクタと、セレクタの出力信号をセットしダイ
ミングパルスによりカウントするウオッチドッグタイマ
ーカウンクとを有し、イニシャルプログラムロードとイ
ニシャルプログラム処理と運用プログラムを監視できる
ことを特徴とするウォッチドッグタイマ回路。 ゛            =用丼路ミ
[Claims] This is a timer for detecting that the conbeater program has fallen into an abnormal loop.When a certain period of time elapses, an interrupt is generated and the program is in a normal state.If the program is in a normal state, by resetting the interrupt, an alarm is issued when the program is in an abnormal state. will occur.
The watchdog timer includes a fixed memory for setting the initial program load and initial processing time, a timer value setting circuit for resetting by command within a certain period of time during the program, and a timer value setting circuit for setting the data in the fixed memory and the timer value setting circuit. A watchdog characterized in that it has a selector that selects data and a watchdog timer counter that sets the output signal of the selector and counts with a dimming pulse, and is capable of monitoring initial program loading, initial program processing, and operation program. timer circuit.゛=Yodonromi
JP58073717A 1983-04-28 1983-04-28 Watchdog timer circuit Pending JPS59200357A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58073717A JPS59200357A (en) 1983-04-28 1983-04-28 Watchdog timer circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58073717A JPS59200357A (en) 1983-04-28 1983-04-28 Watchdog timer circuit

Publications (1)

Publication Number Publication Date
JPS59200357A true JPS59200357A (en) 1984-11-13

Family

ID=13526248

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58073717A Pending JPS59200357A (en) 1983-04-28 1983-04-28 Watchdog timer circuit

Country Status (1)

Country Link
JP (1) JPS59200357A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6224335A (en) * 1985-07-24 1987-02-02 Fujitsu Ltd Hang-up timer system
JPS63245740A (en) * 1987-04-01 1988-10-12 Sharp Corp Microprocessor
JPH01205345A (en) * 1988-02-12 1989-08-17 Nec Corp Automatic rerise system
JPH01211138A (en) * 1988-02-19 1989-08-24 Fujitsu Ltd Resetting circuit for supervising circuit of computer system
EP0715259A3 (en) * 1994-12-02 1997-07-09 At & T Corp Watchdog timer lock-up prevention circuit
JP2009015435A (en) * 2007-07-02 2009-01-22 Nippon Telegr & Teleph Corp <Ntt> Abnormality detecting method and processor
US7975188B2 (en) 2007-03-13 2011-07-05 Nec Corporation Restoration device for BIOS stall failures and method and computer program product for the same

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5886649A (en) * 1981-11-17 1983-05-24 Fujitsu Ltd Watchdog timer

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5886649A (en) * 1981-11-17 1983-05-24 Fujitsu Ltd Watchdog timer

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6224335A (en) * 1985-07-24 1987-02-02 Fujitsu Ltd Hang-up timer system
JPH0436420B2 (en) * 1985-07-24 1992-06-16 Fujitsu Ltd
JPS63245740A (en) * 1987-04-01 1988-10-12 Sharp Corp Microprocessor
JPH01205345A (en) * 1988-02-12 1989-08-17 Nec Corp Automatic rerise system
JPH01211138A (en) * 1988-02-19 1989-08-24 Fujitsu Ltd Resetting circuit for supervising circuit of computer system
EP0715259A3 (en) * 1994-12-02 1997-07-09 At & T Corp Watchdog timer lock-up prevention circuit
US7975188B2 (en) 2007-03-13 2011-07-05 Nec Corporation Restoration device for BIOS stall failures and method and computer program product for the same
JP2009015435A (en) * 2007-07-02 2009-01-22 Nippon Telegr & Teleph Corp <Ntt> Abnormality detecting method and processor

Similar Documents

Publication Publication Date Title
EP0497380B1 (en) Microcomputer having a watchdog timer
JPS6349814B2 (en)
JPS59200357A (en) Watchdog timer circuit
JP2508305B2 (en) Initial value determination device
JPS5549722A (en) Computer power supply system
JPS5922148A (en) Diagnostic system
JPS61145617A (en) Power supply disconnection circuit
JPS5727322A (en) Input and output controlling system of computer
JPS61226843A (en) Device for detecting interruption abnormality
JPS6148740B2 (en)
JPH0465407B2 (en)
JP2731386B2 (en) Control device
JPS6213153Y2 (en)
JPS6455661A (en) Data processor
JPH0316647B2 (en)
JPH01245322A (en) Power failure control circuit for microprocessor
JPH02136939A (en) Data processor
JP2560834B2 (en) Channel device
JPS62172569A (en) Hard disk control circuit
JPS6033654A (en) Inter-microprocessor data transferring system
JPS59148961A (en) Monitoring system of operation of processor
JPH0132136Y2 (en)
JPS553011A (en) Error processing system for sequence control unit
JPS60241116A (en) Portable terminal device
JPS6478355A (en) Buffer control system