JPH02189694A - Microcomputer - Google Patents

Microcomputer

Info

Publication number
JPH02189694A
JPH02189694A JP1009024A JP902489A JPH02189694A JP H02189694 A JPH02189694 A JP H02189694A JP 1009024 A JP1009024 A JP 1009024A JP 902489 A JP902489 A JP 902489A JP H02189694 A JPH02189694 A JP H02189694A
Authority
JP
Japan
Prior art keywords
microcomputer
volatile memory
nonvolatile memory
information
voltage
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
JP1009024A
Other languages
Japanese (ja)
Inventor
Minoru Abe
稔 阿部
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP1009024A priority Critical patent/JPH02189694A/en
Publication of JPH02189694A publication Critical patent/JPH02189694A/en
Pending legal-status Critical Current

Links

Landscapes

  • Microcomputers (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は不揮発性のメモリを備えたマイクロコンピュー
タに関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a microcomputer equipped with a nonvolatile memory.

〔従来の技術〕[Conventional technology]

第2図は少くとも電気的に書き換え可能な不揮発性のメ
モリーを内蔵した従来のマイクロコンピュータのブロッ
ク図である。
FIG. 2 is a block diagram of a conventional microcomputer that includes at least an electrically rewritable nonvolatile memory.

図において、(1)は不揮発性のメモリ、(2)は不揮
発性のメモリ(1)に少くとも書き込みを行うための書
き込み手段、(3)は不揮発性のメモリ(1)に情報を
書き込むために必要な電圧を発生する為の昇圧手段、で
ある。
In the figure, (1) is a nonvolatile memory, (2) is a writing means for writing at least to the nonvolatile memory (1), and (3) is for writing information to the nonvolatile memory (1). This is a step-up means for generating the voltage necessary for.

次に動作について説明する。従来のマイクロコンピュー
タの不揮発性のメモリはデータ等の一時保持データの記
憶の他、マイクロコンピュータのシーケンスを決定する
命令や定数も記憶している。
Next, the operation will be explained. The nonvolatile memory of a conventional microcomputer stores not only temporarily held data such as data but also instructions and constants that determine the sequence of the microcomputer.

この不揮発性のメモリはデータを一時保持する目的に用
いるため、メモリの内容の書き換えをマイクロコンピュ
ータ自身で行える様に、不揮発性のメモリ(1)に情報
を書き込むために必要な電圧を発生する為の昇圧手段(
3)を有している。この昇圧手段(3)により発生する
電圧を用いて不揮発性のメモリ(1)に情報を書き込む
Since this non-volatile memory is used to temporarily hold data, the microcomputer generates the voltage necessary to write information to the non-volatile memory (1) so that the microcomputer itself can rewrite the contents of the memory. Boosting means (
3). Information is written into the nonvolatile memory (1) using the voltage generated by the boosting means (3).

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来のマイクロコンピュータは以上のように構成されて
いたので、外部のノイズ等で誤動作をした場合に本来内
容が書きかわってはいけない部分。
Conventional microcomputers were configured as described above, so the contents should not be rewritten in the event of a malfunction due to external noise, etc.

すなワチ、マイクロコンピュータの動作すなわちシーケ
ンスを決定する命令や定数を記憶している部分の情報が
書きかわることが発生し、こうした状態が発生した場合
、たとえ、マイクロコンピュータのリセットをかけ直し
たとしても、2度と正常なシーケンスでは動作しないと
いう問題点があった。
In other words, the information in the part that stores the instructions and constants that determine the operation of the microcomputer, that is, the sequence, may be rewritten, and if this situation occurs, even if the microcomputer is reset, However, there was a problem that it would never work in the normal sequence again.

本発明は上記のような問題点を解決するためになされた
もので、マイクロコンピュータが暴走した場合にも、書
き換えを望まないデータすなわち、動作を決定する命令
や定数などに望まない書き換えが発生しない不揮発性の
メモリを内蔵したマイクロコンピュータを得ることを目
的とする。
The present invention has been made to solve the above-mentioned problems, and even if the microcomputer goes out of control, undesired data such as instructions and constants that determine operations will not be rewritten. The purpose is to obtain a microcomputer with built-in nonvolatile memory.

〔課題を解決するための手段〕[Means to solve the problem]

本発明に係るマイクロコンピュータは書き換えを望まな
いデータすなわち、動作を決定する命令や定数などの記
憶を保持する不揮発性のメモリを、−時保持するデータ
を保持する不揮発性のメモリと違い、情報を書き込むた
めに必要な電圧を外部から加えなければならない様にし
たものである。
The microcomputer according to the present invention uses a non-volatile memory that stores data that is not desired to be rewritten, such as commands and constants that determine operations. The voltage required for writing must be applied externally.

一方、−時保持するデータを保持する不揮発性のメモリ
部分は従来と同様の昇圧手段によって書き込みが行われ
る。
On the other hand, writing is performed on the nonvolatile memory portion that holds the data held at - time by a boosting means similar to the conventional one.

〔作用〕[Effect]

本発明におけるマイクロコンピュータはたとえ外部から
のノイズにより暴走等の誤動作に陥ってもマイクロコン
ピュータの動作を決定する命令や定数などを記憶してい
る不揮発性のメモリは、情報の書き換えに必要な電圧を
発生する昇圧手段に接続されておらず、外部からの電圧
を印加しない限りにおいては、情報の書きかえは発生し
ない。
Even if the microcomputer of the present invention suffers from a malfunction such as runaway due to external noise, the non-volatile memory that stores instructions and constants that determine the operation of the microcomputer will maintain the voltage necessary to rewrite the information. As long as it is not connected to the voltage boosting means that generates the voltage and no external voltage is applied, rewriting of information will not occur.

−時保持のデータを記憶する不揮発性のメモリは情報の
書き換えに必要な電圧が昇圧手段により印加しうろこと
も考えられ、データの書きかえが発生することもありう
る。しかし、書きかえを望まないデータには望まない書
きかえが発生しないので、リセットをかけ直した場合に
正常な動作に復帰する。
It is conceivable that the voltage necessary for rewriting the information may be applied by a booster to a nonvolatile memory that stores data held at - time, and data rewriting may occur. However, since undesired rewriting will not occur to data that is not desired to be rewritten, normal operation will be restored if the reset is applied again.

〔実施例〕〔Example〕

以下、本発明の一実施例を図について説明する〇第1図
は本発明の一実施例を示すマイクロコンピュータのブロ
ック図で、図中符号(1)〜(3)は前記従来のものと
同一のものである。図において、(4)は第1の不揮発
性のメモリ(1)とは別沓こ設けられた第2の不揮発性
のメモリ、(5)は第2の不揮発性のメモリ(4)への
第2の書き込み手段、(6)は第2の不揮発性のメモリ
(4)に情報を書き込むために必要な電圧を外部より入
力する為の入力手段である。
An embodiment of the present invention will be explained below with reference to the drawings.〇Figure 1 is a block diagram of a microcomputer showing an embodiment of the present invention, and the symbols (1) to (3) in the figure are the same as those of the conventional one. belongs to. In the figure, (4) is a second non-volatile memory provided separately from the first non-volatile memory (1), and (5) is a second non-volatile memory (4). The writing means 2 (6) is an input means for externally inputting the voltage necessary for writing information into the second non-volatile memory (4).

次1こ動作について説明する。−時保持のデータを第1
の不揮発性のメモリ(1)に記憶し、マイクロコンピュ
ータの動作を決定する命令や定数は第2の不揮発性のメ
モリ(4)に記憶する。通常の動作時は昇圧手段(3)
によって発生した電圧と第1の書き込み手段(2)とに
より、第1の不揮発性のメモリ(1)の−時保持のデー
タを書き込むことができる。必要時以外は書きかえを望
まないマイクロコンピュータの命令や定数は、情報の書
き込みに必要な電圧を必要なときのみ、入力手段(6)
に印加して書き換えを行なう。
The next operation will be explained. - Time-keeping data first
The second non-volatile memory (4) stores instructions and constants that determine the operation of the microcomputer. During normal operation, boosting means (3)
By using the voltage generated by the voltage and the first writing means (2), it is possible to write the data held at - in the first non-volatile memory (1). For microcomputer instructions and constants that should not be rewritten except when necessary, input means (6) is used to input the voltage necessary for writing information only when necessary.
is applied to perform rewriting.

マイクロコンピュータの外部よりのノイズ等により暴走
等の誤動作に陥った場合に、第2の不揮発のメモリ(4
)の内容の誤まった情報の書き込み動作が発生したとし
ても、外部より必要な電圧の印加がないと情報が書き込
まれることはない。
If a malfunction such as runaway occurs due to noise from the outside of the microcomputer, the second non-volatile memory (4
) Even if a write operation of incorrect information occurs, the information will not be written unless the necessary voltage is applied from the outside.

また、暴走してもマイクロコンピュータの動作を決定す
る命令や定数などを変えることがない為、リセットをか
け直すことにより正常な動作に復帰することが可能とな
る。
In addition, even if the microcomputer goes out of control, the instructions and constants that determine the operation of the microcomputer are not changed, so it is possible to return to normal operation by resetting the microcomputer.

〔発明の効果〕〔Effect of the invention〕

以上のように本発明によれば、次に記載される様な効果
を奏する。
As described above, according to the present invention, the following effects are achieved.

外来ノイズ等により、マイクロコンピュータが暴走等の
誤動作に陥っても、動作を決定する命令や定数などの重
要なデータを破壊することが決してない。
Even if the microcomputer malfunctions such as runaway due to external noise, important data such as instructions and constants that determine operation will never be destroyed.

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

第1図はこの発明の一実施例を示すマイクロコンピュー
タのブロック図、第2図は従来のマイクロコンピュータ
のブロック図である。 図において、(1)は第1の不揮発性のメモリ、(2)
は第1の書き込み手段、(3)は昇圧手段、(4)は第
2の不揮発性のメモリ、(5)は第2の書き込み手段、
(6)は入力手段である。 なお、図中、同一符号は同一、又は相当部分を示す。
FIG. 1 is a block diagram of a microcomputer showing an embodiment of the present invention, and FIG. 2 is a block diagram of a conventional microcomputer. In the figure, (1) is the first non-volatile memory, (2)
is the first writing means, (3) is the boosting means, (4) is the second non-volatile memory, (5) is the second writing means,
(6) is an input means. In addition, in the figures, the same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims]  単一の半導体チップ上に形成された半導体装置で少く
とも電気的に書き込みおよび消去可能な第1の不揮発性
のメモリ、この第1の不揮発性のメモリに情報を書き込
むために必要な電圧を発生する昇圧手段、少くとも電気
的に書き込みおよび消去可能な第2の不揮発性のメモリ
、この第2の不揮発性のメモリに情報を書き込むために
必要な電圧を外部より入力する為の入力手段を備え、か
つ前記の第2の不揮発性のメモリに情報を書き込むため
の昇圧手段を備えていないことを特徴とするマイクロコ
ンピュータ。
a first non-volatile memory that can be electrically written and erased at least by a semiconductor device formed on a single semiconductor chip; generating a voltage necessary to write information to the first non-volatile memory; a second nonvolatile memory that can be electrically written and erased; and an input means for externally inputting a voltage necessary for writing information to the second nonvolatile memory. A microcomputer characterized in that it does not include boosting means for writing information into the second nonvolatile memory.
JP1009024A 1989-01-18 1989-01-18 Microcomputer Pending JPH02189694A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1009024A JPH02189694A (en) 1989-01-18 1989-01-18 Microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1009024A JPH02189694A (en) 1989-01-18 1989-01-18 Microcomputer

