JPH08279295A - Storage system including nonvolatile semiconductor memory - Google Patents

Storage system including nonvolatile semiconductor memory

Info

Publication number
JPH08279295A
JPH08279295A JP8057995A JP8057995A JPH08279295A JP H08279295 A JPH08279295 A JP H08279295A JP 8057995 A JP8057995 A JP 8057995A JP 8057995 A JP8057995 A JP 8057995A JP H08279295 A JPH08279295 A JP H08279295A
Authority
JP
Japan
Prior art keywords
data
read
error
information storage
storage 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.)
Granted
Application number
JP8057995A
Other languages
Japanese (ja)
Other versions
JP3176019B2 (en
Inventor
Riichiro Shirata
田 理一郎 白
Toru Tanzawa
沢 徹 丹
Kazunori Kanebako
箱 和 範 金
Masaki Momotomi
冨 正 樹 百
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP8057995A priority Critical patent/JP3176019B2/en
Publication of JPH08279295A publication Critical patent/JPH08279295A/en
Application granted granted Critical
Publication of JP3176019B2 publication Critical patent/JP3176019B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Read Only Memory (AREA)
  • Semiconductor Memories (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE: To enable a refreshing control means to hold correct data by reading out all the data belonging to a storage area including the read-out data as the count subject of an information storing part when the data read-out count exceeds a read-out reference and re-writing all the data in the storage area via an error-correcting circuit. CONSTITUTION: A readout counter 13 counts readout count from a nonvolatile memory cell array 1 by CPU 16, and outputs a signal to start up refreshing operation when the count is equal to or higher than a preset reference value for comparison. A refreshing command is supplied to a command input/output buffer 8 of a main memory body 10 and the refreshing is operated. In the refreshing operation, the data written in the memory are read out and errors are corrected before re-written in the memory. Refreshing of nonvolatile semiconductor memory is thereby performed at an effective time of ECC correction, and correct data are held.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、電気的に書替え可能な
不揮発性半導体記憶装置の改良に関し、特に、記憶デー
タのリフレッシュ機能を備えることによって保持するデ
ータの信頼性を向上した不揮発性半導体記憶装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to improvement of an electrically rewritable non-volatile semiconductor memory device, and more particularly to a non-volatile semiconductor memory device having a stored data refresh function to improve reliability of held data. Regarding the device.

【0002】[0002]

【従来の技術】電気的に書替可能な不揮発性の半導体記
憶装置として、例えば、図15及び図16に示すよう
な、高集積化が可能なNAND型EEPROM(Electri
cally Erasable PROM) が知られている。図15
(a)は、EEPROMの一列分のメモリセルのパター
ンを示しており、図15(b)は、その電気的な等価回
路を示している。同図において、SG1 及びSG2 は選
択線、CG1 〜CG8 はコントロールゲート線、BLは
ビット線、S1 及びS2 は選択用トランジスタ、M1〜
M8 はメモリセルである。また、図16(a)及び図1
6(b)は、夫々図15(a)に示されている、A−
A’方向、B−B’方向に沿った半導体装置の断面図を
概略的に示している。両図において、211は半導体基
板、212は素子分離の絶縁膜、213はチャネル部の
絶縁膜(トンネル酸化膜)、214はフローティングゲ
ート、215はゲート間絶縁間膜、216はコントロー
ルゲート、217は絶縁膜、218は金属ビット線(B
L)、219はソース・ドレイン領域を形成するの高濃
度不純物領域、である。NAND型EEPROMは、図
15及び図16に示されるように、複数のメモリセルM
1〜M8をそれらのソース、ドレイン219を隣接する
もの同士で共有するようにして互いに直列に接続し、こ
れを一単位としてビット線BLに接続するものである。
2. Description of the Related Art As an electrically rewritable nonvolatile semiconductor memory device, for example, as shown in FIGS. 15 and 16, a highly integrated NAND type EEPROM (Electri) can be used.
cally Erasable PROM) is known. FIG.
FIG. 15A shows a pattern of memory cells for one column of the EEPROM, and FIG. 15B shows an electrically equivalent circuit thereof. In the figure, SG1 and SG2 are selection lines, CG1 to CG8 are control gate lines, BL is a bit line, S1 and S2 are selection transistors, and M1 to
M8 is a memory cell. 16 (a) and FIG.
6 (b) shows A-, which are shown in FIG. 15 (a), respectively.
FIG. 2 schematically shows cross-sectional views of the semiconductor device along the A ′ direction and the BB ′ direction. In both figures, 211 is a semiconductor substrate, 212 is an insulating film for element isolation, 213 is an insulating film (tunnel oxide film) for a channel portion, 214 is a floating gate, 215 is an inter-gate insulating film, 216 is a control gate, and 217 is a control gate. The insulating film 218 is a metal bit line (B
L) and 219 are high-concentration impurity regions for forming source / drain regions. The NAND type EEPROM has a plurality of memory cells M as shown in FIGS.
1 to M8 are connected in series so that their sources and drains 219 are shared by adjacent ones, and these are connected as one unit to the bit line BL.

【0003】各メモリセルMは、通常、電荷蓄積層と制
御ゲート216が積層された、FETMOS構造を有す
る。メモリセルアレイは、P型またはN型の基板211
に形成されたP型ウエル内に集積形成される。NAND
セルのドレイン側は選択ゲートを介してビット線に接続
され、ソース側はやはり選択ゲートを介してソース線
(基準電位配線)に接続される。メモリセルの制御ゲー
トは、行方向に連続的に接続されてワード線となる。こ
のような、メモリセル列が複数列設けられて、図17に
示すような、EEPROMの実際のメモリセルアレイが
形成される。
Each memory cell M usually has a FETMOS structure in which a charge storage layer and a control gate 216 are laminated. The memory cell array includes a P-type or N-type substrate 211.
Integrated in the P-type well formed in the above. NAND
The drain side of the cell is connected to the bit line via the selection gate, and the source side is also connected to the source line (reference potential wiring) via the selection gate. The control gates of the memory cells are continuously connected in the row direction to form word lines. A plurality of such memory cell columns are provided to form an actual memory cell array of the EEPROM as shown in FIG.

【0004】次に、NAND型EEPROMの動作につ
いて説明する。データの書込み及び読出しは、図17に
示されるように、ワード線(CGi )を共有するメモリ
セル毎に行われる。この単位はページと呼ばれている。
データの消去は、ドレイン側とソース側の2つの選択ゲ
ート(例えば、SGi1,SGi2)の間にある全ワード線
(例えば、CGi01 〜CGi16 )を共有するメモリセル
トランジスタ毎に行われる。この単位はブロックと呼ば
れる。
Next, the operation of the NAND type EEPROM will be described. As shown in FIG. 17, writing and reading of data are performed for each memory cell sharing a word line (CGi). This unit is called a page.
Data is erased for each memory cell transistor sharing all word lines (for example, CGi01 to CGi16) between two drain-side and source-side select gates (for example, SGi1 and SGi2). This unit is called a block.

【0005】データの書込みは、選択されたメモリセル
トランジスタの制御ゲートに20V程度の高電圧を印加
し、選択ブロックの非選択メモリセルトランジスタの制
御ゲートと選択ブロックのドレイン側選択ゲートに10
V程度の中間電圧を印加する。また、選択ブロックのソ
ース側選択ゲートと非選択ブロックの選択ゲートに0V
を印加し、ビット線BLには書込みデータに応じて0V
または8V程度の中間電圧を夫々印加することによって
行われる。ビット線BLに印加された電圧は、選択され
たメモリセルトランジスタのチャネルまで伝達され、0
Vが印加されたときはチャネルから浮遊ゲートに電子注
入が生じ、選択されたメモリセルトランジスタの閾値電
圧は正方向にシフトする。8Vが印加されたときは電子
注入が起こらず、メモリセルトランジスタの閾値電圧は
変化しない。
To write data, a high voltage of about 20 V is applied to the control gate of the selected memory cell transistor, and 10 is applied to the control gate of the non-selected memory cell transistor of the selected block and the drain side selection gate of the selected block.
An intermediate voltage of about V is applied. In addition, 0V is applied to the source side select gate of the selected block and the select gate of the non-selected block.
Is applied, and 0 V is applied to the bit line BL according to the write data.
Alternatively, it is performed by applying an intermediate voltage of about 8V, respectively. The voltage applied to the bit line BL is transmitted to the channel of the selected memory cell transistor,
When V is applied, electrons are injected from the channel to the floating gate, and the threshold voltage of the selected memory cell transistor shifts in the positive direction. When 8V is applied, electron injection does not occur and the threshold voltage of the memory cell transistor does not change.

【0006】データの消去は、選択されたブロックの全
制御ゲートに0Vを、P型基板またはN型基板及びP型
ウエルと全選択ゲートと非選択ブロックの全制御ゲート
に20V程度の高電圧を夫々印加することによって行わ
れる。ビット線及びソース線はフローティング状態にさ
れる。これにより、選択されたブロックのすべてのメモ
リセルトランジスタで浮遊ゲートの電子がチャネルに放
出され、閾値電圧は負方向にシフトする。一方、非選択
ブロックのメモリセルトランジスタの閾値電圧の変動は
生じない。
To erase data, 0V is applied to all control gates of the selected block, and a high voltage of about 20V is applied to all control gates of the P-type substrate or N-type substrate and P-type well, all selection gates and non-selected blocks. It is performed by applying each. The bit line and the source line are set in a floating state. As a result, electrons in the floating gate are emitted to the channels in all the memory cell transistors in the selected block, and the threshold voltage shifts in the negative direction. On the other hand, the threshold voltage of the memory cell transistor in the non-selected block does not change.

【0007】読出しは、選択されたメモリセルトランジ
スタの制御ゲートに0Vを、それ以外のメモリセルトラ
ンジスタの制御ゲート及び選択ゲートに電源電圧を夫々
印加して選択されたメモリセルトランジスタ以外のトラ
ンジスタを導通させ、選択されたメモリセルトランジス
タで電流が流れるか否かを検出することによって行われ
る。
For reading, 0V is applied to the control gates of the selected memory cell transistors, and the power supply voltage is applied to the control gates and the selection gates of the other memory cell transistors, so that the transistors other than the selected memory cell transistors are turned on. Then, it is performed by detecting whether or not a current flows through the selected memory cell transistor.

【0008】従来の不揮発性半導体記憶装置では、記録
データの高信頼性を図るために誤り検出訂正回路(EC
C)が備えられており、メモリから読み出されたデータ
はECCによって誤りの訂正が行われている。
In a conventional nonvolatile semiconductor memory device, an error detection / correction circuit (EC
C) is provided, and the data read from the memory is error-corrected by ECC.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、上述し
た動作説明から明らかであるように、NAND型EEP
ROMでは、読出し動作時に非選択メモリセルトランジ
スタは転送ゲートとして使用されるため、これら読み出
されない、非選択メモリセルトランジスタのゲート及び
電荷蓄積層間と、電荷蓄積層及びチャネル間とに印加さ
れる電界によって、電荷蓄積層に蓄えられた信号電荷が
ゲートまたはチャネル間に抜けてしまったり、反対に電
荷蓄積層に電荷が注入されたりして、メモリセルトラン
ジスタが保持している信号データの反転(閾値の遷移)
が起こり得る。
However, as is apparent from the above description of the operation, the NAND type EEP is used.
In the ROM, since the non-selected memory cell transistor is used as a transfer gate during the read operation, the electric field applied between the gate of the non-selected memory cell transistor and the charge storage layer and between the charge storage layer and the channel which are not read out. The signal charge stored in the charge storage layer escapes between the gates or the channels, or on the contrary, the charge is injected into the charge storage layer, so that the signal data stored in the memory cell transistor is inverted (threshold value). Transition)
Can happen.

【0010】図2は、特定のアドレスのメモリセルのデ
ータを読出し続けたときの、全メモリが保持するデータ
中に誤りビットが出現する状態を、読出回数対誤りビッ
トの発生数のグラフで概略的に表している。この図か
ら、誤り訂正が可能なエラー数が少ない状態であるうち
に、これらのデータの読出しが行われるならば、ECC
によって元の正しいデータに復元することが可能である
ことが判る。しかしながら、特定のアドレスばかりがア
クセスされていると、メモリセルの同一ブロック内でデ
ータ反転が重なっていき、ついには、ECCによる誤り
訂正が不可能となってしまう、ということも判る。
FIG. 2 is a graph of the number of read times versus the number of error bit occurrences, showing a state in which error bits appear in the data held in all the memories when the data in the memory cell at a specific address is continuously read. It represents. From this figure, if these data are read while the number of errors that can be corrected is small, the ECC
It turns out that it is possible to restore the original correct data. However, it can also be seen that when only a specific address is accessed, data inversions overlap in the same block of memory cells, and finally error correction by ECC becomes impossible.

【0011】よって、本発明は、従来の不揮発性半導体
記憶装置における、メモリから読み出されたデータはE
CCによって誤りの訂正が行われているものの、読出さ
れないメモリセルのデータには誤りが蓄積されていき、
やがてECCによる訂正が不可能になってしまうとい
う、不具合を解消することを目的とする。
Therefore, according to the present invention, in the conventional nonvolatile semiconductor memory device, the data read from the memory is E
Although the error is corrected by the CC, the error is accumulated in the data of the memory cell which is not read,
The purpose is to solve the problem that correction by ECC becomes impossible in due course.

【0012】[0012]

【課題を解決するための手段】上記目的を達成するため
本発明の不揮発性半導体記憶部を含む記憶システムは、
データの再書込み可能な不揮発性メモリセル群からなる
1つ若しくは複数の記憶領域を有する情報記憶部と、上
記情報記憶部から読出されるデータのエラーを検出し、
読出データのエラーを訂正して出力する誤り検出訂正回
路と、上記情報記憶部からのデータの読出しを計数する
読出回数カウンタと、上記情報記憶部が保持するデータ
の再書込みを行うリフレッシュ制御手段と、を備え、上
記リフレッシュ制御手段は、上記データの読出しの計数
値が読出基準値を超えると、上記情報記憶部から上記計
数の対象となった読出データを含む記憶領域に属する全
データを読出し、読出したデータを上記誤り検出訂正回
路を経由して上記記憶領域に再度書込む、ことを特徴と
する。
To achieve the above object, a storage system including a non-volatile semiconductor storage unit of the present invention is
An information storage unit having one or a plurality of storage regions each composed of a non-volatile memory cell group in which data can be rewritten, and an error in data read from the information storage unit is detected,
An error detection / correction circuit that corrects and outputs an error in read data, a read number counter that counts the reading of data from the information storage unit, and a refresh control unit that rewrites data held in the information storage unit. When the count value for reading the data exceeds a read reference value, the refresh control means reads all data belonging to a storage area including the read data that is the target of the count from the information storage unit, The read data is rewritten in the storage area via the error detection / correction circuit.

【0013】また、本発明の不揮発性半導体記憶部を含
む記憶システムは、データの再書込み可能な不揮発性メ
モリセル群からなる1つ若しくは複数の記憶領域を有す
る情報記憶部と、上記情報記憶部から読出されるデータ
のエラーを検出し、読出データのエラーを訂正して出力
する誤り検出訂正回路と、検出されたデータのエラーを
計数する誤り個数カウンタと、上記情報記憶部が保持す
るデータの再書込みを行うリフレッシュ制御手段と、を
備え、上記リフレッシュ制御手段は、上記データのエラ
ーの計数値がエラー基準値を超えると、上記情報記憶部
から上記エラー訂正の対象となった読出データを含む記
憶領域に属する全データを読出し、読出したデータを上
記誤り検出訂正回路を経由して上記記憶領域に再度書込
む、ことを特徴とする。
Further, a storage system including a nonvolatile semiconductor storage unit of the present invention includes an information storage unit having one or a plurality of storage regions each composed of a data rewritable nonvolatile memory cell group, and the information storage unit. An error detection / correction circuit that detects an error in the data read from the data and corrects and outputs the error in the read data, an error number counter that counts the error in the detected data, and an error number counter that stores the data stored in the information storage unit. Refresh control means for performing rewriting, wherein the refresh control means includes read data which has been subjected to the error correction from the information storage section when the error count value of the data exceeds an error reference value. All the data belonging to the storage area is read, and the read data is rewritten in the storage area via the error detection and correction circuit. That.

【0014】また、本発明の不揮発性半導体記憶部を含
む記憶システムは、再書込み可能な不揮発性メモリセル
群からなる1つ若しくは複数の記憶領域を有する情報記
憶部と、上記情報記憶部から読出されるデータのエラー
を検出し、読出データのエラーを訂正して出力する誤り
検出訂正回路と、検出されたデータのエラーを計数する
誤り個数カウンタと、上記情報記憶部からのデータの読
出しを計数する読出回数カウンタと、上記情報記憶部が
保持するデータの再書込みを行うリフレッシュ制御手段
と、を備え、上記リフレッシュ制御手段は、上記データ
の読出の計数値が読出基準値を超えかつ上記データのエ
ラーの計数値がエラー基準値を超えると、上記情報記憶
部から各計数の対象となった読出データを含む記憶領域
に属する全データを読出し、読出したデータを上記誤り
検出訂正回路を経由して上記記憶領域に再度書込む、こ
とを特徴とする。
Further, a storage system including a nonvolatile semiconductor storage unit of the present invention includes an information storage unit having one or a plurality of storage regions each composed of a rewritable nonvolatile memory cell group, and reading from the information storage unit. Error detection / correction circuit that detects an error in the data to be read and corrects and outputs the error in the read data, an error number counter that counts the error in the detected data, and a count of the data read from the information storage unit. Read counter and refresh control means for rewriting the data held in the information storage section, wherein the refresh control means has a read count value of the data exceeding a read reference value and the data When the count value of the error exceeds the error reference value, all the data belonging to the storage area including the read data targeted for each count from the information storage unit Read, the read data via the error detecting and correcting circuit writes again written in the storage area, and wherein the.

【0015】また、本発明の不揮発性半導体記憶部を含
む記憶システムは、データの再書込み可能な不揮発性メ
モリセル群からなる1つ若しくは複数の記憶領域を有す
る情報記憶部と、上記情報記憶部からのデータの読出し
を計数する読出回数カウンタと、データを一時記憶する
バッファメモリと、上記情報記憶部が保持するデータの
再書込みを行うリフレッシュ制御手段と、を備え、上記
リフレッシュ制御手段は、上記データの読出しの計数値
が読出基準値を超えると、上記情報記憶部から上記計数
の対象となった読出データを含む記憶領域に属する全デ
ータを上記バッファメモリに読出し、読出したデータを
全データが読出された上記記憶領域若しくはこの記憶領
域以外の別の記憶領域に再度書込む、ことを特徴とす
る。
Further, a storage system including a nonvolatile semiconductor storage unit of the present invention includes an information storage unit having one or a plurality of storage regions each composed of a data rewritable nonvolatile memory cell group, and the information storage unit. A read counter for counting the reading of data from the memory, a buffer memory for temporarily storing the data, and a refresh control unit for rewriting the data held in the information storage unit. When the count value of the data read exceeds the read reference value, all the data belonging to the storage area including the read data which is the target of the count is read from the information storage unit to the buffer memory, and the read data is all the data. It is characterized in that the data is rewritten to the read storage area or another storage area other than this storage area.

【0016】[0016]

【作用】本発明によれば、ECC補正が有効な時点で不
揮発性半導体装置に書込まれている全データあるいは部
分的なデータの書替え(リフレッシュ)を行うので、読
出されなかったデータを保持するメモリセルに、他のデ
ータの読出しストレスによる誤りが発生していたときに
でも、誤りの数はECC訂正可能な誤り数以下であるた
め、正しいデータに修正されて再記録される。
According to the present invention, since all data or partial data written in the non-volatile semiconductor device is rewritten (refreshed) when the ECC correction is effective, the data which has not been read is retained. Even if an error has occurred in the memory cell due to the read stress of other data, the number of errors is less than the number of ECC correctable errors, so the data is corrected and re-recorded.

【0017】また、他の本発明によれば、ECC補正を
必要としないエラー発生率の極めて少ない時点で、不揮
発性半導体装置に書込まれているデータのリフレッシュ
を行う。
According to another aspect of the present invention, the data written in the non-volatile semiconductor device is refreshed at a time when the error occurrence rate which does not require ECC correction is extremely low.

【0018】この結果、ECCの誤り訂正能力を越えて
発生する誤りの頻度を、実使用上問題とならない程度に
まで減らすことが可能となる。
As a result, the frequency of errors that exceed the error correction capability of the ECC can be reduced to a level that does not pose a problem in actual use.

【0019】[0019]

【実施例】以下、本発明の実施例について図面を参照し
て説明する。図1は、本発明の第1の実施例を示すブロ
ック図である。同図において、1は、例えば、NAND
型EEPROMからなるメモリセルアレイ、2は指定さ
れるワード線を駆動するワード線駆動回路、3は与えら
れたアドレス信号に対応するワード線の駆動をワード線
駆動回路2に指令するロウデコーダ、4は指示されたビ
ット線を駆動する制御回路、5は与えられるアドレス信
号に対応するビット線の駆動を指令するカラムデコー
ダ、6はアドレス信号を一時保持するアドレスバッフ
ァ、7は入出力データを一時保持するデータ入出力バッ
ファ、8はメモリに与えられるコマンドを一時保持する
コマンド入出力バッファである。これ等の構成要素1〜
8によって、情報記憶部である不揮発性半導体記憶装置
の本体部分10が構成される。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a first embodiment of the present invention. In the figure, 1 is a NAND, for example.
Memory cell array consisting of a type EEPROM, 2 is a word line drive circuit for driving a designated word line, 3 is a row decoder for instructing the word line drive circuit 2 to drive a word line corresponding to a given address signal, and 4 is a row decoder. A control circuit for driving the instructed bit line, 5 a column decoder for instructing the drive of a bit line corresponding to an applied address signal, 6 an address buffer for temporarily holding an address signal, and 7 for temporarily holding input / output data. A data input / output buffer 8 is a command input / output buffer for temporarily holding a command given to the memory. These components 1 to
The main body 10 of the non-volatile semiconductor memory device, which is an information storage unit, is constituted by 8.

【0020】更に、11は読出データのエラーチェック
及びエラー訂正を行うECC(誤り検出訂正回路)であ
る。ECC11には、例えば、リード・ソロモン(Reed
-Solomon)符号を用いたエラー訂正方式を用いることが
出来る。勿論、パリティチェックを含む他の種々のエラ
ー訂正方式のものを使用することが可能である。ECC
11は、エラー訂正によって元のデータに復元するため
の付加ビットや情報をデータに追加してメモリセルアレ
イに記憶させる機能を有し、更に、エラー訂正を実行す
るか否か等を判断するために、エラー数を計数する誤り
個数カウンタを備えている。12はCPUのメインメモ
リやICメモリカード内でCPUと不揮発性メモリ間に
設けられるバッファメモリ、13はメモリセルアレイ1
からの読出回数を計数する読出回数カウンタ、16はデ
ータ処理のためにEEPROMを制御する機能を備える
コンピュータシステムのCPU、14はECC11及び
CPU16相互間のデータを伝送するデータ線(データ
バス)、15はコマンド入出力バッファ8及びCPU1
6間の制御信号を転送する制御線、17はCPU16か
らアドレスバッファ6にアドレス信号を伝送するアドレ
ス線、18はECC11、バッファメモリ12及び読出
回数カウンタ13相互間を接続する信号線である。
Further, 11 is an ECC (error detection / correction circuit) for performing error check and error correction of read data. The ECC 11 includes, for example, Reed Solomon (Reed
-An error correction method using a Solomon code can be used. Of course, various other error correction schemes including parity check can be used. ECC
Reference numeral 11 has a function of adding additional bits or information for restoring the original data by error correction to the data and storing it in the memory cell array. Further, in order to determine whether or not the error correction is executed, , An error number counter for counting the number of errors. Reference numeral 12 is a main memory of the CPU or a buffer memory provided between the CPU and a nonvolatile memory in the IC memory card, and 13 is a memory cell array 1
A read number counter for counting the number of read times from the CPU, 16 is a CPU of a computer system having a function of controlling an EEPROM for data processing, 14 is a data line (data bus) for transmitting data between the ECC 11 and the CPU 16, and 15 Is the command input / output buffer 8 and the CPU 1.
A control line for transferring a control signal between 6 and 17, an address line for transmitting an address signal from the CPU 16 to the address buffer 6, and a signal line for connecting 18 among the ECC 11, the buffer memory 12 and the read number counter 13.

【0021】なお、ECC11及びCPU16相互間の
データ伝送は、図1に点線で示すように、バッファメモ
リ12を介して行うようにすることが出来る。また、デ
ータ線14は、ECC11、バッファメモリ12、その
他の機能部分及びCPU16相互間を接続する共通デー
タバスにより構成することが可能である。
The data transmission between the ECC 11 and the CPU 16 can be performed via the buffer memory 12 as shown by the dotted line in FIG. Further, the data line 14 can be configured by a common data bus that connects the ECC 11, the buffer memory 12, other functional parts, and the CPU 16 to each other.

【0022】CPU16は、コンピュータシステムにお
いてデータ処理を行うCPUを用いることが出来るが、
データの記憶装置への書込み、読出しを制御するため
に、専用化したCPU(制御装置)とすることも可能で
ある。CPU16は、リフレッシュ制御手段を構成す
る。
The CPU 16 may be a CPU that processes data in a computer system,
It is also possible to use a dedicated CPU (control device) to control writing and reading of data to and from the storage device. The CPU 16 constitutes refresh control means.

【0023】次に、記憶システムの動作について説明す
る。CPU16は、通常、不揮発性メモリの本体部分1
0に対して以下に述べる3つのモードの動作をする。
Next, the operation of the storage system will be described. The CPU 16 is usually the main body portion 1 of the non-volatile memory.
For 0, the following three modes of operation are performed.

【0024】データの書込みは、CPU16から、デー
タ線14及びECC11を介してデータ入出力バッファ
7に書込むべきデータが供給される。また、CPU16
から、書込みコマンドが制御線15を介してコマンド入
出力バッファ8に、書込アドレスがアドレス線17を介
してアドレスバッファ6に、夫々供給される。この結
果、メモリセルアレイ1内の指定アドレスに対応するメ
モリセルに対してデータの書込みが行われる。
For data writing, data to be written in the data input / output buffer 7 is supplied from the CPU 16 via the data line 14 and the ECC 11. In addition, the CPU 16
From, the write command is supplied to the command input / output buffer 8 via the control line 15, and the write address is supplied to the address buffer 6 via the address line 17, respectively. As a result, data is written in the memory cell corresponding to the specified address in the memory cell array 1.

【0025】データの消去は、CPU16から消去コマ
ンドが制御線15を介してコマンド入出力バッファ8に
供給され、また、アドレス信号がアドレス線17を介し
てアドレスバッファ6に供給されることによって行わ
れ、アドレス指定されたメモリセルアレイ1内の該当す
るメモリセルのデータがクリアされる。
Data is erased by the CPU 16 supplying an erase command to the command input / output buffer 8 via the control line 15 and an address signal to the address buffer 6 via the address line 17. , The data of the corresponding memory cell in the addressed memory cell array 1 is cleared.

【0026】データの読出は、CPU16から読出コマ
ンドが制御線15を介してコマンド入出力バッファに供
給され、読出アドレスがアドレス線17を介してアドレ
スバッファ6に与えられることによって行われる。メモ
リセルアレイ1内の該当するアドレスのメモリセルから
読出されたデータは、ビット線制御回路4、データ入出
力バッファ7及びECC11を経てデータ線14に出力
され、CPU16に取込まれる。
Data reading is performed by supplying a read command from the CPU 16 to the command input / output buffer via the control line 15 and supplying a read address to the address buffer 6 via the address line 17. The data read from the memory cell of the corresponding address in the memory cell array 1 is output to the data line 14 via the bit line control circuit 4, the data input / output buffer 7 and the ECC 11, and taken into the CPU 16.

【0027】次に、リードストレスによる保持データの
誤り(設定されたトランジスタの閾値変化)の防止及び
エラー修正を行う、リフレッシュ動作について説明す
る。
Next, a refresh operation for preventing an error in stored data (change in threshold value of a set transistor) due to a read stress and correcting an error will be described.

【0028】リフレッシュ動作に用いられる読出回数カ
ウンタ13は、メモリセルアレイ1からの読出し回数を
カウントする図示しないカウンタと、カウント値と図示
しないレジスタに設定された比較基準値とを比較する図
示しないコンパレータと、からなり、読出しのカウント
値が予め設定されたリフレッシュの基準値に等しいか若
しくは該基準値を超えるときに、リフレッシュ動作を起
動させる信号を出力する。読出の計数の仕方には、種々
の態様がある。例えば、上記のように、メモリ本体10
への読出命令が単純に積算される場合、メモリ本体10
への読出命令と指定アドレスを考慮して、メモリセルア
レイ1内の各ブロック毎にアクセスを分けて、各ブロッ
ク毎に読出しのアクセス数を計数する場合、メモリセル
アレイ内の1つ若しくは複数のブロックであるクラスタ
毎に読出しを計数する場合、メモリセルアレイ1内の各
セル毎に読出しを計数する場合、これ等の読出回数の計
数態様を適宜に組合せる場合等である。要求される精
度、コスト等の見地から適当なものが選択される。第1
の実施例では、メモリ本体10への読出アクセスが積算
され、総読出回数(あるいは読出指令回数)がモニタさ
れる。
The read number counter 13 used in the refresh operation is a counter (not shown) that counts the number of times of reading from the memory cell array 1, and a comparator (not shown) that compares the count value with a comparison reference value set in a register (not shown). , And outputs a signal for activating the refresh operation when the read count value is equal to or exceeds a preset reference value for refresh. There are various modes of counting the reading. For example, as described above, the memory body 10
When the read commands to the memory are simply accumulated, the memory body 10
When the access is divided for each block in the memory cell array 1 and the number of read accesses for each block is counted in consideration of the read command and the designated address, For example, the number of readings is counted for each cluster, the number of readings is counted for each cell in the memory cell array 1, or the number of times of reading is appropriately combined. Appropriate ones are selected from the viewpoints of required accuracy and cost. First
In this embodiment, the read accesses to the memory body 10 are integrated and the total number of read times (or the number of read commands) is monitored.

【0029】コンピュータシステムの使用終了時の読出
回数カウンタ13内の読出カウント値は、例えば、図示
しない電源遮断のルーチンを実行するときに、退避すべ
きパラメータデータと共にメモリセルアレイ1の所定位
置に記憶される。そして、次回のコンピュータシステム
の起動時に、読出されてECC11を介して読出回数カ
ウンタ13に入力され、前回のリフレッシュからこれま
での総読出回数が、今回のカウンタの初期値として設定
される。CPU16によってメモリセルアレイ1から読
出しが行われる度に読出回数カウンタ13の値は1ずつ
増えていく。総読出し回数が基準値に等しくなると、読
出回数カウンタ13はリフレッシュ指令を出力する。こ
のリフレッシュ指令は、メモリ本体10のコマンド入出
力バッファ8に供給される。メモリ本体10は、リフレ
ッシュ指令に応答してリフレッシュ動作を行う。このリ
フレッシュ動作中は、外部からのデータの書込み及び外
部への読出しは出来ない。そこで、メモリ本体10は他
のコマンドを受け付けないことを示すビジー信号をコマ
ンド入出力バッファ8から制御信号線15を介してCP
U16に供給する。リフレッシュ動作では、メモリに書
込まれているデータを読出し、エラー訂正を行って再度
メモリに書込む。この処理によって、EEPROMのセ
ルトランジスタ各々の閾値を再設定する。
The read count value in the read number counter 13 at the end of use of the computer system is stored in a predetermined position of the memory cell array 1 together with the parameter data to be saved, for example, when a power shut-down routine (not shown) is executed. It Then, when the computer system is started up next time, it is read and input to the read number counter 13 via the ECC 11, and the total read number from the previous refresh to the present is set as the initial value of the present counter. Every time the CPU 16 reads from the memory cell array 1, the value of the read number counter 13 is incremented by one. When the total read number becomes equal to the reference value, the read number counter 13 outputs a refresh command. This refresh command is supplied to the command input / output buffer 8 of the memory body 10. The memory body 10 performs a refresh operation in response to the refresh command. During this refresh operation, writing of data from the outside and reading to the outside cannot be performed. Therefore, the memory body 10 sends a busy signal indicating that it does not accept another command from the command input / output buffer 8 via the control signal line 15 to the CP.
Supply to U16. In the refresh operation, the data written in the memory is read, the error is corrected, and the data is written again in the memory. By this processing, the threshold value of each cell transistor of the EEPROM is reset.

【0030】まず、読出指令と一連のアドレスを順番に
メモリ本体10に与える読出モードにより、リフレッシ
ュの対象となった全メモリセルのデータは、メモリセル
アレイ1から、データ入出力バッファ7、ECC11を
介してバッファメモリ12に順次に読み込まれる。EC
C11を通過する際にデータのエラー訂正が行われる。
その後、メモリセルアレイ1の全メモリセルの保持デー
タは消去され、リセットされる。次に、書込み指令と一
連のアドレスを順番にメモリ本体10に与える書込みモ
ードを行う。バッファメモリ12に保持された全データ
はECC11及びデータ入出力バッファ7を介してメモ
リセルアレイ1に再書込みされる。上記リフレッシュ動
作においては、ECC11によってエラー訂正されるた
め、エラービットが少なければ、誤りのないデータが復
元されてメモリセルアレイ1に再書込みされる。全デー
タの書込みが終了すると、リフレッシュ動作が終了した
ことを示すレディー信号がコマンド入出力バッファ8か
ら出力され、CPU16と読出回数カウンタ13に入力
される。この信号により読出回数カウンタ13の計数値
はリセットされ、総読出し回数は0にされる。
First, according to a read mode in which a read command and a series of addresses are sequentially given to the memory body 10, data of all memory cells to be refreshed is transferred from the memory cell array 1 through the data input / output buffer 7 and the ECC 11. Are sequentially read into the buffer memory 12. EC
Data is corrected for errors when passing through C11.
After that, the data held in all the memory cells of the memory cell array 1 are erased and reset. Next, a write mode is performed in which a write command and a series of addresses are sequentially given to the memory body 10. All the data held in the buffer memory 12 is rewritten in the memory cell array 1 via the ECC 11 and the data input / output buffer 7. In the refresh operation, since the error is corrected by the ECC 11, if there are few error bits, error-free data is restored and rewritten in the memory cell array 1. When the writing of all data is completed, a ready signal indicating that the refresh operation is completed is output from the command input / output buffer 8 and input to the CPU 16 and the read number counter 13. The count value of the read number counter 13 is reset by this signal, and the total read number is set to zero.

【0031】なお、コンピュータシステムあるいは記憶
システムの終了時直前には、前述したように、メモリセ
ル1に記憶されている前回の総読出し回数は、今回の読
出回数カウンタ13の総読出し回数に書替え(更新)ら
れる。
Immediately before the end of the computer system or the storage system, as described above, the previous total read number stored in the memory cell 1 is rewritten to the total read number of the present read number counter 13 ( Will be updated).

【0032】図3は、本発明の第2の実施例を説明する
ブロック図である。同図において図1と対応する部分に
は同一符号を付している。
FIG. 3 is a block diagram for explaining the second embodiment of the present invention. In the figure, parts corresponding to those in FIG. 1 are designated by the same reference numerals.

【0033】この実施例が図1に示される第1の実施例
と相違する点は、メモリ本体10内に読出回数カウンタ
13を備え、更に、バッファメモリ12に相当する記憶
領域をメモリセルアレイ1内の一部の領域に確保するこ
とにより、外部のバッファメモリ12を不要にしてい
る。このような、メモリ本体10を複数設ける構成であ
れば、いわゆるメモリインタリーブを採用する構成等に
容易に対応することが出来る。
This embodiment differs from the first embodiment shown in FIG. 1 in that a read number counter 13 is provided in the memory body 10 and a storage area corresponding to the buffer memory 12 is provided in the memory cell array 1. The external buffer memory 12 is unnecessary by allocating the buffer memory 12 in a partial area. With such a configuration in which a plurality of memory bodies 10 are provided, it is possible to easily cope with a configuration that employs so-called memory interleaving.

【0034】なお、ECC11と複数のメモリ本体10
とをバス接続の他、マルチプレクサを介して接続するこ
とが出来る。また、各メモリ本体10毎にECC11及
びCPU16を設ける構成とすることも可能である。
The ECC 11 and the plurality of memory bodies 10
In addition to the bus connection, can be connected via a multiplexer. It is also possible to provide the ECC 11 and the CPU 16 for each memory body 10.

【0035】本発明の第3の実施例であるメモリセルア
レイのクラスタ毎にリフレッシュを行う場合のリフレッ
シュ・アルゴリズムについて、図4に示すフローチャー
トを参照して説明する。この例では、各クラスタ毎に読
出し回数が不揮発性メモリに記録される。クラスタはメ
モリセルアレイのリフレッシュを行う単位であり、例え
ば、メモリセルアレイ1内における1つ若しくは複数の
ブロックまたはチップが該当する。
A refresh algorithm for refreshing each cluster of the memory cell array according to the third embodiment of the present invention will be described with reference to the flow chart shown in FIG. In this example, the read count is recorded in the non-volatile memory for each cluster. The cluster is a unit for refreshing the memory cell array, and corresponds to, for example, one or a plurality of blocks or chips in the memory cell array 1.

【0036】まず、半導体記憶装置に電源が投入され、
図示しないパワーオンリセット回路が動作すると、図4
(a)に示されるように、その出力によって不揮発性メ
モリ1に保持されている第1番目から第n番目のまでの
各クラスタについてのn個の総読出し回数の読出しが行
われる(S2)。第i番目のクラスタの総読出し回数Y
iは、前回のリフレッシュからこれまでの総読出し回数
を表しており、例えば、第i番目のクラスタ内の特定領
域に格納されている。読み出された各クラスタの総読出
し回数Y1〜Ynは、総読出し回数をカウントするカウ
ンタ13の複数の計数用レジスタに夫々プリセットされ
る(S4)。
First, the semiconductor memory device is powered on,
When a power-on reset circuit (not shown) is activated, FIG.
As shown in (a), the total number of read times of n is read for each of the first to nth clusters held in the nonvolatile memory 1 by the output (S2). Total read count Y of the i-th cluster
i represents the total number of read times from the previous refresh to the present, and is stored in, for example, a specific area in the i-th cluster. The total read number Y1 to Yn of each read cluster is preset in a plurality of counting registers of the counter 13 that counts the total read number (S4).

【0037】次に、図4(b)に示すように、不揮発性
記憶装置からのデータの読出がモニタされる。クラスタ
iへのデータの読出しを行う度に(S12)、カウンタ
13によってクラスタiの総読出しカウント数Yiを1
だけ増やし(S14)、総読出し回数Yiが予め設定さ
れた最大読出し回数Ycになったかどうかを判定する
(S16)。
Next, as shown in FIG. 4B, the reading of data from the nonvolatile memory device is monitored. Every time data is read to the cluster i (S12), the counter 13 sets the total read count number Yi of the cluster i to 1
Only (S14), and it is determined whether the total number of times of reading Yi has reached the preset maximum number of times of reading Yc (S16).

【0038】総読出し回数Yiが基準値Ycに等しいか
これを超えると、リフレッシュ動作が行われる(S1
6)。リフレッシュ時には、記憶装置へのアクセス不可
を示すビジー信号(フラグ)が設定され、CPU16に
出力される。その後、メモリセルアレイ1内のクラスタ
iに属するブロック毎に、1ページ目から順番にECC
に導入され、誤りがあったときには訂正済みのデータ
を、また誤りがないときにはそのままのデータを、クラ
スタと同じサイズのバッファメモリに順次に書込む(S
18)。i番目のクラスタの全データがバッファメモリ
に書込まれたら、クラスタi中の全ブロックは強制的に
消去され(S20)、訂正済みのデータが再度同クラス
タに書込まれる(S22)。総読出し回数Yiは「0」
に書替えられ、i番目のクラスタに対応する読出回数カ
ウンタはリセットされる(S24)。最後に、レディー
信号(フラグ)が設定されて、ビジー信号はリセットさ
れ、リフレッシュ動作が終了する(S24)。
When the total read number Yi is equal to or exceeds the reference value Yc, the refresh operation is performed (S1).
6). At the time of refresh, a busy signal (flag) indicating that access to the storage device is impossible is set and output to the CPU 16. After that, ECC is sequentially performed for each block belonging to the cluster i in the memory cell array 1 from the first page.
Sequentially, if there is an error, the corrected data is written, and if there is no error, the data is written into the buffer memory of the same size as the cluster sequentially (S
18). When all the data in the i-th cluster are written in the buffer memory, all the blocks in the cluster i are forcibly erased (S20), and the corrected data is written again in the same cluster (S22). Total read count Yi is “0”
And the read number counter corresponding to the i-th cluster is reset (S24). Finally, the ready signal (flag) is set, the busy signal is reset, and the refresh operation ends (S24).

【0039】なお、ステップS18において、ブロック
内のデータをECCによる訂正を行わずに、バッファメ
モリに順次書込むようにすることが出来る。基準値Yc
をエラー発生の確立の小さい値に設定すれば、単に、リ
フレッシュを繰返すことになり、より簡便な回路構成で
保持データのレベル遷移が防止される。また、ステップ
S22において、データの書込みを行う際に、別の空い
ているクラスタあるいはブロックに記憶場所を変えて書
込むことが出来る。この場合には、例えば、コンピュー
タシステムのオペレーティングシステムによって、ある
いはメモリ本体のハードウェアに用意されたアドレス変
更機能により、ブロックアドレスの修正を行うなう。
In step S18, the data in the block can be sequentially written in the buffer memory without being corrected by the ECC. Reference value Yc
If is set to a value with which the probability of error occurrence is small, the refresh is simply repeated, and the level transition of the held data is prevented with a simpler circuit configuration. In addition, in step S22, when writing data, it is possible to change the memory location and write to another vacant cluster or block. In this case, for example, the block address is corrected by the operating system of the computer system or by the address changing function prepared in the hardware of the memory body.

【0040】コンピュータシステムの装置電源を落とす
操作が行われて、パワーオフリセットコマンドが入力さ
れ、あるいはプログラム終了の操作が行われると、図4
(c)に示すように、シャットダウンルーチンが実行さ
れる。不揮発性メモリ1に書込まれているメモリの各ク
ラスタについての総読出し回数Y1〜Ynはカウンタの
現在値に夫々更新され、保持される(S6)。
When an operation of turning off the power supply of the apparatus of the computer system is performed, a power-off reset command is input, or an operation of ending the program is performed, FIG.
As shown in (c), the shutdown routine is executed. The total number of times of reading Y1 to Yn for each cluster of the memory written in the nonvolatile memory 1 is updated to the current value of the counter and held (S6).

【0041】本発明の実施例におけるリフレッシュ動作
を開始する基準となる基準読出回数Ycの設定方法につ
いて図2を参照して説明する。特定アドレスのメモリデ
ータを読出し続けたときに、初めて1ビット誤る読出し
回数Xの期待値は、EEPROMの場合、約10万回で
あるので、リフレッシュの基準読出し回数Ycを、例え
ば、その十分の一の1万回に設定する。これにより、1
ページ中の1ビット誤りについて訂正能力を持つECC
を用いても、ECCの誤り訂正能力を超えて発生する誤
り、即ち、2ビット以上の誤りの頻度を、実使用上問題
とならない程度に減らすことができる。勿論、ECCの
エラービット訂正能力をより高いものを用いることによ
って、リフレッシュ基準値を大きく設定することが可能
である。
A method of setting the reference read number Yc which is a reference for starting the refresh operation in the embodiment of the present invention will be described with reference to FIG. When the memory data of a specific address is continuously read, the expected value of the number of times X of reading, which is erroneous by one bit for the first time, is about 100,000 times in the case of the EEPROM. Set to 10,000 times. This gives 1
ECC with correction capability for 1-bit error in page
Even when using, the frequency of errors that exceed the error correction capability of ECC, that is, the error frequency of 2 bits or more, can be reduced to such an extent that it does not pose a problem in practical use. Of course, it is possible to set a large refresh reference value by using a ECC having a higher error bit correction capability.

【0042】逆に、基準読出し回数Ycをエラー発生の
確率の十分に低い値に設定すれば、ECCを持たないシ
ステムであっても、エラーの発生する前にリフレッシュ
を行ってビットの誤り発生を未然に防止することが可能
となる。
On the contrary, if the reference number of times of reading Yc is set to a value with a sufficiently low probability of error occurrence, even in a system having no ECC, refresh is performed before the error occurs and bit error occurrence is performed. It is possible to prevent it in advance.

【0043】図5は、本発明の第4の実施例の構成を示
すブロック図である。同図において、図1と対応する部
分には同一符号を付し、かかる部分の説明は省略する。
FIG. 5 is a block diagram showing the configuration of the fourth embodiment of the present invention. In the figure, parts corresponding to those in FIG. 1 are designated by the same reference numerals, and description of such parts will be omitted.

【0044】基準読出回数Ycが、特定アドレスのメモ
リデータを読出し続けたときに、初めて1ビット誤る読
出し回数の期待値に比べ十分小さく設定されている場合
には、総読出し回数Yiが予め設定された基準値Ycに
等しくなるたびにリフレッシュ動作を実行する必要は少
ない。これは、総読出し回数Yi内に誤る確率が十分に
低い、また、読出されたデータがECCによってエラー
訂正されるからである。その反面、リフレッシュには一
定の時間を要するため、コンピュータシステムの作業内
容によってはプロセスの実行待ちを減らしたい場合があ
る。
When the reference read number Yc is set to be sufficiently smaller than the expected value of the read number in which a 1-bit error occurs for the first time when the memory data of the specific address is continuously read, the total read number Yi is set in advance. It is not necessary to execute the refresh operation every time when it becomes equal to the reference value Yc. This is because the probability of error within the total number of times of reading Yi is sufficiently low, and the read data is error-corrected by the ECC. On the other hand, since refreshing requires a certain amount of time, it may be desirable to reduce the number of process execution waits depending on the work content of the computer system.

【0045】そこで、この実施例では、総読出し回数Y
iが基準値Ycに等しくなったときに、更に、第i番ク
ラスタ中のデータに誤りがあるとき、あるいは誤り個数
Eiが予め設定された誤り許容値Ecを越えたときに、
リフレッシュ動作を行うようにしている。総読出し回数
Yiが基準値Ycに等しくなると、読出回数カウンタ1
3はメモリ本体10に対して第i番クラスタの全データ
を読み出すよう信号を出す。これらのデータは順次、E
CC11を介してバッファメモリ12に読み込まれる。
全データが出力されると同時にシンドローム計算は終了
する。この結果は、誤り個数比較器101に入力され、
予め設定された誤り個数許容値と比較される。誤り個数
が基準値より小さければ、読出回数カウンタ13をリセ
ットするのみにして、データに対するリフレッシュ動作
は行われない。誤り個数が基準値に等しいかまたはそれ
より大きければ、リフレッシュが実行される。すなわ
ち、読出回数カウンタ13をリセットするとともに、第
i番クラスタの全メモリセルの内容はバッファメモリ1
2内に退避される。該クラスタ内の全メモリセルのデー
タはリセットされた後、ECC11によってエラー訂正
されたデータがメモリセルアレイ1に再書込みされる。
Therefore, in this embodiment, the total number of readings Y
When i becomes equal to the reference value Yc, when the data in the i-th cluster has an error, or when the number of errors Ei exceeds the preset error tolerance Ec,
The refresh operation is performed. When the total reading number Yi becomes equal to the reference value Yc, the reading number counter 1
3 issues a signal to the memory body 10 to read all the data of the i-th cluster. These data are sequentially
It is read into the buffer memory 12 via CC11.
The syndrome calculation ends at the same time when all the data is output. This result is input to the error number comparator 101,
It is compared with a preset error count tolerance. If the number of errors is smaller than the reference value, the read number counter 13 is only reset and the refresh operation for the data is not performed. If the number of errors is equal to or larger than the reference value, refresh is executed. That is, the read counter 13 is reset and the contents of all memory cells of the i-th cluster are stored in the buffer memory 1.
Evacuated in 2 After the data of all the memory cells in the cluster are reset, the data error-corrected by the ECC 11 is rewritten in the memory cell array 1.

【0046】このようにして、クラスタiの総読出し回
数Yiが基準値Ycに等しいかこれを超えた場合でも、
第i番クラスタ中のデータ誤り個数Eiが予め設定され
た誤り許容値Ecより小さいときにはECCによって元
のデータが復元可能であり、データに対するリフレッシ
ュ動作は行われないので、データ消去及び再書込みが省
略できる。
In this way, even when the total number of readings Yi of the cluster i is equal to or exceeds the reference value Yc,
When the number of data errors Ei in the i-th cluster is smaller than the preset allowable error value Ec, the original data can be restored by the ECC, and the refresh operation is not performed on the data, so data erasing and rewriting are omitted. it can.

【0047】図6は、上記第4の実施例に関わる不揮発
性半導体記憶装置のリフレッシュ・アルゴリズムを示す
フローチャートである。
FIG. 6 is a flow chart showing the refresh algorithm of the non-volatile semiconductor memory device according to the fourth embodiment.

