JPH01319834A - microcomputer - Google Patents
microcomputerInfo
- Publication number
- JPH01319834A JPH01319834A JP63152056A JP15205688A JPH01319834A JP H01319834 A JPH01319834 A JP H01319834A JP 63152056 A JP63152056 A JP 63152056A JP 15205688 A JP15205688 A JP 15205688A JP H01319834 A JPH01319834 A JP H01319834A
- Authority
- JP
- Japan
- Prior art keywords
- reset
- processing unit
- central processing
- watchdog timer
- overflow
- 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.)
- Granted
Links
- 238000012545 processing Methods 0.000 claims abstract description 142
- 230000002093 peripheral effect Effects 0.000 claims abstract description 3
- 230000002159 abnormal effect Effects 0.000 claims description 8
- 238000011084 recovery Methods 0.000 abstract description 29
- 230000005856 abnormality Effects 0.000 abstract description 5
- 230000015654 memory Effects 0.000 description 22
- 238000000034 method Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 8
- 230000004044 response Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 6
- 238000003780 insertion Methods 0.000 description 6
- 230000037431 insertion Effects 0.000 description 6
- 230000006378 damage Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 239000004065 semiconductor Substances 0.000 description 4
- 239000000758 substrate Substances 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000007704 transition Effects 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- XUIMIQQOPSSXEZ-UHFFFAOYSA-N Silicon Chemical compound [Si] XUIMIQQOPSSXEZ-UHFFFAOYSA-N 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000010187 selection method Methods 0.000 description 1
- 229910052710 silicon Inorganic materials 0.000 description 1
- 239000010703 silicon Substances 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は中央処理装置が実行するプログラムの異常ルー
プや暴走に基づいてシステムの異常を検出するためのウ
ォッチドッグタイマを備えたデータ処理システムさらに
はそれにおけるリセット処理に関し、例えばウォッチド
ッグタイマを内蔵するシングルチップマイクロコンピュ
ータに適用して有効な技術に関するものである。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a data processing system equipped with a watchdog timer for detecting system abnormality based on an abnormal loop or runaway of a program executed by a central processing unit. relates to a reset process therein, and relates to a technique that is effective when applied to, for example, a single-chip microcomputer with a built-in watchdog timer.
シングルチップマイクロコンピュータのようなデータ処
理用LSI(大規模集積回路)を含むデータ処理システ
ムでは、システムの停止や暴走などの状況を作り出さな
いようにするために、障害の発生時点でこれを検出し、
その波及を最小限に留めることが要求される。従来、シ
ステムの異常検出と正常状態への復帰処理を行う手段と
しては、ウォッチドッグタイマを利用したりリセット命
令を実行して対処する方式などが採用されている。In data processing systems that include data processing LSIs (Large Scale Integrated Circuits) such as single-chip microcomputers, it is necessary to detect failures as soon as they occur in order to prevent situations such as system stoppages or runaways. ,
It is necessary to keep the spread to a minimum. Conventionally, as means for detecting abnormalities in the system and returning the system to a normal state, methods have been adopted, such as using a watchdog timer or executing a reset command.
ウォッチドッグタイマを利用する場合、当該ウォッチド
ッグタイマは、正常状態ではソフトウェアプログラムな
どを介しである一定周期毎にカウンタをリセットするよ
うになっており、そのカウンタのオーバーフローにより
プログラムの異常ループや暴走を検知するが、このよう
なウォッチドッグタイマを内蔵する従来の論理LSIに
おいては、ウォッチドッグタイマによる障害発生の検知
信号は、所定の例外処理用割込み信号として中央処理装
置に与えられる。When using a watchdog timer, under normal conditions, the watchdog timer resets a counter at regular intervals via a software program, and an overflow of the counter may cause an abnormal loop or runaway of the program. However, in a conventional logic LSI incorporating such a watchdog timer, a detection signal of the occurrence of a failure by the watchdog timer is given to the central processing unit as a predetermined interrupt signal for exception processing.
また、ウォッチドッグタイマによる障害発生の検知信号
が外部リセット端子を介するリセット動作と同様にチッ
プ全体のリセット動作を起動するための信号として利用
されるものもある。In some devices, a failure detection signal from a watchdog timer is used as a signal to initiate a reset operation for the entire chip, similar to a reset operation via an external reset terminal.
また、正常状態への復帰にリセット命令を用いるもは、
当該命令を実行することによりチップ全体のリセット動
作を起動させる。Also, those that use a reset command to return to normal state,
Executing this instruction activates the reset operation of the entire chip.
尚、ウォッチドッグタイマについて記載された文献の例
としては昭和60年12月25日オーム社発行のrマイ
クロコンピュータハンドブック」P2S5がある。また
、リセット命令を用いるマイクロコンピュータについて
記載された文献の例としては昭和62年3月1日CQ出
版発行の「別冊トランジスタ技法5PECIAL N
o2JP2〜P152がある。An example of a document describing the watchdog timer is "R Microcomputer Handbook" P2S5, published by Ohm Publishing on December 25, 1985. In addition, an example of a document describing a microcomputer using a reset instruction is "Bessatsu Transistor Techniques 5PECIAL N" published by CQ Publishing on March 1, 1985.
There are o2JP2 to P152.
本発明者は、システムの異常検出と正常状態への復帰処
理を行うためにウォッチドッグタイマを利用したりリセ
ット命令を実行して対処する従来技術について検討した
。The present inventor has studied conventional techniques that utilize a watchdog timer or execute a reset command to detect abnormality in the system and return the system to a normal state.
正常状態への復帰にリセット命令を用いる場合には、シ
ステムの動作プログラムが暴走したようなときに外部か
ら何等かの手段を介してマイクロコンピュータ(もしく
はマイクロプロセッサ)にリセット命令を実行させなけ
ればならない。ところで、何等かの外部障害要因により
マイクロコンピュータのバス権開放状態やウェイト状態
がデッドロック状態になってしまうことがある。しかし
ながら、このようなデッドロック状態において中央処理
装置はリセット命令に限らず全ての命令を実行すること
ができない状態にあるから、バス権開放状態や外部ウェ
イト状態がデッドロックに入ってしまうと単なるリセッ
ト命令ではそのデッドロック状態を正常状態に復帰させ
ることができない。このようなデッドロック状態に対処
するにはウェイト要求信号やパス権要求信号を遮断して
リセット命令を実行可能にするための新たな回路をマイ
クロコンピュータの外部に付加しなければならない。When using a reset command to return to a normal state, when the operating program of the system goes out of control, the microcomputer (or microprocessor) must be caused to execute the reset command via some external means. . By the way, the bus release state or wait state of the microcomputer may become deadlocked due to some external failure factor. However, in such a deadlock state, the central processing unit is unable to execute any instructions, not just the reset command, so if the bus release state or external wait state enters a deadlock state, it is simply a reset. Instructions cannot return the deadlock state to normal. In order to deal with such a deadlock state, a new circuit must be added outside the microcomputer to cut off the wait request signal and the pass right request signal so that the reset command can be executed.
ウォッチドッグタイマのオーバーフロー信号を所定の例
外処理用割込み信号として単に中央処理装置に与える場
合には、中央処理装置はその割り込み処理ルーチンの実
行が必要とされるから、上記リセット命令を用いる技術
と同様にデッドロックに入ってしまったバス権開放状態
や外部ウェイト状態を簡単に正常状態に復帰させること
ができない。If the overflow signal of the watchdog timer is simply given to the central processing unit as a predetermined exception handling interrupt signal, the central processing unit is required to execute its interrupt handling routine, so this technique is similar to the technique using the reset instruction described above. It is not possible to easily restore a bus release state or an external wait state that has entered a deadlock to a normal state.
また、ウォッチドッグタイマのオーバーフロー信号を外
部リセット端子を介するリセット動作と同様にチップ全
体のリセット動作を起動するための信号として利用する
場合には、上記したデッドロック状態からの復帰処理と
いう問題点は克服されるが、障害要因がデッドロックだ
けであるような場合にもシステム全体がリセットされる
ため。Furthermore, if the overflow signal of the watchdog timer is used as a signal to start a reset operation of the entire chip in the same way as a reset operation via an external reset pin, the above-mentioned problem of recovery from a deadlock state can be solved. overcome, but because the entire system is reset even in cases where deadlock is the only failure factor.
システムを再起動するための復帰処理に手間取るという
問題が新たに発生する。A new problem arises in that recovery processing for restarting the system takes time.
しかも、そのような手法によるマイクロコンピュータチ
ップ全体のリセットは、当該マイクロコンピュータチッ
プの命令実行状態やバスサイクルなど全ての状態に優先
されて、それらとは無関係に非同期で行われるから、バ
スサイクルの中断によってメモリの内容がランダムに破
壊されたりする虞もある。例えば、入出力兼用ポートが
らアドレス信号を出力してメモリ書き込み動作を行って
いるとき、チップ全体がリセットされると、これに呼応
して書き込み制御信号がネゲートされると共に当該ポー
トは高出力インピーダンス状態にされる。このときネゲ
ートされる書き込み制御信号の変化が完全に外部メモリ
に伝達されるまでには所定の伝播遅延を生じ、このり間
に、高出力インピーダンス状態にされるまでの過渡期間
における入出力兼用ポートの不確定なアドレス出力がメ
モリに取り込まれると、不特定な複数アドレスでデータ
破壊の起こる虞がある。Moreover, resetting the entire microcomputer chip using such a method takes priority over all states of the microcomputer chip, including its instruction execution state and bus cycle, and is performed asynchronously, regardless of these, so there is no need to interrupt the bus cycle. There is also a risk that the contents of memory may be randomly destroyed. For example, when a memory write operation is performed by outputting an address signal from an input/output port, if the entire chip is reset, the write control signal is negated in response and the port is in a high output impedance state. be made into A predetermined propagation delay occurs before the change in the write control signal that is negated at this time is completely transmitted to the external memory, and during this time, the input/output port is If the output of an uncertain address is taken into memory, there is a risk that data will be destroyed at multiple unspecified addresses.
このようにウォッチドッグタイマを利用したりリセット
命令を実行してシステムの異常検出と正常状態への復帰
処理を行う個々の従来技術は、デッドロックからの復帰
を容易に行うことができなかったり、デッドロックから
の復帰は可能であってもバスサイクルの中断などにより
メモリ内容がランダムに破壊される虞があったり、さら
には復帰処理に手間取るというような問題を個々に有し
いる。このため、各種システムにおいて様々に要求され
る障害からの復帰処理の全てを個々の従来技術では最適
化することができず、システム上必要とされる障害から
の復帰処理に無駄な時間をかけたり、外部に特別な回路
を設けなければ復帰処理のための個別的な要求を満足さ
せることができなくなる。In this way, individual conventional technologies that use a watchdog timer or execute a reset command to detect system abnormality and process a return to a normal state cannot easily recover from a deadlock. Even if it is possible to recover from a deadlock, there is a risk that memory contents may be randomly destroyed due to bus cycle interruption, and furthermore, recovery processing may take time. For this reason, it is not possible to optimize all of the recovery processes from failures that are variously required in various systems using individual conventional technologies, and there is a need to waste time on recovery processes from failures that are required for the system. , unless a special circuit is provided externally, individual requirements for recovery processing cannot be satisfied.
本発明の目的は、障害からの復帰処理をウォッチドッグ
タイマを利用して行うデータ処理装置において、各種シ
ステム上様々に要求される復帰処理を、その処理時間を
最小化し、且つ、個別的に外部に付加すべきハードウェ
アを最小限に留めて最適化することができる技術を提供
することにある。An object of the present invention is to minimize the processing time for various recovery processes required by various systems in a data processing device that uses a watchdog timer to perform recovery processes from failures, and to individually perform external recovery processes. The objective is to provide a technology that can minimize and optimize the amount of hardware that must be added to the system.
本発明の別の目的はデッドロックからの復帰を容易に行
うことができると共に、そのときにメモリ内容がランダ
ムに破壊される虞を防止することができるデータ処理装
置を提供することにある。Another object of the present invention is to provide a data processing device that can easily recover from a deadlock and can prevent memory contents from being randomly destroyed at that time.
本発明の前記並びにそのほかの目的と新規な特徴は1本
明細書の記述及び添付図面から明らかになるであろう。The above and other objects and novel features of the present invention will become apparent from the description of the present specification and the accompanying drawings.
本願において開示される発明のうち代表的なものの概要
を簡単に説明すれば下記の通りである。A brief overview of typical inventions disclosed in this application is as follows.
すなわち、中央処理装置とその他機能モジュールを1個
の半導体基板に形成して成るシングルチップマイクロコ
ンピュータなどのデータ処理装置において、中央処理装
置が実行するプログラムの異常ループや暴走を計数手段
のオーバーフローによって検出し、そのオーバーフロー
に基づいてリセットする対象機能モジュールをプログラ
マブルに選択可能にされたウォッチドッグタイマを採用
するものである。That is, in a data processing device such as a single-chip microcomputer in which a central processing unit and other functional modules are formed on one semiconductor substrate, an abnormal loop or runaway of a program executed by the central processing unit is detected by an overflow of a counting means. However, a watchdog timer is used in which a target functional module to be reset can be programmably selected based on the overflow.
また、中央処理装置とその他機能モジュールを1個の半
導体基板に形成して成るシングルチップマイクロコンピ
ュータのようなデータ処理装置において、上記中央処理
装置が実行するプログラムの異常ループや暴走を計数手
段のオーバーフローによって検出し、そのオーバーフロ
ーに基づいてリセットする対象を中央処理装置を含む所
定の機能モジュールとするリセットモードと、その対象
を中央処理装置を含まない所定の機能モジュールとする
リセットモードとを備え、それらリセットモードをプロ
グラマブルに選択可能にされたウォッチドッグタイマを
採用するものである。In addition, in a data processing device such as a single-chip microcomputer in which a central processing unit and other functional modules are formed on a single semiconductor substrate, an abnormal loop or runaway of a program executed by the central processing unit can be detected due to an overflow of a counting means. and a reset mode in which a predetermined functional module including a central processing unit is the target to be reset based on the overflow detected by the CPU, and a reset mode in which the target is a predetermined functional module not including the central processing unit. It employs a watchdog timer whose reset mode can be selected programmably.
このとき、中央処理装置を含まない所定の機能モジュー
ルをリセット対象モジュールとするリセットモードにお
いてリセット対象とされる機能モジュールをプログラマ
ブルに選択可能にするとよい。At this time, it is preferable to programmably select a functional module to be reset in a reset mode in which a predetermined functional module that does not include the central processing unit is a reset target module.
さらに中央処理装置を含まない所定の機能モジュールを
リセット対象モジュールとするリセットモードにおいて
プログラマブルに選択可能なリセット対象モジュールか
ら割込みコントローラを除外し、選択的にリセット対象
とされ得る機能モジュールのリセット動作において、ウ
ォッチドッグタイマは割込みコントローラを介して中央
処理装置に所定の例外処理を指示するようにすることが
効率的な復帰処理を行う上において望ましい。Furthermore, in a reset mode in which a predetermined functional module that does not include a central processing unit is set as a reset target module, the interrupt controller is excluded from programmably selectable reset target modules, and in a reset operation of a functional module that can be selectively reset, In order to perform efficient recovery processing, it is desirable that the watchdog timer instructs the central processing unit to perform predetermined exception processing via the interrupt controller.
上記中央処理装置を含まない所定の機能モジュールをリ
セット対象モジュールとするリセットモードにおいては
、リセットされることに呼応して高出力インピーダンス
状態に変化されるアドレス信号を出力可能な入出力兼用
ポートなどを、選択可能なリセット対象モジュールから
除外しておくことが、リセット時におけるメモリの不所
望なデータ破壊を防止するために望ましい。In the reset mode in which a predetermined functional module that does not include the central processing unit is the module to be reset, an input/output port that can output an address signal that changes to a high output impedance state in response to being reset is used. , it is desirable to exclude it from the selectable reset target modules in order to prevent undesired data destruction of the memory at the time of reset.
中央処理装置を含む所定の機能モジュールをリセットす
る上記リセットモードにおいては外部にもリセット信号
を出力可能にすることができる。In the reset mode in which a predetermined functional module including the central processing unit is reset, a reset signal can also be output to the outside.
前記した手段によれば、計数手段のオーバーフローに基
づいて行われるウォッチドッグタイマによるリセット動
作は、ウォッチドッグタイマにおいて選択可能なリセッ
トモードや、プログラマブルに選択可能なリセット機能
モージュールの選択状態に応じてその内容が決定される
。どのようなリセット動作を選択するかは、システム上
障害からの復帰処理として何を最優先とするかによって
決定される。According to the above-mentioned means, the reset operation by the watchdog timer performed based on the overflow of the counting means depends on the reset mode selectable in the watchdog timer and the selection state of the programmably selectable reset function module. Its contents are determined. The type of reset operation to be selected is determined depending on what is given top priority as recovery processing from a system failure.
システムのハードウェア障害やソフトウェア障害、例え
ば外部からのウェイト要求やバス権要求が不所望に固定
されて生ずる中央処理装置のデッドロック、さらには電
源ノイズやサージに起因するようなその他の障害を生じ
たとき、何れの障害に対してもその障害からの復帰をシ
ステム全体の初期設定から再開することを優先させる場
合には、計数手段のオーバーフローに基づいてリセット
する対象を中央処理装置を含む全ての機能モジュールと
するように、機能モージュールの選択状態やリセットモ
ードをウォッチドッグタイマに与えておく、このような
選択状態が設定されたウォッチドッグタイマは、計数手
段のオーバフローを検出すると、シングルチップマイク
ロコンピュータのようなデータ処理LSIチップ全体を
リセットすると共に必要に応じて外部周辺回路のための
リセット信号を出力させ、これに基づいて中央処理装置
がリセット例外処理を開始してシステムの初期設定を再
開する。System hardware or software failures, such as central processing unit deadlock caused by undesired locking of external wait or bus requests, as well as other failures such as those caused by power supply noise or surges. If the priority is to restart from the initial settings of the entire system in order to recover from any failure, the target to be reset based on the overflow of the counting means should be reset to all systems including the central processing unit. The selection state and reset mode of the functional module are given to the watchdog timer as if it were a functional module.When the watchdog timer to which such a selection state is set detects an overflow in the counting means, the single-chip micro Resets the entire data processing LSI chip, such as a computer, and outputs a reset signal for external peripheral circuits as necessary.Based on this, the central processing unit starts reset exception handling and restarts the initial settings of the system. do.
外部からのウェイト要求やバス権要求による中央処理装
置のデッドロック状態からの復帰を最優先としたい場合
には、計数手段のオーバーフローに基づいてリセットす
る対象を中央処理装置を除外してバスアービタやウェイ
トコントローラとするように、機能モージュールの選択
状態やこれに対応するようなリセットモードをウォッチ
ドッグタイマに与えておく。このような選択状態が設定
されたウォッチドッグタイマは、計数手段のオーバフロ
ーに基づいて、バスアービタやウェイトコントローラを
リセットし、これにより中央処理装置はバス権を獲得し
、また、そのときのバスサイクルを中断せずに終了させ
てデッドロック状態から脱する。デッドロック状態から
脱した中央処理装置はウォッチドッグタイマによって直
接又は間接的に指示される割込み例外処理を実行して、
復帰処理を行う。If you want to give top priority to recovering the central processing unit from a deadlock state caused by an external wait request or bus right request, you can exclude the central processing unit from resetting based on the overflow of the counting means and set the target to the bus arbiter or wait. As with the controller, the watchdog timer is given a selection state of the functional module and a corresponding reset mode. The watchdog timer to which such a selection state is set resets the bus arbiter and wait controller based on the overflow of the counting means, and thereby the central processing unit acquires the bus right and also controls the current bus cycle. Exit the deadlock by terminating without interruption. The central processing unit that has broken out of the deadlock state executes interrupt exception handling directly or indirectly instructed by the watchdog timer, and
Perform recovery processing.
特にウェイト要求に基づくデッドロック状態の解除に際
して、バスサイクルを中断せずに終了させるということ
が、内部メモリのデータを不所望に書き換えたり破壊し
たりする虞を防止するように働く。さらにこのとき、リ
セットにより高出力インピーダンス状態にされるアドレ
ス信号出力可能な出力ポートや入出力兼用ポートをリセ
ット対象モジュールから除外しておくことは、ウォッチ
ドッグタイマのオーバーフローに基づくセットタイミン
グにおいて当該アドレス出力ポートや入出力兼用ポート
をアドレス信号の出力モードに維持させ、外部メモリが
ディスイネーブルにされるまでの過渡的段階で不所望に
外部メモリのデータが破壊するのを防止するように働く
。また、ウォッチドッグタイマがそれ専用の割込み例外
処理を指示するということが、障害発生要因の解析を不
要としてその要因解析のためのステップを省略するよう
に作用する。In particular, when a deadlock state based on a wait request is released, terminating the bus cycle without interrupting the bus cycle prevents the data in the internal memory from being undesirably rewritten or destroyed. Furthermore, at this time, excluding output ports and input/output ports that can output address signals that are put into a high output impedance state by reset from the reset target module means that the address signal will be output at the set timing based on the overflow of the watchdog timer. It maintains a port or an input/output port in an address signal output mode, and works to prevent data in the external memory from being undesirably destroyed during a transition period until the external memory is disabled. Furthermore, the fact that the watchdog timer instructs its own interrupt exception handling serves to eliminate the need to analyze the cause of the failure, thereby omitting the step for analyzing the cause.
このように、ウォッチドッグタイマによるリセット動作
の選択性は、各種システム上様々に要求される復帰処理
を、その処理時間を最小化し、且つ個別的に外部に付加
すべきハードウェアを最小限に留めて最適化するように
働き、また、デッドロックからの復帰を容易にすると共
に、そのときにメモリ内容がランダムに破壊される虞を
防止するように作用する。In this way, the selectivity of the reset operation by the watchdog timer minimizes the processing time for the various recovery processes required for various systems, and also minimizes the amount of hardware that must be individually added externally. It also works to facilitate recovery from deadlock, and to prevent the memory contents from being randomly destroyed at that time.
第1図には本発明の一実施例であるシングルチップマイ
クロコンピュータのブロック図が示される。同図に示さ
れるシングルチップマイクロコンピュータは、公知の半
導体集積回路製造技術によってシリコン基板のような1
個の半導体基板に形成される。FIG. 1 shows a block diagram of a single-chip microcomputer that is an embodiment of the present invention. The single-chip microcomputer shown in the figure is manufactured using a single chip such as a silicon substrate using known semiconductor integrated circuit manufacturing technology.
formed on individual semiconductor substrates.
第1図に示されるシングルチップマイクロコンピュータ
は、特に制限されないが、中央処理装置(CPU)1と
、内部データバス2及び内部アドレスバス3を介して中
央処理装置1に夫々結合された割込みコントローラ4、
パスアービタ5、ウェイトコントローラ6、ウォッチド
ッグタイマ7、フリーランニングタイマ8、シリアルコ
ミュニケーションインタフェースコントローラ9、RA
M(ランダム・アクセス・メモリ)10、ROM(リー
ド・オンリ・メモリ)11、第1ポート12、及び第2
ポート13と、さらにはシステム制御回路14とを含む
。The single-chip microcomputer shown in FIG. 1 includes, but is not limited to, a central processing unit (CPU) 1 and an interrupt controller 4 coupled to the central processing unit 1 via an internal data bus 2 and an internal address bus 3, respectively. ,
Path arbiter 5, wait controller 6, watchdog timer 7, free running timer 8, serial communication interface controller 9, RA
M (random access memory) 10, ROM (read only memory) 11, first port 12, and second port
A port 13 and further a system control circuit 14 are included.
上記第1ポート12は、入力専用ポートと、リセットさ
れても高出力インピーダンス状態にされない出力専用ポ
ートの集合とされ、第2ポート13はリセットされるこ
とにより高出力インピーダンス状態にされるアドレス信
号を出力可能な入出力兼用ポートとされる。The first port 12 is a set of input-only ports and output-only ports that are not put into a high output impedance state even when reset, and the second port 13 receives an address signal that is put into a high output impedance state when reset. It is used as an input/output port that can output.
上記割込みコントローラ4には、外部から供給されるマ
スク不可能な割込み信号NMI及びマスク可能な割込み
信号IRQI、IRQ2が第1ボート12を介して与え
られると共に、ウォッチドッグタイマ7、フリーランニ
ングタイマ8、及びシリアルコミュニケーションインタ
フェースコントローラ9から夫々出力される内部割込み
信号工RQ3.IRQ4.IRQ5が与えられる。割込
みコントローラ4は、割込み優先順位に従って、これに
供給される割込み信号の種類に応じたベクタ並びに割込
み信号IRQ6を中央処理装置1に与える。中央処理装
置1は割込み信号IRQ6がアサートされると、そのと
き与えられるベクタに応する割込み例外処理に分岐する
。The interrupt controller 4 is supplied with a non-maskable interrupt signal NMI and maskable interrupt signals IRQI, IRQ2 supplied from the outside via the first port 12, and also receives a watchdog timer 7, a free running timer 8, and internal interrupt signal RQ3. output from the serial communication interface controller 9, respectively. IRQ4. IRQ5 is given. The interrupt controller 4 provides the central processing unit 1 with a vector and an interrupt signal IRQ6 according to the type of interrupt signal supplied thereto according to the interrupt priority order. When the interrupt signal IRQ6 is asserted, the central processing unit 1 branches to interrupt exception processing corresponding to the vector applied at that time.
パスアービタ5は、外部から供給されるバス権要求償号
BREQをサンプリングして外部の図示しないパスマス
タモジュールとの間でバス権の調停を行う。The path arbiter 5 samples the bus right request compensation signal BREQ supplied from the outside and arbitrates the bus right with an external path master module (not shown).
ウェイトコントローラ6は、外部から供給されるつ主イ
ト要求信号WAITがアサートされていることを検出す
ると、シングルチップマイクロコンピュータの1マシン
サイクルにおいてそのウェイト要求信号WA I Tが
ネゲートされるまで所定ステートにウェートスチーを挿
入制御する。When the wait controller 6 detects that the main wait request signal WAIT supplied from the outside is asserted, it remains in a predetermined state until the wait request signal WAIT is negated in one machine cycle of the single-chip microcomputer. Controls the insertion of weights.
システム制御回路14は、リセット信号RESやスタン
バイ信号5TBYさらにはモード信号MDo−MD2を
外部から受けてシングルチップマイクロコンピュータの
動作モードもしくは内部状態を制御するための論理を有
する。The system control circuit 14 has logic for receiving a reset signal RES, a standby signal 5TBY, and a mode signal MDo-MD2 from the outside to control the operating mode or internal state of the single-chip microcomputer.
このシステム制御回路14は外部から供給されるリセッ
ト信号RESがローレベルにアサートされることに呼応
してシングルチップマイクロコンピュータに含まれる全
ての機能モジュールをリセットする論理と、ウォッチド
ッグタイマドアのオーバーフローに基づいて外部に対し
てもリセット信号をアサートする論理を備える。This system control circuit 14 has a logic for resetting all functional modules included in the single-chip microcomputer in response to assertion of a reset signal RES supplied from the outside to a low level, and a logic for overflow of a watchdog timer door. It also has logic that asserts a reset signal to the outside based on the signal.
第2図にはシステム制御回路14が持つ上記リセット論
理の一例が示される。FIG. 2 shows an example of the above reset logic that the system control circuit 14 has.
第2図に従えば、リセット信号RESの入出力端子15
は外部においてプルアップされることになり、システム
制御回路14の内部において、その入出力端子15には
外部から供給されるリセット信号RESを受けるための
ヒステリシス特性を持つ入力バッファ16が結合される
と共に、オープンドレイン構造のディスチャージMO8
FET17が回路の接地端子Vsgとの間に介在される
。According to FIG. 2, the input/output terminal 15 of the reset signal RES
is pulled up externally, and inside the system control circuit 14, an input buffer 16 having a hysteresis characteristic for receiving a reset signal RES supplied from the outside is coupled to its input/output terminal 15. , open drain structure discharge MO8
A FET 17 is interposed between the circuit and the ground terminal Vsg.
入力バッファ16の出力信号は内部リセット信号φre
s、としてシングルチップマイクロコンピュータに含ま
れる全ての機能モジュールに供給される。上記ディスチ
ャージMO3FET17のゲート電極はウォッチドッグ
タイマ7から出力されるリセット信号φres1が供給
される。このリセット信号φres1は、その詳細を後
で説明するが、ウォッチドッグタイマ7に含まれるカウ
ンタのオーバーフローに基づいて選択的にアサートされ
る信号である。The output signal of the input buffer 16 is the internal reset signal φre.
s, to all functional modules included in the single-chip microcomputer. A reset signal φres1 output from the watchdog timer 7 is supplied to the gate electrode of the discharge MO3FET 17. This reset signal φres1 is a signal that is selectively asserted based on an overflow of a counter included in the watchdog timer 7, the details of which will be explained later.
外部からの作用によりもしくはディスチャージMOSF
ET17のオン動作により、上記リセット信号RESが
ローレベルにアサートされると、入力バッファ16から
出力される内部リセット信号φres、がハイレベルに
アサートされ、これによってシングルチップマイクロコ
ンピュータに含まれる全ての機能モジュールがリセット
され、これに呼応して中央処理装置1はシステムの再起
動に必要な復帰処理を行うための例外処理を実行する。Due to external action or discharge MOSF
When the reset signal RES is asserted to a low level due to the ON operation of the ET17, the internal reset signal φres outputted from the input buffer 16 is asserted to a high level, thereby all functions included in the single-chip microcomputer are activated. The module is reset, and in response to this, the central processing unit 1 executes exception processing to perform the recovery processing necessary for restarting the system.
第3図には上記ウォッチドッグタイマ7の一例が示され
る。FIG. 3 shows an example of the watchdog timer 7.
本実施例のウォッチドッグタイマ7は、正常状態ではソ
フトウェアプログラムなどを介しである一定周期毎にカ
ウンタ18をリセットするようになっており、そのカウ
ンタ18のオーバーフローによりプログラムの異常ルー
プや暴走を検知して所定のリセット動作を指示するもの
であるが、例えばそのオーバーフローに基づいてリセッ
トする対象機能モジュールをプログラマブルに選択可能
とするためのコントロールレジスタ2oを有する。In the normal state, the watchdog timer 7 of this embodiment resets the counter 18 at regular intervals via a software program, etc., and detects an abnormal loop or runaway of the program due to an overflow of the counter 18. The control register 2o is used to instruct a predetermined reset operation, and includes a control register 2o for programmably selecting a target functional module to be reset based on, for example, an overflow.
このコントロールレジスタ20は、特に制限されないが
、全体リセットを選択するためのリセットイネーブルビ
ットRESEいバスアービタ5のリセットを選択するた
めのリセットイネーブルビットRESE、、ウェイトコ
ントローラ6のリセットを選択するためのリセットイネ
ーブルビットRESE、、フリーランニングタイマ8の
リセットを選択するためのリセットイネーブルビットR
E S E4.シリアルコミュニケーションインタフェ
ースコントロー9のリセットを選択するためのリセット
イネーブルビットRESE、、第1ポート12のリセッ
トを選択するためのリセットイネーブルビットRESE
い及び第2ポート13のリセットを選択するためのリセ
ットイネーブルビットRESE、の設定領域が設けられ
ている。夫々のリセットイネーブルビットRESE工〜
RESE、における設定ビット「1」はリセット動作の
選択を意味する。This control register 20 includes, but is not limited to, a reset enable bit RESE for selecting an overall reset, a reset enable bit RESE for selecting a reset of the bus arbiter 5, and a reset enable bit RESE for selecting a reset of the wait controller 6. Bit RESE, Reset enable bit R for selecting reset of free-running timer 8.
E S E4. a reset enable bit RESE for selecting reset of the serial communication interface controller 9; a reset enable bit RESE for selecting reset of the first port 12;
A setting area for a reset enable bit RESE for selecting reset of the second port 13 is provided. Each reset enable bit RESE
The setting bit "1" in RESE means selection of reset operation.
上記カウンタ18のオーバーフロー信号はフリップフロ
ップで成るオーバーフローフラグ21をセットする。セ
ット状態のオーバーフローフラグ21の出力は論理rI
Jとされる。The overflow signal of the counter 18 sets an overflow flag 21 consisting of a flip-flop. The output of the overflow flag 21 in the set state is logic rI
It is considered to be J.
論理ゲート22は、特に制限されないが、上記オーバー
フローフラグ21の出力を上記夫々のリセットイネーブ
ルビットRESE1〜RESE、と個別的に論理積を採
り、その結果が論理「1」である場合には、個々の結果
に応じてリセット信号φres□、・・・、φres、
をアサートする。リセット信号φres、はそのハイレ
ベルによりディスチャージMO8FET17をオン動作
してシステム全体をリセットするために利用され、リセ
ット信号φreS2はそのハイレベルによりパスアービ
タ5をリセットし、同様にリセット信号φres、はそ
のハイレベルによりウェイトコントロ−ラ6を、リセッ
ト信号φres4はそのハイレベルによりフリーランニ
ングタイマ8を、リセット信号φresSはそのハイレ
ベルによりシリアルコミュニケーションインタフェース
コントローラ9を・ リセット信号φreSGはそのノ
1イレベルにより第1ポート12を、リセット信号φr
eS、はそのハイレベルにより第2ボート13をリセッ
トする。Although not particularly limited, the logic gate 22 individually ANDs the output of the overflow flag 21 with each of the reset enable bits RESE1 to RESE, and when the result is logic "1", The reset signals φres□, ..., φres,
Assert. The reset signal φres is used to reset the entire system by turning on the discharge MO8FET 17 at its high level, the reset signal φreS2 resets the path arbiter 5 at its high level, and similarly, the reset signal φres is used at its high level. The reset signal φres4 activates the free running timer 8 with its high level, the reset signal φresS activates the serial communication interface controller 9 with its high level, and the reset signal φreSG activates the first port 12 with its high level. , the reset signal φr
eS resets the second boat 13 due to its high level.
バスアービタ5やウェイトコントローラ6がリセットさ
れると、これに供給されるバス権要求償号BREQやウ
ェイト要求信号WAITがアサート状態にあっても、そ
の信号のアサート状態はマスキングされ、これによって
、中央処理装置1にバス権が戻され、また、中央処理装
置1によるウェイトサイクルもしくはウェイトステート
の挿入が停止される。When the bus arbiter 5 or the wait controller 6 is reset, even if the bus arbiter 5 or the wait request signal WAIT supplied thereto is in the asserted state, the asserted state of the signal is masked, and as a result, the central processing The bus right is returned to the device 1, and insertion of wait cycles or wait states by the central processing unit 1 is stopped.
上記オーバーフローフラグ21の出力は上記割込み信号
IRQ3として割込みコントローラ4に供給される。こ
の割込み信号IRQ3は、ウォッチドッグタイマ7のオ
ーバーフローによって検出される障害要因からの復帰の
ための例外処理を中央処理装置1に指示するための専用
割込み信号である。尚、オーバーフローフラグ21のセ
ット状態は中央処理装置1が実行する例外処理に基づい
てリセットされるようになっている。The output of the overflow flag 21 is supplied to the interrupt controller 4 as the interrupt signal IRQ3. This interrupt signal IRQ3 is a dedicated interrupt signal for instructing the central processing unit 1 to perform exception processing for recovery from a failure factor detected by an overflow of the watchdog timer 7. Note that the set state of the overflow flag 21 is reset based on exception processing executed by the central processing unit 1.
上記カウンタ18のオーバーフローに基づいて行われる
ウォッチドッグタイマ7によるリセット動作は、ウォッ
チドッグタイマ7においてプログラマブルに選択可能な
リセット対象機能モージュールの選択状態に応じてその
内容が決定される。The content of the reset operation performed by the watchdog timer 7 based on the overflow of the counter 18 is determined according to the selection state of a programmably selectable reset target function module in the watchdog timer 7.
どのようなリセット動作を選択するかは、システム上障
害からの復帰処理として何を最優先とするかによって決
定される。The type of reset operation to be selected is determined depending on what is given top priority as recovery processing from a system failure.
システムの各種ハードウェア障害やソフトウェア障害、
例えば外部からのウェイト要求やバス権要求が不所望に
固定されて生ずる中央処理装置1のデッドロック、さら
には電源ノイズやサージに起因するようなその他の障害
が発生したとき、何れの障害に対してもその障害からの
復帰をシステム全体の初期設定から再開することを優先
させる場合には、カウンタ18のオーバーフローに基づ
いてリセットする対象を中央処理装置1を含む全ての機
能モジュールとするように、上記コントロールレジスタ
20においてリセットイネーブルビットRESE1だけ
を「1」に設定てしておく。Various system hardware and software failures,
For example, when a deadlock occurs in the central processing unit 1 due to an undesired locking of a wait request or a bus request from the outside, or other failures such as those caused by power supply noise or surges, However, if priority is given to restarting the initial settings of the entire system to recover from the failure, all functional modules including the central processing unit 1 are to be reset based on the overflow of the counter 18. In the control register 20, only the reset enable bit RESE1 is set to "1".
一方、外部からのウェイト要求やバス権要求による中央
処理装置1のデッドロック状態からの復帰を最優先とし
たい場合には、カウンタ18のオーバーフローに基づい
てリセットする対象を中央処理装置1を除外してバスア
ービタ5やウェイトコントローラ6とするように、上記
コントロールレジスタ20においてリセットイネーブル
ビットRESE2やRESE、を「1」に設定しておく
。On the other hand, if you want to give top priority to recovering the central processing unit 1 from a deadlock state caused by an external wait request or bus request, exclude the central processing unit 1 from being reset based on the overflow of the counter 18. The reset enable bits RESE2 and RESE in the control register 20 are set to "1" so that the bus arbiter 5 and wait controller 6 can be configured to perform the same operation.
第4図のタイミングチャートには、カウンタ18のオー
バーフローによって検出される何れの障害に対してもそ
の障害からの復帰をシステム全体の初期設定から再開す
ることを最優先にするリセットモードを選択した場合の
動作の一例が示される。当該リセットモードは、上記コ
ントロールレジスタ20においてリセットイネーブルビ
ットRESE□だけを「1」に設定しておくことにより
選択される。The timing chart in FIG. 4 shows a case where the reset mode is selected, which prioritizes recovery from any failure detected by the overflow of the counter 18 by restarting the initial settings of the entire system. An example of the operation is shown below. The reset mode is selected by setting only the reset enable bit RESE□ to "1" in the control register 20.
第4図においてカウンタ18のオーバーフロー要因は、
ウェイト要求信号WAITが不所望にローレベル(アサ
ートレベル)に固定されて中央処理装置1がデッドロッ
クになった場合を一例とする。In FIG. 4, the overflow factor of the counter 18 is as follows:
Let us take as an example a case where the wait request signal WAIT is undesirably fixed at a low level (asserted level) and the central processing unit 1 becomes deadlocked.
システムクロックのT2ステートの後にウェイトステー
トTWが時刻t工から挿入され、この挿入数が最大限度
を超えると、中央処理装置1のデッドロック状態により
カウンタ18が時刻t2にオーバーフローする。A wait state TW is inserted from time t after the T2 state of the system clock, and when the number of insertions exceeds the maximum limit, the counter 18 overflows at time t2 due to the deadlock state of the central processing unit 1.
第4図に基づく説明において、上記コントロールレジス
タ20にはリセットイネーブルビットRESE1だけが
「1」に設定されているから、カウンタ18のオーバー
フローに同期して、リセット信号φres1だけがアサ
ートされ、これをゲート電極に受けるディスチャージM
O8FETI7がオン動作する。オン動作する当該ディ
スチャージMO8FET17は、リセット信号φres
。を時刻t、にアサートし、これにより、そのリセット
信号φresoを受けるシングルチップマイクロコンピ
ュータ内部の全ての機能モジュールがリセットされ、ま
た、当該ディスチャージMOSFET17は、入出力端
子15を介して外部へもリセット信号RESをアサート
する。リセット信号φres0によりウェイトコントロ
ーラ6がリセットされると、ウェイトコントローラ6か
ら中央処理装置1へのウェイト要求が時刻t、にネゲー
トされ、ウェイトステートTWの挿入が停止される。In the explanation based on FIG. 4, since only the reset enable bit RESE1 is set to "1" in the control register 20, only the reset signal φres1 is asserted in synchronization with the overflow of the counter 18, and this is gated. Discharge M received by the electrode
O8FETI7 turns on. The discharge MO8FET 17, which is turned on, receives the reset signal φres.
. is asserted at time t, thereby all the functional modules inside the single-chip microcomputer that receive the reset signal φreso are reset, and the discharge MOSFET 17 also outputs the reset signal to the outside via the input/output terminal 15. Assert RES. When the wait controller 6 is reset by the reset signal φres0, the wait request from the wait controller 6 to the central processing unit 1 is negated at time t, and insertion of the wait state TW is stopped.
このときリセット信号φres0のネゲートに同期した
タイミングで中央処理装置1もリセットされるから、こ
れに同期してアドレス信号が変化されると共にやライト
信号WT又はリード信号RDもネゲートされ、その結果
、リセットされるときのバスサイクルは中断されて終了
する。At this time, since the central processing unit 1 is also reset at a timing synchronized with the negation of the reset signal φres0, the address signal is changed in synchronization with this and the write signal WT or read signal RD is also negated, resulting in a reset. The bus cycle is interrupted and terminated.
このバスサイクルが終了した後のタイミングで中央処理
装置1はリセット例外処理を実行してシステムの初期設
定を再開する。At a timing after this bus cycle ends, the central processing unit 1 executes reset exception handling and restarts the initialization of the system.
このようにして外部から与えられるウェイト要求信号W
A I Tのローレベル固定による中央処理装置1.の
デッドロックが解消されて、システムは正常状態に復帰
されることになる。In this way, the wait request signal W given from the outside
Central processing unit with AIT fixed at low level 1. The deadlock will be resolved and the system will return to normal.
特に制限されないが、本実施例では、中央処理装置1を
含む機能モジュールのリセット動作において第2ポート
13も同時にリセットされるようになっている。アドレ
ス信号を出力可能な入出力兼用ポートとしての第2ポー
トは、パワーオンリセット時などにおいて外部から与え
られるリセット信号RESによるリセット動作と同様、
カウンタ18のオーバーフローに基づく全体リセット動
作においてもその入出力端子がシステムクロックと非同
期で高出力インピーダンス状態に制御される。第2ポー
ト13が高出力インピーダンス状態にされるまでの過渡
期間には不確定なアドレス出力が外部に与えられること
になる。バスサイクルの中断によるライト信号WTのネ
ゲート状態が図示しない外部メモリに伝達されるまでの
間に、そのような不確定なアドレス出力が外部メモリに
取す込まれると、不特定な複数アドレスにおいてデータ
破壊を生ずる虞がある。したがって、当然ながら、当該
リセットモードにおける復帰処理はそのようなデータ破
壊の虞を考慮した処理内容とされる。Although not particularly limited, in this embodiment, the second port 13 is also reset at the same time as the functional module including the central processing unit 1 is reset. The second port, which is an input/output port that can output an address signal, performs a reset operation using an externally applied reset signal RES during power-on reset, etc.
Even in the overall reset operation based on the overflow of the counter 18, its input/output terminals are controlled to a high output impedance state asynchronously with the system clock. During the transient period until the second port 13 is brought into a high output impedance state, an uncertain address output is given to the outside. If such an uncertain address output is taken into the external memory before the negated state of the write signal WT due to the interruption of the bus cycle is transmitted to the external memory (not shown), data will be lost at multiple unspecified addresses. There is a risk of destruction. Therefore, as a matter of course, the return processing in the reset mode is designed to take into account the possibility of such data destruction.
第5図は、バスリクエスト信号BREQやウェイト要求
信号WAITによる中央処理装置1のデッドロックから
の復帰を最優先にするリセットモードを選択した場合の
動作の一例を示すタイミングチャートである。当該リセ
ットモードは、上記コントロールレジスタ20において
リセットイネーブルビットRESE2及びRESE、だ
けを夫々「1」に設定しておくことにより選択される。FIG. 5 is a timing chart showing an example of the operation when a reset mode is selected in which recovery from deadlock of the central processing unit 1 caused by the bus request signal BREQ or the wait request signal WAIT is selected. The reset mode is selected by setting only the reset enable bits RESE2 and RESE to "1" in the control register 20, respectively.
第5図においてカウンタ18のオーバーフロー要因は、
第4図に対応して、ウェイト要求信号WAITが不所望
にローレベル(アサートレベル)に固定されて中央処理
装置1がデッドロックになった場合を一例とする。In FIG. 5, the overflow factor of the counter 18 is as follows:
Corresponding to FIG. 4, let us take as an example a case where the wait request signal WAIT is undesirably fixed at a low level (asserted level) and the central processing unit 1 becomes deadlocked.
システムクロックのT2ステートの後にウェイトステー
トTWが時刻t1から挿入され、この挿入数が最大限度
を超えると、中央処理装置1のデッドロック状態により
カウンタ18が時刻t2にオーバーフローする。A wait state TW is inserted from time t1 after the T2 state of the system clock, and when the number of insertions exceeds the maximum limit, the counter 18 overflows at time t2 due to the deadlock state of the central processing unit 1.
第5図に基づく説明において、上記コントロールレジス
タ20にはリセットイネーブルビットRESE2及びR
ESE、だけが「1」に設定されているから、カウンタ
18のオーバーフローに同期して、時刻t、にリセット
信号φres2及びφres3だけがアサートされ、こ
れにより、バスアービタ5及びウェイトコントローラ6
がリセット状態にされる。バスアービタ5がリセットさ
れると、外部バスマスタモジュールがバス権を占有して
いてもバス権は中央処理装置1に戻される。また、ウェ
ートコントローラ6がリセットされると、ウェイトコン
トローラ6から中央処理装置1へのウェイト要求が時刻
t4にネゲートされ、ウェイトステートTWの挿入が停
止される。これにより、外部から与えられるウェイト要
求信号WAITのローレベル固定による中央処理装置1
のデッドロックが解消される。In the explanation based on FIG. 5, the control register 20 includes reset enable bits RESE2 and R.
Since only ESE is set to "1", only the reset signals φres2 and φres3 are asserted at time t in synchronization with the overflow of the counter 18, and as a result, the bus arbiter 5 and the wait controller 6
is put into a reset state. When the bus arbiter 5 is reset, the bus right is returned to the central processing unit 1 even if an external bus master module occupies the bus right. Furthermore, when the wait controller 6 is reset, the wait request from the wait controller 6 to the central processing unit 1 is negated at time t4, and insertion of the wait state TW is stopped. This allows the central processing unit 1 to fix the wait request signal WAIT given from the outside to a low level.
deadlock is resolved.
このとき中央処理装置1はリセットされていないから、
最後のT3ステートまで当該バスサイクルが維持される
ことにより、そのバスサイクルが時刻t5に終了するま
でアドレス信号は変化されず、且つ、ライト信号WTや
リード信号RDもT゛33ステート期したタイミングま
でアサートされ続ける。即ち、バスアービタ5及びウェ
イトコントローラ6がリセットされても、そのときのバ
スサイクルは中断されずに終了する。At this time, the central processing unit 1 has not been reset, so
Since the bus cycle is maintained until the final T3 state, the address signal is not changed until the bus cycle ends at time t5, and the write signal WT and read signal RD are also not changed until the T33 state is reached. continues to be asserted. That is, even if the bus arbiter 5 and wait controller 6 are reset, the current bus cycle is completed without being interrupted.
また、少なくとも時刻t5にバスサイクルが終了される
までアドレス信号を出力可能な入出力兼用ボートとして
の第2ポート13もリセットされない。Further, the second port 13, which serves as an input/output port capable of outputting an address signal, is also not reset until at least the bus cycle ends at time t5.
したがって、バスアービタ5及びウェイトコントローラ
6がリセットされるときのバスサイクルにおいて、誤書
き込みもしくはメモリの不特定な複数アドレスでデータ
破壊を生ずる虞は防止される。Therefore, in the bus cycle when the bus arbiter 5 and the wait controller 6 are reset, the risk of erroneous writing or data destruction at multiple unspecified addresses in the memory is prevented.
また、時刻t2にカウンタ18がオーバーフローしてオ
ーバーフローフラグ21がセットされると、ウォッチド
ッグタイマ7から出力される割込み信号IRQ3が時刻
t21にアサートされる。Furthermore, when the counter 18 overflows at time t2 and the overflow flag 21 is set, the interrupt signal IRQ3 output from the watchdog timer 7 is asserted at time t21.
上記のようにしてデッドロックが解消された中央処理装
!i!1は、時刻t、にバスサイクルを終了した後、そ
の割込み信号IRQ3に基づく割込み処理を受は付けて
、ウォッチドッグタイマ7のオーバーフローに基づくリ
セット例外処理を開始し、システムを正常状態に復帰さ
せる。Central processing unit with deadlock resolved as described above! i! 1 ends the bus cycle at time t, accepts the interrupt processing based on the interrupt signal IRQ3, starts reset exception processing based on the overflow of the watchdog timer 7, and returns the system to the normal state. .
このときの例外処理は、ウォッチドッグタイマ7のオー
バーフローによってアサートされる割込み信号IRQ3
に基づいて指示されるから、中央処理装@1は、そのと
きの障害発生要因の解析を行うことなく所定の例外処理
に分岐することができる。The exception handling at this time is the interrupt signal IRQ3 asserted due to the overflow of the watchdog timer 7.
, the central processing unit @1 can branch to a predetermined exception process without analyzing the cause of the failure at that time.
このように、斯るリセットモードをウォッチドッグタイ
マ7に設定しておいた場合に、障害要因がバス権要求償
号BREQやウェイト要求信号WAITによる中央処理
装置1のデッドロックであるときには、ウォッチドッグ
タイマ7から出力されるリセット信号φ1”eSzt
φres、がバスアービタ5やウェイトコントローラ6
をハードウェア的にリセットして中央処理装置1のデッ
ドロックを解消し、そして、これによって動作可能にさ
れた中央処理装置1は、ウォッチドッグタイマ7から出
力される割込み信号IREQ3に基づいて所定のリセッ
ト例外処理に分岐して、デッドロック要因となっている
外部機能モジュールなどに対するリセット処理を行う。In this way, when such a reset mode is set in the watchdog timer 7, if the cause of the failure is a deadlock in the central processing unit 1 due to the bus request redemption signal BREQ or the wait request signal WAIT, the watchdog timer Reset signal φ1”eSzt output from timer 7
φres is the bus arbiter 5 and wait controller 6
is reset by hardware to eliminate the deadlock of the central processing unit 1, and the central processing unit 1, which has been made operational by this, performs a predetermined operation based on the interrupt signal IREQ3 output from the watchdog timer 7. The program branches to reset exception handling and performs reset processing for the external function module, etc. that is the cause of the deadlock.
したがって、最小限の処理によってデッドロックからの
復帰が可能になり、そのとき中央処理装置1及び第2ボ
ート13はリセットされないため、メモリ内容がランダ
ムに破壊される虞をも防止することができる。Therefore, it is possible to recover from a deadlock with minimal processing, and since the central processing unit 1 and the second port 13 are not reset at that time, it is possible to prevent the memory contents from being randomly destroyed.
尚、ウォッチドッグタイマ7のオーバーフローに基づい
てバスアービタ5やウェイトコントローラ6をリセット
するリセットモードを設定しておいた場合に、障害要因
がバス権要求償号BREQやウェイト要求信号WA I
Tによる中央処理装置1のデッドロックではない場合
、例えばサージによりハードウェアが損傷したような場
合には、そのための処理を終了した後にも特定の障害要
因が残るが、このときにはリセット回数などを計数した
りして、正常状態への復帰が不可能な旨の警報を外部に
与えたりして対処することになる。Note that if a reset mode is set in which the bus arbiter 5 and wait controller 6 are reset based on the overflow of the watchdog timer 7, the cause of the failure may be the bus right request redemption signal BREQ or the wait request signal WAI.
If the central processing unit 1 is not deadlocked due to T, for example, if the hardware is damaged due to a surge, the specific cause of the failure remains even after the processing is finished, but in this case, the number of resets etc. is counted. This may lead to countermeasures such as giving an external warning that it is impossible to return to the normal state.
上記実施例によれば以下の作用効果を得るものである。According to the above embodiment, the following effects are obtained.
(1)本実施例のシングルチップマイクロコンピュータ
は、システム全体のリセットや、専らデッドロックを解
消するためのリセットというように、コントロールレジ
スタ20の設定内容に応じて。(1) The single-chip microcomputer of this embodiment resets the entire system or resets exclusively to eliminate deadlock, depending on the settings of the control register 20.
ウォッチドッグタイマ7のオーバーフローに基づくリセ
ット動作を選択設定することができる。これにより、1
つのシングルチップマイクロコンピュータもしくはこれ
を含むシステムにおいて、システム上発生する種々の障
害からの復帰処理として何れの障害に対してもその障害
からの復帰をシステム全体の初期設定から再開すること
を最優先させたり、また、外部からのウェイト要求やバ
ス権要求による中央処理装置1のデッドロック状態から
の復帰を最優先させるというような選択が可能になり、
その選択に際しては、コントロールレジスタ20の設定
内容をかえるだけで済み、外部に特別なハードウェアを
追加する必要はない。A reset operation based on an overflow of the watchdog timer 7 can be selectively set. This results in 1
In a single-chip microcomputer or a system that includes one, the top priority is given to recovery from any failure by restarting the initial settings of the entire system. In addition, it is possible to make a selection such as giving top priority to recovering the central processing unit 1 from a deadlock state caused by an external wait request or a bus right request.
When making this selection, it is only necessary to change the setting contents of the control register 20, and there is no need to add any special external hardware.
(2)外部からのウェイト要求やバス権要求による中央
処理装置1のデッドロック状態からの復帰を最優先させ
るようなリセットモードを選択するとき、中央処理装置
1をリセットせず、且つ、そのとき中央処理装置1が実
行すべきリセット例外処理への分岐をウォッチドッグタ
イマ7から出力される割込み信号IRQ3により与える
から、中央処理装置1はシステムの全体リセットで必要
になるような障害要因の判別処理が不要とされ、さらに
最優先とする復帰処理のための例外処理だけを実行すれ
ばよくなる。したがって、システム上最優先に復帰させ
ようとする障害に対しては、システムを再起動するため
の例外処理による復帰処理を必要最小限に抑えて、その
処理時間の短縮を図ることができるようになる。(2) When selecting a reset mode that gives top priority to recovering the central processing unit 1 from a deadlock state caused by an external wait request or bus right request, the central processing unit 1 is not reset; Since a branch to the reset exception processing to be executed by the central processing unit 1 is given by the interrupt signal IRQ3 output from the watchdog timer 7, the central processing unit 1 is capable of determining the cause of the failure, which is necessary for resetting the entire system. is unnecessary, and only the exception handling for the return processing, which is given the highest priority, needs to be executed. Therefore, in response to a failure that requires the system to be restored with the highest priority, it is possible to reduce the processing time by minimizing the recovery processing using exception handling to restart the system. Become.
(3)上記作用効果(1)及び(2)より、各種システ
ム上様々に要求される復帰処理を、その処理時間を最小
化し、且つ個別的に外部に付加すべきハードウェアを最
小限に留めて最適化することができる。(3) From the effects (1) and (2) above, it is possible to minimize the processing time for various recovery processes required on various systems, and to minimize the amount of hardware that must be individually added externally. can be optimized.
(4)外部からのウェイト要求やバス権要求による中央
処理装置1のデッドロック状態からの復帰を最優先させ
るようなリセットモードを選択するとき、中央処理装置
1をリセット対象としないことからそのときのバスサイ
クルは最後まで維持され、また、リセットされることに
よって高出力インピーダンス状態に変化されるような第
2ボート13もリセット対象としないことからバスサイ
クが終了するまで外部へのアドレス信号出力動作が維持
され、これりにより、デッドロックの解消などを目的と
したリセットモードの実行に際して、外部メモリがディ
スイネーブルにされるまでの過渡的段階で不所望に外部
メモリのデータが破壊されたり誤書き込みを生ずる虞を
防止することができる。この点に関しては、バスサイク
ルが中断されないということによりRAMl0のような
内部メモリに対しても同様である。(4) When selecting a reset mode that gives top priority to recovering the central processing unit 1 from a deadlock state caused by an external wait request or bus right request, the central processing unit 1 is not targeted for reset. The bus cycle is maintained until the end, and since the second port 13, which is changed to a high output impedance state by being reset, is not subject to reset, the address signal output operation to the outside is not performed until the bus cycle is completed. This prevents data in the external memory from being undesirably destroyed or erroneously written during the transition period until the external memory is disabled when executing reset mode for the purpose of eliminating deadlock. This can prevent the possibility of such occurrence. In this regard, the same holds true for internal memories such as RAM10, since bus cycles are not interrupted.
以上本発明者によってなされた発明を実施例に基づいて
具体的に説明したが本発明はそれに限定されずその要旨
を逸脱しない範囲において種々変更することができる。Although the invention made by the present inventor has been specifically described above based on examples, the present invention is not limited thereto and can be modified in various ways without departing from the gist thereof.
上記実施例ではウォッチドッグタイマ7のオーバーフロ
ーに基づくリセットモードをシステム全体のリセットモ
ードと専らデッドロック解消を目的とするリセットモー
ドとを選択した場合について説明したが、中央処理装置
1及び割込みコントローラ4をリセット対象としないよ
うな後者のリセットモードにおいてはフリーランニング
タイマ8やシリアルコミュニケーションインタフェース
コントローラ9などその他の機能モジュールをリセット
対象に含めるようにしてもよい。In the above embodiment, the case where the reset mode based on the overflow of the watchdog timer 7 is selected is the system-wide reset mode or the reset mode exclusively aimed at eliminating deadlock, but the central processing unit 1 and the interrupt controller 4 are In the latter reset mode in which the reset target is not set, other functional modules such as the free running timer 8 and the serial communication interface controller 9 may be included as the reset target.
また、上記実施例では各種機能モジュールと1対1対応
でそれをリセットするか否かを選択設定可能なコントロ
ールレジスタ2oを設けた場合について説明したが、ウ
ォッチドッグタイマのオーバーフローに基づいて内部機
能モジュール全体をリセットして外部にもリセット信号
RESをアサートするリセットモードと、バスアービタ
5やウェイトコントローラ6をリセットしてデッドロッ
ク解消を目的とするようなリセットモードとを択一的に
選択可能とするモードレジスタを設けるようにしてもよ
い。また、ウォッチドッグタイマのオーバーフローに基
づいて内部機能モジュール全体をリセットして外部にも
リセット信号RESをアサートするリセット動作の選択
方式は上記実施例のコントロールレジスタ2oにリセッ
トイネーブルビットRESE□を設ける構成に限定され
ず。In addition, in the above embodiment, a control register 2o is provided which can select and set whether or not to reset each functional module in one-to-one correspondence with various functional modules. A mode in which it is possible to select between a reset mode in which the entire system is reset and a reset signal RES is asserted externally, and a reset mode in which the bus arbiter 5 and the wait controller 6 are reset to eliminate deadlock. A register may also be provided. In addition, the reset operation selection method of resetting the entire internal function module based on the overflow of the watchdog timer and asserting the reset signal RES externally is based on the configuration in which the reset enable bit RESE□ is provided in the control register 2o of the above embodiment. Not limited.
全ての機能モジュールに1対1対応されるリセットイネ
ーブルビットを設け、全てが論理「1」に設定されてい
ることを論理回路で検出して当該動作モードを選択する
ようにしてもよい。Reset enable bits may be provided in a one-to-one correspondence with all functional modules, and a logic circuit may detect that all functional modules are set to logic "1" to select the relevant operation mode.
上記コントロールレジスタ20やモードレジスタとして
はEPROMのような不揮発性記憶手段を用いてもよい
。Nonvolatile storage means such as EPROM may be used as the control register 20 and mode register.
コントロールレジスタ20や論理ゲート22の機能をシ
ステム制御回路14に含める場合、そのような回路構成
はウォッチドッグタイマを構成する要素とみなすことが
できる。When the functions of the control register 20 and logic gate 22 are included in the system control circuit 14, such a circuit configuration can be regarded as an element constituting a watchdog timer.
また、シングルチップマイクロコンピュータに含まれる
機能モジュールは上記実施例に限定されず適宜変更する
ことができる。Furthermore, the functional modules included in the single-chip microcomputer are not limited to the above embodiments and can be modified as appropriate.
以上の説明では主として本発明者によってなされた発明
をその背景となった利用分野であるシングルチップマイ
クロコンピュータに適用した場合について説明したが、
本発明はそれに限定されず。The above explanation has mainly been about the case where the invention made by the present inventor is applied to a single-chip microcomputer, which is the field of application that formed the background of the invention.
The present invention is not limited thereto.
プログラムの異常ループや暴走を監視し、これを検出し
たときにその障害を回復するための処理機能を有するデ
ータ処理装置一般に適用することができる。The present invention can be applied to data processing devices in general that have a processing function for monitoring abnormal loops or runaway programs and recovering from the failure when detected.
本願において開示される発明のうち代表的なものによっ
て得られる効果を簡単に説明すれば下記の通りである。A brief explanation of the effects obtained by typical inventions disclosed in this application is as follows.
すなわち、ウォッチドッグタイマによるリセット動作は
、ウォッチドッグタイマにおいて選択可能なリセットモ
ードやプログラマブルに選択可能なリセット対象機能モ
ジュールの選択状態に応じてその内容が決定されるから
、ウォッチドッグタイマのオーバーフローによって検出
される何れの障害に対してもその障害からの復帰をシス
テム全体の初期設定から再開することを最優先させる場
合には、ウォッチドッグタイマのオーバーフローに基づ
いてリセットする対象を中央処理装置を含む全ての機能
モジュールとするような機能モジュールの選択状態やリ
セットモードをウォッチドッグタイマに設定しておけば
よく、また、外部からのウェイト要求やバス権要求によ
る中央処理装置のデッドロック状態からの復帰を最優先
としたい場合には、ウォッチドッグタイマのオーバーフ
ローに基づいてリセットする対象を中央処理装置を除外
してバスアービタやウェイトコントローラとするような
機能モジュールの選択滋養隊やこれに対応するようなリ
セットモードをウォッチドッグタイマに設定しておけば
よい。これにより、外部に特別なハードウェアを追加す
ることなく、そのような各種リセット動作を必要に応じ
て選択設定することができる。In other words, the content of the reset operation by the watchdog timer is determined according to the reset mode that can be selected in the watchdog timer and the selection state of the programmably selectable reset target function module, so it is detected by an overflow of the watchdog timer. If the top priority is to restart the entire system from its initial settings in response to any failure that occurs, the target to be reset based on the overflow of the watchdog timer should be set to all systems, including the central processing unit. It is sufficient to set the selection state and reset mode of the functional module in the watchdog timer, such as setting the functional module as the functional module. If you want to give the highest priority, select a functional module such as a bus arbiter or wait controller to exclude the central processing unit from being reset based on the overflow of the watchdog timer, or select a corresponding reset mode. You can set it as a watchdog timer. Thereby, such various reset operations can be selected and set as necessary without adding any special external hardware.
そして外部からのウェイト要求やバス権要求による中央
処理装置のデッドロック状態からの復帰を最優先させる
ようなリセット動作を選択するとき、中央処理装置をリ
セットせず、且つ、そのとき中央処理装置が実行すべき
リセット例外処理への分岐をウォッチドッグタイマ7か
ら出力される割込み信号により与えることにより、中央
処理装置はシステムの全体リセットで必要になるような
障害要因の判別処理が不要とされ、さらに最優先とする
復帰処理のための例外処理だけを実行すればよくなる。When selecting a reset operation that gives top priority to recovering the central processing unit from a deadlock state caused by an external wait request or bus right request, the central processing unit is not reset; By providing a branch to the reset exception processing to be executed using the interrupt signal output from the watchdog timer 7, the central processing unit does not need to perform processing to determine the cause of a failure, which is required when resetting the entire system. It is sufficient to execute only the exception handling for the return processing given the highest priority.
したがって、システム上最優先に復帰させようとする障
害に対しては、システムを再起動するための例外処理に
よる復帰処理を必要最小限に抑えて、その処理時間の短
縮を図ることができる。Therefore, in response to a failure for which recovery is to be given top priority in the system, recovery processing by exception handling for restarting the system can be suppressed to the necessary minimum, and the processing time can be shortened.
したがって、上記効果より、各種システム上様々に要求
される復帰処理を、その処理時間を最小化し、且つ個別
的に外部に付加すべきハードウニ 7アを最小限に留め
て最適化することができる。Therefore, as a result of the above-mentioned effects, it is possible to optimize the recovery processing required in various systems by minimizing the processing time and minimizing the amount of hardware that must be individually added to the outside.
また、外部からのウェイト要求やバス権要求による中央
処理装置のデッドロック状態からの復帰を最優先させる
ようなリセットモードを選択するとき、中央処理装置を
リセット対象としないことからそのときのバスサイクル
は最後まで維持され、そして、リセットされることによ
って高出力インピーダンス状態に変化されるようなアド
レス信号を出力可能なポートもリセット対象としないこ
とからバスサイクが終了するまで外部へのアドレス信号
出力動作が維持され、これりにより、デッドロックの解
消などを最優先とするようなリセット動作の実行に際し
て、外部メモリがディスイネーブルにされるまでの過渡
的段階で不所望に外部メモリのデータが破壊されたり誤
書き込みを生ずる虞を防止することができると共に、バ
スサイクルが中断されないということにより内部メモリ
に対しても不所望なデータの書き込みやデータ破壊を防
止することができるという効果がある。In addition, when selecting a reset mode that gives top priority to recovering the central processing unit from a deadlock state caused by an external wait request or bus request, the bus cycle at that time is is maintained until the end, and since ports that can output address signals that change to a high output impedance state when reset are not subject to reset, address signal output operations to the outside are not performed until the bus cycle is completed. This prevents data in the external memory from being undesirably corrupted during the transition period until the external memory is disabled when performing a reset operation where top priority is to resolve a deadlock. It is possible to prevent the possibility of erroneous writing, and since the bus cycle is not interrupted, it is possible to prevent undesired data from being written to the internal memory or data destruction.
第1図は本発明の一実施例であるシングルチップマイク
ロコンピュータのブロック図、第2図はシステム制御回
路が持つリセット論理の−例を示す回路図、
第3図はウォッチドッグタイマの一例を示すブロック図
。
第4図はウォッチドッグタイマのオーバーフローによっ
て検出される何れの障害に対してもその障害からの復帰
をシステム全体の初期設定から再開することを最優先に
するためのリセットモードを選択した場合の動作の一例
を示すタイミングチャート。
第5図は、バス要求やウェイト要求による中央処理装置
のデッドロックからの復帰を最優先にするためのリセッ
トモードを選択した場合の動作の一例を示すタイミング
チャートである。
1・・・中央処理装置、2・・・内部データバス、3・
・・内部アドレスバス、4・・・割込みコントローラ、
5・・・バスアービタ、6・・・ウェイトコントローラ
、7・・・ウォッチドッグタイマ、8・・・フリーラン
ニングタイマ、9・・・シリアルコミュニケーションイ
ンタフェースコントローラ、1o・・・RAM、11・
・・ROM、12・・・第1ポート、13・・・第2ポ
ート、14・・・システム制御回路、18・・・カウン
タ、20・・・コントロールレジスタ、RE S E
s〜RE S E t・・・リセットイネーブルビット
、21・・・オーバーフローフラグ、22・・・論理ゲ
ーh、BREQ・・・バス権要求信号、WAIT・・・
ウェイト要求信号、RES・・・リセット信号、φre
s、〜φres、・・・リセット信号、IRQ3.IR
Q6・・・割込み信号。Figure 1 is a block diagram of a single-chip microcomputer that is an embodiment of the present invention, Figure 2 is a circuit diagram showing an example of reset logic included in a system control circuit, and Figure 3 is an example of a watchdog timer. Block Diagram. Figure 4 shows the operation when the reset mode is selected, which gives top priority to restarting the initial settings of the entire system in response to any fault detected by the overflow of the watchdog timer. A timing chart showing an example. FIG. 5 is a timing chart showing an example of the operation when a reset mode is selected to give top priority to recovery from a deadlock of the central processing unit due to a bus request or a wait request. 1...Central processing unit, 2...Internal data bus, 3.
...Internal address bus, 4...Interrupt controller,
5... Bus arbiter, 6... Wait controller, 7... Watchdog timer, 8... Free running timer, 9... Serial communication interface controller, 1o... RAM, 11...
ROM, 12... 1st port, 13... 2nd port, 14... System control circuit, 18... Counter, 20... Control register, RE S E
s~RE SE t...Reset enable bit, 21...Overflow flag, 22...Logic game h, BREQ...Bus request signal, WAIT...
Wait request signal, RES...reset signal, φre
s, ~φres, . . . reset signal, IRQ3. IR
Q6...Interrupt signal.
Claims (1)
暴走を計数手段のオーバーフローによって検出し、その
オーバーフローに基づいてリセットする対象機能モジュ
ールをプログラマブルに選択可能にされたウォッチドッ
グタイマを含んで成るものであることを特徴とするデー
タ処理装置。 2、中央処理装置及びその他周辺機能モジュールを含み
、上記中央処理装置が実行するプログラムの異常ループ
や暴走を計数手段のオーバーフローによって検出し、そ
のオーバーフローに基づいてリセットする対象を中央処
理装置を含む所定の機能モジュールとするリセットモー
ドと、その対象を中央処理装置を含まない所定の機能モ
ジュールとするリセットモードとを備え、それらリセッ
トモードをプログラマブルに選択可能にされたウォッチ
ドッグタイマを備えて成るものであることを特徴とする
データ処理装置。 3、中央処理装置を含まない所定の機能モジュールをリ
セット対象モジュールとするリセットモードにおいてリ
セット対象とされる機能モジュールはプログラマブルに
選択可能にされて成るものであることを特徴とする特許
請求の範囲第2項記載のデータ処理装置。 4、中央処理装置を含まない所定の機能モジュールをリ
セット対象モジュールとするリセットモードにおいて割
込みコントローラはプログラマブルに選択可能なリセッ
ト対象モジュールから除外され、選択的にリセット対象
とされ得る機能モジュールのリセット動作において、ウ
ォッチドッグタイマは割込みコントローラを介して中央
処理装置に所定の例外処理を指示するようにされて成る
ものであることを特徴とする特許請求の範囲第3項記載
のデータ処理装置。 5、中央処理装置を含まない所定の機能モジュールをリ
セット対象モジュールとするリセットモードにおいてリ
セットされることにより高出力インピーダンス状態に変
化されるアドレス出力可能なポートは選択可能なリセッ
ト対象モジュールから除外されて成るものであることを
特徴とする特許請求の範囲第2項記載のデータ処理装置
。 6、中央処理装置を含む所定の機能モジュールをリセッ
ト対象モジュールとするリセットモードにおいて外部に
もリセット信号を出力するようにされて成るものである
こと特徴とする特許請求の範囲第2項記載のデータ処理
装置。[Scope of Claims] 1. A watchdog timer that detects an abnormal loop or runaway in a program executed by a central processing unit by an overflow of a counting means, and is capable of programmably selecting a target functional module to be reset based on the overflow. A data processing device comprising: 2. A predetermined target including a central processing unit and other peripheral function modules that detects an abnormal loop or runaway of a program executed by the central processing unit by an overflow of a counting means, and resets based on the overflow. A reset mode in which the target is a functional module that does not include a central processing unit, and a reset mode in which the target is a predetermined functional module that does not include a central processing unit, and a watchdog timer that allows the reset mode to be selected programmably. A data processing device characterized by: 3. In a reset mode in which a predetermined functional module that does not include a central processing unit is a module to be reset, the functional module to be reset is programmably selectable. 2. The data processing device according to item 2. 4. In a reset mode in which a predetermined functional module that does not include a central processing unit is set as a reset target module, the interrupt controller is excluded from programmably selectable reset target modules, and in a reset operation of a functional module that can be selectively reset. 4. The data processing device according to claim 3, wherein the watchdog timer is configured to instruct the central processing unit to perform predetermined exception processing via an interrupt controller. 5. In a reset mode where a predetermined functional module that does not include a central processing unit is the module to be reset, ports capable of outputting an address that changes to a high output impedance state by being reset are excluded from the modules to be reset that can be selected. 3. A data processing device according to claim 2, characterized in that the data processing device comprises: 6. The data set forth in claim 2, wherein the reset signal is also output to the outside in a reset mode in which a predetermined functional module including a central processing unit is a module to be reset. Processing equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63152056A JP2677609B2 (en) | 1988-06-20 | 1988-06-20 | Microcomputer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63152056A JP2677609B2 (en) | 1988-06-20 | 1988-06-20 | Microcomputer |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH01319834A true JPH01319834A (en) | 1989-12-26 |
JP2677609B2 JP2677609B2 (en) | 1997-11-17 |
Family
ID=15532084
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63152056A Expired - Fee Related JP2677609B2 (en) | 1988-06-20 | 1988-06-20 | Microcomputer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2677609B2 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03204739A (en) * | 1990-01-08 | 1991-09-06 | Nec Corp | Microcomputer |
JP2006309349A (en) * | 2005-04-26 | 2006-11-09 | Canon Inc | Information processor, and its control method |
CN107943603A (en) * | 2016-10-13 | 2018-04-20 | 迈普通信技术股份有限公司 | A kind of method for detecting operation state, detection circuit and electronic equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5972554A (en) * | 1982-09-21 | 1984-04-24 | ゼロツクス・コ−ポレ−シヨン | Multiplex processor type control apparatus and method |
JPS63126018A (en) * | 1986-11-17 | 1988-05-30 | Hitachi Ltd | Semiconductor integrated circuit |
-
1988
- 1988-06-20 JP JP63152056A patent/JP2677609B2/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5972554A (en) * | 1982-09-21 | 1984-04-24 | ゼロツクス・コ−ポレ−シヨン | Multiplex processor type control apparatus and method |
JPS63126018A (en) * | 1986-11-17 | 1988-05-30 | Hitachi Ltd | Semiconductor integrated circuit |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03204739A (en) * | 1990-01-08 | 1991-09-06 | Nec Corp | Microcomputer |
JP2006309349A (en) * | 2005-04-26 | 2006-11-09 | Canon Inc | Information processor, and its control method |
CN107943603A (en) * | 2016-10-13 | 2018-04-20 | 迈普通信技术股份有限公司 | A kind of method for detecting operation state, detection circuit and electronic equipment |
CN107943603B (en) * | 2016-10-13 | 2022-07-15 | 迈普通信技术股份有限公司 | Running state detection method, detection circuit and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
JP2677609B2 (en) | 1997-11-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0497380B1 (en) | Microcomputer having a watchdog timer | |
CN109872150B (en) | Data processing system with clock synchronization operation | |
EP0186006B1 (en) | Multiprocessor system | |
US6145103A (en) | Emulator support mode for disabling and reconfiguring timeouts of a watchdog timer | |
JPH01258057A (en) | Synchronous method and apparatus for a plurality of processors | |
US8161362B2 (en) | Task management control apparatus and method, having redundant processing comparison | |
US7103738B2 (en) | Semiconductor integrated circuit having improving program recovery capabilities | |
US20020116670A1 (en) | Failure supervising method and apparatus | |
US5541943A (en) | Watchdog timer lock-up prevention circuit | |
JPH05225067A (en) | Important-memory-information protecting device | |
US20060156075A1 (en) | Semiconductor integrated circuit | |
US6968410B2 (en) | Multi-threaded processing of system management interrupts | |
US7500021B2 (en) | Operation mode control circuit, microcomputer including the same, and control system using the microcomputer | |
US6321289B1 (en) | Apparatus for automatically notifying operating system level applications of the occurrence of system management events | |
JPH01319834A (en) | microcomputer | |
US20050223301A1 (en) | Circuit for detection of internal microprocessor watchdog device execution and method for resetting microprocessor system | |
JPH0756774A (en) | Watching timer | |
JP3209144B2 (en) | Microprocessor | |
CA2619742C (en) | An input/output control apparatus for performing high reliability computations | |
JPS6352241A (en) | Microprocessor | |
JP2024134199A (en) | Semiconductor integrated circuit device | |
JPH07114521A (en) | Multi-microcomputer system | |
JPS60140440A (en) | Central processing unit | |
KR101085405B1 (en) | System with an automatic ON/OFF processor and method for controlling the system's automatic On/Off processor | |
JP3110177B2 (en) | Dual computer system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |