JPH08194646A - Data writing method for microcomputer type controller and controller therefor - Google Patents

Data writing method for microcomputer type controller and controller therefor

Info

Publication number
JPH08194646A
JPH08194646A JP664195A JP664195A JPH08194646A JP H08194646 A JPH08194646 A JP H08194646A JP 664195 A JP664195 A JP 664195A JP 664195 A JP664195 A JP 664195A JP H08194646 A JPH08194646 A JP H08194646A
Authority
JP
Japan
Prior art keywords
data
protect
prom
terminal
protected area
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
JP664195A
Other languages
Japanese (ja)
Inventor
Kenji Touya
謙二 洞谷
Naohiro Furuta
直博 古田
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.)
Rinnai Corp
Original Assignee
Rinnai Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Rinnai Corp filed Critical Rinnai Corp
Priority to JP664195A priority Critical patent/JPH08194646A/en
Publication of JPH08194646A publication Critical patent/JPH08194646A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To reduce the possibility of data destruction in a protect area by manually setting a protect terminal in an active state when writing data from a CPU to the protect area. CONSTITUTION: An E<2> PROM 1 to which a CPU 20 is connected through an address bus 31 and a data bus 22 is provided with a protect area 10 and a non-protect area 11, and the operating signal of a manual switch 13 is impressed to a protect terminal 12 of the E<2> PROM 1. Further, the output part of the manual switch 13 is connected to an input port 23. Only when the protect terminal 12 is set in the active state, the write of data from the CPU 20 to the protect area 10 is allowed. When writing data to the protect area 10 in this case, the protect terminal 12 is manually set in the active state. Thus, the data can be written in the protect area of the E<2> PROM only under the management of an equipment operator, etc.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はマイクロコンピュータ式
制御装置のデータ書き込み方法、特に、マイクロコンピ
ュータの暴走時等でもデータの崩壊を招かずこれが確実
に保持できるようにしたデータ書き込み方法に関するも
ので、炊飯器や空調機器等の種々の電気機器に適用でき
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for writing data in a microcomputer type control device, and more particularly to a method for writing data in which the data can be held without fail even when the microcomputer runs away. It can be applied to various electric devices such as rice cookers and air conditioners.

【0002】[0002]

【従来技術及び課題】炊飯器や空調機器等の電気機器は
マイクロコンピュータ式の制御装置で制御されているも
のが多く、該制御装置としては、電気的消去・書き込み
可能なリードオンリーメモリ(以下、「E2PROM」 と記載
する。」)に重要データを格納してこれが停電時等に消
失するのを防止したものがある。
2. Description of the Related Art Many electric devices such as rice cookers and air conditioners are controlled by a microcomputer type control device. As the control device, an electrically erasable / writable read only memory (hereinafter, "E 2 PROM" is described in this section)), which stores important data to prevent it from being lost in the event of a power failure.

【0003】図7は、この種制御装置の基本構成を例示
している。中央演算装置(以下、「CPU 」と記載す
る。)(20)にはランダムアクセスメモリ(以下、「RAM」
と記載する。)(21),リードオンリーメモリ(以下、
「ROM」と記載する。)(22), E2PROM (1),及び入出力
ポート(23)(24)が、アドレスバス(31)等を介して接続さ
れており、入力ポート(23)にはセンサー(27)やスイッチ
(28)等が接続されている。
FIG. 7 exemplifies the basic configuration of this type of control device. The central processing unit (hereinafter referred to as "CPU") (20) has a random access memory (hereinafter referred to as "RAM").
Enter. ) (21), read only memory (hereinafter,
Write as "ROM". ) (22), E 2 PROM (1), and I / O ports (23) and (24) are connected via the address bus (31), etc., and the input port (23) has a sensor (27) and switch
(28) etc. are connected.