【0048】図4(a)に示されるように、電源が投入
されると、自動的に全クラスタの前回のリフレッシュか
らこれまでの総読出し回数Yiが読出され(S2)、総
読出し回数をカウントするカウンタにプリセットされる
(S4)。その後、CPU16は不揮発性半導体記憶装
置10からのデータの読出をモニタする。データの読出
しが行われると(S12)、カウンタによって総読出し
カウント数Yiを1ずつ増やし(S14)、総読出し回
数Yiが予め設定された基準読出し回数Ycになったか
どうかを判定する(S16)。総読出し回数Yiが基準
値Ycに等しくなると、全データが読み出され、ECC
11を介してバッファメモリ12に記憶される(S1
8)。これらのデータ中の誤りがECC11によって判
定され、ECC11内の誤り個数カウンタによって個数
Eiが計数される。誤り個数Eiは誤り個数比較器10
1に予め設定されている許容値Ecと比較される(S1
9)。なお、後述の実施例図8(a)において説明する
ように、許容値Ecを適宜変更することが出来る。誤り
個数Eiが許容値Ecを越えているときは、i番目のク
ラスタ中の全ブロックは消去され(S20)、エラー訂
正済みのデータが再度同クラスタに書込まれ、データの
リフレッシュが行われる(S22)。その後、クラスタ
iについての総読出し回数Yiは「0」に書替えられ、
リセットされる(S24)。一方、誤り個数が許容値を
越えていなかった場合には(S19)、データの消去及
び再書込み(S20,S22)は行われず、総読出し回
数Yiは0に書替えられリセットされる(S24)。
As shown in FIG. 4 (a), when the power is turned on, the total number of readings Yi from the previous refresh of all clusters to the previous reading is automatically read (S2), and the total number of readings is counted. The counter is preset (S4). After that, the CPU 16 monitors the reading of data from the nonvolatile semiconductor memory device 10. When the data is read (S12), the total read count number Yi is incremented by 1 by the counter (S14), and it is determined whether or not the total read number Yi reaches a preset reference read number Yc (S16). When the total number of times of reading Yi becomes equal to the reference value Yc, all the data are read and the ECC
It is stored in the buffer memory 12 via 11 (S1
8). The error in these data is judged by the ECC 11, and the number Ei is counted by the error number counter in the ECC 11. The error count Ei is the error count comparator 10
1 is compared with a preset allowable value Ec of 1 (S1
9). It should be noted that the allowable value Ec can be changed as appropriate, as will be described later with reference to FIG. If the number of errors Ei exceeds the allowable value Ec, all blocks in the i-th cluster are erased (S20), the error-corrected data is written again in the same cluster, and the data is refreshed ( S22). After that, the total read number Yi for the cluster i is rewritten to “0”,
It is reset (S24). On the other hand, if the number of errors does not exceed the allowable value (S19), the data is not erased and rewritten (S20, S22), and the total read number Yi is rewritten to 0 and reset (S24).

【0049】このような、モニタルーチン(S12〜S
24)が繰返し、実行されることによって、クラスタi
〜nの書込みデータがリフレッシュされる。
Such a monitor routine (S12-S)
24) is repeated and executed so that the cluster i
The write data of ~ n are refreshed.

【0050】装置の電源を落とす操作やプログラム終了
の操作が行われると、図4(c)に示されるシャットダ
ウンルーチンが実行される。CPU13は不揮発メモリ
内の各クラスタの総読出し回数Yiを夫々のクラスタに
ついてのカウンタの現在値に更新し、データを保持させ
る(S6)。
When the operation of turning off the power of the apparatus or the operation of ending the program is performed, the shutdown routine shown in FIG. 4C is executed. The CPU 13 updates the total read number Yi of each cluster in the non-volatile memory to the current value of the counter for each cluster, and holds the data (S6).

【0051】図7は、本発明の第5の実施例の構成を示
すブロック図であり、特に、メモリセルアレイ1、その
中の1つ又は複数のデータ用ブロックからなる複数のク
ラスタ102a〜102c(実施例では、説明の便宜上
3つであるが、任意数設けられる)、センスアンプ兼ラ
ッチ回路付きビット線制御回路103、ECC11、読
出回数カウンタ13、誤り個数比較器101を取り出し
て示している。
FIG. 7 is a block diagram showing the configuration of the fifth embodiment of the present invention. In particular, the memory cell array 1 and a plurality of clusters 102a-102c (one or a plurality of data blocks therein) are formed. In the embodiment, although three are provided for convenience of description, an arbitrary number is provided), the sense amplifier / latch circuit-equipped bit line control circuit 103, the ECC 11, the read number counter 13, and the error number comparator 101 are shown.

【0052】このうち、メモリセルアレイ1は、複数の
クラスタ102a〜102cに加えて、一時記憶用ブロ
ック102d及び読出回数誤り個数格納用ブロック10
2eを備えている。また、読出回数カウンタ13は、ク
ラスタ102a〜102cの数に対応した数の複数のカ
ウンタR1〜R3を持つ。加算演算を別途の部分(例え
ば、CPU16やECC11の演算部)で行う場合に
は、カウンタR1〜R3は加算値を保持するレジスタで
あり得る。誤り個数比較器101も、クラスタ102a
〜102cの数に対応した数の複数の誤り比較器C1〜
C3を持つ。
Of these, the memory cell array 1 includes, in addition to the plurality of clusters 102a to 102c, a temporary storage block 102d and a read count error number storage block 10.
2e. Further, the read number counter 13 has a plurality of counters R1 to R3 corresponding to the number of clusters 102a to 102c. When the addition operation is performed by a separate part (for example, the CPU 16 or the operation unit of the ECC 11), the counters R1 to R3 may be registers that hold the addition value. The error number comparator 101 also includes the cluster 102a.
A plurality of error comparators C1 ...
Have C3.

【0053】この実施例では、これまでの複数のクラス
タの各々についての、総読出し回数Yiと、前回書込み
または消去した際に生じた誤り個数Eiとが、クラスタ
アドレスiに対応付けられて回数誤り個数格納用ブロッ
ク102e内に全クラスタ分格納されており、それ等の
データが回数誤り個数格納用ブロック102eから読み
出さる。また、複数のクラスタ102a〜102c内に
各クラスタの総読出し回数Yiと誤り個数Eiとを格納
し、各クラスタ内からそのクラスタiについての総読出
し回数Yiと誤り個数Eiとを読出すようにすることが
出来る。
In this embodiment, the total number of readings Yi for each of the plurality of clusters up to now and the number of errors Ei generated at the time of the previous writing or erasing are associated with the cluster address i and the number of errors is increased. All clusters are stored in the number storage block 102e, and such data is read from the number-of-times error number storage block 102e. Further, the total number of readings Yi and the number of errors Ei of each cluster are stored in the plurality of clusters 102a to 102c, and the total number of readings Yi and the number of errors Ei of the cluster i are read from each cluster. You can

【0054】これ等の総読出し回数Yiと誤り個数Ei
のデータは、ECC11を介して夫々読出回数カウンタ
13と誤り個数比較器101に入力される。読出された
総読出し回数Yiは読出回数カウンタR1〜R3のうち
読出したクラスタiに対応するものにプリセットされ
る。また、読出された誤り個数Eiは、誤り個数比較器
C1〜C3のうち読出したクラスタiに対応するものに
比較基準値Eciとしてセットされる。なお、予め一定
値を比較基準値Ecとして読出回数誤り個数格納用ブロ
ック102eに記憶しておき、これを誤り個数比較器1
01にセットすることが出来る。この場合には、誤り個
数比較器をクラスタ数と同数設ける必要はなく、1つで
済む。
The total number of readings Yi and the number of errors Ei
Data is input to the read number counter 13 and the error number comparator 101 via the ECC 11, respectively. The total read number Yi that has been read is preset in the read number counters R1 to R3 corresponding to the read cluster i. The read error count Ei is set as the comparison reference value Eci in the error count comparators C1 to C3 corresponding to the read cluster i. It should be noted that a fixed value is stored in advance in the read count error number storage block 102e as the comparison reference value Ec, and this is stored in the error number comparator 1.
Can be set to 01. In this case, it is not necessary to provide the same number of error number comparators as the number of clusters, and only one is required.

【0055】読出回数カウンタ13の各クラスタのカウ
ント値は各クラスタについて読出しが行われる度に、ま
た、誤り個数比較器101の比較基準値Ecは書込み、
または、消去後の誤り個数チェックが行われる度に夫々
更新される。このようにすることによって、読出ストレ
スによるデータの誤りが発生したかどうかを、誤り個数
Eiと比較基準値Eciとを比較することによって判定
できる。総読出し回数Yiが基準値Ycに等しくなり、
更に、第i番目のクラスタ中のデータに誤り個数Eiが
誤り許容値Eciを越えたときに、リフレッシュ動作を
行うようになされている。
The count value of each cluster of the read number counter 13 is written every time when reading is performed for each cluster, and the comparison reference value Ec of the error number comparator 101 is written,
Alternatively, it is updated each time the number of errors after erasure is checked. By doing so, whether or not a data error has occurred due to the read stress can be determined by comparing the number of errors Ei with the comparison reference value Eci. The total read number Yi becomes equal to the reference value Yc,
Further, when the number of errors Ei in the data in the i-th cluster exceeds the error allowable value Eci, the refresh operation is performed.

【0056】対象のクラスタを、例えば、クラスタ10
2bとすると、クラスタ102b内のデータは1ページ
毎にセンスアンプ兼ラッチ回路付きビット線制御回路1
03に読み出され、ECC11を介して誤り訂正され
る。更に、訂正されたデータは一時記憶用クラスタ10
2dに1ページずつ書込まれる。このようにして、クラ
スタ102b内の全データはエラー訂正されて一時記憶
用クラスタ102dに格納される。その後、クラスタ1
02bは消去され、一時記憶用クラスタ102dのデー
タがクラスタ102bにコピーされる。更に、その後、
一時記憶用クラスタ102dは消去される。ここで、一
時記憶用クラスタ102dとしては、リフレッシュのた
めの専用ブロックとして固定されていてもよいし、ある
いは空いたクラスタを活用することにしてもよい。ただ
し、後者の場合には、データの移動に伴ったブロックア
ドレスの変更が必要になる。更に、最後の一時記憶用ク
ラスタ102dの消去は直ちに実行する必要はなく、時
間節約のためCPU16の空き時間に行ってもよい。
The target cluster is, for example, the cluster 10.
2b, the data in the cluster 102b is stored in the bit line control circuit 1 with a sense amplifier / latch circuit for each page.
03, and the error is corrected via the ECC 11. Further, the corrected data is stored in the cluster 10 for temporary storage.
One page is written in 2d. In this way, all the data in the cluster 102b is error-corrected and stored in the temporary storage cluster 102d. Then cluster 1
02b is erased, and the data in the temporary storage cluster 102d is copied to the cluster 102b. Furthermore, after that,
The temporary storage cluster 102d is deleted. Here, the temporary storage cluster 102d may be fixed as a dedicated block for refreshing, or an empty cluster may be used. However, in the latter case, it is necessary to change the block address as the data moves. Furthermore, the last temporary storage cluster 102d does not need to be erased immediately, but may be erased during the idle time of the CPU 16 to save time.

【0057】図8及び図9は、上記実施例に関わる不揮
発性半導体記憶装置のリフレッシュ・アルゴリズムを示
すフローチャートである。
FIGS. 8 and 9 are flowcharts showing the refresh algorithm of the nonvolatile semiconductor memory device according to the above embodiment.

【0058】装置に電源が投入され、あるいはオペレー
ティングシステムやアプリケーションプログラム等によ
って初期化ルーチンの実行が指令されると、図8(a)
に示される初期化ルーチンが実行される。
When the power of the apparatus is turned on or the execution of the initialization routine is instructed by the operating system, application program, etc., FIG.
The initialization routine shown in is executed.

【0059】不揮発性メモリの全クラスタ1〜nについ
て、前回のリフレッシュからこれまでの総読出し回数Y
iと前回書込みまたは消去した際に生じた誤り個数Ei
が読み出される(S3)。前述したように、読出し回数
誤り個数格納用ブロック102eにクラスタiについて
の総読出し回数Yi及び誤り個数Eiを予め記録してお
くことが出来る。また、各クラスタについてのデータ用
ブロック102a〜102c内に、各クラスタの総読出
し回数Yi及び誤り個数Eiを予め記憶しておくことも
できる。読出された各クラスタについての総読出し回数
Yiは、総読出し回数をカウントするカウンタ13のク
ラスタ毎のカウンタにプリセットされる。読出された各
クラスタの誤り個数Eiは、クラスタiに対応する誤り
個数比較器にエラー基準値Eciとしてセットされる
(S5)。前回の誤り個数Eiを今回のエラー基準値と
することによって、前回に比べて今回のエラーが増加し
たことを判別することが出来る。
For all clusters 1 to n of the non-volatile memory, the total number of read times Y from the last refresh to the present is Y.
i and the number of errors Ei generated when the previous writing or erasing was performed
Is read (S3). As described above, the total read count Yi and the error count Ei for the cluster i can be recorded in advance in the read count error count storage block 102e. Further, the total number of readings Yi and the number of errors Ei of each cluster can be stored in advance in the data blocks 102a to 102c for each cluster. The total read number Yi for each read cluster is preset in the counter for each cluster of the counter 13 that counts the total read number. The read error count Ei of each cluster is set as an error reference value Eci in the error count comparator corresponding to cluster i (S5). By setting the previous error count Ei as the current error reference value, it is possible to determine that the current error has increased compared to the previous time.

【0060】その後、図9に示される読出回数モニタル
ーチンが実行される。CPU16は、データの読出しが
行われる度に、カウンタによって総読出しカウント数を
1増やし(S34)、総読出し回数Yiが予め設定され
た最大読出し回数Ycになったかどうかを判定する(S
36)。総読出し回数Yiが基準値Ycに等しくなる
と、i番目のクラスタの全データが読み出され(S3
8)、ECC11によって誤りが訂正されて(S4
0)、一時記憶用クラスタに格納される(S42)。こ
れらのデータの誤り個数Eiは許容値Ecに比較される
(S44)。誤り個数Eiが許容値Ecを越えていた
ら、クラスタ中の全ブロックは消去され(S46)、一
時記憶用クラスタに格納されている訂正済みのデータが
第i番目のクラスタにコピーされる(S48)。その
後、一時記憶用クラスタ内のデータは消去される(S5
0)。総読出し回数Yiは「0」に書替えられ、リセッ
トされる(S52)。
Thereafter, the read number monitor routine shown in FIG. 9 is executed. Every time data is read, the CPU 16 increments the total read count by 1 by the counter (S34) and determines whether the total read count Yi has reached the preset maximum read count Yc (S).
36). When the total read number Yi becomes equal to the reference value Yc, all the data of the i-th cluster is read (S3
8) The error is corrected by the ECC 11 (S4
0) and stored in the cluster for temporary storage (S42). The error count Ei of these data is compared with the allowable value Ec (S44). If the number of errors Ei exceeds the allowable value Ec, all blocks in the cluster are erased (S46), and the corrected data stored in the temporary storage cluster is copied to the i-th cluster (S48). . After that, the data in the temporary storage cluster is erased (S5).
0). The total read number Yi is rewritten to "0" and reset (S52).

【0061】一方、誤り個数が許容値を越えていなかっ
た場合には(S44)、データの消去及び再書込みは行
われず、総読出し回数Yiは「0」に書替えられ、リセ
ットされる(S52)。
On the other hand, if the number of errors does not exceed the allowable value (S44), the data is not erased and rewritten, and the total read number Yi is rewritten to "0" and reset (S52). .

【0062】書込みまたは消去後には(S32)、書込
みまたは消去されたデータをECC11を介して読出
し、誤り個数のチェックが行われる(S62)。誤り個
数比較器101にセットされている誤り個数の基準値が
更新される(S64)。
After writing or erasing (S32), the written or erased data is read via the ECC 11 and the number of errors is checked (S62). The reference value of the error number set in the error number comparator 101 is updated (S64).

【0063】このような処理(S32〜S64)がクラ
スタ1〜nについて繰返し、行われる。装置の電源を落
す操作やプログラム終了の指令が発令されると、図8
(b)に示されるシャットダウンルーチンが実行され
る。CPU16は、電源が落ち切る前に、不揮発性メモ
リ内に記憶されている、各クラスタについての総読出し
回数Yi及び誤り個数Eiを、データ用クラスタ102
a〜102c内あるいは読出回数誤り個数格納用ブロッ
ク102e内に記録し、総読出し回数Yiを現在のカウ
ンタ13の値に、誤り個数Eiを誤り個数比較器の被比
較数として現在保持されている値に夫々更新する(S
7)。
Such processing (S32 to S64) is repeated for clusters 1 to n. When an operation to turn off the power to the device or a command to end the program is issued,
The shutdown routine shown in (b) is executed. The CPU 16 determines the total number of readings Yi and the number of errors Ei for each cluster, which are stored in the nonvolatile memory, before the power is turned off, by using the data cluster 102.
a-102c or the read count error count storage block 102e, the total read count Yi is the current value of the counter 13, and the error count Ei is the value currently held as the comparand of the error count comparator. To each (S
7).

【0064】前述したように、誤り個数Eiがエラー基
準値Eciとしてセットされる場合(S5)には、誤り
個数Eiは、ECCのエラー訂正能力(例えば、3ビッ
ト)を超えないようにする。
As described above, when the error count Ei is set as the error reference value Eci (S5), the error count Ei should not exceed the error correction capability of ECC (for example, 3 bits).

【0065】図10は、本発明の第6の実施例を示すブ
ロック図である。同図において図1と対応する部分には
同一符号を付し、かかる部分の説明は省略する。また、
図11は、この実施例のリフレッシュ・アルゴリズムを
示すフローチャートである。
FIG. 10 is a block diagram showing a sixth embodiment of the present invention. In the figure, parts corresponding to those in FIG. 1 are designated by the same reference numerals, and description of such parts will be omitted. Also,
FIG. 11 is a flowchart showing the refresh algorithm of this embodiment.

