JPH11282700A - Electronic instrument and method for releasing runaway of microcomputer - Google Patents

Electronic instrument and method for releasing runaway of microcomputer

Info

Publication number
JPH11282700A
JPH11282700A JP10103461A JP10346198A JPH11282700A JP H11282700 A JPH11282700 A JP H11282700A JP 10103461 A JP10103461 A JP 10103461A JP 10346198 A JP10346198 A JP 10346198A JP H11282700 A JPH11282700 A JP H11282700A
Authority
JP
Japan
Prior art keywords
microcomputer
data transfer
key input
stopped
determining
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
JP10103461A
Other languages
Japanese (ja)
Inventor
Moriaki Matsuura
守昭 松浦
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.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan 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 Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP10103461A priority Critical patent/JPH11282700A/en
Publication of JPH11282700A publication Critical patent/JPH11282700A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To remove troubles such as the generation of a shock on hardware and the frequent initialization of all data or states by preventing a microcomputer(MC) from being frequently and unnecessarily reset at the runaway of the MC. SOLUTION: In a step S1, a 2nd MC judges whether a key input exists or not. When the key input exists, the information of a data transfer state to a 1st MC 1 is loaded in a step S2. In a step S3, whether data transfer is stopped or not is judged. When the data transfer is not stopped (S3: NO), operation goes to a processing corresponding to the key input e.g. a processing routine corresponding to a remote controller input, in a step S4. When the data transfer is stopped (S3: YES), reset operation for the 1st MC 1 is executed in a step S5.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、テレビジョン受像
機等の電子機器に係わるものであり、特にマイコン暴走
時の適格な解除方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic apparatus such as a television receiver and, more particularly, to an appropriate release method when a microcomputer runs out of control.

【0002】[0002]

【従来の技術】現在の電子機器の制御には、ほとんどの
場合、マイコンが利用されているが、周知のごとく、外
来ノイズ等の影響で、まれにマイコンが暴走することが
ある。マイコン暴走が発生すると、機器の制御が不能と
なり、リセット等の暴走解除手段が必要となる。テレビ
ジョン受像機等の電子機器の中には、複数のマイコンを
使用している機器が増加している。この場合には、一方
のマイコンが他方のマイコンを監視するという方法が用
いられる。
2. Description of the Related Art Microcomputers are used in most cases for controlling electronic devices at present. As is well known, microcomputers rarely run away due to external noise or the like. When a microcomputer runaway occurs, control of the device becomes impossible, and a runaway release means such as reset is required. Among electronic devices such as television receivers, devices using a plurality of microcomputers are increasing. In this case, a method is used in which one microcomputer monitors the other microcomputer.

【0003】図2は、電子機器のリセット回路例を示す
ブロック図である。第1のマイコン1は、電子機器の制
御動作を行っており、そのリセット端子2には、リセッ
ト回路3が接続されている。通常、電源オン時に、リセ
ット回路3はリセット端子2の電位を所定期間、低レベ
ル(通常アース電位)とし、リセット動作をしている。
又、第2のマイコン4は、やはり電子機器の制御動作を
行っており、その制御動作の1つとして、その入力ポー
ト5より、電子機器のリモコン(遠隔制御)入力を受信
し、その内容に応じた処理命令を第1のマイコン1へ送
信したりしている。通常、第1のマイコン1と第2のマ
イコン4は、データ転送路を介してデータやステータス
等の情報を交信し、情報交換を行うことにより、連携動
作を可能としている。
FIG. 2 is a block diagram showing an example of a reset circuit of an electronic device. The first microcomputer 1 controls an electronic device, and a reset terminal 3 is connected to a reset circuit 3. Normally, when the power is turned on, the reset circuit 3 sets the potential of the reset terminal 2 to a low level (normal earth potential) for a predetermined period to perform a reset operation.
The second microcomputer 4 also controls the electronic device. As one of the control operations, the second microcomputer 4 receives a remote control (remote control) input of the electronic device from the input port 5 and writes the content of the remote control. A corresponding processing command is transmitted to the first microcomputer 1. Normally, the first microcomputer 1 and the second microcomputer 4 exchange information such as data and status via a data transfer path and exchange information to enable a cooperative operation.

【0004】[0004]