【0004】図示する従来の制御装置に組み込まれたE2
PROM(1) はプロテクトエリア(10)と非プロテクトエリア
(11)を具備し、プロテクトエリア(10)へデータを書き込
むときはプロテクト端子(12)に信号を印加してアクティ
ブ状態とし、この状態でプロテクトエリア(10)のアドレ
スとこれに書き込むデータをアドレスバス(31)及びデー
タバス(32)へ CPU(20)から出力する。
E 2 incorporated in the illustrated conventional controller
PROM (1) is protected area (10) and non-protected area
When data is written to the protected area (10), a signal is applied to the protect terminal (12) to activate it, and in this state, the address of the protected area (10) and the data to be written to it are addressed. Output from the CPU (20) to the bus (31) and the data bus (32).

【0005】このものでは、プロテクト端子(12)をアク
ティブ状態としなければプロテクトエリア(10)へのデー
タの書き込みができない分、該プロテクトエリア(10)に
格納したデータの保護が厚くなり、該データの信頼性が
向上する。しかしながら、上記従来のものでは、E2PROM
(1) のプロテクト端子(12)は CPU(20)で制御されるか
ら、該 CPU(20)が暴走したときに上記プロテクト端子(1
2)がアクティブ状態となる心配があり、この状態でプロ
テクトエリア(10)への書き込み命令が偶然に実行された
場合は該プロテクトエリア(10)内の重要データが崩壊す
る。このことから、プロテクト端子(12)を CPU(20)で制
御する上記従来のものではプロテクトエリア(10)内のデ
ータの信頼性が未だ不十分であると言う問題があった。
In this device, the data stored in the protect area (10) is thickened because the data cannot be written in the protect area (10) unless the protect terminal (12) is activated. Improves reliability. However, in the above conventional one, the E 2 PROM
Since the protect terminal (12) of (1) is controlled by the CPU (20), when the CPU (20) runs away, the protect terminal (1)
There is a concern that 2) will become active, and if a write command to the protected area (10) is accidentally executed in this state, important data in the protected area (10) will be destroyed. For this reason, there is a problem that the reliability of the data in the protected area (10) is still insufficient in the above-mentioned conventional one in which the protect terminal (12) is controlled by the CPU (20).

【0006】本発明は上記の点に鑑みて成されたもの
で、『プロテクト端子(12)をアクティブ状態としたとき
にのみ CPU(20)からプロテクトエリア(10)へのデータの
書き込みが許容されるE2PROM(1) を有するマイクロコン
ピュータ式制御装置のデータ書き込み方法』に於いて、
CPU(20)の暴走時にプロテクト端子(12)がアクティブ状
態となるのが回避できるようにし、これにより、プロテ
クトエリア(10)のデータ崩壊の可能性を一層低減させ得
るようにすることをその課題とする。
The present invention has been made in view of the above points, and "writing of data from the CPU (20) to the protected area (10) is permitted only when the protect terminal (12) is activated. Data writing method of microcomputer type control device having E 2 PROM (1) ”
The problem is to prevent the protect terminal (12) from becoming active when the CPU (20) runs out of control, thereby further reducing the possibility of data corruption in the protect area (10). And

【0007】[0007]

【技術的手段】上記課題を解決する為の本発明の技術的
手段は、『プロテクトエリア(10)へのデータの書き込み
時にはプロテクト端子(12)を手動でアクティブ状態とす
るようにした』ことである。
[Technical Means] The technical means of the present invention for solving the above-mentioned problem is that "when the data is written in the protect area (10), the protect terminal (12) is manually activated." is there.

【0008】[0008]

【作用】上記技術的手段は次のように作用する。プロテ
クト端子(12)を手動でアクティブ状態にしなければE2PR
OM(1) のプロテクトエリア(10)へのデータの書き込みが
できないから、器具取扱者等の管理下でのみ該プロテク
トエリア(10)へのデータの書き込みが可能となる。
The above technical means operates as follows. E 2 PR unless the protect terminal (12) is activated manually
Since it is not possible to write data to the protected area (10) of the OM (1), it is possible to write data to the protected area (10) only under the control of the equipment operator or the like.