【0066】本実施例では、電源を投入する度にリフレ
ッシュを行うことにより、読出回数カウンタ13を不要
とし、これに伴う操作、例えば、電源を落とす前に総読
出し回数Yi等を予め書替える(保存する)操作等をな
くすことができる。また、メモリ本体10にパリティチ
ェッカ200を備えることによって、メモリ本体の外部
にデータを出力することなく、書込みデータや読出デー
タの誤りの有無を確認することができる。更に、データ
書替え時に誤りの有無をチェックして誤りが生じた場合
にデータ再書込み先を空きクラスタとしているため、書
替え時の誤りを可及的に減らすことが可能となる。
In this embodiment, by performing refreshing every time the power is turned on, the read number counter 13 becomes unnecessary, and the operation associated with this is rewritten in advance, for example, the total read number Yi before turning off the power ( You can eliminate operations such as saving. Further, by providing the parity checker 200 in the memory body 10, it is possible to confirm whether or not there is an error in the write data or the read data without outputting the data to the outside of the memory body. Furthermore, when data is rewritten, the presence or absence of an error is checked, and if an error occurs, the data rewrite destination is an empty cluster, so it is possible to reduce errors during rewriting as much as possible.

【0067】まず、電源が投入されると図11に示され
るプログラムが自動的に起動する。これは、IPL(イ
ニシャルプログラムローダ)やオペレーティングシステ
ムの機能によって実現可能である。1値番目のクラスタ
から、例えば、ページ単位で順にデータを読出し(S7
2)、パリティチェッカ200によって読出したデータ
の誤りの有無が確認される(S74)。誤りが発生した
と判断されると(S76)、データの読出しは中止され
る。エラーデータが属するクラスタi内の全データは、
メモリ本体10の外部に備えられたECC11に読出さ
れ、エラー訂正が実行された後、バッファメモリ12に
格納される(S78)。なお、メモリ本体10は図3に
示すように複数備えることが出来る。
First, when the power is turned on, the program shown in FIG. 11 is automatically started. This can be realized by the functions of the IPL (Initial Program Loader) and the operating system. For example, data is sequentially read from the first-valued cluster in page units (S7
2) The parity checker 200 confirms whether or not there is an error in the read data (S74). When it is determined that an error has occurred (S76), the data reading is stopped. All the data in the cluster i to which the error data belongs are
The data is read out by the ECC 11 provided outside the memory body 10 and subjected to error correction, and then stored in the buffer memory 12 (S78). A plurality of memory bodies 10 can be provided as shown in FIG.

【0068】その後、そのクラスタi内の全ブロックの
データは消去され(S80)、訂正されたデータがバッ
ファメモリ12から転送されて再書込みされる(S8
2)。クラスタiからこの再書込みデータを読出し、パ
リティチェッカ200によって読出したデータの誤りの
有無が確認される(S84)。誤りがあった場合には
(S86)、アドレスをメモリ本体10の空きクラスタ
や予備用のクラスタに変更して(S88)再度データを
書込む(S82)。ここで、再書込みされるデータはバ
ッファメモリ12から得られる。この操作は、再書込み
データに誤りがないことが確認されるまで続けられる
(S82〜S86)。もし、メモリに再書込みを行う空
きがない場合には、S88において、メモリエラーを表
すコードをCPU16に出力し、必要により、CPU1
6に割込処理を行わせて、エラー対策とする。このよう
にして、クラスタ1からクラスタnまで、全メモリデー
タのリフレッシュが終了した後(S90〜S92)、初
めて、CPU16はメモリ本体10にアクセスできるよ
うになる。
Thereafter, the data of all blocks in the cluster i is erased (S80), and the corrected data is transferred from the buffer memory 12 and rewritten (S8).
2). The rewrite data is read from the cluster i, and the parity checker 200 confirms whether or not there is an error in the read data (S84). If there is an error (S86), the address is changed to an empty cluster or a spare cluster of the memory body 10 (S88) and the data is written again (S82). Here, the data to be rewritten is obtained from the buffer memory 12. This operation is continued until it is confirmed that the rewritten data has no error (S82 to S86). If there is no space for rewriting in the memory, in S88, a code indicating a memory error is output to the CPU 16, and if necessary, the CPU 1
Let 6 handle interrupts and take countermeasures against errors. In this way, the CPU 16 can access the memory body 10 for the first time after refreshing all the memory data from the cluster 1 to the cluster n (S90 to S92).

【0069】この実施例で開示した、エラーチェックを
行ったクラスタとは別のクラスタにデータの書込みを行
う技術SA(ステップS78〜S88)は、障害の生じ
たデータブロックの使用をやめ、不具合のないデータブ
ロックを使用するという、重要な技術であり、先述した
実施例、例えば、図4(b)、図6、図9に示される実
施例に組込むことが出来る。なお、上記アルゴリズムで
は、電源投入を契機としているが、これを電源遮断の指
令を受けたときに実行するように出来る。
The technique SA (steps S78 to S88) for writing data in a cluster different from the cluster in which the error check is performed, which is disclosed in this embodiment, stops the use of the faulty data block and causes a malfunction. This is an important technique of using a non-existent data block, and can be incorporated into the above-described embodiments, for example, the embodiments shown in FIGS. 4B, 6 and 9. In the above algorithm, the power is turned on, but this can be executed when a power-off command is received.

【0070】図12に示される実施例は、記憶場所を別
の場所に変更する技術SAのルーチンへの適用例を示す
ものであり、電源源投入から電源オフまでの動作中にお
いて、総読出回数Yiが設定基準Ycになったとき、リ
フレッシュ動作を開始する。また、エラー検出をECC
11に替えてメモリ本体のパリティチェッカ200によ
り行っている。
The embodiment shown in FIG. 12 shows an application example of the technique SA for changing the memory location to another location in the routine, and the total number of read times during the operation from power-on to power-off. When Yi becomes the setting reference Yc, the refresh operation is started. In addition, error detection is ECC
Instead of 11, the parity checker 200 of the memory body is used.

【0071】メモリにアクセスがなされ、クラスタiか
ら読出しが行われると(S104)、クラスタiについ
ての総読出し回数Yiは読出回数カウンタ13によっ
て、1ずつ増えていく(S106)。総読出し回数Yi
が基準値Ycを超えない場合には、ルーチンから退出
し、基準値Ycを超えると(S108)、クラスタiの
データに対してパリティチェックが行われ(S11
0)、エラーが発生したかどうかを判別する(S11
2)。エラーが発生すると、第i番目のクラスタを対象
にリフレッシュ動作が実行される(S114)。ここで
は、図11に示されるSAと同様に、クラスタiにおい
て再書込みエラーが生ずると、別の空きクラスタに書込
みが行われる。再書込みが終了すると、データのリフレ
ッシュに対応して新たに新たに読出数を計数するべく、
読出回数カウンタ13がリセットされる(S116)。
When the memory is accessed and read from the cluster i (S104), the total read number Yi for the cluster i is incremented by 1 by the read number counter 13 (S106). Total read count Yi
If the value does not exceed the reference value Yc, the routine exits. If the value exceeds the reference value Yc (S108), a parity check is performed on the data of the cluster i (S11).
0), it is determined whether an error has occurred (S11).
2). When an error occurs, the refresh operation is executed for the i-th cluster (S114). Here, like SA shown in FIG. 11, when a rewrite error occurs in the cluster i, writing is performed in another free cluster. When the rewriting is completed, in order to newly count the number of readings in response to the data refresh,
The read number counter 13 is reset (S116).

【0072】図13は、電源投入時あるいは電源遮断時
における不揮発性半導体メモリの他のリフレッシュの例
を示している。まず、電源の投入あるいは遮断が指令さ
れると、図13に示されるプログラムが自動的に起動す
る。これは、IPL(イニシャルプログラムローダ)や
オペレーティングシステムの機能によって実現可能であ
る。1番目のクラスタから、例えば、ページ単位で順に
データを読出し(S122)、ECC11によって読出
したデータの誤りの有無が検出され、クラスタiにおい
て誤り数EiがECCの誤り個数カウンタによって計数
される(S124)。誤りの数Eiがエラー基準数Ec
を超えると、(S126)、ステップS20、S22と
同様に、クラスタIのリフレッシュを行う。クラスタi
内の全データは、メモリ本体10の外部に備えられたE
CC11に読出され、エラー訂正が実行された後、バッ
ファメモリ12に格納される。クラスタiの全データは
消去され、エラー訂正されたデータがバッファメモリ1
2から、クラスタiに再書込される(S128)。な
お、前述した図11のSAに示す、クラスタiとは別の
空きクラスタに書込む技術を適用できる。
FIG. 13 shows another example of refreshing the nonvolatile semiconductor memory when the power is turned on or off. First, when the power-on or power-off is instructed, the program shown in FIG. 13 is automatically started. This can be realized by the functions of the IPL (Initial Program Loader) and the operating system. From the first cluster, for example, data is sequentially read in page units (S122), the presence or absence of an error in the data read by the ECC 11 is detected, and the error number Ei in the cluster i is counted by the error number counter of the ECC (S124). ). The number of errors Ei is the error reference number Ec
When it exceeds (S126), the cluster I is refreshed as in steps S20 and S22. Cluster i
All the data in E are stored in the outside of the memory body 10.
The data is read out to CC11, subjected to error correction, and then stored in the buffer memory 12. All data in cluster i is erased and error-corrected data is stored in buffer memory 1
From 2 onward, the cluster i is rewritten (S128). Note that it is possible to apply the technique of writing in a free cluster different from the cluster i shown in SA of FIG. 11 described above.

【0073】ステップS128終了後、あるいはエラー
数Eiが基準に満たない場合(S126)、クラスタが
最終アドレスかどうか、判別する(S130)。最終ア
ドレスでない場合は、次のクラスタをアドレスして(S
132)、エラー検出、リフレッシュ(ステップS12
4〜S128)を繰返す。
After step S128, or if the number of errors Ei is less than the reference (S126), it is determined whether the cluster is the final address (S130). If it is not the final address, address the next cluster (S
132), error detection, refresh (step S12)
4 to S128) is repeated.

【0074】なお、ステップS126において、「Yi
=Yc?」とし、図12のステップS116のように読
出回数カウンタリセットを適宜に挿入することによっ
て、電源投入時あるいは電源遮断時に、図4(b)に示
すような読出数に基づくリフレッシュを行うことが出来
る。
In step S126, "Yi
= Yc? By appropriately inserting the read number counter reset as in step S116 of FIG. 12, it is possible to perform the refresh based on the read number as shown in FIG. 4B when the power is turned on or off. .

【0075】図14は、電源投入時あるいは電源遮断時
における不揮発性半導体メモリの更に他のリフレッシュ
の例を示している。まず、電源の投入あるいは遮断が指
令されると、図14に示されるプログラムが自動的に起
動する。これは、IPL(イニシャルプログラムロー
ダ)やオペレーティングシステムの機能によって実現可
能である。
FIG. 14 shows still another example of refreshing the nonvolatile semiconductor memory when the power is turned on or off. First, when the power-on or power-off is instructed, the program shown in FIG. 14 is automatically started. This can be realized by the functions of the IPL (Initial Program Loader) and the operating system.

【0076】まず、電源が投入されると、自動的に全ク
ラスタの前回のリフレッシュからこれまでの総読出し回
数Yiが読出され、総読出し回数をカウントするカウン
タにプリセットされる。1番目のクラスタが指定され
(S142)、所定場所に記憶されている読出回数Y1
が基準値Ycを超えるかどうかが比較される(S14
4)。超えない場合には、最終のクラスタかどうかが判
別され(Sそ156)、最終のクラスタでない場合、次
のクラスタが指定される(S158)。
First, when the power is turned on, the total number of readings Yi from the previous refresh of all the clusters to the previous reading is automatically read and preset in the counter for counting the total number of readings. The first cluster is designated (S142), and the number of readings Y1 stored in the predetermined location is Y1.
Is compared with the reference value Yc (S14).
4). If it does not exceed, it is determined whether it is the final cluster (S156), and if it is not the final cluster, the next cluster is designated (S158).

【0077】i番目のクラスタの読出回数Yiが基準値
Ycを超えると(S148)、クラスタiの全データが
読み出され、ECC11を介してバッファメモリ12に
記憶される(S146)。これらのデータ中の誤りがE
CC11によって判定され、ECC11内の誤り個数カ
ウンタによってエラー個数Eiが計数される。誤り個数
Eiは誤り個数比較器101に予め設定されている許容
値Ecと比較される(S148)。前述したように、許
容値Ecを固定値にあるいは前回のEi等に適宜変更す
ることが出来る。誤り個数Eiが許容値Ecを越えてい
るときは、i番目のクラスタ中の全ブロックは消去され
(S150)、エラー訂正済みのデータが再度同クラス
タに書込まれ、データのリフレッシュが行われる(S1
52)。その後、クラスタiについての総読出し回数Y
iは「0」に書替えられ、読出回数カウンタはリセット
される(S154)。一方、誤り個数が許容値を越えて
いなかった場合には(S148)、データの消去及び再
書込み(S150,S152)は行われず、総読出し回
数Yiは0に書替えられリセットされる(S154)。
When the number of readings Yi of the i-th cluster exceeds the reference value Yc (S148), all data of the cluster i is read and stored in the buffer memory 12 via the ECC 11 (S146). The error in these data is E
It is determined by CC11, and the error number Ei is counted by the error number counter in the ECC11. The error count Ei is compared with the allowable value Ec preset in the error count comparator 101 (S148). As described above, the allowable value Ec can be appropriately changed to a fixed value or the previous Ei or the like. If the number of errors Ei exceeds the allowable value Ec, all blocks in the i-th cluster are erased (S150), the error-corrected data is written again in the same cluster, and the data is refreshed ( S1
52). After that, the total read count Y for cluster i
i is rewritten to "0", and the read number counter is reset (S154). On the other hand, if the number of errors does not exceed the allowable value (S148), data erasing and rewriting (S150, S152) are not performed, and the total read number Yi is rewritten to 0 and reset (S154).

【0078】このような、ルーチン(S144〜S15
8)が繰返し、実行されることによって、クラスタ1〜
nの書込みデータがリフレッシュされる。
Such a routine (S144 to S15)
8) is repeated and executed, so that the cluster 1
The n write data are refreshed.

【0079】このようにして、電源投入直後あるいは電
源遮断直前に不揮発性メモリ本体の全てのデータの誤り
チェックが行われ、誤り個数が許容値を超えたクラスタ
の全データが読出されて、リフレッシュされる。
In this way, the error check of all the data in the non-volatile memory body is performed immediately after the power is turned on or immediately before the power is turned off, and all the data in the cluster in which the number of errors exceeds the allowable value is read and refreshed. It

【0080】上述した各実施例における特徴部分や要素
を更に組合わせて別のリフレッシュのルーチンを形成す
ることが出来る。図示された、メモリ本体10と、EC
C11〜CPU16とを同一チップ上に形成することが
可能である。例えば、不揮発性メモリを内蔵する1チッ
プマイクロコンピュータとして形成することが可能であ
る。
Further refreshing routines can be formed by further combining the characteristic portions and elements in each of the above-described embodiments. The illustrated memory body 10 and EC
It is possible to form C11 to CPU16 on the same chip. For example, it can be formed as a one-chip microcomputer including a non-volatile memory.

【0081】また、メモリ本体10とECC11〜CP
U16とを別々のチップ上に形成し、マルチチップモジ
ュールによって1つのパッケージに収めることが可能で
ある。勿論、メモリ本体10と、ECC11〜CPU1
6とを配線基板上にモジュール化して構成することが出
来る。
Further, the memory body 10 and the ECCs 11 to CP
It is possible to form U16 on a separate chip and store them in one package by a multi-chip module. Of course, the memory body 10 and the ECC 11 to CPU 1
6 and 6 can be modularized on the wiring board.

【0082】また、実施例では、電源の投入を契機にし
て読出回数モニタルーチン等のリフレッシュサブルーチ
ンを実行したが、これに限られるものではない。例え
ば、電源の遮断の指令を受けた場合や、コンピュータシ
ステムのオペレーティングシステムからの指令によっ
て、あるいはアプリケーションプログラムからのサブル
ーチンコール(あるいは関数呼出し)によって適宜に不
揮発性メモリのリフレッシュを実行することが可能であ
る。
Further, in the embodiment, the refresh subroutine such as the read count monitor routine is executed upon the turning on of the power source, but the present invention is not limited to this. For example, when a power-off command is received, a command from the operating system of the computer system, or a subroutine call (or function call) from an application program can be performed to appropriately refresh the nonvolatile memory. is there.

【0083】このように、本発明の実施例によれば以下
のような効果を得ることが出来る。
As described above, according to the embodiment of the present invention, the following effects can be obtained.

【0084】第1に、電源を落としても前回までの総読
出し回数をカウントすることができるので、最大読出し
回数になったら正しいデータに書替えることができる。
First, since the total number of readings up to the previous time can be counted even if the power is turned off, the correct data can be rewritten when the maximum number of readings is reached.

【0085】第2に、不揮発性メモリ本体内に一時記憶
専用のメモリ領域、あるいは空きメモリ領域、あるいは
バッファメモリに訂正データを一時記憶できるため、も
とのデータを消去して再書込みを行える。
Secondly, since the correction data can be temporarily stored in the memory area dedicated to the temporary storage, the empty memory area, or the buffer memory in the non-volatile memory body, the original data can be erased and rewritten.

【0086】第3に、誤り個数比較器を用いることによ
って、リフレッシュ動作に誤り個数の条件、即ち誤り個
数が設定された許容値以上かどうかという条件を加えら
れるため、誤り個数が基準値より少ない場合に不必要と
なるリフレッシュ動作が行われないようにできる。
Thirdly, since the error count condition is added to the refresh operation by using the error count comparator, that is, whether the error count is greater than or equal to the set allowable value, the error count is smaller than the reference value. In this case, the refresh operation which is unnecessary in some cases can be prevented.

【0087】第4に、最大読出し回数をはじめて1ビッ
ト誤る読出し回数の期待値以下に設定することによっ
て、読出しストレスによる誤りが発生していても、誤り
の個数がECC訂正可能な誤り数以下であるうちに正し
いデータにリフレッシュできる。この結果、誤り訂正能
力を越えて発生する誤りの頻度を、実使用上問題となら
ない程度に減らすことができる。
Fourth, by setting the maximum number of readings to be less than or equal to the expected value of the number of readings that makes a 1-bit error for the first time, even if errors due to read stress occur, the number of errors is less than the number of ECC correctable errors. You can refresh to the correct data in a while. As a result, the frequency of errors that exceed the error correction capability can be reduced to such an extent that it does not pose a problem in practical use.

【0088】第5に、総読出し回数や誤り個数を専用の
クラスタに記憶するようにすることによって、これらの
数の更新を一度のアクセスによって行い得る。
Fifth, by storing the total number of readings and the number of errors in a dedicated cluster, it is possible to update these numbers with one access.

【0089】第6に、誤り個数の基準値をデータ書替え
の際に生じた誤り個数に等しくすることによって、誤り
個数を読出しによる誤りの数と書替えによる誤りの数に
分けることができるため、読出しによる誤りが発生した
ときにリフレッシュできる。
Sixth, by making the reference value of the number of errors equal to the number of errors that occurred during data rewriting, the number of errors can be divided into the number of errors due to reading and the number of errors due to rewriting, and thus reading You can refresh when an error occurs due to.

【0090】第7に、リフレッシュ時に誤りが許容数以
下となるまでクラスタアドレスを空きクラスタに変えて
いくことによって、書込みに失敗したクラスタの消去を
空き時間に行えるようになり、また、リフレッシュの条
件となる誤り個数比較のための基準値を固定できるため
誤り個数基準値の読出しや更新の必要をなくせる。
Seventh, by changing the cluster address to a free cluster until the number of errors becomes less than the allowable number at the time of refreshing, the cluster that has failed to be written can be erased in the free time, and the refresh condition is satisfied. Since the reference value for error count comparison can be fixed, it is not necessary to read or update the error count reference value.

【0091】第8に、電源投入時または遮断時に必ずリ
フレッシュ動作を行うようにすることによって、読出し
回数をメモリ本体内に格納する必要をなくすことができ
る。
Eighth, by always performing the refresh operation when the power is turned on or off, it is possible to eliminate the need to store the read number in the memory body.

【0092】[0092]

【発明の効果】以上述べたように本発明によれば、従来
保持データのリフレッシュは行われていない、書替え可
能な不揮発性メモリにおいて、メモリセルトランジスタ
の閾値変化による保持データの状態遷移によってエラー
が生じる前に再書込(リフレッシュ)し、あるいはエラ
ー訂正可能なエラーの発生範囲内で、保持データを正し
いデータに復元した後再書込みを行うので、読出回数に
影響されないで、正しいデータを保持し続けることが可
能な不揮発性半導体メモリシステムが得られる。
As described above, according to the present invention, in a rewritable non-volatile memory in which the held data has not been refreshed conventionally, an error occurs due to the state transition of the held data due to the threshold change of the memory cell transistor. Rewrite (refresh) before it occurs or restore the retained data to the correct data within the error-correctable error range, and then rewrite, so that the correct data is retained without being affected by the read count. A non-volatile semiconductor memory system that can continue is obtained.

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

【図1】本発明の実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】読出回数と誤りビットの発生数との関係を説明
するグラフである。
FIG. 2 is a graph illustrating the relationship between the number of read times and the number of error bit occurrences.

【図3】本発明の他の実施例を示すブロック図である。FIG. 3 is a block diagram showing another embodiment of the present invention.

【図4】図4(a)は、実施例における初期化ルーチン
を説明するフローチャートである。図4(b)は、実施
例のリフレッシュ動作を説明するフローチャートであ
る。図4(c)は、実施例におけるシャットダウンルー
チンを説明するフローチャートである。
FIG. 4 (a) is a flowchart illustrating an initialization routine in the embodiment. FIG. 4B is a flowchart explaining the refresh operation of the embodiment. FIG. 4C is a flowchart illustrating the shutdown routine in the embodiment.

【図5】本発明の他の実施例を示すブロック図である。FIG. 5 is a block diagram showing another embodiment of the present invention.

【図6】実施例のリフレッシュ動作を説明するフローチ
ャートである。
FIG. 6 is a flowchart illustrating a refresh operation of the embodiment.

【図7】本発明の他の実施例を示すブロック図である。FIG. 7 is a block diagram showing another embodiment of the present invention.

【図8】図8(a)は、図7に示す実施例における初期
化ルーチンを説明するフローチャートである。図8
(b)は、図7に示す実施例におけるシャットダウンル
ーチンを説明するフローチャートである。
8 (a) is a flowchart explaining an initialization routine in the embodiment shown in FIG. 7. FIG. FIG.
(B) is a flow chart for explaining a shutdown routine in the embodiment shown in FIG. 7.

【図9】図9は、図7に示す実施例のリフレッシュ動作
を説明するフローチャートである。
9 is a flowchart illustrating a refresh operation of the embodiment shown in FIG.

【図10】本発明の他の実施例を示すブロック図であ
る。
FIG. 10 is a block diagram showing another embodiment of the present invention.

【図11】図10に示す実施例の電源投入後のリフレッ
シュ動作を説明するフローチャートである。
FIG. 11 is a flowchart illustrating a refresh operation after power is turned on in the embodiment shown in FIG.

【図12】図10に示す実施例の読出回数に基づくリフ
レッシュ動作を説明するフローチャートである。
FIG. 12 is a flowchart illustrating a refresh operation based on the number of read times of the embodiment shown in FIG.

【図13】図10に示す実施例の電源投入後の他のリフ
レッシュ動作を説明するフローチャートである。
13 is a flowchart illustrating another refresh operation after the power is turned on in the embodiment shown in FIG.

【図14】電源投入後の更に他の実施例を説明するフロ
ーチャートである。
FIG. 14 is a flowchart illustrating still another embodiment after power is turned on.

【図15】従来の不揮発性半導体メモリの構成を説明す
る説明図である。
FIG. 15 is an explanatory diagram illustrating a configuration of a conventional nonvolatile semiconductor memory.

【図16】従来の不揮発性半導体メモリの構成を説明す
る断面図である。
FIG. 16 is a cross-sectional view illustrating a configuration of a conventional nonvolatile semiconductor memory.

【図17】従来の不揮発性半導体メモリのメモリセルア
レイ構成を説明する説明図である。
FIG. 17 is an explanatory diagram illustrating a memory cell array configuration of a conventional nonvolatile semiconductor memory.

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

1 メモリセルアレイ 2 ワード線駆動回路 3 ロウデコーダ 4 ビット線制御回路 5 カラムデコーダ 6 アドレスバッファ 7 データ入出力バッファ 8 コマンド入出力バッファ 10 メモリ本体 11 エラー検出訂正(ECC)回路 12 バッファメモリ 13 読出回数カウンタ 14 データ線 15 制御線 16 CPU 17 アドレス線 1 memory cell array 2 word line drive circuit 3 row decoder 4 bit line control circuit 5 column decoder 6 address buffer 7 data input / output buffer 8 command input / output buffer 10 memory body 11 error detection and correction (ECC) circuit 12 buffer memory 13 read counter 14 data line 15 control line 16 CPU 17 address line

───────────────────────────────────────────────────── フロントページの続き (72)発明者 百 冨 正 樹 神奈川県川崎市幸区小向東芝町1 株式会 社東芝多摩川工場内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Masaki Tomoki, Komukai Toshiba-cho, Kouki-ku, Kawasaki-shi, Kanagawa 1 Stock company Toshiba Tamagawa factory

Claims (16)

【特許請求の範囲】[Claims] 【請求項1】データの再書込み可能な不揮発性メモリセ
ル群からなる1つ若しくは複数の記憶領域を有する情報
記憶部と、 前記情報記憶部から読出されるデータのエラーを検出
し、読出データのエラーを訂正して出力する誤り検出訂
正回路と、 前記情報記憶部からのデータの読出しを計数する読出回
数カウンタと、 前記情報記憶部が保持するデータの再書込みを行うリフ
レッシュ制御手段と、を備え、 前記リフレッシュ制御手段は、前記データの読出しの計
数値が読出基準値を超えると、前記情報記憶部から前記
計数の対象となった読出データを含む記憶領域に属する
全データを読出し、読出したデータを前記誤り検出訂正
回路を経由して前記記憶領域に再度書込む、 ことを特徴とする不揮発性半導体記憶部を含む記憶シス
テム。
1. An information storage section having one or a plurality of storage areas made up of a non-volatile memory cell group in which data can be rewritten, and an error of data read from the information storage section is detected to detect read data. An error detection / correction circuit that corrects and outputs an error, a read number counter that counts the reading of data from the information storage unit, and a refresh control unit that rewrites the data held in the information storage unit. When the count value for reading the data exceeds a read reference value, the refresh control unit reads all the data belonging to the storage area including the read data that is the target of the count from the information storage unit and reads the read data. Is rewritten in the storage area via the error detection and correction circuit. A storage system including a non-volatile semiconductor storage unit.
【請求項2】データの再書込み可能な不揮発性メモリセ
ル群からなる1つ若しくは複数の記憶領域を有する情報
記憶部と、 前記情報記憶部から読出されるデータのエラーを検出
し、読出データのエラーを訂正して出力する誤り検出訂
正回路と、 検出されたデータのエラーを計数する誤り個数カウンタ
と、 前記情報記憶部が保持するデータの再書込みを行うリフ
レッシュ制御手段と、を備え、 前記リフレッシュ制御手段は、前記データのエラーの計
数値がエラー基準値を超えると、前記情報記憶部から前
記エラー訂正の対象となった読出データを含む記憶領域
に属する全データを読出し、読出したデータを前記誤り
検出訂正回路を経由して前記記憶領域に再度書込む、 ことを特徴とする不揮発性半導体記憶部を含む記憶シス
テム。
2. An information storage section having one or a plurality of storage areas made up of a non-volatile memory cell group in which data can be rewritten, and an error of data read from the information storage section is detected to detect read data. An error detection / correction circuit that corrects and outputs an error, an error number counter that counts errors in detected data, and a refresh control unit that rewrites data held in the information storage unit, the refresh When the count value of the error of the data exceeds the error reference value, the control means reads all the data belonging to the storage area including the read data which is the object of the error correction from the information storage unit, and reads the read data. A storage system including a non-volatile semiconductor storage unit, which is rewritten to the storage area via an error detection / correction circuit.
【請求項3】データの再書込み可能な不揮発性メモリセ
ル群からなる1つ若しくは複数の記憶領域を有する情報
記憶部と、 前記情報記憶部から読出されるデータのエラーを検出
し、読出データのエラーを訂正して出力する誤り検出訂
正回路と、 検出されたデータのエラーを計数する誤り個数カウンタ
と、 前記情報記憶部からのデータの読出しを計数する読出回
数カウンタと、 前記情報記憶部が保持するデータの再書込みを行うリフ
レッシュ制御手段と、を備え、 前記リフレッシュ制御手段は、前記データの読出の計数
値が読出基準値を超えかつ前記データのエラーの計数値
がエラー基準値を超えると、前記情報記憶部から各計数
の対象となった読出データを含む記憶領域に属する全デ
ータを読出し、読出したデータを前記誤り検出訂正回路
を経由して前記記憶領域に再度書込む、 ことを特徴とする不揮発性半導体記憶部を含む記憶シス
テム。
3. An information storage section having one or a plurality of storage areas each composed of a non-volatile memory cell group in which data can be rewritten, and an error of data read from the information storage section is detected to read out the read data. An error detection / correction circuit that corrects and outputs an error, an error number counter that counts an error in detected data, a read number counter that counts the reading of data from the information storage unit, and the information storage unit holds Refresh control means for rewriting data, wherein the refresh control means, when the read count value of the data exceeds a read reference value and the error count value of the data exceeds an error reference value, All the data belonging to the storage area including the read data that is the object of each count is read from the information storage unit, and the read data is read by the error detection and correction circuit. Storage system including a nonvolatile semiconductor memory unit that writes again written in the storage area via, characterized in that the.
【請求項4】データの再書込み可能な不揮発性メモリセ
ル群からなる1つ若しくは複数の記憶領域を有する情報
記憶部と、 前記情報記憶部から読出されるデータのエラーを検出
し、読出データのエラーを訂正して出力する誤り検出訂
正回路と、 前記情報記憶部からのデータの読出しを計数する読出回
数カウンタと、 データを一時記憶するバッファメモリと、 前記情報記憶部が保持するデータの再書込みを行うリフ
レッシュ制御手段と、を備え、 前記リフレッシュ制御手段は、前記データの読出しの計
数値が読出基準値を超えると、前記情報記憶部から前記
計数の対象となった読出データを含む記憶領域に属する
全データを前記バッファメモリに読出し、読出したデー
タを前記誤り検出訂正回路を経由して前記記憶領域に再
度書込む、 ことを特徴とする不揮発性半導体記憶部を含む記憶シス
テム。
4. An information storage section having one or a plurality of storage areas each composed of a non-volatile memory cell group in which data can be rewritten, and an error of data read from the information storage section is detected to read the read data. An error detection / correction circuit that corrects and outputs an error, a read number counter that counts the reading of data from the information storage unit, a buffer memory that temporarily stores data, and a rewrite of data that the information storage unit holds. Refresh control means for performing, when the read count value of the data exceeds a read reference value, the refresh control means changes from the information storage section to a storage area including the read data to be counted. Reading all data belonging to the buffer memory, and writing the read data to the storage area again via the error detection and correction circuit; Storage system including a nonvolatile semiconductor memory unit according to claim.
【請求項5】データの再書込み可能な不揮発性メモリセ
ル群からなる1つ若しくは複数の記憶領域を有する情報
記憶部と、 前記情報記憶部から読出されるデータのエラーを検出
し、読出データのエラーを訂正して出力する誤り検出訂
正回路と、 検出されたデータのエラーを計数する誤り個数カウンタ
と、 データを一時記憶するバッファメモリと、 前記情報記憶部が保持するデータの再書込みを行うリフ
レッシュ制御手段と、を備え、 前記リフレッシュ制御手段は、前記データのエラーの計
数値がエラー基準値を超えると、前記情報記憶部から前
記エラー訂正の対象となった読出データを含む記憶領域
に属する全データを前記バッファメモリに読出し、読出
したデータを前記誤り検出訂正回路を経由して前記記憶
領域に再度書込む、 ことを特徴とする不揮発性半導体記憶部を含む記憶シス
テム。
5. An information storage section having one or a plurality of storage areas made up of a non-volatile memory cell group in which data can be rewritten, and an error of data read from the information storage section is detected to detect read data. An error detection / correction circuit that corrects and outputs an error, an error number counter that counts errors in detected data, a buffer memory that temporarily stores data, and a refresh that rewrites data held in the information storage unit. Control means, the refresh control means, when the count value of the error of the data exceeds an error reference value, the refresh control means belongs to the storage area including the read data which is the error correction target from the information storage unit. Reading the data into the buffer memory and rewriting the read data into the storage area via the error detection and correction circuit. Storage system including a nonvolatile semiconductor memory unit to symptoms.
【請求項6】データの再書込み可能な不揮発性メモリセ
ル群からなる1つ若しくは複数の記憶領域を有する情報
記憶部と、 前記情報記憶部から読出されるデータのエラーを検出
し、読出データのエラーを訂正して出力する誤り検出訂
正回路と、 検出されたデータのエラーを計数する誤り個数カウンタ
と、 前記情報記憶部からのデータの読出しを計数する読出回
数カウンタと、 データを一時記憶するバッファメモリと、 前記情報記憶部が保持するデータの再書込みを行うリフ
レッシュ制御手段と、を備え、 前記リフレッシュ制御手段は、前記データの読出の計数
値が読出基準値を超えかつ前記データのエラーの計数値
がエラー基準値を超えると、前記情報記憶部から各計数
の対象となった読出データを含む記憶領域に属する全デ
ータを前記バッファメモリに読出し、読出したデータを
前記誤り検出訂正回路を経由して前記記憶領域に再度書
込む、 ことを特徴とする不揮発性半導体記憶部を含む記憶シス
テム。
6. An information storage section having one or a plurality of storage areas each composed of a non-volatile memory cell group in which data can be rewritten, and an error of data read from the information storage section is detected to detect the read data. An error detection / correction circuit for correcting and outputting an error, an error number counter for counting errors in detected data, a read number counter for counting data read from the information storage unit, and a buffer for temporarily storing data A memory and refresh control means for rewriting the data held in the information storage section are provided, wherein the refresh control means counts an error in the data when the count value for reading the data exceeds a read reference value. When the numerical value exceeds the error reference value, all the data belonging to the storage area including the read data targeted for each counting from the information storage unit Storage system including reading Ffamemori, writes again written in the storage area via the error detecting and correcting circuit to read data, a nonvolatile semiconductor memory unit, characterized in that.
【請求項7】データの再書込み可能な不揮発性メモリセ
ル群からなる1つ若しくは複数の記憶領域を有する情報
記憶部と、 前記情報記憶部からのデータの読出しを計数する読出回
数カウンタと、 データを一時記憶するバッファメモリと、 前記情報記憶部が保持するデータの再書込みを行うリフ
レッシュ制御手段と、を備え、 前記リフレッシュ制御手段は、前記データの読出しの計
数値が読出基準値を超えると、前記情報記憶部から前記
計数の対象となった読出データを含む記憶領域に属する
全データを前記バッファメモリに読出し、読出したデー
タを全データが読出された前記記憶領域若しくはこの記
憶領域以外の別の記憶領域に再度書込む、 ことを特徴とする不揮発性半導体記憶部を含む記憶シス
テム。
7. An information storage section having one or a plurality of storage areas each composed of a non-volatile memory cell group in which data can be rewritten, a read number counter for counting the reading of data from the information storage section, and data. A buffer memory for temporarily storing, and a refresh control unit for rewriting data held by the information storage unit, wherein the refresh control unit, when the count value for reading the data exceeds a read reference value, All the data belonging to the storage area including the read data that has been the object of counting from the information storage unit is read into the buffer memory, and the read data is stored in the storage area in which all the data is read or another storage area other than this storage area. A storage system including a non-volatile semiconductor storage unit, which is characterized by rewriting to a storage area.
【請求項8】データの再書込み可能な不揮発性メモリセ
ル群からなる1つ若しくは複数の記憶領域を有する情報
記憶部と、 前記情報記憶部から読出されるデータのエラーを検出
し、読出データのエラーを訂正して出力する誤り検出訂
正回路と、 前記情報記憶部が保持するデータの再書込みを行うリフ
レッシュ制御手段と、を備え、 前記リフレッシュ制御手段は、記憶システムへの電源投
入若しくは電源遮断の際に、前記記憶領域から全データ
を読出し、読出したデータを前記誤り検出訂正回路を経
由して前記記憶領域に再度書込む、 ことを特徴とする不揮発性半導体記憶部を含む記憶シス
テム。
8. An information storage section having one or a plurality of storage areas each composed of a non-volatile memory cell group in which data can be rewritten, and an error of data read from the information storage section is detected to detect the read data. An error detection / correction circuit that corrects and outputs an error, and a refresh control unit that rewrites data held in the information storage unit are provided, and the refresh control unit turns on or off the power to the storage system. At this time, all the data is read from the storage area, and the read data is rewritten to the storage area via the error detection and correction circuit. A storage system including a nonvolatile semiconductor storage unit.
【請求項9】前記リフレッシュ制御手段は、記憶システ
ムへの電源投入若しくは電源遮断の際に、前記情報記憶
部が保持するデータの再書込みを行う、 ことを特徴とする請求項1乃至7のいずれかに記載の不
揮発性半導体記憶部を含む記憶システム。
9. The refresh control means rewrites the data held in the information storage unit when the storage system is powered on or off. A storage system including the nonvolatile semiconductor storage unit according to claim 1.
【請求項10】前記リフレッシュ制御手段は、前記情報
記憶部から各計数の対象となった読出データを含む記憶
領域に属する全データを読出し、読出したデータを、前
記誤り検出訂正回路を経由して、全データが読出された
前記記憶領域以外の別の記憶領域であるリフレッシュ用
に特定された記憶領域若しくは空き記憶領域に書込む、 ことを特徴とする請求項1乃至6のいずれか、又は請求
項8及び9のいずれかに記載の不揮発性半導体記憶部を
含む記憶システム。
10. The refresh control means reads all data belonging to a storage area including read data which is a target of each count from the information storage portion, and reads the read data through the error detection and correction circuit. 7. The data is written in a storage area specified for refreshing or a free storage area, which is another storage area other than the storage area from which all the data has been read out. Item 10. A storage system including the nonvolatile semiconductor memory unit according to any one of items 8 and 9.
【請求項11】前記読出回数カウンタが、前記メモリセ
ル群からなる記憶領域の1つ毎若しくは所定数毎に、該
記憶領域の区分に対応するようにして1つ若しくは所定
数設けられ、 前記リフレッシュ制御手段は、前記記憶領域の1つ毎若
しくは所定数毎に区分された記憶領域に属する全データ
をデータの再書込み単位とする、 ことを特徴とする請求項1、3、4、6、7及び9のい
ずれかに記載の不揮発性半導体記憶装置。
11. The refresh counter is provided for each one or a predetermined number of storage areas consisting of the memory cell group so as to correspond to a division of the storage area, and one or a predetermined number of the read counters are provided. The control means sets all data belonging to a storage area divided into one of the storage areas or a predetermined number of storage areas as a data rewriting unit. 9. The nonvolatile semiconductor memory device according to any one of 9 and 9.
【請求項12】前記誤り個数カウンタの出力をエラー基
準値と比較する比較器が、前記メモリセル群からなる記
憶領域の1つ毎若しくは所定数毎に、該記憶領域の区分
に対応するようにして1つ若しくは所定数設けられ、 前記リフレッシュ制御手段は、前記記憶領域の1つ毎若
しくは所定数毎に区分された記憶領域に属する全データ
をデータの再書込み単位とする、 ことを特徴とする請求項2、3、5及び6のいずれかに
記載の不揮発性半導体記憶装置。
12. A comparator for comparing an output of the error number counter with an error reference value is adapted to correspond to a section of the storage area for each one or a predetermined number of storage areas consisting of the memory cell group. One or a predetermined number of the storage areas are provided, and the refresh control unit sets all data belonging to each of the storage areas or a predetermined number of storage areas as a unit for rewriting data. The non-volatile semiconductor memory device according to claim 2, 3, 5, or 6.
【請求項13】前記リフレッシュ制御手段は、前記情報
記憶部が保持するデータの再書込みを行う契機を監視す
る制御プログラムを立ち上げる際に、前回のデータのエ
ラー計数値を今回のエラー比較の基準値として設定す
る、 ことを特徴とする請求項2、3、5、6及び12のいず
れかに記載の不揮発性半導体記憶装置。
13. The refresh control means sets an error count value of previous data as a reference for error comparison of this time when starting a control program for monitoring a timing of rewriting data held in the information storage section. 13. The nonvolatile semiconductor memory device according to claim 2, wherein the nonvolatile semiconductor memory device is set as a value.
【請求項14】前記読出回数カウンタ若しくは前記誤り
個数カウンタの各計数値は、前記情報記憶部の計数の対
象となったデータを保持する記憶領域内若しくは該計数
値を保持するために用意された記憶領域内に保存され
る、 ことを特徴とする請求項11又は12に記載の不揮発性
半導体記憶部を含む記憶システム。
14. Each count value of the read number counter or the error number counter is prepared in a storage area for holding the data to be counted in the information storage section or for holding the count value. A storage system including the nonvolatile semiconductor storage unit according to claim 11 or 12, wherein the storage system is stored in a storage area.
【請求項15】前記リフレッシュ制御手段は、データの
再書込みを行った記憶領域において読出データの誤り検
出を再度行い、この記憶領域において再度エラーが検出
されたときには、この記憶領域内の全データを他の記憶
領域に移す、 ことを特徴とする請求項10に記載の不揮発性半導体記
憶部を含む記憶システム。
15. The refresh control means re-detects an error in read data in a storage area in which data has been rewritten, and when an error is detected again in this storage area, all data in this storage area is re-detected. The storage system including the non-volatile semiconductor storage unit according to claim 10, wherein the storage system is moved to another storage area.
【請求項16】前記読出基準値は、前記不揮発性メモリ
セル群の読出回数対誤りビット数の分布特性に基づいて
定められる、 ことを特徴とする請求項1、3、4、6及び7のいずれ
かに記載の不揮発性半導体記憶部を含む記憶システム。
16. The read reference value is determined based on a distribution characteristic of the number of read times versus the number of error bits of the non-volatile memory cell group, according to claim 1, 3, 4, 6, and 7. A storage system including the nonvolatile semiconductor storage unit according to any one of claims.
JP8057995A 1995-04-05 1995-04-05 Storage system including nonvolatile semiconductor storage unit Expired - Fee Related JP3176019B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8057995A JP3176019B2 (en) 1995-04-05 1995-04-05 Storage system including nonvolatile semiconductor storage unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8057995A JP3176019B2 (en) 1995-04-05 1995-04-05 Storage system including nonvolatile semiconductor storage unit

Publications (2)

Publication Number Publication Date
JPH08279295A true JPH08279295A (en) 1996-10-22
JP3176019B2 JP3176019B2 (en) 2001-06-11

Family

ID=13722265

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8057995A Expired - Fee Related JP3176019B2 (en) 1995-04-05 1995-04-05 Storage system including nonvolatile semiconductor storage unit

Country Status (1)

Country Link
JP (1) JP3176019B2 (en)

Cited By (59)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6415352B1 (en) 1999-02-24 2002-07-02 Sanyo Electric Co., Ltd. One-chip microcomputer and method of refreshing its data
WO2004109806A1 (en) * 2003-06-04 2004-12-16 Fujitsu Limited Non-volatile semiconductor memory
US6917547B2 (en) 2001-09-06 2005-07-12 Renesas Technology Corp. Non-volatile semiconductor memory device
KR100486132B1 (en) * 1996-12-03 2005-09-02 소니 가부시끼 가이샤 Nonvolatile semiconductor memory with fast data programming and erasing using ECC
US6982904B2 (en) 2004-01-07 2006-01-03 Kabushiki Kaisha Toshiba Non-volatile semiconductor memory device and electric device with the same
US7012835B2 (en) 2003-10-03 2006-03-14 Sandisk Corporation Flash memory data correction and scrub techniques
US7099190B2 (en) 2003-04-22 2006-08-29 Kabushiki Kaisha Toshiba Data storage system
US7366826B2 (en) 2004-12-16 2008-04-29 Sandisk Corporation Non-volatile memory and method with multi-stream update tracking
US7386655B2 (en) 2004-12-16 2008-06-10 Sandisk Corporation Non-volatile memory and method with improved indexing for scratch pad and update blocks
JP2008181380A (en) * 2007-01-25 2008-08-07 Toshiba Corp Memory system, and method for controlling the same
US7412560B2 (en) 2004-12-16 2008-08-12 Sandisk Corporation Non-volatile memory and method with multi-stream updating
JP2008192267A (en) * 2007-02-07 2008-08-21 Megachips Lsi Solutions Inc Method of preventing bit error, and information processing device
JP2008192266A (en) * 2007-02-07 2008-08-21 Megachips Lsi Solutions Inc Memory controller
JP2008262614A (en) * 2007-04-10 2008-10-30 Mega Chips Corp Nonvolatile semiconductor memory device
JP2008293579A (en) * 2007-05-24 2008-12-04 Mega Chips Corp Memory access system
JP2008299621A (en) * 2007-05-31 2008-12-11 Toshiba Corp Data refresh device, and data refresh method
JP2009032347A (en) * 2007-07-30 2009-02-12 Mega Chips Corp Nonvolatile semiconductor storage device
JP2009037317A (en) * 2007-07-31 2009-02-19 Panasonic Corp Memory controller, non-volatile storage device using the same, and non-volatile memory system
JP2009037619A (en) * 2007-08-03 2009-02-19 Samsung Electronics Co Ltd Memory system and reading method thereof
US7508704B2 (en) 2006-07-04 2009-03-24 Kabushiki Kaisha Toshiba Non-volatile semiconductor storage system
JP2009087509A (en) * 2007-10-03 2009-04-23 Toshiba Corp Semiconductor storage device
WO2009107268A1 (en) * 2008-02-29 2009-09-03 Kabushiki Kaisha Toshiba Semiconductor storage device
JP2009224012A (en) * 2007-12-27 2009-10-01 Hagiwara Sys-Com:Kk Method for managing memory
JP2009230475A (en) * 2008-03-24 2009-10-08 Nec Personal Products Co Ltd Storage system including nonvolatile semiconductor storage section
JP2010027021A (en) * 2007-09-28 2010-02-04 Denso Corp Electronic device and program
KR20100046265A (en) * 2007-08-22 2010-05-06 마이크론 테크놀로지, 인크. Error scanning in flash memory
JP2010160816A (en) * 2010-03-29 2010-07-22 Toshiba Corp Control method of semiconductor memory device
JP2010198219A (en) * 2009-02-24 2010-09-09 Toshiba Corp Memory controller and semiconductor memory device
JP2010533929A (en) * 2007-07-19 2010-10-28 マイクロン テクノロジー, インク. Refresh of nonvolatile memory cells based on fatigue states
US7904640B2 (en) 2008-03-01 2011-03-08 Kabushiki Kaisha Toshiba Memory system with write coalescing
JP2011508358A (en) * 2007-12-27 2011-03-10 インディリンクス カンパニー., リミテッド. Flash memory device for leveling wear level at bit level and flash memory programming method
JP2011048871A (en) * 2009-08-26 2011-03-10 Power Flash株式会社 Nand type flash memory and erasing method of the same
CN102157202A (en) * 2008-01-22 2011-08-17 群联电子股份有限公司 Method and controller for preventing nonvolatile memory from occurring read interference
KR20110095104A (en) * 2010-02-17 2011-08-24 삼성전자주식회사 Nonvolatile memory device, operating method thereof and memory system including the same
JP2011170953A (en) * 2010-02-17 2011-09-01 Samsung Electronics Co Ltd Nonvolatile memory, operating method thereof, and memory system incorporating the same
US8027194B2 (en) 1988-06-13 2011-09-27 Samsung Electronics Co., Ltd. Memory system and method of accessing a semiconductor memory device
JP2012146129A (en) * 2011-01-12 2012-08-02 Mega Chips Corp Memory access control apparatus
JP2013504836A (en) * 2009-09-11 2013-02-07 サンディスク テクノロジーズ インコーポレイテッド Identification of hazardous condition data in non-volatile storage
JP2013033402A (en) * 2011-08-02 2013-02-14 Nec Access Technica Ltd Information regeneration device, memory control system, information regeneration method, and computer program
US8533385B2 (en) 2007-12-31 2013-09-10 Phison Electronics Corp. Method for preventing read-disturb happened in non-volatile memory and controller thereof
JP2014525634A (en) * 2011-08-31 2014-09-29 マイクロン テクノロジー, インク. Memory refresh method and apparatus
US8848456B2 (en) 2010-03-04 2014-09-30 Samsung Electronics Co., Ltd. Nonvolatile memory device, erasing method thereof, and memory system including the same
US8908431B2 (en) 2010-02-17 2014-12-09 Samsung Electronics Co., Ltd. Control method of nonvolatile memory device
US8917558B2 (en) 2010-02-09 2014-12-23 Samsung Electronics Co., Ltd. Nonvolatile memory devices, operating methods thereof and memory systems including the same
US8923060B2 (en) 2010-02-17 2014-12-30 Samsung Electronics Co., Ltd. Nonvolatile memory devices and operating methods thereof
US8929145B2 (en) 2010-02-18 2015-01-06 Samsung Electronics Co., Ltd. Nonvolatile memory device, programming method thereof and memory system including the same
US8964476B2 (en) 2010-02-17 2015-02-24 Samsung Electronics Co., Ltd. Non-volatile memory devices, operating methods thereof and memory systems including the same
US9230689B2 (en) 2014-03-17 2016-01-05 Sandisk Technologies Inc. Finding read disturbs on non-volatile memories
US9324440B2 (en) 2010-02-09 2016-04-26 Samsung Electronics Co., Ltd. Nonvolatile memory devices, operating methods thereof and memory systems including the same
US9349479B1 (en) 2014-11-18 2016-05-24 Sandisk Technologies Inc. Boundary word line operation in nonvolatile memory
US9378831B2 (en) 2010-02-09 2016-06-28 Samsung Electronics Co., Ltd. Nonvolatile memory devices, operating methods thereof and memory systems including the same
US9449700B2 (en) 2015-02-13 2016-09-20 Sandisk Technologies Llc Boundary word line search and open block read methods with reduced read disturb
US9552171B2 (en) 2014-10-29 2017-01-24 Sandisk Technologies Llc Read scrub with adaptive counter management
US9653154B2 (en) 2015-09-21 2017-05-16 Sandisk Technologies Llc Write abort detection for multi-state memories
JP2017097909A (en) * 2017-01-25 2017-06-01 ラピスセミコンダクタ株式会社 Control device and control method of semiconductor memory
US9741438B2 (en) 2013-09-16 2017-08-22 Samsung Electronics Co., Ltd. Nonvolatile memory device and program method thereof
US9881685B2 (en) 2010-08-26 2018-01-30 Samsung Electronics Co., Ltd. Nonvolatile memory device, operating method thereof and memory system including the same
US9978456B2 (en) 2014-11-17 2018-05-22 Sandisk Technologies Llc Techniques for reducing read disturb in partially written blocks of non-volatile memory
WO2022029952A1 (en) * 2020-08-06 2022-02-10 三菱電機株式会社 Data recorder and method for using data recorder

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4041076B2 (en) 2004-02-27 2008-01-30 株式会社東芝 Data storage system
JP4791912B2 (en) 2006-08-31 2011-10-12 株式会社東芝 Nonvolatile semiconductor memory device and nonvolatile memory system

