JPS60252961A - Program trouble supervisory device of information processing device - Google Patents
Program trouble supervisory device of information processing deviceInfo
- Publication number
- JPS60252961A JPS60252961A JP59108519A JP10851984A JPS60252961A JP S60252961 A JPS60252961 A JP S60252961A JP 59108519 A JP59108519 A JP 59108519A JP 10851984 A JP10851984 A JP 10851984A JP S60252961 A JPS60252961 A JP S60252961A
- Authority
- JP
- Japan
- Prior art keywords
- program
- signal
- mask register
- output signal
- information processing
- 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
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、マイクロプロセッサ等を含む情報処理装置で
実行されるプログラムの暴走をウォッチドッグ・タイv
(Watch Dog Timer)で監欅する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention provides a watchdog tie to prevent runaway programs executed in information processing devices including microprocessors and the like.
(Watch Dog Timer).
情報処理装置のプログラム障害監視装置に関する。The present invention relates to a program failure monitoring device for an information processing device.
従来、マイクロプロセッサ等を用いた情報処理装置にお
いては、蚊装置で実行されるプログラムの暴走、すなわ
ちプログラムが正しい順序で実行されなくなるような障
害を監視するためにウオッチド、グ・タイマが用いられ
ておシ、その場合の装置のブロック構成が第3図に示さ
れる。第3図装置ではウォッチドッグ・タイマ1.妥イ
クログロセッサ11.プログラム等を格納するROM1
2゜作業用ORAM 13 、 I10装置14がパス
15を介して相互接続されている。Conventionally, in information processing devices using microprocessors and the like, a watched timer has been used to monitor runaway programs executed in mosquito devices, that is, failures that cause programs to no longer be executed in the correct order. The block configuration of the device in that case is shown in FIG. In the device shown in FIG. 3, watchdog timer 1. Microprocessor 11. ROM1 for storing programs etc.
A 2° working ORAM 13 and an I10 device 14 are interconnected via a path 15.
マイクログロセ、す11はROM12に格納されたプロ
グラムを順次に読み出して実行する。タイマ1はその入
力端にマイクロノロセッサ11からプログラム・アクセ
ス信号を受信すると一定時間にわたシ出力信号の送出を
続け、一定時間経過後に出力信号送出を停止する回路で
あシ、該一定時間以内にさらに次のアクセス信号を受信
するとその受信時点からさらに該一定時間にわたシ出力
信号を送出し続けるようになっている。そして該タイマ
1の出力信号が送出停止されることによシ発生されるア
ラーム信号(警報信号)によって、プログラムに障害が
あることが指示される。The microgrocer 11 sequentially reads and executes programs stored in the ROM 12. Timer 1 is a circuit that, upon receiving a program access signal from microprocessor 11 at its input terminal, continues to send out an output signal for a certain period of time, and stops sending out the output signal after a certain period of time has elapsed, and within the certain period of time. When the next access signal is received, the output signal continues to be sent for a certain period of time from the time of reception. Then, an alarm signal (warning signal) generated by stopping the output signal of the timer 1 indicates that there is a fault in the program.
プログラムの暴走等の障害を監視するためには、ウォッ
チドッグ・タイマ1での一定計時時間ようも短い一定周
期毎にアクセス信号をタイマ1に送出して該タイマ1を
更新し続けるようにプログラムを作成すればよい。これ
によシタイマ1の出力信号が送出され続けている限シは
プログラムが正常に動作していることになる。出力信号
が停止されたときLl一定周期毎に発生されるべきアク
セス信号が発生されなかったのであるから、プログラム
の暴走等の障害が生じたものと判断できる。In order to monitor failures such as program runaway, the program should be configured to send an access signal to timer 1 at regular intervals, even if the time measured by watchdog timer 1 is short, to keep updating timer 1. Just create one. As a result, as long as the output signal of timer 1 continues to be sent out, the program is operating normally. When the output signal was stopped, the access signal that was supposed to be generated every Ll constant period was not generated, so it can be determined that a problem such as a program runaway has occurred.
情報処理装置の電源をオンにしたとき、あるいは装置で
実行中のプログラムを中止するためにリセットボタン等
でプログラムのりスタート(再開)を行ったときには、
プログラムの初期設定、例えばメモリーのオールクリア
命令、I10コードのゼロ設定命令等が実行される。こ
の初期設定を行っている時間中やリセットボタンを押し
ている時間中はウォッチドッグ・タイマへのアクセス信
号の送出が行われないので、この間に該タイマからの出
力信号が停止されて警報表示がなされる可能性がある。When you turn on the information processing device, or when you use the reset button, etc. to start (resume) a program running on the device,
Initial settings of the program, such as a memory all clear instruction, an I10 code zero setting instruction, etc. are executed. Since no access signal is sent to the watchdog timer while this initial setting is being performed or while the reset button is being pressed, the output signal from the timer is stopped and an alarm is not displayed during this time. There is a possibility that
上述の問題点を解決するために、本発明においては、プ
ロセッサを含む情報処理装置で実行されルプログラムの
暴走等をウォッチドッグ・タイマによシ監視する。情報
処理装置のプログラム障害監視装置において、プログラ
ムの再開信号によシセ、トされウォッチドッグ・タイマ
へのプログラム・アクセス信号受信後にリセットされる
マスクレジスタ、および、該ウォッチドッグ・タイマの
出力信号に基づく善報信号を該マスクレジスタの出力信
号に応じてマスクするゲート回路を具備することを特徴
とする。情報処理装置のプログラム障害監視装置が提供
される。In order to solve the above-mentioned problems, the present invention uses a watchdog timer to monitor runaway of a program executed in an information processing device including a processor. In a program failure monitoring device for an information processing device, a mask register that is set and reset by a program restart signal and reset after receiving a program access signal to a watchdog timer, and a mask register that is reset after receiving a program access signal to a watchdog timer; The present invention is characterized by comprising a gate circuit that masks the good news signal according to the output signal of the mask register. A program failure monitoring device for an information processing device is provided.
ウォッチドッグ・タイマの出力信号に基づく警報信号は
、マスクレジスタが再開信号によってセットされること
によシマスフされる。そして該マスクレジスタは、ウオ
ッチド、グ・タイマへのアクセス信号によシ、あるいは
一定時間経過後に自動的にリセットされ、該アラーム信
号のマスクを解除する。これによシブログラムの再開後
、周期的なアクセス信号が発生されるまでの間に、誤り
た警報が発されることを防止する。The alarm signal based on the output signal of the watchdog timer is masked by the mask register being set by the resume signal. Then, the mask register is automatically reset by an access signal to the watched timer or after a certain period of time has elapsed, and the mask of the alarm signal is released. This prevents false alarms from being issued after the program is restarted and before the periodic access signal is generated.
本発明の一実施例としての情報処理装置のプログラム障
害監視装置が第1図に示される。第1図において、ウォ
ッチドッグ・タイマ1には端子4を介してiイクログロ
セッサからプログラム・アクセ・ス信号S2が入力され
、その出力信号S3はOR回路3の一方の入力端に入力
される。FIG. 1 shows a program failure monitoring device for an information processing device as an embodiment of the present invention. In FIG. 1, a program access signal S2 is input to the watchdog timer 1 from the i microgross processor via a terminal 4, and its output signal S3 is input to one input terminal of an OR circuit 3. .
マスクレジスタ2はソリップフロッゾ回路からなり、そ
のリセット入力端には上記のアクセス信号S2が入力さ
れ、そのセット入力端にはプログラムのりスタート時に
発生される再開信号S1が端子5を介して入力される。The mask register 2 is composed of a solip-frozzo circuit, and the above-mentioned access signal S2 is inputted to its reset input terminal, and the restart signal S1 generated at the start of the program is inputted to its set input terminal via a terminal 5.
マスクレジメ42の出力信号S4はOR回路3の他方の
入力端に入力され、該OR回路3の出力端からは警報信
号S5が端子6を介して送出され、それによシブログラ
ムの障害を警告する警報表示が行われる。The output signal S4 of the mask regimen 42 is input to the other input terminal of the OR circuit 3, and the output terminal of the OR circuit 3 sends out an alarm signal S5 via the terminal 6, thereby generating an alarm warning of a fault in the siprogram. Display is performed.
第1図装置の動作が第2図を参照しつつ以下に説明され
る。第2図はプログラムの再開時における第1図装置各
部における信号81〜S5の波形を示す図であシ、(a
)は再開信号S1を、(b)はアクセス信号S2を、(
C)はタイマ1の出力信号S3を、(d) Uマスクレ
ジスタ2の出力信号S4を、(e)は警報信号S5をそ
れぞれ示す。The operation of the apparatus of FIG. 1 will now be described with reference to FIG. FIG. 2 is a diagram showing the waveforms of signals 81 to S5 in each part of the device shown in FIG. 1 when the program is restarted;
) is the restart signal S1, (b) is the access signal S2, (
C) shows the output signal S3 of the timer 1, (d) shows the output signal S4 of the U mask register 2, and (e) shows the alarm signal S5.
プログラムが正常に実行されているときには、ウォッチ
ドッグ・タイマ1に該タイマによる一定計時時間(例え
ば1秒)よりも短い周期でアクセス信号S2が入力され
続けるので、該タイマ1がらは「1」レベルの出力信号
s3が送出され続ける。したがってOR回路3から出力
される警報信号S5は「1」レベルとなシ、警報表示は
行われない。When the program is being executed normally, the access signal S2 continues to be input to watchdog timer 1 at a cycle shorter than the fixed time measured by the timer (for example, 1 second), so the timer 1 remains at the "1" level. The output signal s3 continues to be sent out. Therefore, the alarm signal S5 output from the OR circuit 3 is at the "1" level, and no alarm display is performed.
プログラムに暴走等の障害が生じた場合には、アクセス
信号S2が停止され、やがてタイマ1の出力信号S3は
「0」レベルになる。マスクレジスタ2はリセット状態
にあるので、その出力信号S4は「0」レベルであシ、
したがってOR回路3からは「O」レベルの警報信号s
5が出力され、警報表示が行われる。If a problem such as runaway occurs in the program, the access signal S2 is stopped, and the output signal S3 of the timer 1 eventually becomes a "0" level. Since the mask register 2 is in the reset state, its output signal S4 is at "0"level;
Therefore, the OR circuit 3 outputs an "O" level alarm signal s.
5 is output and an alarm is displayed.
次に、装置で実行中のプログラムを中止してプログラム
を再開する場合について述べる。装置のリセットブタン
を押すことKよシブログラムはリセットされ、該メタン
を離すことにょシ再開信号S1が時点T1で発生されて
プログラムが再びランを開始し、プログラムの初期設定
が行われる。Next, a case will be described in which a program being executed on the device is stopped and the program is restarted. By pressing the reset button on the device, the program is reset, and by releasing the methane, a restart signal S1 is generated at time T1 to start the program running again and initialize the program.
このリセットブタンの押下は人間が行うため数秒を要す
ることもあシ、またプログラムの初期設定には例えば数
百ミリ秒を要するので、定期点なアクセス信号S2が発
生されるようになるまでにウォ、チドッグ・タイマ1の
出力信号S3が停止されて「0」になる可能性がある。Since this reset button is pressed by a human, it may take several seconds, and the initial setting of the program may take several hundred milliseconds, so it takes a long time for the reset button to be pressed before the regular access signal S2 is generated. , there is a possibility that the output signal S3 of the dog-dog timer 1 is stopped and becomes "0".
第2図(c)にはこのような場合が示されている。Such a case is shown in FIG. 2(c).
そこで再開信号S1の立上りでマスクレジスタ2をセッ
トして該マスクレジスタ2から「1」の出力信号S4を
OR回路3に印加する。これによfiOR回路3から出
力される警報信号は「1」となシ警報動作は行われない
。プログラムにより時点T2でアクセス信号S2が周期
的に発生されるようになると、タイマ1はこのアクセス
信号82によシ更新されて常に「1」の出力信号S3を
送出するようになシ、OR回路3の警報信号S5も「1
」となる。Therefore, the mask register 2 is set at the rising edge of the restart signal S1, and the output signal S4 of "1" is applied from the mask register 2 to the OR circuit 3. As a result, the alarm signal output from the fiOR circuit 3 becomes "1" and no alarm operation is performed. When the access signal S2 is periodically generated at time T2 by the program, the timer 1 is updated by this access signal 82 and always sends out the output signal S3 of "1", and the OR circuit 3 alarm signal S5 is also “1
”.
マスクレジスタ2は時点T2で発生されるアクセス信号
S2によ)リセットされて出力信号S4は「0」となる
ので、以後、タイマ1の出力信号S3が「0」に落ちた
ときにはOR回路3から「0」の警報信号s5が出力さ
れて警報動作が行われることKなる。このようにマスク
レジスタ2は時点T1〜T2の間、警報信号s5の発生
をマスクすること忙なる。Since the mask register 2 is reset (by the access signal S2 generated at time T2) and the output signal S4 becomes "0", from now on, when the output signal S3 of the timer 1 falls to "0", the output signal from the OR circuit 3 is reset. The alarm signal s5 of "0" is output and an alarm operation is performed. The mask register 2 is thus busy masking the occurrence of the alarm signal s5 between times T1 and T2.
本発明の実施にあたっては種々の変形形態が可能である
。例えば、第1図装置においてはマスクレジスタとして
フリップフロッグ回路を用いたが、これに限らず、例え
ば再開信号にょシ起動される単安定マルチバイブレータ
回路を用い、その出力・母ルス時間幅を、プログラムの
再開後からアクセス信号が発生されるまでの時間よシも
十分に長くなるようにすれば、上記同様にプログラム再
開後の誤った警報表示を防止できる。Various modifications are possible in implementing the invention. For example, in the device shown in FIG. 1, a flip-flop circuit is used as a mask register, but the invention is not limited to this. For example, a monostable multivibrator circuit that is activated by a restart signal can be used, and its output and pulse time width can be programmed. If the time period from when the program is restarted until the access signal is generated is made sufficiently long, it is possible to prevent false alarm display after the program is restarted, as described above.
本発明によれば、再開信号にょシセットされるマスクレ
ジスタでウオッチド、グ・タイマの出力信号をマスクで
きるので、プログラムの再開直後の誤った警報表示を防
止できる。According to the present invention, since the output signal of the watched timer can be masked by the mask register set by the restart signal, it is possible to prevent erroneous alarm display immediately after restarting the program.
第1図は本発明の一実施例としての、情報処理装置のプ
ログラム障害監視装置のブロック図、第2図は第1図装
置各部の信号波形図、第3図は従来形装置の概略的表プ
ロ、り図である。
1・・・ウォッチドッグ・タイマ、2・・・マスクレジ
スタ、3・・・OR回路、11・・・マイクロプロセッ
サ、12・・・ROM、 l 3・・・RAM、14・
・・工ヵ装置、15・・−ノ々ス
特許出願人
富士通株式会社
特許出願代理人
弁理士 青 木 朗
弁理士 西 舘 和 之
弁理士 内 1)幸 男
弁理士 山 口 昭 之
第1図
1
#J2図
1
TI T2
第3図FIG. 1 is a block diagram of a program failure monitoring device for an information processing device as an embodiment of the present invention, FIG. 2 is a signal waveform diagram of each part of the device shown in FIG. 1, and FIG. 3 is a schematic diagram of a conventional device. This is a professional drawing. DESCRIPTION OF SYMBOLS 1... Watchdog timer, 2... Mask register, 3... OR circuit, 11... Microprocessor, 12... ROM, l 3... RAM, 14...
... Engineering equipment, 15... - Nonosu Patent applicant Fujitsu Limited Patent agent Akira Aoki Patent attorney Kazuyuki Nishidate Patent attorney 1) Yukio Patent attorney Akiyuki Yamaguchi Figure 1 1 #J2Figure 1 TI T2 Figure 3
Claims (1)
ラムの暴走等をウォッチドッグ・タイマによシ監視する
。情報処理装置のプログラム障害監視装置において、プ
ログラムの再開信号によυセットされウォッチドッグ・
タイマへのプログラムアクセス信号受信後にリセットさ
れるマスクレジスタ、および、該ウォッチドッグ・タイ
マの出力信号に基づく警報信号を該マスクレジスタの出
力信号に応じてマスクするゲート回路を具備することを
特徴とする。情報処理装置のプログラム障害監視装置。 2、該マスクレジスタはプログラムアクセス信号によシ
リセットされるフリッゾフロッグ回路である特許請求の
範囲第1項記載の装置。 3、該マスクレジスタはセ、ト、リセ、ト型フリップフ
ロップ回路である特許請求の範囲第1項記載の装置。[Claims] 1. A watchdog timer is used to monitor runaway of a program executed in an information processing device including a processor. In a program failure monitoring device of an information processing device, the watchdog is set by the program restart signal.
It is characterized by comprising a mask register that is reset after receiving a program access signal to the timer, and a gate circuit that masks an alarm signal based on the output signal of the watchdog timer according to the output signal of the mask register. . A program failure monitoring device for information processing equipment. 2. The apparatus of claim 1, wherein the mask register is a frizzofrog circuit that is reset by a program access signal. 3. The device according to claim 1, wherein the mask register is a SET, TRI, RISE, TC type flip-flop circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59108519A JPS60252961A (en) | 1984-05-30 | 1984-05-30 | Program trouble supervisory device of information processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59108519A JPS60252961A (en) | 1984-05-30 | 1984-05-30 | Program trouble supervisory device of information processing device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS60252961A true JPS60252961A (en) | 1985-12-13 |
Family
ID=14486849
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP59108519A Pending JPS60252961A (en) | 1984-05-30 | 1984-05-30 | Program trouble supervisory device of information processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS60252961A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0552942U (en) * | 1991-11-30 | 1993-07-13 | 株式会社東芝 | Information processing equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5456740A (en) * | 1977-10-14 | 1979-05-08 | Toyota Motor Co Ltd | Method of monitoring malfunction of control system using computer |
JPS5886649A (en) * | 1981-11-17 | 1983-05-24 | Fujitsu Ltd | Watchdog timer |
JPS6027038A (en) * | 1983-07-22 | 1985-02-12 | Fujitsu Ltd | Detecting system for program runaway |
-
1984
- 1984-05-30 JP JP59108519A patent/JPS60252961A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5456740A (en) * | 1977-10-14 | 1979-05-08 | Toyota Motor Co Ltd | Method of monitoring malfunction of control system using computer |
JPS5886649A (en) * | 1981-11-17 | 1983-05-24 | Fujitsu Ltd | Watchdog timer |
JPS6027038A (en) * | 1983-07-22 | 1985-02-12 | Fujitsu Ltd | Detecting system for program runaway |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0552942U (en) * | 1991-11-30 | 1993-07-13 | 株式会社東芝 | Information processing equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4566111A (en) | Watchdog timer | |
JPS60263235A (en) | Microcomputer system | |
JPS6152496B2 (en) | ||
JPS60252961A (en) | Program trouble supervisory device of information processing device | |
JPH0218633A (en) | Runaway monitor/restart circuit for microprocessor | |
JP2003067220A (en) | Computer system | |
JPS5920061A (en) | Watchdog timer | |
JPH04148246A (en) | Watchdog timer | |
JPH0581080A (en) | Runaway supervisory device for micro processor | |
JPH05233374A (en) | Watchdog timer device | |
JPH07200362A (en) | Fault monitor method for computer, its device and computer system | |
KR890007083Y1 (en) | Cpu restart circuit by real time clock inspection | |
JP2731386B2 (en) | Control device | |
JPH05257748A (en) | Microprocessor device | |
JPS61123943A (en) | Microprocessor device | |
JPS6389941A (en) | Monitor and control equipment for microprocessor applied equipment | |
JPS59148961A (en) | Monitoring system of operation of processor | |
JPS642981B2 (en) | ||
JPS5868166A (en) | Processor fault monitoring device | |
KR960042360A (en) | Watchdog Methods and Circuits | |
JPH02308343A (en) | Trouble detection reporting system for microprocessor | |
JPS5822459A (en) | Interruption request monitoring system | |
JPS5834855B2 (en) | Computer monitoring method | |
JPS61275943A (en) | Abnormality detector for computer | |
JPH0460710A (en) | Reset processing method for micro computer |