【0009】[0009]

【効果】本発明は次の特有の効果を有する。器具取扱者
等の管理下でのみE2PROM(1) のプロテクトエリア(10)へ
のデータの書き込みが可能となるから、 CPU(20)の暴走
で上記プロテクトエリア(10)へのデータ書き込み命令が
実行されても、これだけでは該データの書き込みが実現
せず該データが崩壊する心配が一層少なくなる。
[Effect] The present invention has the following unique effects. Since it is possible to write data to the protected area (10) of the E 2 PROM (1) only under the control of the equipment operator, etc., a data write command to the protected area (10) above due to a runaway CPU (20). Even if the above is executed, it is possible to further reduce the risk that the data is not written and the data is destroyed.

【0010】[0010]

【実施例】次に、上記した本発明を炊飯器に実施した場
合の実施例について説明する。器具本体(5) の上部に形
成された操作部(6) には通常炊飯スイッチ(61)や予約炊
飯スイッチ(62)が設けられており、該予約炊飯スイッチ
(62)を操作すると任意に設定した予約時刻に炊飯動作を
完了させる所謂予約炊飯が出来るようになっている。
又、上記予約炊飯スイッチ(62)の近傍には予約時刻を設
定する時刻設定ボタン(63)(63)が設けられており、更
に、該時刻設定ボタン(63)(63)で設定された予約時刻は
上記操作部(6) 近傍の表示器(64)で表示されるようにな
っている。
EXAMPLES Next, examples in which the above-described present invention is applied to a rice cooker will be described. The rice cooker switch (61) and the reserved rice cooker switch (62) are provided on the operation part (6) formed on the upper part of the appliance body (5).
By operating (62), it is possible to perform so-called reserved rice in which the rice cooking operation is completed at an arbitrarily set reserved time.
Also, near the reservation rice cooking switch (62), there are time setting buttons (63) (63) for setting the reservation time, and the reservation set by the time setting buttons (63) (63) The time is displayed on the display (64) near the operation unit (6).

【0011】上記操作部(6) は図2に示すよに、器具本
体(5) のケーシング(53)に形成した凹部(54)に化粧シー
ト(55)を嵌入貼着した構成で、該化粧シート(55)に穿設
した透孔(56)を介して時刻設定ボタン(63)(63)の操作部
が外部に露出している。そして、上記時刻設定ボタン(6
3)(63)の近傍には、手動スイッチ(13)が配設されている
と共に、その操作軸(130) はケーシング(53)に穿設され
た透孔(57)に対応している。又、上記操作軸(130) は上
記化粧シート(55)で隠蔽されており、これにより、器具
完成状態では手動スイッチ(13)が操作できない状態にな
っている。
As shown in FIG. 2, the operating portion (6) is constructed such that a decorative sheet (55) is fitted and attached to a concave portion (54) formed in a casing (53) of an instrument body (5). The operation parts of the time setting buttons (63) and (63) are exposed to the outside through the through holes (56) formed in the seat (55). Then, press the time setting button (6
3) A manual switch (13) is arranged in the vicinity of (63), and its operating shaft (130) corresponds to a through hole (57) formed in the casing (53). The operation shaft (130) is hidden by the decorative sheet (55), so that the manual switch (13) cannot be operated in the completed state of the device.