【発明が解決しようとする課題】そこで、第2のマイコ
ン4は、第1のマイコン1からのデータ転送が停止した
場合には、第1のマイコン1が暴走したと判定し、その
出力ポート6の電位を低レベルにし、ダイオード7を介
して第1のマイコン1のリセット端子2の電位を低レベ
ルにし、第1のマイコン1をリセットして、暴走から解
除している。しかし、この従来の暴走解除方法では、デ
ータ転送のみを監視しているので、データ転送路が断線
したり、何らかの外部要因によりデータ転送が乱れた場
合でも、全て暴走と判定し、必要以上に度々リセットを
掛けてしまうという欠点があった。リセット動作は、ハ
ードウェア上のショックを与えるものであり、全てのデ
ータや状態が初期化されるので、必要最小限度に止める
ことが望ましい。本発明は、前記課題を解決するために
なされたものであり、マイコンの暴走時に、必要以上に
度々リセットを掛ける事が無いので、ハードウェア上の
ショックを与えたり、全てのデータや状態が度々初期化
される等の不具合の無い電子機器及び暴走解除方法を提
供することを目的とする。
Therefore, when the data transfer from the first microcomputer 1 is stopped, the second microcomputer 4 determines that the first microcomputer 1 has run out of control, and the output port 6 thereof. Is set to a low level, the potential of the reset terminal 2 of the first microcomputer 1 is set to a low level via the diode 7, and the first microcomputer 1 is reset to release from runaway. However, in this conventional runaway cancellation method, since only data transfer is monitored, even if the data transfer path is disconnected or data transfer is disturbed by some external factor, it is determined that all runaways occur, and more than necessary. There was a disadvantage of resetting. The reset operation gives a shock on hardware, and all data and states are initialized. Therefore, it is desirable that the reset operation be minimized. The present invention has been made in order to solve the above-mentioned problem, and it is not necessary to perform reset more frequently than necessary at the time of microcomputer runaway, so that a shock on hardware is given or all data and state are frequently An object of the present invention is to provide an electronic device and a runaway cancellation method free from troubles such as initialization.

【0005】[0005]

【課題を解決するための手段】以上の目的を達成するた
めに、(1) 第1のマイコンと、前記第1のマイコンとデ
ータ転送路を介して情報交換をして連携動作を行う第2
のマイコンとの、少なくとも2個以上のマイコンを備え
た電子機器において、ユーザーからのキー入力の有無を
判定するキー入力判定手段と、前記第1のマイコンとの
データ転送が停止していることを判定するデータ転送停
止判定手段と、前記キー入力判定手段でキー入力有りと
判定され、且つ前記データ転送停止判定手段でデータ転
送が停止していると判定された場合に、前記第1のマイ
コンのリセット動作を行うリセット手段とを備えたこと
を特徴とする電子機器を提供し、(2) 第1のマイコン
と、前記第1のマイコンとデータ転送路を介して情報交
換をして連携動作を行う第2のマイコンとの、少なくと
も2個以上のマイコンを備えた電子機器において、ユー
ザーからのキー入力の有無を判定するキー入力判定ステ
ップと、前記第1のマイコンとのデータ転送が停止して
いることを判定するデータ転送停止判定ステップと、前
記キー入力判定ステップでキー入力有りと判定され、且
つ前記データ転送停止判定ステップでデータ転送が停止
していると判定された場合に、前記第1のマイコンのリ
セット動作を行うリセットステップとを備えたことを特
徴とするマイコン暴走解除方法を提供するものである。
In order to achieve the above object, (1) a first microcomputer, and a second microcomputer which exchanges information with the first microcomputer via a data transfer path to perform a cooperative operation.
In an electronic device having at least two or more microcomputers, the key input determining means for determining the presence or absence of a key input from a user, and the data transfer with the first microcomputer being stopped. A data transfer stop determining unit that determines whether there is a key input by the key input determining unit and a data transfer stop determining unit that determines that the data transfer is stopped; An electronic device comprising reset means for performing a reset operation, wherein (2) a first microcomputer and a cooperative operation by exchanging information with the first microcomputer via a data transfer path. A key input determining step of determining whether there is a key input from a user in an electronic device having at least two or more microcomputers, the key input determining step including: A data transfer stop determining step of determining that data transfer with the icon is stopped; and a key input determining step determining that there is a key input, and that the data transfer is stopping in the data transfer stop determining step. A reset step of performing a reset operation of the first microcomputer when it is determined that the microcomputer has run out of control.

【0006】[0006]