Publications (1)

Publication Number Publication Date
JPH02189694A true JPH02189694A (en) 1990-07-25

Family

ID=11709089

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1009024A Pending JPH02189694A (en) 1989-01-18 1989-01-18 Microcomputer

Country Status (1)

Country Link
JP (1) JPH02189694A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6941479B1 (en) * 1999-11-10 2005-09-06 Canon Kabushiki Kaisha Electronic apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6941479B1 (en) * 1999-11-10 2005-09-06 Canon Kabushiki Kaisha Electronic apparatus

Similar Documents

Publication Publication Date Title
JP2514954B2 (en) IC card
JPS59162695A (en) Storage device
JP4146006B2 (en) Electronic device having flash memory
US7478207B2 (en) Control system with a write filter for protection of data
JPS61249156A (en) semiconductor storage device
JP3750494B2 (en) Semiconductor device
JPH03158184A (en) Sewing machine operated according to control program
JPH022435A (en) Semiconductor non-volatile memory device
JPS62289999A (en) Data writing method
JPH04243427A (en) Information processing system
JPH0728707A (en) Nonvolatile memory data protection method
JPS6331093A (en) Personal computer
JPH04283837A (en) Program loading method
JPH01188967A (en) Semiconductor device
JPS60196865A (en) Backup memory circuit
JPS61138349A (en) Microprogram control type input/output processor
JPH03272095A (en) Semiconductor memory
JPH08147989A (en) Non-volatile memory writing circuit
JPH01116854A (en) Memory read error preventing system
JPS63158682A (en) IC card
JPH04310698A (en) Memory ic
JPH05120891A (en) Semiconductor storage device
JPS62150595A (en) Semiconductor device
JPS61163423A (en) Processing equipment powered by memory backup
JPH04137080A (en) Ic memory card