【0012】図4に示すように上記炊飯器を制御するマ
イクロコンピュータ(M) の出力ポート(24)には、釜(70)
加熱用のガスバーナ(71)へのガス供給量を制御する為の
弁装置(72)や上記ガスバーナ(71)に点火する点火装置(7
3)が接続されている。又、入力ポート(23)には、上記ガ
スバーナ(71)の燃焼状態を検知する炎検知器(74)の出力
や、操作部(6) に設けられた通常炊飯スイッチ(61)や予
約炊飯スイッチ(62)の出力、更には、時刻設定ボタン(6
3)(63)でセットした予約時刻を記憶するメモリ(66)の出
力が印加されている。そして、該メモリ(66)に格納され
た予約時刻は表示器(64)で表示されるようになってい
る。
As shown in FIG. 4, the output port (24) of the microcomputer (M) for controlling the rice cooker has a pot (70).
A valve device (72) for controlling the gas supply amount to the heating gas burner (71) and an ignition device (7) for igniting the gas burner (71).
3) is connected. In addition, the input port (23), the output of the flame detector (74) that detects the combustion state of the gas burner (71), the regular rice cooker switch (61) and the reserved rice cooker switch provided in the operation unit (6). (62) output, and the time setting button (6
3) The output of the memory (66) that stores the reserved time set in (63) is applied. The reserved time stored in the memory (66) is displayed on the display (64).

【0013】アドレスバス(31)やデータバス(32)を介し
て CPU(20)を接続されたE2PROM(1)は、既述従来のもの
と同様にプロテクトエリア(10)と非プロテクトエリア(1
1)を具備すると共に、該E2PROM(1) のプロテクト端子(1
2)には手動スイッチ(13)の操作信号が印加されるように
構成されており、更に、該手動スイッチ(13)の出力部は
入力ポート(23)に接続されている。又、該手動スイッチ
(13)には電源電圧が印加されていると共に、該手動スイ
ッチ(13)は固定抵抗(131) を介してアースされている。
The E 2 PROM (1) connected to the CPU (20) via the address bus (31) and the data bus (32) has a protected area (10) and a non-protected area as in the conventional ones. (1
1) and protect terminal (1) of the E 2 PROM (1)
The operation signal of the manual switch (13) is applied to 2), and the output part of the manual switch (13) is connected to the input port (23). Also, the manual switch
A power supply voltage is applied to (13), and the manual switch (13) is grounded via a fixed resistor (131).

【0014】ROM(22)には図3のフローチャートに示す
内容の制御プログラムが格納されており、以下、本発明
実施例の炊飯器の動作を同図に従って説明する。このも
のでは、炊飯器の組立て作業時に於いて操作部(6) の化
粧シート(55)を貼着する前に重要データをE2PROM(1) の
プロテクトエリア(10)に格納するようにしている。尚、
上記重要データとしては、ガスバーナ(71)を基準火力に
する為に維持しなければならない弁装置(72)の弁開度等
があり、この値は、組立てる炊飯器毎に若干相違するこ
とから、該炊飯器毎に設定する。
A control program having the contents shown in the flowchart of FIG. 3 is stored in the ROM (22), and the operation of the rice cooker according to the embodiment of the present invention will be described below with reference to FIG. With this product, important data is stored in the protected area (10) of the E 2 PROM (1) before attaching the decorative sheet (55) of the operation part (6) during the assembly work of the rice cooker. There is. still,
As the important data, there is a valve opening degree of the valve device (72) that must be maintained in order to make the gas burner (71) the reference heating power, and since this value is slightly different for each rice cooker to be assembled, Set for each rice cooker.

【0015】さて、上記化粧シート(55)を貼着しない状
態で透孔(57)から露出する操作軸(130) を図示しない作
業工具で押し込み、これにより、手動スイッチ(13)をO
N状態にして炊飯器に電源供給すると、 ROM(22)に格納
されたプログラムが実行され、先ず、図3のステップ(8
0)で手動スイッチ(13)の状態が調べられる。そして、手
動スイッチ(13)が「ON」操作されているときは、ステ
ップ(81)で変数Iを「0」にセットし、メモリ(66)に格
納されたデータをテーブル(MI)(E2PROM(1) のプロテク
トエリア(10)に確保されている)に格納する(ステップ
(82)参照)。そして、ステップ(83)で変数Iを「1」だ
け増加させた後、ステップ(84)で変数Iが格納データ数
Kに達したか否かを判断する。尚、上記格納データ数K
はE2PROM(1) のプロテクトエリア(10)に格納すべき重要
データの数である。
Now, the operation shaft (130) exposed from the through hole (57) in a state where the decorative sheet (55) is not attached is pushed in by a work tool (not shown), whereby the manual switch (13) is turned on.
When power is supplied to the rice cooker in the N state, the program stored in the ROM (22) is executed, and first, the step (8
0) checks the status of the manual switch (13). When the manual switch (13) is operated "ON", the variable I is set to "0" in the step (81), and the data stored in the memory (66) is stored in the table (MI) (E 2 Store in the protected area (10) of PROM (1) (step
(82)). Then, in step (83), the variable I is incremented by "1", and then in step (84) it is determined whether or not the variable I has reached the number K of stored data. The number of stored data K
Is the number of important data to be stored in the protected area (10) of the E 2 PROM (1).

【0016】上記変数Iが格納データ数K未満の場合
は、ステップ(85)で予約炊飯スイッチ(62)が投入される
まで待機する。そして、この待機中に作業者は時刻設定
ボタン(63)(63)で次にセットすべきデータをメモリ(66)
に設定し直し、その後、予約炊飯スイッチ(62)を投入す
る。すると、ステップ(82)に制御動作が戻され、メモリ
(66)に格納された新たなデータがE2PROM(1) のプロテク
トエリア(10)に確保されたテーブル(MI)に書き込まれ
る。
If the variable I is less than the stored data number K, the process waits until the reserved rice cooking switch (62) is turned on in step (85). Then, during this waiting, the worker sets the data to be set next with the time setting buttons (63) (63) in the memory (66).
Then, switch on the reserved rice cooking switch (62). Then, the control operation is returned to the step (82), and the memory is
The new data stored in (66) is written in the table (MI) secured in the protected area (10) of the E 2 PROM (1).

【0017】このようにして変数Iの値が格納データ数
Kに一致するまでプロテクトエリア(10)に確保されたテ
ーブル(MI)に重要データが書き込まれ、その後、ステッ
プ(84)からステップ(86)(88)に制御が移行し、予約炊飯
スイッチ(62)や通常炊飯スイッチ(61)の操作が監視され
る。上記データのセット作業が終了すると、操作部(6)
の化粧シート(55)を所定位置に貼着して炊飯器の組立て
作業を完了させる。
In this way, important data is written in the table (MI) secured in the protected area (10) until the value of the variable I matches the stored data number K, and then the steps (84) to (86). ) (88), and the operation of the reserved rice cooking switch (62) and the normal rice cooking switch (61) is monitored. When the work of setting the above data is completed, the operation unit (6)
The decorative sheet (55) is attached at a predetermined position to complete the rice cooker assembling work.

【0018】次に、炊飯動作の実際について説明する。
器具の購入者が図示しない電源プラグをコンセントに接
続して予約炊飯スイッチ(62)を投入すると、これが図3
のステップ(86)で判断され、メモリ(66)にセットされた
予約時刻を判断して炊飯動作が開始し(ステップ(87)(8
9)参照)、炊飯動作が完了した後はステップ(90)で保温
動作が実行される。
Next, the actual rice cooking operation will be described.
When the purchaser of the appliance connects the power plug (not shown) to the outlet and turns on the reserved rice cooking switch (62), this is shown in FIG.
The rice cooking operation is started by judging the reservation time set in the memory (66), which is determined in step (86) of step (87) (8).
9)), after the rice cooking operation is completed, the heat retaining operation is executed in step (90).

【0019】一方、通常炊飯スイッチ(61)が投入される
と、ステップ(88)からステプ(89)に制御動作が移行し、
直ちに炊飯動作とこれに続く保温動作が実行される。図
5に示す第2実施例のものは、E2PROM(1) のプロテクト
端子(12)と電源Vとの間にコネクタ(15)を挿入したもの
で、該コネクタ(15)の接続端子(150) (151)を短絡具(A)
で短絡させるようにしたものである。このものでは、
器具組立時又は検査時に上記短絡具(A) で接続端子(15
0) (151) を短絡させてE2PROM(1) のプロテクト端子(1
2)をアクティブ状態とし、この状態で器具に電源供給す
ると、炊飯器の電気回路を検査するテスター(B) の出力
に応じてE2PROM(1) のプロテクトエリア(10)にデータが
書き込まれたりこれが修正されたりできるようになって
いる。例えば、炎検知器(74)(ガスバーナ(71)の燃焼状
態を監視するもの)の出力を判断する比較器(79)のオフ
セット値をテスター(B) で検査する場合、該テスター
(B) の出力をマイコン(M) の入力ポート(23)に接続して
おくと、該テスター(B) が検知するオフセット値がマイ
コン(M) に読み込まれ、これにより、着火検知電圧等が
補正されてこれがE2PROM(1) のプロテクトエリア(10)に
格納されるようにプログラム処理されるのである。
On the other hand, when the normal rice cooking switch (61) is turned on, the control operation shifts from step (88) to step (89),
Immediately, the rice cooking operation and the subsequent heat retention operation are executed. In the second embodiment shown in FIG. 5, a connector (15) is inserted between the protect terminal (12) of the E 2 PROM (1) and the power supply V, and the connection terminal ( 150) (151) short-circuit tool (A)
It is a short circuit. In this one,
When assembling or inspecting equipment, use the above-mentioned shorting tool (A) to
0) (151) is short-circuited to protect the E 2 PROM (1) protect terminal (1
When 2) is activated and power is supplied to the appliance in this state, data is written to the protected area (10) of E 2 PROM (1) according to the output of the tester (B) that inspects the electric circuit of the rice cooker. Or this can be modified. For example, when checking the offset value of the comparator (79) that judges the output of the flame detector (74) (which monitors the combustion state of the gas burner (71)) with the tester (B),
If the output of (B) is connected to the input port (23) of the microcomputer (M), the offset value detected by the tester (B) will be read into the microcomputer (M), and the ignition detection voltage etc. will be read. It is corrected and programmed so that it is stored in the protected area (10) of the E 2 PROM (1).

【0020】尚、上記第2実施例では、コネクタ(15)の
接続端子(150) (151) を特別に用意した短絡具(A) で短
絡させるようにしたが、テスター(B) からリード線を引
き出してその先端に検査用コネクタを設け、該検査用コ
ネクタを上記コネクタ(15)に接続したときにプロテクト
端子(12)がアクティブ状態となるようにしても良い。
又、上記いずれの実施例でも本願発明を炊飯器に適用し
た場合を例示的に説明したが、本願発明は冷暖房器や給
湯器等の種々の機器の制御装置として利用できることは
言うまでもない。
In the second embodiment, the connection terminals (150) (151) of the connector (15) are short-circuited by the specially prepared short-circuit tool (A), but the tester (B) leads the lead wire. It is also possible to draw out and provide a test connector at the tip thereof so that the protect terminal (12) becomes active when the test connector is connected to the connector (15).
Further, in each of the above-described embodiments, the case where the present invention is applied to the rice cooker has been described as an example, but it goes without saying that the present invention can be used as a control device for various devices such as an air conditioner and a water heater.

【0021】図6に示す第3実施例は、CPU(20) ,RAM
(21) ,及びROM(22) 等を内蔵したワンチップ式のマイ
コン(M) にE2PROM(1) を外付けしたもので、E2PROM(1)
から引き出したデータ入力線(36)、データ出力線(37)、
及び、プロテクト監視線(39)等がマイコン(M) のシリア
ル通信ポートに接続されている。又、通信動作の同期を
取る為のクロックはクロック線(38)を介してマイコン
(M) からE2PROM(1) に送信されるようになっていると共
に、E2PROM(1) のプロテクト端子(12)には手動スイッチ
(13)の操作信号が印加されるようになっている。更に、
マイコン(M) には、既述した弁装置(72)や点火装置(73)
等の負荷駆動回路(48)(例えば弁装置(72)を構成する電
磁弁を開閉制御する回路等)が接続されている。
The third embodiment shown in FIG. 6 is a CPU (20) and a RAM.
(21), ROM (22) and other built-in one-chip microcomputer (M) with E 2 PROM (1) externally attached. E 2 PROM (1)
Data input line (36), data output line (37),
Also, the protection monitoring line (39) and the like are connected to the serial communication port of the microcomputer (M). Also, the clock for synchronizing the communication operation is the microcomputer via the clock line (38).
Together is adapted to be sent to the E 2 PROM (1) from (M), the manual switch is protected terminal (12) of the E 2 PROM (1)
The operation signal of (13) is applied. Furthermore,
The microcomputer (M) includes the valve device (72) and the ignition device (73) described above.
And a load drive circuit (48) such as a circuit (for example, a circuit that controls opening / closing of a solenoid valve that constitutes the valve device (72)).

【0022】このものでは、E2PROM(1) のプロテクトエ
リア(10)及び非プロテクトエリア(11)に格納されたデー
タはデータ入力線(36)を介してマイコン(M) に読み込ま
れる。又、マイコン(M) は手動スイッチ(13)のON操作
をプロテクト監視線(39)で監視し、該手動スイッチ(13)
がON操作されたときにはデータ出力線(37)からE2PROM
(1) 内のプロテクトエリア(10)に重要データを書き込
む。
In this case, the data stored in the protected area (10) and the non-protected area (11) of the E 2 PROM (1) is read by the microcomputer (M) via the data input line (36). Further, the microcomputer (M) monitors the ON operation of the manual switch (13) with the protection monitor line (39), and the manual switch (13)
When is turned on, the data output line (37) outputs E 2 PROM
Write important data to the protected area (10) in (1).

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

【図1】本発明実施例の炊飯器の正面図FIG. 1 is a front view of a rice cooker according to an embodiment of the present invention.

【図2】操作部(6) 近傍の拡大断面図[Fig. 2] Enlarged cross-sectional view near the operation part (6)

【図3】制御プログラムを説明するフローチャートFIG. 3 is a flowchart illustrating a control program.

【図4】制御回路図FIG. 4 is a control circuit diagram

【図5】第2実施例の説明図FIG. 5 is an explanatory view of a second embodiment.

【図6】第3実施例の説明図FIG. 6 is an explanatory diagram of the third embodiment.

【図7】従来例の説明図FIG. 7 is an explanatory diagram of a conventional example.

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

(12)・・・プロテクト端子 (20)・・・ CPU (10)・・・プロテクトエリア (11)・・・非プロテクトエリア (1) ・・・E2PROM(12) ・ ・ ・ Protect terminal (20) ・ ・ ・ CPU (10) ・ ・ ・ Protected area (11) ・ ・ ・ Unprotected area (1) ・ ・ ・ E 2 PROM

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 プロテクト端子(12)をアクティブ状態と
したときにのみ CPU(20)からプロテクトエリア(10)への
データの書き込みが許容されるE2PROM(1) を有するマイ
クロコンピュータ式制御装置のデータ書き込み方法に於
いて、プロテクトエリア(10)へのデータの書き込み時に
はプロテクト端子(12)を手動でアクティブ状態とするよ
うにしたマイクロコンピュータ式制御装置のデータ書き
込み方法。
1. A microcomputer type control device having an E 2 PROM (1) which allows writing of data from a CPU (20) to a protected area (10) only when a protect terminal (12) is activated. The data writing method of the microcomputer type control device in which the protect terminal (12) is manually activated when writing the data to the protected area (10).
【請求項2】 プロテクト端子(12)をアクティブ状態と
したときにのみCPU(20)からプロテクトエリア(10)への
データの書き込みが許容されるE2PROM(1) を有するマイ
クロコンピュータ式制御装置に於いて、プロテクト端子
(12)に手動スイッチ(13)を接続し、該手動スイッチを操
作したときにのみ前記プロテクト端子(12)がアクティブ
状態となるようにしたマイクロコンピュータ式制御装
置。
2. A microcomputer type control device having an E 2 PROM (1) which allows writing of data from the CPU (20) to the protected area (10) only when the protect terminal (12) is activated. At the protect terminal
A microcomputer type control device in which a manual switch (13) is connected to (12) and the protect terminal (12) is activated only when the manual switch is operated.
【請求項3】 プロテクト端子(12)をアクティブ状態と
したときにのみCPU(20)からプロテクトエリア(10)への
データの書き込みが許容されるE2PROM(1) を有するマイ
クロコンピュータ式制御装置に於いて、プロテクト端子
(12)に繋がる接続端子(151) と、電源に繋がる接続端子
(150) を設け、これら一対の接続端子(150) (151) を短
絡させた場合にのみ前記プロテクト端子(12)がアクティ
ブ状態となるようにしたマイクロコンピュータ式制御装
置。
3. A microcomputer type control device having an E 2 PROM (1) which allows writing of data from the CPU (20) to the protected area (10) only when the protect terminal (12) is in an active state. At the protect terminal
Connection terminal (151) connected to (12) and connection terminal connected to the power supply
A microcomputer type control device provided with (150) so that the protect terminal (12) becomes active only when the pair of connection terminals (150) (151) are short-circuited.
JP664195A 1995-01-19 1995-01-19 Data writing method for microcomputer type controller and controller therefor Pending JPH08194646A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP664195A JPH08194646A (en) 1995-01-19 1995-01-19 Data writing method for microcomputer type controller and controller therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP664195A JPH08194646A (en) 1995-01-19 1995-01-19 Data writing method for microcomputer type controller and controller therefor

Publications (1)

Publication Number Publication Date
JPH08194646A true JPH08194646A (en) 1996-07-30

Family

ID=11644001

Family Applications (1)

Application Number Title Priority Date Filing Date
JP664195A Pending JPH08194646A (en) 1995-01-19 1995-01-19 Data writing method for microcomputer type controller and controller therefor

Country Status (1)

Country Link
JP (1) JPH08194646A (en)

Similar Documents

Publication Publication Date Title
US8485137B2 (en) Combustion control device
US5549469A (en) Multiple burner control system
US5538416A (en) Gas burner controller with main valve delay after pilot flame lightoff
US6737614B2 (en) Method of checking a device for influencing the temperature in the cooking space of a baking oven and corresponding baking oven
JPH08194646A (en) Data writing method for microcomputer type controller and controller therefor
US6439878B1 (en) Apparatus for controlling combustion device
KR100500554B1 (en) Combustion apparatus
JP2753957B2 (en) rice cooker
JP2688821B2 (en) Control circuit function inspection method
EP0636954A1 (en) An electronic control board for boilers
JP3611352B2 (en) Combustion equipment inspection system and combustion equipment and data introduction device constituting the system
JP3336222B2 (en) Combustion device and its failure diagnosis method
JP3455325B2 (en) Failure diagnosis method for gas equipment
JPH08196423A (en) Rice cooker
KR930010390B1 (en) Error code display device for abnomality or the like of instrument
JP2675508B2 (en) Heating equipment
JPH0436540A (en) Control device for hot water device
JP3499185B2 (en) Failure diagnosis device and failure diagnosis method for gas equipment system
JPH035620A (en) Combustion controller
JP3234401B2 (en) Combustion device and condition monitor memory device detachable from the device
JPS6371299A (en) Control apparatus of clothing dryer
JP3688435B2 (en) Combustion equipment
JP3611354B2 (en) Combustion equipment inspection method, combustion equipment inspection system, and combustion equipment and inspection apparatus constituting the system
JPH0311227A (en) Abnormal mode display device in gas combustion equipment
JPH03188502A (en) Device controller