JPH0249300A - Microcomputer incorporated with eeprom - Google Patents
Microcomputer incorporated with eepromInfo
- Publication number
- JPH0249300A JPH0249300A JP63200646A JP20064688A JPH0249300A JP H0249300 A JPH0249300 A JP H0249300A JP 63200646 A JP63200646 A JP 63200646A JP 20064688 A JP20064688 A JP 20064688A JP H0249300 A JPH0249300 A JP H0249300A
- Authority
- JP
- Japan
- Prior art keywords
- data
- eeprom
- information data
- read
- memory cell
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Read Only Memory (AREA)
- For Increasing The Reliability Of Semiconductor Memories (AREA)
Abstract
Description
【発明の詳細な説明】
〔概要〕
EEPROM内蔵マイクロコンピュータ、特にE E
P ROM (Electrically Erasa
ble Program−able Read 0nl
y Memory)に書き込んだ情報データの内容保持
に関し、
該EEPROMに初期に記憶した情報データの経時変化
を防止して、該情報データのデータリテンションを発生
する以前に、再書き込み処理をして、常に初期に記憶し
た情報データを保持することを目的とし、
データを処理するデータ処理部と、
アドレス信号、データ信号、リード/ライト信号及び割
り込み要求信号からなる制御線を介してデータ処理部に
接続され、かつ書き込みデータを電気的に消去、又は書
き込み可能なEEPROMと、
前記EEPROMの記憶内容の消失を防止する記憶内容
検出手段とを具備し、
前記記憶内容検出手段の記憶内容が劣化していると、全
てのEEPROMの記憶内容を再書き込みをすることを
含み構成する。[Detailed Description of the Invention] [Summary] Microcomputer with built-in EEPROM, especially EEPROM
P ROM (Electrically Eraser
ble Program-able Read 0nl
Regarding the retention of the information data written in the EEPROM, the information data initially stored in the EEPROM is prevented from changing over time, and the information data is rewritten before data retention occurs, so that the information data is always maintained. The purpose is to hold the information data stored initially, and the data processing section is connected to the data processing section through a control line consisting of an address signal, a data signal, a read/write signal, and an interrupt request signal. and an EEPROM in which written data can be electrically erased or written, and a storage content detection means for preventing the storage content of the EEPROM from disappearing, and when the storage content of the storage content detection unit is deteriorated. , including rewriting the storage contents of all EEPROMs.
本発明は、EEPROM内蔵マイクロコンピュータに関
するものであり、更に詳しく言えば、EE F ROM
(Electrically !Erasable
ProgramableRead 0nly Memo
ry)に書き込んだデータ内容の保持に関するものであ
る。The present invention relates to a microcomputer with a built-in EEPROM, and more specifically, the present invention relates to a microcomputer with a built-in EEPROM.
(Electrically! Erasable
ProgrammableRead 0nly Memo
This relates to the retention of the data contents written in ry).
近年、EPROMやEEPROM(消去可能な読み出し
専用記憶装置)を内蔵するマイクロコンピュータがIC
カード等に多く組み込まれている。In recent years, microcomputers with built-in EPROMs and EEPROMs (erasable read-only storage devices) have become ICs.
It is often incorporated into cards, etc.
しかし、ユーザの使用態様によっては、−度データをメ
モリセルに書き込んだ後は、長い期間書き込み処理を行
わない場合があり、EEPROMやEPROMではデー
タ保持特性が信転性の向上に大きく影響する。However, depending on the usage mode of the user, there are cases where the writing process is not performed for a long period of time after the -degree data is written into the memory cell, and in EEPROMs and EPROMs, data retention characteristics greatly affect reliability improvement.
そこで、データのリテンション(反転)を防止する機能
付のEEPROM内蔵マイクロコンピュータの要求があ
る。Therefore, there is a demand for a microcomputer with a built-in EEPROM that has a function to prevent data retention (inversion).
第7図は従来例に係るEEPROM内蔵マイクロコンビ
ュークを説明する図である。FIG. 7 is a diagram illustrating a conventional microcomputer with built-in EEPROM.
同図(a)はEEPROM内蔵マイクロコンピュータの
簡易構成図であり、1はICカード等に組み込まれるE
EPROM内蔵マイクロコンピュータ、2は与えられた
データを処理するCPU(中央処理装置)、3は書き込
みデータを電気的に消去したり、プログラムしたりする
ことが可能なEEPROMである。また、4はアドレス
信号5はデータ信号、6はリード/ライト信号、7はE
EPROM3によるデータ書き込み処理中に、CPU2
に割り込みを要求する割り込み要求信号8はユーザの情
報データを入力する外部データ入力線、9は制御線であ
る。Figure (a) is a simple configuration diagram of a microcomputer with a built-in EEPROM, and 1 is an EEPROM built-in microcomputer.
A microcomputer with a built-in EPROM, 2 a CPU (central processing unit) that processes given data, and 3 an EEPROM in which written data can be electrically erased or programmed. Also, 4 is an address signal, 5 is a data signal, 6 is a read/write signal, and 7 is an E
During the data writing process by EPROM3, CPU2
An interrupt request signal 8 for requesting an interrupt is an external data input line for inputting user information data, and 9 is a control line.
このような構成であるとき、情報データをEEPROM
3に書き込み処理する場合、CPUIはEEPROM3
にリードライト信号6を送信し、EEPROM3にアド
レス信号4と、データ信号5とを入力する。これにより
、同図(b)に示すEEPROMのメモリセル内では、
トランジスタQl!のフローティングゲー)FCに電荷
が蓄積されて、指定番地(アドレス)にデータが格納さ
れる。When such a configuration is used, the information data is stored in the EEPROM.
When writing to EEPROM 3, the CPU
A read/write signal 6 is transmitted to the EEPROM 3, and an address signal 4 and a data signal 5 are input to the EEPROM 3. As a result, in the EEPROM memory cell shown in FIG.
Transistor Ql! Charge is accumulated in the FC (floating gate), and data is stored at a designated address.
0Mのメモリセルに一度情報データを書き込んだ後は、
長い期間(例えば数年間)書き込み処理を行わない場合
がある。Once information data is written to the 0M memory cell,
Write processing may not be performed for a long period of time (for example, several years).
このため、経時的にトランジスタQ +3のフローティ
ングゲートに蓄積された電荷が何らかの原因で容量波は
現象を起こし、チャネルを反転させることがある。これ
により、データリテンション(データ化け)を起こした
り、誤読み出しをしたりして、データ保持特性が悪くな
るという問題がある。Therefore, for some reason, charges accumulated in the floating gate of transistor Q+3 over time may cause a capacitive wave phenomenon, which may invert the channel. This causes problems such as data retention (data corruption) and erroneous reading, resulting in poor data retention characteristics.
本発明は、かかる従来例の課題に鑑み創作されたもので
あり、巳EPROMに初期に記憶した情報データの経時
変化を防止して、該情報データのデータリチンシコンを
発生する以前に、再書き込み処理をして、常に初期に記
憶した情報データを保持することを可能とするEEPR
OM内蔵マイクロコンピュータの提供を目的とする。The present invention was created in view of the problems of the conventional example, and prevents the information data initially stored in the EPROM from changing over time, and rewrites the information data before data rewriting occurs. EEPR that allows processing and always retaining initially stored information data
The purpose is to provide a microcomputer with built-in OM.
従って、ユーザの使用a様等により、EBPRCtIl
!!を解決するための手段〕
本発明のEEPROM内蔵マイクロコンビュー夕は、そ
の原理図を第1図に、その一実施例を第2〜7図に示す
ように、該マイクロコンピュータの構成をデータを処理
するデータ処理部11と、アドレス信号Ad d、デー
タ信号Data、 リード/ライト信号R/W及び割
り込み要求信号PSからなる制御線BUSを介してデー
タ処理部11に接続され、かつ書き込みデータを電気的
に消去、又は書き込み可能なEEPROMI 2と、前
記EEPROMI 2の記憶内容の消失を防止する記憶
内容検出手段13とを具備し、前記記憶内容検出手段1
3の記憶内容が劣化していると、全てのEEPROMI
2の記憶内容を再書き込みをすることを特徴とし、
前記記憶内容検出手段13が、EEPROMI2よりも
記憶性能を劣化させた専用メモリセル131と、読み出
し制御線R3を介して該専用メモリセル131に接続さ
れるチエツク電圧発生部132から成ることを特徴とし
、
また、前記記憶内容検出手段13が、EEPROMI2
の一部又は全セルから引出される読み出し制?IvAR
sに、読み出し検出電圧E0と通常読み出し電圧Eとを
供給する電圧発生制御回路133と、付属処理回路19
.20から成り、読み出し電圧条件を変更することを特
徴とし、上記目的を達成する。Therefore, due to user a etc., EBPRCtIl
! ! [Means for Solving the Problems] The microcomputer with built-in EEPROM of the present invention is based on data on the configuration of the microcomputer, as shown in FIG. 1 for its principle and as shown in FIGS. The data processing unit 11 to be processed is connected to the data processing unit 11 via a control line BUS consisting of an address signal Add, a data signal Data, a read/write signal R/W, and an interrupt request signal PS, and is electrically connected to the data processing unit 11 for writing data. EEPROMI 2 that can be automatically erased or written to, and memory content detection means 13 that prevents the memory content of the EEPROMI 2 from disappearing, the memory content detection means 1
If the memory contents of 3 have deteriorated, all EEPROMI
The memory content detecting means 13 rewrites the memory contents of EEPROM I2, and the memory content detecting means 13 writes data to the dedicated memory cell 131 whose storage performance is worse than that of the EEPROMI2 and to the dedicated memory cell 131 via the read control line R3. It is characterized in that it consists of a check voltage generation section 132 connected to the EEPROM 2, and the memory content detection means 13 is
Read system drawn from some or all cells? IvAR
s, a voltage generation control circuit 133 that supplies a read detection voltage E0 and a normal read voltage E, and an attached processing circuit 19.
.. 20, which is characterized by changing the read voltage conditions, and achieves the above object.
本発明のマイクロコンピュータによれば、EEPROM
I2の記憶内容の消失を防止する記憶内容検出手段13
を設けている。According to the microcomputer of the present invention, the EEPROM
Memory content detection means 13 for preventing loss of memory content of I2
has been established.
コノタメ、予め、EEPROMI2に比ヘテ、記憶性能
を劣化させた専用メモリセル131に、該EEPROM
12と同様に情報データを書き込み処理をし、例えばプ
ログラムやソフトウェア処理方法により、データ処理手
段11を介して、定期的に専用メモリセル131の情報
データを読み出し処理をし、データリテンション(デー
タ化け)等の異常があれば、データ処理部11に割り込
み要求をし、EEPROMI2の全てのメモリセルにつ
いて初期に記憶した情報データの再書き込み処理をする
ことが可能となる。Konotame has previously added the EEPROM to the dedicated memory cell 131, which has degraded storage performance compared to EEPROMI2.
The information data is written in the same way as in step 12, and the information data in the dedicated memory cell 131 is read out periodically through the data processing means 11 using a program or software processing method, for example, to prevent data retention (data garbled). If there is an abnormality such as that, an interrupt request is made to the data processing unit 11, and it becomes possible to rewrite the information data initially stored in all memory cells of the EEPROMI2.
これにより、常に初期に記憶した、かつ高信頬度の情報
データを保持することが可能となる。This makes it possible to always retain initially stored and highly reliable information data.
また本発明によれば、記憶内容検出手段13がメモリ空
間の一部又は全てを対象とし、その読み出し電圧条件を
変更している。Further, according to the present invention, the storage content detection means 13 targets part or all of the memory space and changes the read voltage conditions.
このため、EEPROMI 2のデータリテンションを
起こし始めたメモリセルについて、記憶保持状態をチエ
ツクすることができる。Therefore, it is possible to check the memory retention state of memory cells in EEPROMI 2 that have started to cause data retention.
これにより、情報データの読み出しが困難であったり、
データリテンションを起こし始めていた場合は、cpu
itに割り込みを要求し、EEPROMI2の全セルに
ついて再書き込み処理をし、初期に記憶したデータを保
持することが可能となる。This may make it difficult to read information data, or
If data retention is starting to occur, the CPU
It becomes possible to request an interrupt to it, perform rewriting processing on all cells of EEPROMI2, and retain the initially stored data.
次に図を参照しながら本発明の実施例について説明をす
る。Next, embodiments of the present invention will be described with reference to the drawings.
第2〜7図は、本発明の実施例に係るEEPR0M内蔵
マイクロコンピュータを説明する図であり、第2図は、
本発明の各実施例に係る記憶内容検出手段を説明する図
を示している。2 to 7 are diagrams for explaining an EEPR0M built-in microcomputer according to an embodiment of the present invention, and FIG.
4 is a diagram illustrating storage content detection means according to each embodiment of the present invention. FIG.
図において、131はEEPROMの記憶内容保持のイ
ンジケーターとなる専用メモリセル(チエツク用メモリ
セル)であり、ワード線Wlに接続されるセレクトゲー
トSGを有するMOS)ランジスタQ、と、読み出し制
御線R3に接続されるコントロールゲートCG及びフロ
ーティングゲ−)FCを有するMOS)ランジスタQ、
とにより構成さている。In the figure, 131 is a dedicated memory cell (check memory cell) that serves as an indicator for retaining the stored contents of the EEPROM, and is connected to a MOS transistor Q having a select gate SG connected to a word line Wl, and a read control line R3. a MOS transistor Q having a control gate CG and a floating gate FC connected;
It is composed of
また、122は通常読み出し電圧(2〜2.5(V)程
度)を発生する定電圧発生部、132は読み出し検出電
圧を発生するチエツク電圧発生部である。なお、Q、、
Q−はスイッチングトランジスタであり、Q、はインバ
ータである。また、R3は読み出し検出電圧を伝送する
読み出し制御線である。Further, 122 is a constant voltage generator that generates a normal read voltage (about 2 to 2.5 (V)), and 132 is a check voltage generator that generates a read detection voltage. In addition, Q...
Q- is a switching transistor, and Q is an inverter. Further, R3 is a read control line that transmits a read detection voltage.
その動作は、EEPROMI2の読み出し動作と同様で
あるが、チエツク命令信号線C1にrH。The operation is similar to the read operation of EEPROMI2, but rH is applied to the check command signal line C1.
が入力されると、インバータQsを介してトランジスタ
Q1が0FFL、定電圧発生部の読み出し電圧の供給が
遮断され、チエツク電圧発生部132の読み出し電圧が
読み出し制御線R3を介して、トランジスタQ4のコン
トロールゲートCGに人力され、フローティングゲート
FCに蓄積された電荷、Oチャージに電界が関与され、
トランジスタQ4が「ON」し、トランジスタQ、のセ
レクトゲートSGがr HJになると共にビット線Bl
に情報データ「0」又は「IJが読み出される。When inputted, the transistor Q1 goes to 0FFL through the inverter Qs, the supply of the read voltage to the constant voltage generator is cut off, and the read voltage from the check voltage generator 132 goes through the read control line R3 to control the transistor Q4. The electric field is involved in the charge and O charge that are manually applied to the gate CG and accumulated in the floating gate FC,
Transistor Q4 turns ON, select gate SG of transistor Q becomes rHJ, and bit line Bl
Information data “0” or “IJ” is read out.
このとき、予め専用メモリセル131のトランジスタQ
4のメモリ性能は、通常のEEPROMI2のメモリセ
ルより劣化させている。At this time, the transistor Q of the dedicated memory cell 131 is
The memory performance of No. 4 is worse than that of the normal EEPROMI2 memory cell.
これ等により、通常のEEPROMI 2の記憶内容の
消失を防止する記憶内容検出手段が構成され、次に通常
のEEPROMI2のメモリセルより劣化させる方法に
ついて説明をする。These constitute a storage content detection means that prevents the storage contents of the normal EEPROMI 2 from disappearing.Next, a method for making the memory cells of the normal EEPROMI 2 deteriorate more will be explained.
一般に、電荷(データ)の保持能力は、EEPROMの
メモリセル加わる電界によって、フローティングゲート
FGにチャージされた電荷の移動難易度で決定される。Generally, the charge (data) retention ability is determined by the difficulty of moving the charges charged in the floating gate FG by the electric field applied to the memory cell of the EEPROM.
このため、保持能力は、コントロールゲートCGに印加
する電界強度に大きく影響される。Therefore, the holding ability is greatly influenced by the electric field strength applied to the control gate CG.
従って、本発明の実施例に係る専用メモリセル131は
通常のEEPROMI2のメモリセルもトランジスタQ
4のコントロールゲートCGに印加する電界を強くする
ことにより記憶性能を劣化させることができる。Therefore, the dedicated memory cell 131 according to the embodiment of the present invention also has a transistor Q.
Memory performance can be degraded by increasing the electric field applied to the control gate CG of No. 4.
なお、その劣化させる方法は、トランジスタQ4のフロ
ーティングゲートFCに記憶情報データとして正電荷■
をチャージさせた場合、コントロールゲートCGに通常
読み出し電圧より高い電源電圧vcc−5(V)を印加
させる。また、フローティングゲートFGに記憶情報デ
ータとして負電荷Oをチャージさせた場合、コントロー
ルゲートCGに0〔v〕を印加する。さらに、トランジ
スタQ、のセレクトゲー)SGを常に「ON」状態にし
、トランジスタQ4のソース・ドレイン間にメモリセル
電流を流す方法により、通常のEEPROMI2のメモ
リセルに比べて、専用メモリセルを記憶性能を劣化させ
ることができる。The method of deterioration is to inject a positive charge into the floating gate FC of the transistor Q4 as stored information data.
When charged, a power supply voltage vcc-5 (V) higher than the normal read voltage is applied to the control gate CG. Furthermore, when the floating gate FG is charged with a negative charge O as storage information data, 0 [v] is applied to the control gate CG. Furthermore, by keeping the select gate (SG) of transistor Q always in the "ON" state and flowing the memory cell current between the source and drain of transistor Q4, the dedicated memory cell has a higher memory performance than the memory cell of normal EEPROMI2. can deteriorate.
第3図は、本発明の第1の実施例に係るEEPROM内
蔵マイクロコンピュータの構成図である。FIG. 3 is a block diagram of a microcomputer with built-in EEPROM according to the first embodiment of the present invention.
図において、記憶内容検出手段13は、通常のEEPR
OMI2のメモリ空間とは別に設けられている。なお、
I2はメモリセル121と、定電圧発生部122から成
る電気的に消去又は書き込み可能なEEPROMである
。14は、情報データを読み出すセンスアンプ、15は
書き込み/読み出しのエラーチェツクをするECC回路
、16は書き込み/読み出しデータを保持するデータレ
ジスタ117はアドレス(指定番地)を保持するアドレ
スレジスタ、18は書き込み/読み出し信号を制御する
R/W制御部、11はデータ処理をするCPU (中央
演算処理装置)である。また、R3は読み出し制御線、
PSはCPUに割り込みを要求する割り込み要求線であ
る。In the figure, the storage content detection means 13 is a normal EEPR.
It is provided separately from the OMI2 memory space. In addition,
I2 is an electrically erasable or writable EEPROM consisting of a memory cell 121 and a constant voltage generating section 122. 14 is a sense amplifier that reads information data; 15 is an ECC circuit that checks write/read errors; 16 is a data register that holds write/read data; 117 is an address register that holds an address (designated address); and 18 is a write circuit. 11 is a CPU (Central Processing Unit) that processes data. In addition, R3 is a read control line,
PS is an interrupt request line that requests an interrupt to the CPU.
これ等により、第1の実施例に係るEEPR○M内蔵マ
イクロコンピュータを構成する。These constitute the EEPR○M built-in microcomputer according to the first embodiment.
このようにして、EEPROMI 2の記憶内容の消失
を防止する記憶内容検出手段13を設けている。In this way, the storage content detection means 13 is provided to prevent the storage contents of the EEPROMI 2 from disappearing.
このため、予め、EEPROMI 2に比べて、記憶性
能を劣化させた専用メモリセル131に、該EEPRO
M12と同様に情報データを書き込み処理をし、例えば
プログラムやソフトウェア処理方法により、CPUII
を介して、定期的に専用メモリセル131のjR報デー
タを読み出し処理をし、データリテンション(データ化
け)等の異常があれば、CPUIIに割り込み要求をし
、EEPROMI2の全てのメモリセルについて初期に
記憶した情報データの再書き込み処理をすることが可能
となる。Therefore, in advance, the EEPRO is installed in the dedicated memory cell 131 whose storage performance has deteriorated compared to the EEPROMI 2.
The information data is written in the same way as M12, and the CPU II
The jR information data of the dedicated memory cell 131 is read and processed periodically via the memory cell 131, and if there is an abnormality such as data retention (garbled data), an interrupt request is sent to the CPU II, and the initial processing is performed for all memory cells of the EEPROMI2. It becomes possible to rewrite the stored information data.
これにより、常に初期に記憶した、かつ高信頼度の情報
データを保持することが可能となる。This makes it possible to always retain initially stored and highly reliable information data.
第4図は、本発明の第2の実施例に係る別のEEPRO
M内蔵マイクロコンピュータの構成図である。FIG. 4 shows another EEPRO according to a second embodiment of the invention.
FIG. 2 is a configuration diagram of a microcomputer with a built-in M.
図において、第1の実施例と異なるのは、記憶内容検出
手段13を構成する専用メモリセル131が、通常のE
EPROM12の特定アドレスに数バイト設けられ、チ
エツク電圧発生部132も、定電圧発生部122の一部
に組み入れられるものである。In the figure, the difference from the first embodiment is that a dedicated memory cell 131 constituting the storage content detection means 13 is a normal E
Several bytes are provided at specific addresses in the EPROM 12, and the check voltage generator 132 is also incorporated into a part of the constant voltage generator 122.
なお、第1の実施例と同じ符号のものは同じ機能を有し
ているので、説明を省略する。Components with the same reference numerals as those in the first embodiment have the same functions, so a description thereof will be omitted.
このようにして、記憶内容検出手段13をEEPROM
12のメモリ空間内に設けている。In this way, the memory content detection means 13 is
12 memory spaces.
このため、第1の実施例に比べて、第2の実施例では、
EEPROMのメモリ空間が専用メモリセル分だけ減少
するが、第1の実施例のようにEEPROM12とは別
に専用メモリセル131やチエツク発生電圧部132を
設ける必要がないので、その占有面積等に限定されない
。Therefore, compared to the first embodiment, in the second embodiment,
Although the memory space of the EEPROM is reduced by the dedicated memory cell, there is no need to provide the dedicated memory cell 131 or the check generation voltage section 132 separately from the EEPROM 12 as in the first embodiment, so this is not limited to the area occupied by the EEPROM. .
第5図は、本発明の第3の実施例に係るEEPROM内
蔵マイクロコンピュータの構成図である。FIG. 5 is a configuration diagram of a microcomputer with built-in EEPROM according to a third embodiment of the present invention.
図において、第1,2の実施例と異なるのは、EEPR
OM12の記憶内容の消失する専用メモリセル131を
特別に設けずにEEPROMの一部又は全てのメモリ空
間を対象とし、その読み出し条件を変更するものである
。In the figure, what is different from the first and second embodiments is the EEPR.
This method targets part or all of the memory space of the EEPROM and changes the read conditions without providing a special memory cell 131 in which the storage contents of the OM 12 are erased.
なお、19はチェツク専用レジスタであり、EEPRO
Mの記憶内容の保持を検出する場合の専用レジスタであ
る。20は選択手段であり、通常動作時a及び検出動作
時すを選択する切り換えを構成するものである。なお、
選択手段20はプログラムやハードウェア処理等により
、定期的に、例えばCPtJl 1のメインルーチンの
終了時等に、CPUI 1よ/)EEPROMの記憶内
容のチェツク命令データに基づいて切り換えられる。Note that 19 is a check-only register, and EEPRO
This is a dedicated register for detecting retention of the memory contents of M. Reference numeral 20 denotes a selection means, which constitutes a switch for selecting the normal operation time a and the detection operation time a. In addition,
The selection means 20 is periodically switched by a program or hardware processing, for example, at the end of the main routine of CPtJl 1, based on command data for checking the stored contents of the CPUI 1/) EEPROM.
133は電圧発生制御回路であり、読み出し制御線R3
に読み出し検出電圧を供給する制御回路である。133 is a voltage generation control circuit, and read control line R3
This is a control circuit that supplies a read detection voltage to the
なお、第1の実施例と同じ符号のものは同じ機能を有し
ているので説明を省略する。Components with the same reference numerals as those in the first embodiment have the same functions, so their explanation will be omitted.
これ等により第3の実施例に係るEEPROM内蔵マイ
クロコンピュータが構成され、電圧発生制御回路133
について、次に説明をする。These constitute the EEPROM built-in microcomputer according to the third embodiment, and the voltage generation control circuit 133
This will be explained next.
第6図は、本発明の第3の実施例の電圧発生制御回路を
説明する図である。FIG. 6 is a diagram illustrating a voltage generation control circuit according to a third embodiment of the present invention.
図において、TrIはデプレション型のNchMOSト
ランジスタ、 T、zNT、、はエンハンスメント型の
Mc hMO3l−ランジスタであり、Q5はインバー
タである。なお、セレクトゲートトランジスタ’rrs
、 Tr&と、インバータQ、とにより選択手段20を
構成することができる。また、122は通常読み出し電
圧Eを供給する定電圧発生部である。なおASは動作制
御信号、RDは読み出し命令データ+VCeは電源電圧
(−5V)、E、は0.5 (V)程度の読み出し検
出電圧読み出し制御線、Eは通常読み出し電圧2〜2.
5 (V)である。In the figure, TrI is a depletion type NchMOS transistor, T, zNT, , are enhancement type MchMO3l- transistors, and Q5 is an inverter. In addition, the select gate transistor 'rrs
, Tr&, and the inverter Q can constitute the selection means 20. Further, 122 is a constant voltage generator that normally supplies the read voltage E. Note that AS is an operation control signal, RD is read command data, VCe is a power supply voltage (-5V), E is a read detection voltage read control line of about 0.5 (V), and E is a normal read voltage 2 to 2.
5 (V).
また、読み出し検出電圧已。はトランジスタT、〜T、
、4のデイメンジョンを調整することにより制御される
。In addition, the read detection voltage value. are transistors T, ~T,
, 4 is controlled by adjusting the dimensions of .
ここでメモリセルの記憶状態の検出方法について説明す
る。すなわち、読み出し制御線R3に接続されたEEP
ROM12の読み出し電圧条件を電圧発生制御手段によ
り、通常の読み出し電圧2〜2.5 (V)よりも高
い、例えばメモリセルのフローティングゲー)FCに正
電荷がチャージされ、かつ情報データ「0」を読み出す
場合は、コントロールゲートCGにO(V)を印加する
。Here, a method for detecting the storage state of a memory cell will be explained. That is, the EEP connected to the read control line R3
The read voltage condition of the ROM 12 is set by the voltage generation control means to be higher than the normal read voltage of 2 to 2.5 (V), for example, when the floating gate (FC) of the memory cell is charged with a positive charge and the information data is "0". When reading, O(V) is applied to the control gate CG.
これにより、電荷が打ち消されて、メモリセルのトラン
ジスタはrONJ Lにくくなり、読み出し処理動作が
困難になる。As a result, the charges are canceled and the transistor of the memory cell becomes difficult to rONJL, making the read processing operation difficult.
また、フローティングゲートFGに負電荷がチャージさ
れ、かつ情報データ[]Jを読み出す場合は、コントロ
ールゲートCGに′r:!、源電圧■。を加える。同様
に負電荷が打ち消されて、メモリセルのトランジスタは
rONJ Lにくくなる。Furthermore, when the floating gate FG is charged with a negative charge and the information data []J is read out, the control gate CG is set to 'r:! , source voltage■. Add. Similarly, the negative charges are canceled out, making the transistor of the memory cell less prone to rONJL.
これらの関係をEEPROM12のデータリテンション
(データ化け)を起こし始めたメモリー部又は全てにつ
いてチェンジすることにより、記憶保持状態を検出する
ことができる。By changing these relationships for the memory portion or all of the memory portions in which data retention (data corruption) has begun to occur in the EEPROM 12, the memory retention state can be detected.
このようにして、記憶内容検出手段13が、メモリ空間
の一部又は全てを対象とし、その読み出し電圧条件を変
更している。In this way, the storage content detection means 13 changes the read voltage conditions for part or all of the memory space.
このため、EEPROM12のデータリテンションを起
こし始めたメモリセルについて、記憶保持状態をチェン
ジすることができる。Therefore, it is possible to change the memory retention state of a memory cell in the EEPROM 12 in which data retention has started to occur.
これにより、情報データの読み出しが困難であったり、
データリテンションを起こし始めていた場合は、CPU
I 1に割り込みを要求し、EEPROM12の全セル
について再書き込み処理をし、初期に記憶したデータを
保持することが可能となる。This may make it difficult to read information data, or
If data retention is starting to occur, the CPU
It becomes possible to request an interrupt to I1, rewrite processing for all cells of the EEPROM 12, and retain the data stored initially.
以上説明したように、本発明によれば、記憶内容検出手
段が初期に記憶した情報データのデータリテンションを
未然に検出して、EEPROM全てについて該情報デー
タの再書き込み処理をすることができる。As described above, according to the present invention, the storage content detecting means can detect the data retention of the initially stored information data in advance and rewrite the information data for all EEPROMs.
このため、高信頼度のデータ保持特性を有するEEPR
OM内蔵マイクロコンピュータを製造することが可能と
なる。For this reason, EEPR has highly reliable data retention characteristics.
It becomes possible to manufacture a microcomputer with a built-in OM.
第1図は、本発明の実施例に係るマイクロコンピュータ
の原理構成図、
第2図は、本発明の各実施例に係る記憶内容検出手段を
説明する図、
第3図は、本発明の第1の実施例に係るEEPROM内
蔵マイクロコンピュータの構成図、第4図は、本発明の
第2の実施例に係るEEPROM内蔵マイクロコンピュ
ータの構成図、第5図は、本発明の第3の実施例に係る
EEPROM内蔵マイクロコンピュータの構成図、第6
図は、本発明の第3の実施例の電圧発生制御回路を説明
する図、
第7図(a)、 (b)は、従来例に係るEEPRO
M内蔵マイクロコンピュータを説明する図である。
(符号の説明)
1・・・EEPROM内蔵マイクロコンピュータ、2.
11・・・データ処理部
(CPU、中央演算処理装置)、
3.12・・・EEPROM。
13・・・記憶内容検出手段、
121・・・メモリセル、
122・・・定電圧発生部、
131・・・専用メモリセル、
132・・・チエツク電圧発生部、
133・・・電圧発生制御回路、
14・・・センスアンプ、
15・・・ECC回路、
16・・・データレジスタ、
17・・・アドレスレジスタ、
18・・・R/W制御部、
19・・・チエツク専用レジスタ、
20・・・選択手段、
4、Add・・・アドレス信号、
5、Data・・・データ信号、
8・・・外部データ入力線、
9・・・制御線、
6、R/W・・・リード/ライト信号、7、PS・・・
割り込み要求信号、
C1・・・チエツク命令信号線、
RD・・・読み出し命令データ、
R3・・・読み出し制御線、
Be・・・ビット線、
W2・・・ワード線、
CG・・・コントロールゲート、
FC・・・フローティングゲート、
SG・・・セレクトゲート、
AS・・・動作制御信号、
E・・・通常読み出し電圧、
Eo・・・読み出し検出電圧、
■7..・・・基準電圧、
Q■〜Q + 3 、 Q + 〜Q −+’ T
r+ 〜T −s −トランジスタ、
Q、・・・インバータ。FIG. 1 is a diagram illustrating the principle configuration of a microcomputer according to an embodiment of the present invention, FIG. 2 is a diagram illustrating a storage content detection means according to each embodiment of the present invention, and FIG. FIG. 4 is a block diagram of a microcomputer with a built-in EEPROM according to the second embodiment of the present invention, and FIG. 5 is a block diagram of a microcomputer with a built-in EEPROM according to the second embodiment of the present invention. Configuration diagram of a microcomputer with built-in EEPROM, No. 6
The figure is a diagram explaining a voltage generation control circuit according to a third embodiment of the present invention, and FIGS.
FIG. 2 is a diagram illustrating an M-embedded microcomputer. (Explanation of symbols) 1... EEPROM built-in microcomputer, 2.
11...Data processing unit (CPU, central processing unit), 3.12...EEPROM. 13... Memory content detection means, 121... Memory cell, 122... Constant voltage generation section, 131... Dedicated memory cell, 132... Check voltage generation section, 133... Voltage generation control circuit , 14...Sense amplifier, 15...ECC circuit, 16...Data register, 17...Address register, 18...R/W control unit, 19...Check-only register, 20... - Selection means, 4, Add... address signal, 5, Data... data signal, 8... external data input line, 9... control line, 6, R/W... read/write signal ,7,PS...
Interrupt request signal, C1...Check command signal line, RD...Read command data, R3...Read control line, Be...Bit line, W2...Word line, CG...Control gate, FC...Floating gate, SG...Select gate, AS...Operation control signal, E...Normal read voltage, Eo...Read detection voltage, ■7. .. ...Reference voltage, Q■ ~Q + 3, Q + ~Q -+'T
r+ ~Ts-transistor, Q,...inverter.
Claims (3)
レス信号(Add)、データ信号(Data)、リード
/ライト信号(R/W)及び割り込み要求信号(PS)
からなる制御線(BUS)を介してデータ処理部(11
)に接続され、かつ書き込みデータを電気的に消去、又
は書き込み可能なEEPROM(12)と、 前記EEPROM(12)の記憶内容の消失を防止する
記憶内容検出手段(13)とを具備し、前記記憶内容検
出手段(13)の記憶内容が劣化していると、全てのE
EPROM(12)の記憶内容を再書き込みをすること
を特徴とするEEPROM内蔵マイクロコンピュータ。(1) A data processing unit (11) that processes data, an address signal (Add), a data signal (Data), a read/write signal (R/W), and an interrupt request signal (PS)
The data processing unit (11
) and capable of electrically erasing or writing written data; and a storage content detection means (13) for preventing the storage contents of the EEPROM (12) from disappearing; If the memory content of the memory content detection means (13) has deteriorated, all E
A microcomputer with a built-in EEPROM characterized by rewriting the stored contents of the EPROM (12).
(12)よりも記憶性能を劣化させた専用メモリセル(
131)と、読み出し制御線(RS)を介して該専用メ
モリセル(131)に接続されるチェック電圧発生部(
132)から成ることを特徴とする請求項1記載のEE
PROM内蔵マイクロコンピュータ。(2) The storage content detection means (13) is an EEPROM.
(12) Dedicated memory cell with worse storage performance (
131), and a check voltage generator (131) connected to the dedicated memory cell (131) via a read control line (RS).
132).
Microcomputer with built-in PROM.
(12)の一部又は全セルから引出される読み出し制御
線(RS)に、読み出し検出電圧(E_0)と通常読み
出し電圧(E)とを供給する電圧発生制御回路(133
)と、付属処理回路(19、20)から成り、読み出し
電圧条件を変更することを特徴とする請求項1記載のE
EPROM内蔵マイクロコンピュータ。(3) The storage content detection means (13) is an EEPROM.
A voltage generation control circuit (133
) and an auxiliary processing circuit (19, 20) for changing read voltage conditions.
Microcomputer with built-in EPROM.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63200646A JPH0249300A (en) | 1988-08-10 | 1988-08-10 | Microcomputer incorporated with eeprom |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63200646A JPH0249300A (en) | 1988-08-10 | 1988-08-10 | Microcomputer incorporated with eeprom |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0249300A true JPH0249300A (en) | 1990-02-19 |
Family
ID=16427860
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63200646A Pending JPH0249300A (en) | 1988-08-10 | 1988-08-10 | Microcomputer incorporated with eeprom |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0249300A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009140564A (en) * | 2007-12-06 | 2009-06-25 | Toshiba Corp | NAND flash memory and memory system |
| JP2014199578A (en) * | 2013-03-29 | 2014-10-23 | 富士通株式会社 | Storage control system, storage control program, and storage control method |
| JP2015030394A (en) * | 2013-08-05 | 2015-02-16 | 日本精機株式会社 | Vehicle display device |
-
1988
- 1988-08-10 JP JP63200646A patent/JPH0249300A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009140564A (en) * | 2007-12-06 | 2009-06-25 | Toshiba Corp | NAND flash memory and memory system |
| JP2014199578A (en) * | 2013-03-29 | 2014-10-23 | 富士通株式会社 | Storage control system, storage control program, and storage control method |
| JP2015030394A (en) * | 2013-08-05 | 2015-02-16 | 日本精機株式会社 | Vehicle display device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100444537B1 (en) | Data processor | |
| US7440337B2 (en) | Nonvolatile semiconductor memory apparatus having buffer memory for storing a program and buffering work data | |
| US6868007B2 (en) | Semiconductor memory system with a data copying function and a data copy method for the same | |
| KR100631770B1 (en) | Real time processing method of flash memory | |
| JPH1050078A (en) | Erasing method and program protecting method and device for electrically erasable and programmable read only memory | |
| US6738894B1 (en) | Data processor | |
| US20040015671A1 (en) | Single-chip microcomputer and boot region switching method thereof | |
| EP0428396B1 (en) | Bit error correcting circuit for a nonvolatile memory | |
| US5684740A (en) | Semiconductor memory and method for substituting a redundancy memory cell | |
| JPH0249300A (en) | Microcomputer incorporated with eeprom | |
| JP2002015584A (en) | Read/protect circuit for non-volatile memory | |
| US6813191B2 (en) | Microcomputer with nonvolatile memory protected against false erasing or writing | |
| US20060023514A1 (en) | Semiconductor nonvolatile storage device | |
| JP2002288999A (en) | Semiconductor memory | |
| CN109147847B (en) | Semiconductor device and flash memory control method | |
| JPH09146767A (en) | Method for reloading program | |
| JP3028567B2 (en) | Microcomputer with built-in EEPROM | |
| JP4222879B2 (en) | MEMORY CONTROLLER, FLASH MEMORY SYSTEM PROVIDED WITH MEMORY CONTROLLER, AND FLASH MEMORY CONTROL METHOD | |
| JPS6014362A (en) | Semiconductor memory | |
| JP3669625B2 (en) | Data processing system and method of operating data processing system | |
| JP2701790B2 (en) | Nonvolatile semiconductor memory device | |
| JP3691137B2 (en) | Microcomputer with built-in nonvolatile memory | |
| JPH02257498A (en) | Integrated circuit | |
| JP2002132746A (en) | Data processing device and single-chip microcomputer | |
| JPH04263198A (en) | memory device |