【発明の実施の形態】本発明の回路構成は、図2に示す
ものと同様である。本発明の特徴は、図2の第2のマイ
コン4における処理ルーチンにある。図1は本発明の実
施例を示すフローチャートである。第2のマイコン4に
おけるステップS0の定常処理が行われている途中、ス
テップS1(キー入力判定手段、キー入力判定ステッ
プ)で、キー入力があるか判定する。これは、機器の操
作キーやリモコンのキーの入力があるかの判定である。
キー入力が無ければ(No)、ステップ6の次の処理へ
と進む。キー入力が有れば(Yes)、ステップS2で
第1のマイコン1とのデータ転送状態の情報をロードす
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The circuit configuration of the present invention is the same as that shown in FIG. A feature of the present invention lies in a processing routine in the second microcomputer 4 of FIG. FIG. 1 is a flowchart showing an embodiment of the present invention. While the steady processing of step S0 is being performed in the second microcomputer 4, it is determined in step S1 (key input determining means, key input determining step) whether or not there is a key input. This is a determination as to whether an operation key of a device or a key of a remote controller is input.
If there is no key input (No), the process proceeds to the process next to Step 6. If there is a key input (Yes), information on the state of data transfer with the first microcomputer 1 is loaded in step S2.

【0007】そして、ステップS3(データ転送停止判
定手段、データ転送停止判定ステップ)で、データ転送
が停止しているか判定する。データ転送が停止していな
ければ(No)、ステップS4でキー入力に応じた処
理、例えばリモコン入力に応じた処理ルーチンへと進
む。データ転送が停止していれば(Yes)、ステップ
S5(リセット手段、リセットステップ)で図2の出力
ポート6の電位を低レベルにし、前記の第1のマイコン
1のリセット動作を行い、ステップ6の次の処理へと進
む。前記フローチャートで説明した本発明のポイント
は、第2のマイコン4は、第1のマイコン1からのデー
タ転送が停止した場合でも、すぐにリセット動作は行わ
ず、キー入力があった時点で初めてリセット動作を行う
点である。
Then, in step S3 (data transfer stop determining means, data transfer stop determining step), it is determined whether data transfer is stopped. If the data transfer is not stopped (No), the process proceeds to a process corresponding to the key input in step S4, for example, a process routine corresponding to the remote control input. If the data transfer is stopped (Yes), the potential of the output port 6 in FIG. 2 is set to a low level in step S5 (reset means, reset step), and the reset operation of the first microcomputer 1 is performed. The process proceeds to the next process. The point of the present invention described in the above-described flowchart is that the second microcomputer 4 does not immediately perform the reset operation even when the data transfer from the first microcomputer 1 is stopped, and resets only when a key input is performed. The point is to perform the operation.

【0008】通常の電子機器では、マイコン暴走が発生
すると、機器の動作状態が変わる等、何らかの動作の不
具合が発生する。このような場合、ユーザー(視聴者
等)は、必ず電子機器の操作キーやリモコンのキーの入
力操作を行い、動作状態を修正しようとする。従って、
データ転送が停止しても、ユーザーからのキー入力が無
い場合には、データ転送路が外部要因等で瞬間的に乱れ
た場合等であり、暴走で無い可能性が高く、短時間で回
復する可能性か高い。このような場合は、第1のマイコ
ン1へのリセット動作は行わない。
[0008] In a normal electronic device, when a microcomputer runaway occurs, some operation troubles such as a change in the operation state of the device occur. In such a case, the user (viewer or the like) always performs an input operation of an operation key of an electronic device or a key of a remote control to try to correct an operation state. Therefore,
Even if the data transfer is stopped, if there is no key input from the user, the data transfer path may be momentarily disturbed due to an external factor or the like. Probable or high. In such a case, the reset operation to the first microcomputer 1 is not performed.

【0009】[0009]

【発明の効果】本発明の電子機器及び暴走解除方法は、
マイコンの暴走時に、必要以上に度々リセットを掛ける
事が無いので、ハードウェア上のショックを与えたり、
全てのデータや状態が度々初期化される等の不具合の無
いという極めて優れた効果がある。
The electronic device and the runaway cancellation method of the present invention are as follows.
When the microcomputer goes out of control, there is no need to reset it more often than necessary.
There is an extremely excellent effect that there is no problem that all data and states are frequently initialized.

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

【図1】本発明の実施例を示すフローチャートである。FIG. 1 is a flowchart showing an embodiment of the present invention.

【図2】電子機器のリセット回路例を示すブロック図で
ある。
FIG. 2 is a block diagram illustrating an example of a reset circuit of the electronic device.

【符号の説明】[Explanation of symbols]

1 第1のマイコン 2 リセット端子 3 リセット回路 4 第2のマイコン 5 入力ポート 6 出力ポート 7 ダイオード REFERENCE SIGNS LIST 1 first microcomputer 2 reset terminal 3 reset circuit 4 second microcomputer 5 input port 6 output port 7 diode

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】第1のマイコンと、前記第1のマイコンと
データ転送路を介して情報交換をして連携動作を行う第
2のマイコンとの、少なくとも2個以上のマイコンを備
えた電子機器において、 ユーザーからのキー入力の有無を判定するキー入力判定
手段と、 前記第1のマイコンとのデータ転送が停止していること
を判定するデータ転送停止判定手段と、 前記キー入力判定手段でキー入力有りと判定され、且つ
前記データ転送停止判定手段でデータ転送が停止してい
ると判定された場合に、前記第1のマイコンのリセット
動作を行うリセット手段とを備えたことを特徴とする電
子機器。
1. An electronic apparatus comprising at least two microcomputers, a first microcomputer and a second microcomputer that exchanges information with the first microcomputer via a data transfer path and performs a cooperative operation. A key input determining means for determining whether there is a key input from a user; a data transfer stop determining means for determining that data transfer with the first microcomputer is stopped; Resetting means for resetting the first microcomputer when it is determined that an input is present and the data transfer stop determining means determines that data transfer is stopped. machine.
【請求項2】第1のマイコンと、前記第1のマイコンと
データ転送路を介して情報交換をして連携動作を行う第
2のマイコンとの、少なくとも2個以上のマイコンを備
えた電子機器において、 ユーザーからのキー入力の有無を判定するキー入力判定
ステップと、 前記第1のマイコンとのデータ転送が停止していること
を判定するデータ転送停止判定ステップと、 前記キー入力判定ステップでキー入力有りと判定され、
且つ前記データ転送停止判定ステップでデータ転送が停
止していると判定された場合に、前記第1のマイコンの
リセット動作を行うリセットステップとを備えたことを
特徴とするマイコン暴走解除方法。
2. An electronic apparatus comprising at least two microcomputers, a first microcomputer and a second microcomputer which exchanges information with the first microcomputer via a data transfer path and performs a cooperative operation. A key input determining step of determining presence or absence of a key input from a user; a data transfer stop determining step of determining that data transfer with the first microcomputer is stopped; and a key input determining step. It is determined that there is an input,
And resetting the first microcomputer when the data transfer is determined to be stopped in the data transfer stop determination step.
JP10103461A 1998-03-31 1998-03-31 Electronic instrument and method for releasing runaway of microcomputer Pending JPH11282700A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10103461A JPH11282700A (en) 1998-03-31 1998-03-31 Electronic instrument and method for releasing runaway of microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10103461A JPH11282700A (en) 1998-03-31 1998-03-31 Electronic instrument and method for releasing runaway of microcomputer

Publications (1)

Publication Number Publication Date
JPH11282700A true JPH11282700A (en) 1999-10-15

Family

ID=14354667

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10103461A Pending JPH11282700A (en) 1998-03-31 1998-03-31 Electronic instrument and method for releasing runaway of microcomputer

Country Status (1)

Country Link
JP (1) JPH11282700A (en)

Similar Documents

Publication Publication Date Title
US7380116B2 (en) System for real-time adaptation to changes in display configuration
US6594787B1 (en) Input/output device managed timer process
JP2006072962A (en) Control system for controlling a plurality of target computers
KR100534106B1 (en) Computer and Method indicating operating state of external device thereof
US20080151127A1 (en) Display apparatus having network communicating function and control method thereof
KR100280783B1 (en) Remote control device and remote control method of computer system
JP2018185750A (en) Electronic device and method
WO2023103599A1 (en) Screen projection method and apparatus, storage medium and electronic device
CN105516783A (en) Multimedia content playing course control method and user terminal
US7383469B2 (en) Application management system and method
CN212112446U (en) Multi-screen lottery machine
US6480909B1 (en) Computer system for selectively connecting IEEE 1394 internal peripheral devices to either 1394 physical layer ports or 1394 external ports in response to control signal
JPH11282700A (en) Electronic instrument and method for releasing runaway of microcomputer
US7506082B2 (en) Data transferring system using USB and method thereof
EP3373513A1 (en) Method for monitoring broadcast message and terminal
KR950008089B1 (en) Program processing method & apparatus
US6625666B1 (en) Operation-recording type system for a DDC monitor and related method
JP2000040040A (en) Data communication device and storage medium storing program
KR20010060869A (en) method for processing event by operator requirement in communication system
US8051153B2 (en) Switch apparatus for a remote boot sequence of a network device
KR20080020909A (en) Electronic device and i2c communication method thereof
JPH0651863A (en) Serial data communication controller
US20020099890A1 (en) Apparatus and method for processing interruptions in a data transmission over a bus
JPH03109665A (en) Microcomputer device
KR101222754B1 (en) Front display control method