Cited By (99)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8027194B2 (en) 1988-06-13 2011-09-27 Samsung Electronics Co., Ltd. Memory system and method of accessing a semiconductor memory device
KR100486132B1 (en) * 1996-12-03 2005-09-02 소니 가부시끼 가이샤 Nonvolatile semiconductor memory with fast data programming and erasing using ECC
US6415352B1 (en) 1999-02-24 2002-07-02 Sanyo Electric Co., Ltd. One-chip microcomputer and method of refreshing its data
US7102943B2 (en) 2001-09-06 2006-09-05 Renesas Technology Corp. Non-volatile semiconductor memory device
US6917547B2 (en) 2001-09-06 2005-07-12 Renesas Technology Corp. Non-volatile semiconductor memory device
US7403436B2 (en) 2001-09-06 2008-07-22 Renesas Technology Corp. Non-volatile semiconductor memory device
US7453728B2 (en) 2003-04-22 2008-11-18 Kabushiki Kaisha Toshiba Data storage system with enhanced reliability with respect to data destruction caused by reading-out of the data
US7099190B2 (en) 2003-04-22 2006-08-29 Kabushiki Kaisha Toshiba Data storage system
JPWO2004109806A1 (en) * 2003-06-04 2006-07-20 富士通株式会社 Nonvolatile semiconductor memory
US7139194B2 (en) 2003-06-04 2006-11-21 Fujitsu Limited Nonvolatile semiconductor memory
JP4532405B2 (en) * 2003-06-04 2010-08-25 富士通セミコンダクター株式会社 Nonvolatile semiconductor memory
WO2004109806A1 (en) * 2003-06-04 2004-12-16 Fujitsu Limited Non-volatile semiconductor memory
US7224607B2 (en) 2003-10-03 2007-05-29 Sandisk Corporation Flash memory data correction and scrub techniques
US7012835B2 (en) 2003-10-03 2006-03-14 Sandisk Corporation Flash memory data correction and scrub techniques
US6982904B2 (en) 2004-01-07 2006-01-03 Kabushiki Kaisha Toshiba Non-volatile semiconductor memory device and electric device with the same
US7386655B2 (en) 2004-12-16 2008-06-10 Sandisk Corporation Non-volatile memory and method with improved indexing for scratch pad and update blocks
US7412560B2 (en) 2004-12-16 2008-08-12 Sandisk Corporation Non-volatile memory and method with multi-stream updating
US8151035B2 (en) 2004-12-16 2012-04-03 Sandisk Technologies Inc. Non-volatile memory and method with multi-stream updating
US7366826B2 (en) 2004-12-16 2008-04-29 Sandisk Corporation Non-volatile memory and method with multi-stream update tracking
US7508704B2 (en) 2006-07-04 2009-03-24 Kabushiki Kaisha Toshiba Non-volatile semiconductor storage system
JP2008181380A (en) * 2007-01-25 2008-08-07 Toshiba Corp Memory system, and method for controlling the same
JP2008192267A (en) * 2007-02-07 2008-08-21 Megachips Lsi Solutions Inc Method of preventing bit error, and information processing device
JP2008192266A (en) * 2007-02-07 2008-08-21 Megachips Lsi Solutions Inc Memory controller
US8214720B2 (en) 2007-02-07 2012-07-03 Megachips Corporation Bit error prevention method and information processing apparatus
JP2008262614A (en) * 2007-04-10 2008-10-30 Mega Chips Corp Nonvolatile semiconductor memory device
JP2008293579A (en) * 2007-05-24 2008-12-04 Mega Chips Corp Memory access system
US7877668B2 (en) 2007-05-24 2011-01-25 Megachips Corporation Memory access system
JP2008299621A (en) * 2007-05-31 2008-12-11 Toshiba Corp Data refresh device, and data refresh method
JP2010533929A (en) * 2007-07-19 2010-10-28 マイクロン テクノロジー, インク. Refresh of nonvolatile memory cells based on fatigue states
JP2009032347A (en) * 2007-07-30 2009-02-12 Mega Chips Corp Nonvolatile semiconductor storage device
JP2009037317A (en) * 2007-07-31 2009-02-19 Panasonic Corp Memory controller, non-volatile storage device using the same, and non-volatile memory system
JP2009037619A (en) * 2007-08-03 2009-02-19 Samsung Electronics Co Ltd Memory system and reading method thereof
KR20100046265A (en) * 2007-08-22 2010-05-06 마이크론 테크놀로지, 인크. Error scanning in flash memory
JP2014041644A (en) * 2007-08-22 2014-03-06 Micron Technology Inc Error scanning in flash memory
JP4525816B2 (en) * 2007-09-28 2010-08-18 株式会社デンソー Electronic device and program
JP2010027021A (en) * 2007-09-28 2010-02-04 Denso Corp Electronic device and program
DE102008049080B4 (en) * 2007-09-28 2020-09-17 Denso Corporation Electronic device
US8010739B2 (en) 2007-09-28 2011-08-30 Denso Corporation Electronic device and program for operating the same
JP2009087509A (en) * 2007-10-03 2009-04-23 Toshiba Corp Semiconductor storage device
JP2009224012A (en) * 2007-12-27 2009-10-01 Hagiwara Sys-Com:Kk Method for managing memory
JP2011508358A (en) * 2007-12-27 2011-03-10 インディリンクス カンパニー., リミテッド. Flash memory device for leveling wear level at bit level and flash memory programming method
US8533385B2 (en) 2007-12-31 2013-09-10 Phison Electronics Corp. Method for preventing read-disturb happened in non-volatile memory and controller thereof
CN102157202A (en) * 2008-01-22 2011-08-17 群联电子股份有限公司 Method and controller for preventing nonvolatile memory from occurring read interference
US8060797B2 (en) 2008-02-29 2011-11-15 Kabushiki Kaisha Toshiba Semiconductor storage device
US8583972B2 (en) 2008-02-29 2013-11-12 Kabushiki Kaisha Toshiba Method of controlling a semiconductor storage device
WO2009107268A1 (en) * 2008-02-29 2009-09-03 Kabushiki Kaisha Toshiba Semiconductor storage device
US9037947B2 (en) 2008-02-29 2015-05-19 Kabushiki Kaisha Toshiba Method of controlling a semiconductor storage device
KR101012445B1 (en) * 2008-02-29 2011-02-08 가부시끼가이샤 도시바 Semiconductor storage device
US8793555B2 (en) 2008-02-29 2014-07-29 Kabushiki Kaisha Toshiba Method of controlling a semiconductor storage device
US8219861B2 (en) 2008-02-29 2012-07-10 Kabushiki Kaisha Toshiba Semiconductor storage device
US7904640B2 (en) 2008-03-01 2011-03-08 Kabushiki Kaisha Toshiba Memory system with write coalescing
US8176237B2 (en) 2008-03-01 2012-05-08 Kabushiki Kaisha Toshiba Solid state drive with input buffer
JP2009230475A (en) * 2008-03-24 2009-10-08 Nec Personal Products Co Ltd Storage system including nonvolatile semiconductor storage section
US8705272B2 (en) 2008-06-13 2014-04-22 Samsung Electronics Co., Ltd. Memory system and method of accessing a semiconductor memory device
US8760918B2 (en) 2008-06-13 2014-06-24 Samsung Electronics Co., Ltd. Memory system and method of accessing a semiconductor memory device
US8638585B2 (en) 2008-06-13 2014-01-28 Samsung Electronics Co., Ltd. Memory system and method of accessing a semiconductor memory device
US8565021B2 (en) 2008-06-13 2013-10-22 Samsung Electronics Co., Ltd. Memory system and method of accessing a semiconductor memory device
US8625344B2 (en) 2008-06-13 2014-01-07 Samsung Electronics Co., Ltd. Memory system and method of accessing a semiconductor memory device
US8614919B2 (en) 2008-06-13 2013-12-24 Samsung Electronics Co., Ltd. Memory system and method of accessing a semiconductor memory device
JP2010198219A (en) * 2009-02-24 2010-09-09 Toshiba Corp Memory controller and semiconductor memory device
JP2011048871A (en) * 2009-08-26 2011-03-10 Power Flash株式会社 Nand type flash memory and erasing method of the same
JP2013504836A (en) * 2009-09-11 2013-02-07 サンディスク テクノロジーズ インコーポレイテッド Identification of hazardous condition data in non-volatile storage
US9378833B2 (en) 2010-02-09 2016-06-28 Samsung Electronics Co., Ltd. Nonvolatile memory devices, operating methods thereof and memory systems including the same
US10217516B2 (en) 2010-02-09 2019-02-26 Samsung Electronics Co., Ltd. Nonvolatile memory devices, operating methods thereof and memory systems including the same
US8917558B2 (en) 2010-02-09 2014-12-23 Samsung Electronics Co., Ltd. Nonvolatile memory devices, operating methods thereof and memory systems including the same
US9378831B2 (en) 2010-02-09 2016-06-28 Samsung Electronics Co., Ltd. Nonvolatile memory devices, operating methods thereof and memory systems including the same
US9330769B2 (en) 2010-02-09 2016-05-03 Samsung Electronics Co., Ltd. Nonvolatile memory devices, operating methods thereof and memory systems including the same
US9324440B2 (en) 2010-02-09 2016-04-26 Samsung Electronics Co., Ltd. Nonvolatile memory devices, operating methods thereof and memory systems including the same
US8923053B2 (en) 2010-02-17 2014-12-30 Samsung Electronics Co., Ltd. Nonvolatile memory device, operating method thereof, and memory system including the same
JP2011170953A (en) * 2010-02-17 2011-09-01 Samsung Electronics Co Ltd Nonvolatile memory, operating method thereof, and memory system incorporating the same
KR20110095104A (en) * 2010-02-17 2011-08-24 삼성전자주식회사 Nonvolatile memory device, operating method thereof and memory system including the same
US9747995B2 (en) 2010-02-17 2017-08-29 Samsung Electronics Co., Ltd. Nonvolatile memory devices, operating methods thereof and memory systems including the same
US8964476B2 (en) 2010-02-17 2015-02-24 Samsung Electronics Co., Ltd. Non-volatile memory devices, operating methods thereof and memory systems including the same
US8908431B2 (en) 2010-02-17 2014-12-09 Samsung Electronics Co., Ltd. Control method of nonvolatile memory device
US9147492B2 (en) 2010-02-17 2015-09-29 Samsung Electronics Co., Ltd. Control method of nonvolatile memory device
US10650903B2 (en) 2010-02-17 2020-05-12 Samsung Electronics Co., Ltd. Non-volatile memory devices, operating methods thereof and memory systems including the same
US10199116B2 (en) 2010-02-17 2019-02-05 Samsung Electronics Co., Ltd. Non-volatile memory devices, operating methods thereof and memory systems including the same
US8923060B2 (en) 2010-02-17 2014-12-30 Samsung Electronics Co., Ltd. Nonvolatile memory devices and operating methods thereof
US11715537B2 (en) 2010-02-17 2023-08-01 Samsung Electronics Co., Ltd. Non-volatile memory devices, operating methods thereof and memory systems including the same
US11062784B2 (en) 2010-02-17 2021-07-13 Samsung Electronics Co., Ltd. Non-volatile memory devices, operating methods thereof and memory systems including the same
US9390803B2 (en) 2010-02-17 2016-07-12 Samsung Electronics Co., Ltd. Non-volatile memory devices, operating methods thereof and memory systems including the same
US8929145B2 (en) 2010-02-18 2015-01-06 Samsung Electronics Co., Ltd. Nonvolatile memory device, programming method thereof and memory system including the same
US8848456B2 (en) 2010-03-04 2014-09-30 Samsung Electronics Co., Ltd. Nonvolatile memory device, erasing method thereof, and memory system including the same
JP2010160816A (en) * 2010-03-29 2010-07-22 Toshiba Corp Control method of semiconductor memory device
US9881685B2 (en) 2010-08-26 2018-01-30 Samsung Electronics Co., Ltd. Nonvolatile memory device, operating method thereof and memory system including the same
US9947416B2 (en) 2010-08-26 2018-04-17 Samsung Electronics Co., Ltd. Nonvolatile memory device, operating method thereof and memory system including the same
JP2012146129A (en) * 2011-01-12 2012-08-02 Mega Chips Corp Memory access control apparatus
JP2013033402A (en) * 2011-08-02 2013-02-14 Nec Access Technica Ltd Information regeneration device, memory control system, information regeneration method, and computer program
JP2014525634A (en) * 2011-08-31 2014-09-29 マイクロン テクノロジー, インク. Memory refresh method and apparatus
US9741438B2 (en) 2013-09-16 2017-08-22 Samsung Electronics Co., Ltd. Nonvolatile memory device and program method thereof
US9230689B2 (en) 2014-03-17 2016-01-05 Sandisk Technologies Inc. Finding read disturbs on non-volatile memories
US9552171B2 (en) 2014-10-29 2017-01-24 Sandisk Technologies Llc Read scrub with adaptive counter management
US9978456B2 (en) 2014-11-17 2018-05-22 Sandisk Technologies Llc Techniques for reducing read disturb in partially written blocks of non-volatile memory
US9349479B1 (en) 2014-11-18 2016-05-24 Sandisk Technologies Inc. Boundary word line operation in nonvolatile memory
US9449700B2 (en) 2015-02-13 2016-09-20 Sandisk Technologies Llc Boundary word line search and open block read methods with reduced read disturb
US9653154B2 (en) 2015-09-21 2017-05-16 Sandisk Technologies Llc Write abort detection for multi-state memories
JP2017097909A (en) * 2017-01-25 2017-06-01 ラピスセミコンダクタ株式会社 Control device and control method of semiconductor memory
WO2022029952A1 (en) * 2020-08-06 2022-02-10 三菱電機株式会社 Data recorder and method for using data recorder
JPWO2022029952A1 (en) * 2020-08-06 2022-02-10

Also Published As

Publication number Publication date
JP3176019B2 (en) 2001-06-11

Similar Documents

Publication Publication Date Title
JP3176019B2 (en) Storage system including nonvolatile semiconductor storage unit
US8125825B2 (en) Memory system protected from errors due to read disturbance and reading method thereof
CN101183563B (en) Memory system including flash memory and method of operating the same
US7839685B2 (en) Soft errors handling in EEPROM devices
US7899980B2 (en) Flash memory system and data writing method thereof
US5509018A (en) Flash-erase-type nonvolatile semiconductor storage device
US8161355B2 (en) Automatic refresh for improving data retention and endurance characteristics of an embedded non-volatile memory in a standard CMOS logic process
US6868007B2 (en) Semiconductor memory system with a data copying function and a data copy method for the same
US20050248999A1 (en) Memory card and memory controller
KR101967368B1 (en) Semiconductor memory device and operating method thereof
US10395753B2 (en) Semiconductor memory device and programming method thereof
TWI537970B (en) Semiconductor memory device and programming method of nand flash memory
JPH06110793A (en) Monovolatile semiconductor memory
JP2005056394A (en) Storage device and memory card
JP3482543B2 (en) Semiconductor memory
US9230650B2 (en) Semiconductor device and method for operating the same
US6535442B2 (en) Semiconductor memory capable of debugging an incorrect write to or an incorrect erase from the same
JP3267320B2 (en) Nonvolatile semiconductor memory device and method of controlling nonvolatile semiconductor memory device
US11568942B2 (en) Using internal block variables and known pattern information to perform dynamic erase operation in non-volatile memory
US20210357288A1 (en) Semiconductor storage apparatus and ecc related information reading method
JPH05282886A (en) Nonvolatile semiconductor memory
TW201546816A (en) Semiconductor memory device and programming method thereof

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080406

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090406

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100406

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100406

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110406

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees