JP2003263894A - Method for controlling nonvolatile semiconductor memory device - Google Patents

Method for controlling nonvolatile semiconductor memory device

Info

Publication number
JP2003263894A
JP2003263894A JP2003033000A JP2003033000A JP2003263894A JP 2003263894 A JP2003263894 A JP 2003263894A JP 2003033000 A JP2003033000 A JP 2003033000A JP 2003033000 A JP2003033000 A JP 2003033000A JP 2003263894 A JP2003263894 A JP 2003263894A
Authority
JP
Japan
Prior art keywords
data
block
host system
writing
logical address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003033000A
Other languages
Japanese (ja)
Inventor
Yutaka Okamoto
豊 岡本
Yoshiyuki Tanaka
義幸 田中
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 JP2003033000A priority Critical patent/JP2003263894A/en
Publication of JP2003263894A publication Critical patent/JP2003263894A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)
  • Memory System (AREA)
  • Read Only Memory (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method for controlling a semiconductor memory device in which write-in is performed and of which a lifetime can be improved. <P>SOLUTION: Each of a plurality of blocks is an erasure unit as a smaller unit than a nonvolatile memory chip in which a memory cell array is realized, this method comprises a step in which a logic address specified by a host system is received, a step in which the logic address is converted to a physical address in a memory means, a step in which old data not changed is copied to a block to be written being already erased when new data corresponding to the logic address does not change all of the old data corresponding to the logic data, a step in which the new data is written in the block to be written being already erased, a step in which blocks in which the old data is recorded are allotted to unused block group, and a step in which unerased blocks included in the unused block group are erased. <P>COPYRIGHT: (C)2003,JPO

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、電気的に書換可能な不
揮発性半導体メモリ素子(EEPROM)の中のNAN
D型EEPROMを用いた不揮発性半導体メモリ装置の
制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a NAN in an electrically rewritable nonvolatile semiconductor memory device (EEPROM).
The present invention relates to a control method for a nonvolatile semiconductor memory device using a D-type EEPROM.

【0002】[0002]

【従来の技術】一般にコンピュータシステムにおける書
換可能な記憶装置(記憶素子)は、その容量に物理的な
限界があるため、不要になった情報の上に新しい情報を
重ね書きして使用される。書換可能な記憶装置(記憶素
子)は、その重ね書きの方法で大別すると2通りに分け
ることが出来る。その一つは、ランダムアクセスメモリ
(RAM)やハードディスク、フロッピディスク或いは
磁気テープのように、古い情報の上に新しい情報をその
まま上書き出来るものである。他の一つは、ある種の光
記憶装置やEEPROMのように重ね書きされる古い情
報を一度消去してからでないと新しい情報が書き込めな
いものである。
2. Description of the Related Art Generally, a rewritable storage device (storage element) in a computer system has a physical limit in its capacity, and therefore, it is used by overwriting new information on unnecessary information. The rewritable memory device (memory element) can be roughly divided into two types according to the method of overwriting. One of them is a random access memory (RAM), a hard disk, a floppy disk, or a magnetic tape that can overwrite new information as it is with old information. The other is that, like some types of optical storage devices and EEPROMs, old information to be overwritten cannot be written until new information must be erased.

【0003】NAND型EEPROMの消去方法は2通
りあり、その一つは、例えばインテル社製フラッシュE
EPROMのようにチップ全体の情報を一度に消去する
方法である。他の一つは、チップの一部分の情報のみを
選択的に消去する方法である。
There are two methods of erasing the NAND type EEPROM, one of which is, for example, a flash E manufactured by Intel Corporation.
This is a method of erasing the information of the entire chip at one time like EPROM. The other is a method of selectively erasing only the information of a part of the chip.

【0004】NAND型EEPROMでは、連続してデ
ータを読み出したり、データを書き込んだりするための
構造的に連続する複数の記憶セルをページという単位で
呼んでいる。例えば、4MビットEEPROMでは、1
ページは、4096ビットの記憶セルで構成されてい
る。また、構造的に連続する複数ページはブロックとい
う単位で呼ばれる。例えば、4MビットEEPROMで
は、8ページ(4kバイト)分の記憶セルで1ブロック
が構成されている。NAND型EEPROMで、チップ
の一部分の情報のみを選択的に消去する場合の単位は、
このブロックと一致している。
In the NAND type EEPROM, a plurality of structurally continuous storage cells for reading data continuously and writing data are called in units of pages. For example, in a 4M bit EEPROM, 1
A page is composed of 4096-bit storage cells. A plurality of pages that are structurally continuous are referred to as a block. For example, in a 4-Mbit EEPROM, one block is composed of storage cells for 8 pages (4 kbytes). In the NAND type EEPROM, the unit for selectively erasing only the information of a part of the chip is
It matches this block.

【0005】NAND型EEPROMは、上記のように
データの一部分のみを消去できるので、磁気ディスク装
置におけるように、1セクタ分のデータのみを書き換え
るといった操作が比較的容易におこなえる不揮発性記憶
素子である。そこで、機械的強度に関する信頼性、低消
費電力、読み出し時間の高速性といった半導体メモリの
特徴を生かして、従来の磁気ディスク装置を置き換える
ような用途に使われだした。
Since the NAND type EEPROM can erase only a part of the data as described above, it is a non-volatile memory element in which the operation of rewriting only the data for one sector can be performed relatively easily as in the magnetic disk device. . Therefore, by taking advantage of the characteristics of semiconductor memory such as reliability regarding mechanical strength, low power consumption, and fast read time, it has been used for applications that replace conventional magnetic disk devices.

【0006】ところが、EEPROMは、データ読み出
しのためのアクセス時間が高速である割に、データ書き
込みには時間がかかる。例えば、4MビットNAND型
EEPROMの場合、1ブロックのデータ読み出しに要
する時間が約490μsocであるのに対し、1ブロッ
クを消去して書き換えるには、消去に約10msec、
データ書き込みに約4msecの時間を要する。
However, while the EEPROM has a high access time for reading data, it takes time to write data. For example, in the case of a 4M-bit NAND type EEPROM, the time required to read one block of data is about 490 μsoc, but to erase and rewrite one block, it takes about 10 msec to erase.
It takes about 4 msec to write data.

【0007】さらに、現状の技術ではデータの書換回数
に制限があり、104 回ないし105回程度の書換で寿
命となる。よって、同一のブロックに対してデータの重
ね書きが集中するとチップ自体の寿命を縮めてしまうと
いう問題があった。
Further, the current technology limits the number of times data is rewritten, and the life is reached by rewriting 10 4 to 105 times. Therefore, if overwriting of data is concentrated on the same block, the life of the chip itself is shortened.

【0008】[0008]

【発明が解決しようとする課題】以上のようにNAND
型EEPROMを用いた従来の不揮発性半導体メモリ装
置は、データの読み出し時間に比べて書き込みに時間が
かかり、しかも、書換回数に制限があるため同一ブロッ
クに重ね書きが集中すると寿命を縮めるという問題があ
った。
As described above, the NAND is used.
In the conventional nonvolatile semiconductor memory device using the type EEPROM, it takes a longer time to write data than a data read time, and moreover, there is a limit in the number of times of rewriting. there were.

【0009】本発明は、このような問題を解決し、書き
込みを高速に行うことができるとともに長寿命化を図る
ことのできる不揮発性半導体メモリ装置の制御方法を提
供することを目的とする。
An object of the present invention is to provide a control method for a non-volatile semiconductor memory device which solves such a problem and enables high-speed writing and a long life.

【0010】[0010]

【課題を解決するための手段】上記課題を解決するため
に、本発明の第1の特徴は、複数のページでそれぞれ構
成された複数のブロックに分割されたメモリセルアレイ
を有するメモリ手段を備え、ホストシステムに接続され
る不揮発性半導体メモリ装置の制御方法であって、
(イ)複数のブロックのそれぞれはメモリセルアレイが
実現されている不揮発性メモリチップよりも小さい単位
としての消去単位であり、(ロ)ホストシステムから指
定される論理アドレスを受取るステップと、(ハ)論理
アドレスをメモリ手段上の物理アドレスに変換するステ
ップと、(ニ)論理アドレスに対応する新たなデータが
論理アドレスに対応する旧データの総てを変更するもの
でない場合、この変更されない旧データを書き込み先と
なる消去済みブロックにコピーするステップと、(ホ)
新たなデータを書き込み先となる消去済みブロックに書
き込むステップと、(ヘ)旧データが記録されていたブ
ロックを未使用ブロック群に割り当てるステップと、
(ト)未使用ブロック群に含まれる未消去ブロックを消
去するステップとを含むことを特徴とする不揮発性半導
体メモリ装置の制御方法であることを要旨とする。
In order to solve the above-mentioned problems, a first feature of the present invention is to provide a memory means having a memory cell array divided into a plurality of blocks each composed of a plurality of pages, A method for controlling a nonvolatile semiconductor memory device connected to a host system, comprising:
(A) Each of the plurality of blocks is an erase unit as a unit smaller than the nonvolatile memory chip in which the memory cell array is implemented, and (b) a step of receiving a logical address designated by the host system, and (c) Converting the logical address to a physical address on the memory means, and (d) if the new data corresponding to the logical address does not change all the old data corresponding to the logical address, the old data that is not changed Copying to an erased block to be written to, (e)
A step of writing new data to an erased block that is a write destination, and (f) a step of allocating a block in which old data was recorded to an unused block group,
(G) a step of erasing an unerased block included in an unused block group, and a method for controlling a non-volatile semiconductor memory device.

【0011】また、本発明の第2の特徴は、複数のペー
ジでそれぞれ構成された複数のブロックに分割されたメ
モリセルアレイを有するメモリ手段を備え、ホストシス
テムに接続される不揮発性半導体メモリ装置の制御方法
であって、(イ)複数のブロックのそれぞれはメモリセ
ルアレイが実現されている不揮発性メモリチップよりも
小さい単位としての消去単位であり、(ロ)ホストシス
テムから指定される論理アドレスを受取るステップと、
(ハ)論理アドレスをメモリ手段上の物理アドレスに変
換するステップと、(ニ)論理アドレスに対応する新た
なデータが論理アドレスに対応する旧データの総てを変
更するものでない場合、この変更されない旧データを書
き込み先となる消去済みブロックにコピーするステップ
と、(ホ)新たなデータを書き込みとなる消去済みブロ
ックに書き込むステップと、(ヘ)旧データが記録され
ていたブロックを未使用ブロックとするステップと、
(ト)ホストシステムに論理アドレスに対応する書き込
みが終了したことを通知するステップと、(チ)通知す
るステップの後に、未使用ブロックを消去するステップ
とを含むことを特徴とする不揮発性半導体メモリ装置の
制御方法であることを要旨とする。
A second feature of the present invention is a nonvolatile semiconductor memory device connected to a host system, comprising a memory means having a memory cell array divided into a plurality of blocks each composed of a plurality of pages. (B) Each of the plurality of blocks is an erase unit as a unit smaller than a nonvolatile memory chip in which a memory cell array is realized, and (b) receives a logical address designated by the host system. Steps,
(C) The step of converting the logical address into the physical address on the memory means, and (d) If the new data corresponding to the logical address does not change all the old data corresponding to the logical address, this step is not changed. Copying the old data to the erased block that is the write destination, (e) writing the new data to the erased block that is the write destination, and (f) the block where the old data was recorded as an unused block. Steps to
(G) a non-volatile semiconductor memory including a step of notifying a host system that writing corresponding to a logical address is completed, and (h) a step of erasing unused blocks after the notifying step. The gist is that it is a method of controlling the device.

【0012】[0012]

【作用】本発明の第1の特徴によれば、新たなデータの
書き込みは、可能な限り予め消去された未使用のブロッ
ク領域に対して行われる。これにより不揮発性半導体メ
モリ装置において本来書き込みに先だって行う必要があ
り且つアクセス時間の増大を余儀なくさせる消去動作が
省略されて高速書き込みが可能になる。また、同一デー
タを更新/変更する場合でも、物理的な書き込み位置は
書き込みの都度変るため、特定のブロックに対する書き
込み回数の増加が回避されて長寿命化を図ることが可能
となる。
According to the first feature of the present invention, new data is written to unused block areas which have been erased in advance as much as possible. As a result, in the non-volatile semiconductor memory device, the erasing operation, which originally needs to be performed prior to the writing and inevitably increases the access time, is omitted, and high-speed writing becomes possible. Further, even when the same data is updated / changed, the physical writing position changes each time writing is performed, so that it is possible to avoid an increase in the number of times of writing to a specific block and to prolong the life.

【0013】また、本発明の第2の特徴によれば、新た
なデータの書き込みは、可能な限り予め消去された未使
用のブロック領域に対して行われる。これにより不揮発
性半導体メモリ装置において本来書き込みに先だって行
う必要があり且つアクセス時間の増大を余儀なくさせる
消去動作が省略されて高速書き込みが可能になる。ま
た、同一データを更新/変更する場合でも、物理的な書
き込み位置は書き込みの都度変るため、特定のブロック
に対する書き込み回数の増加が回避されて長寿命化を図
ることが可能となる。
According to the second aspect of the present invention, new data is written to an unused block area which has been erased in advance as much as possible. As a result, in the non-volatile semiconductor memory device, the erasing operation, which originally needs to be performed prior to the writing and inevitably increases the access time, is omitted, and high-speed writing becomes possible. Further, even when the same data is updated / changed, the physical writing position changes each time writing is performed, so that it is possible to avoid an increase in the number of times of writing to a specific block and to prolong the life.

【0014】[0014]

【実施例】以下、本発明の実施例を図面を参照して説明
する。図1は、不揮発性半導体メモリ装置の全体構成を
示すブロック図である。同図において1はメモリ手段と
してのNAND型EEPROMモジュールであり、複数
個のページからなるブロックに分割されたメモリセルア
レイで構成されている。EEPROMモジュール1はデ
ータ線で結ばれたホストインターフェイス2を介して図
示省略のホストシステムに接続されている。データ線上
には、マルチプレクサ9及びデータバッファ10が設け
られている。また、ホストインターフェイス2内には、
データレジスタ3、アドレスレジスタ4、カウントレジ
スタ5、コマンドレジスタ6、ステータスレジスタ7及
びエラーレジスタ8が設けられている。11はコントロ
ールロジック、12はECC(誤差修正コード)ジェネ
レータ/チェッカ、13はアドレスジェネレータ、14
は消去手段及び制御手段としての機能を有するCPU、
15は作業用RAM、16は制御プログラムROMであ
る。制御プログラムROM16には、データ書き込み等
のための一連の制御プログラムが格納されるようになっ
ている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the overall configuration of a nonvolatile semiconductor memory device. In the figure, reference numeral 1 denotes a NAND type EEPROM module as a memory means, which is composed of a memory cell array divided into blocks composed of a plurality of pages. The EEPROM module 1 is connected to a host system (not shown) via a host interface 2 connected by a data line. A multiplexer 9 and a data buffer 10 are provided on the data line. In the host interface 2,
A data register 3, an address register 4, a count register 5, a command register 6, a status register 7 and an error register 8 are provided. 11 is a control logic, 12 is an ECC (error correction code) generator / checker, 13 is an address generator, 14
Is a CPU having a function as an erasing unit and a control unit,
Reference numeral 15 is a work RAM, and 16 is a control program ROM. The control program ROM 16 is adapted to store a series of control programs for writing data.

【0015】本実施例のメモリ装置は、不揮発性メモリ
領域であるEEPROMモジュール1に記録されるデー
タに関し、その位置を割付け、管理するために管理テー
ブルを使用する。このテーブルは、他のユーザデータと
ともにEEPROMモジュール1に記録されるが、この
装置が起動するときに自動的に作業用RAM15に読み
込まれる。また、このテーブルは、EEPROMモジュ
ール1への書き込みが行われる度にその内容が更新され
るが、この更新されたテーブルは、その都度、或いは装
置の使用が終了する時点でEEPROMモジュール1に
書き戻されることとする。
The memory device of this embodiment uses a management table for allocating and managing the position of the data recorded in the EEPROM module 1 which is a non-volatile memory area. Although this table is recorded in the EEPROM module 1 together with other user data, it is automatically read into the work RAM 15 when the device is started up. The content of this table is updated each time writing is performed to the EEPROM module 1, and the updated table is written back to the EEPROM module 1 each time or when the use of the device is finished. Be decided.

【0016】このテーブルの一つは、図3にその構成を
示す未使用ブロックを管理するためのテーブル(管理テ
ーブル)である。他の一つは、図4に示すホストシステ
ムが指定してくるアドレスとメモリモジュール上の物理
的なアドレスとの対照テーブルである。
One of the tables is a table (management table) for managing unused blocks, the structure of which is shown in FIG. The other is a comparison table between the addresses designated by the host system shown in FIG. 4 and the physical addresses on the memory module.

【0017】まず図3の未使用ブロックを管理するため
のテーブルの一例を説明する。テーブルの1番目210
は、未使用のデータブロックを連鎖状に管理するための
もので、チェインの先頭のブロックへのポインタであ
る。テーブルの2番目211は、同じ目的のポインタで
あるがチェインの最後尾へのポインタである。テーブル
の3番目からn+2番目は、NAND型EEPROMモ
ジュール1の物理的なブロックの1番目からn番目に対
応している。これらの内容は、212に例示するよう
に、さらに、次の未使用ブロックへのポインタ213と
消去フラグ214とから構成されている。テーブルのm
番目218の中のポインタのようにその内容が”−1”
であった場合にはチェインの最後尾であることを示すも
のとする。よってこの例では、最後尾ポインタ211は
テーブルのm番目218をポイントするため内容はmに
セットされる。消去フラグ214は、対応するブロック
が消去済みであるか否かを示すもので、ここでは”0”
の場合は消去済み、”1”の場合は未消去を表すものと
する。
First, an example of the table for managing the unused blocks in FIG. 3 will be described. First 210 in table
Is for managing unused data blocks in a chain, and is a pointer to the first block of the chain. The second 211 in the table is a pointer for the same purpose but to the end of the chain. The third to n + 2th columns of the table correspond to the first to nth physical blocks of the NAND type EEPROM module 1. These contents are further composed of a pointer 213 to the next unused block and an erase flag 214, as illustrated in 212. M on the table
The contents are "-1" like the pointer in the 218th.
If it is, it means that it is the end of the chain. Therefore, in this example, the last pointer 211 points to the m-th 218 of the table, so the content is set to m. The erasure flag 214 indicates whether or not the corresponding block has been erased, and is "0" here.
The case is erased, and the case of "1" is not erased.

【0018】具体的な例を用いてデータが記録される際
の動作の概要を述べる。いま、未使用ブロックの連鎖が
図2(a)のようであると仮定する。データを記録する
には、まず、先頭ポインタ101の内容を調べる。図2
(a)では53番目のテーブルをポイントしているか
ら、書き込み可能なNAND型EEPROMモジュール
1上の物理的なブロックアドレスはオフセット2を減じ
た51となる。ブロック51に書き込みを行なったら、
先頭ポインタ101の値を、102のポイント先33に
セットしなおしてブロック51に対応するテーブル10
2をこのチェインから外す。結果を図2(b)に示す。
An outline of operation when data is recorded will be described using a specific example. Now, assume that the chain of unused blocks is as shown in FIG. To record data, first, the contents of the head pointer 101 are checked. Figure 2
In (a), since it points to the 53rd table, the physical block address on the writable NAND type EEPROM module 1 is 51 after subtracting the offset 2. After writing to block 51,
The table 10 corresponding to the block 51 is set by resetting the value of the head pointer 101 to the point destination 33 of 102.
Remove 2 from this chain. The results are shown in Fig. 2 (b).

【0019】この書き込みに伴なって、既存のブロック
のデータが不要になった場合には、さらに、図2(c)
に示すようにテーブルが更新されるような操作を行う。
不要になったデータを記録していたのがブロック45で
あったとすると、最後尾ポインタ105がポイントして
いるテーブルの151番目104の中のポインタと最後
尾ポインタ105の値をブロック45に対応するテーブ
ル番号47にセットしなおす。テーブルの47番目10
7の中のポインタは”−1”に、消去フラグは”−1”
に設定される。
When the data of the existing block is no longer needed due to this writing, the data of FIG.
The table is updated as shown in.
If it is assumed that the block 45 records the unnecessary data, the pointers in the 151st 104 of the table pointed to by the last pointer 105 and the values of the last pointer 105 correspond to the block 45. Reset to table number 47. 47th on table 10
The pointer in 7 is "-1", and the erase flag is "-1".
Is set to.

【0020】未使用ブロックのチェインに加えられた直
後のブロックは消去されていないので、読み出し/書き
込みアクセスが途絶えたときにチェインを順次手繰りな
がら、消去を行い、そのブロックに対応するテーブルの
消去フラグを”0”にセットする。
Since the block immediately after being added to the chain of unused blocks is not erased, when the read / write access is interrupted, the chain is sequentially rotated and erased, and the erase flag of the table corresponding to the block is erased. Is set to "0".

【0021】次いで、図4の対照テーブルを説明する。
テーブルの長さnは、NAND型EEPROMモジュー
ル1のブロック以下とする。例えば、以後簡単のために
ここではEEPROMモジュール1が4MビットEEP
ROM1個で構成されていると仮定すると、1ブロック
の容量は4kバイトであるから、ブロックの総数は12
8個となり、対照テーブルの項目数nも128以下であ
る。
Next, the comparison table of FIG. 4 will be described.
The length n of the table is equal to or less than the block of the NAND type EEPROM module 1. For example, for the sake of simplicity, here, the EEPROM module 1 is a 4M bit EEP
Assuming that it is composed of one ROM, the capacity of one block is 4 kbytes, so the total number of blocks is 12
There will be eight, and the number of items n in the control table is 128 or less.

【0022】この装置では、EEPROMモジュール1
のブロックの容量に相当するデータ量を単位として、E
EPROMモジュール1上の物理的位置の割り付けを行
う。即ち、テーブルの1項目めは、ホストシステムから
指定される最初の4kバイト分のデータが実際に記録さ
れる物理的位置を示している。図4の例では、203
は、テーブルの3番目の項目であるから、ホストシステ
ムから指定してくるアドレス(以後論理アドレスと記
載)の8kバイト目からの4kバイトが、実際にはEE
PROMモジュール1の101番目のブロックに割り当
てられていることを示している。また、201,202
のように”−1”の書かれたテーブルは、その位置に対
応する論理アドレスへの書き込みがまだ行われていない
ため、物理的な領域の割り付けが行われていないことを
示す。
In this device, the EEPROM module 1
E is the unit of the amount of data corresponding to the capacity of the block
The physical location on the EPROM module 1 is assigned. That is, the first item in the table indicates the physical position where the first 4 kbytes of data designated by the host system is actually recorded. In the example of FIG. 4, 203
Is the third item in the table, so 4 kbytes from the 8 kth byte of the address (hereinafter referred to as logical address) specified by the host system is actually EE
It is shown that it is assigned to the 101st block of the PROM module 1. Also, 201, 202
As described above, the table in which "-1" is written indicates that the physical area is not allocated because the writing to the logical address corresponding to the position has not been executed yet.

【0023】次に、この装置の動作を説明する。ホスト
システムは、図1のホストインターフェイス2内のアド
レスレジスタ4にアクセス開始アドレスを、カウントレ
ジスタ5にアクセスしたいデータのセクタ長をセット
し、最後にコマンドレジスタ6に読み出し/書き込み等
の命令をセットする。ホストインターフェイス2のコマ
ンドレジスタ6にアクセス命令が書き込まれると、コン
トローラ内のCPU14は、コマンドレジスタ6内の命
令を読み込み、制御プログラムROM16に納められた
コマンド実行のための一連の制御プログラムを実行す
る。以下の説明では、簡単のためホストシステムの指定
してくるセクタ長とEEPROMモジュール1における
ページ長は一致しているものと仮定する。
Next, the operation of this device will be described. The host system sets the access start address in the address register 4 in the host interface 2 of FIG. 1, sets the sector length of the data to be accessed in the count register 5, and finally sets the read / write command in the command register 6. . When an access command is written in the command register 6 of the host interface 2, the CPU 14 in the controller reads the command in the command register 6 and executes a series of control programs for command execution stored in the control program ROM 16. In the following description, for simplicity, it is assumed that the sector length designated by the host system and the page length in the EEPROM module 1 match.

【0024】図5は、EEPROMモジュール1からデ
ータを読み出す手順を示すフローチャートである。ま
ず、図1のCPU14は、ホストインターフェイス2に
セットされた開始アドレスと管理テーブル内のアドレス
変換テーブルを参照して読み出しを行うべきEEPRO
Mモジュール1上の物理的なアドレスを決定する(ステ
ップ301)。次に、EEPROMモジュール1からデ
ータバッファ10にデータを読み出す(ステップ30
2)。次いで、後に詳述するようなエラー処理及びデー
タバッファ10からホストシステムへのデータ転送等を
実行する(ステップ303〜305)。
FIG. 5 is a flowchart showing a procedure for reading data from the EEPROM module 1. First, the CPU 14 of FIG. 1 refers to the start address set in the host interface 2 and the address conversion table in the management table, and reads EEPRO.
The physical address on the M module 1 is determined (step 301). Next, the data is read from the EEPROM module 1 to the data buffer 10 (step 30).
2). Next, error processing and data transfer from the data buffer 10 to the host system, which will be described later, are executed (steps 303 to 305).

【0025】図6は、EEPROMモジュール1からデ
ータバッファ10にデータを読み出す手順を示すフロー
チャートである。CPU14は、EEPROMモジュー
ル1をマルチプレクサ9を通してアクセスし読み出しモ
ードに設定し、データバッファ10を読み出しモードに
設定する(ステップ401,402)。アドレスジェネ
レータ13には、読み出しを行うべきEEPROMモジ
ュール1の物理的なアドレスを設定する(ステップ40
3)。そして、データバッファ10に、読み出したデー
タを蓄えるべき領域を決定してその先頭番地をデータバ
ッファ10への書き込みアドレスとして設定する(ステ
ップ404)。その後、コントロールロジック11に対
してデータ読み出しのための定められたシーケンスを実
行するように指令を送る。
FIG. 6 is a flow chart showing a procedure for reading data from the EEPROM module 1 to the data buffer 10. The CPU 14 accesses the EEPROM module 1 through the multiplexer 9 to set the read mode, and sets the data buffer 10 in the read mode (steps 401 and 402). A physical address of the EEPROM module 1 to be read is set in the address generator 13 (step 40).
3). Then, an area in which the read data is to be stored is determined in the data buffer 10 and its head address is set as a write address to the data buffer 10 (step 404). After that, the control logic 11 is instructed to execute a predetermined sequence for reading data.

【0026】コントロールロジック11は、マルチプレ
クサ9をEEPROMモジュール1からの読み出しデー
タがデータバッファ10に流れるように設定し、アドレ
スジェネレータ13の内容をインクリメントしながら、
1セクタ分のデータを読み出す(ステップ405)。ま
た、EECジェネレータ/チェッカ12をこれらのデー
タ及びこれに付随して読み出されるECCコードを使っ
て誤りを検出するように制御する。1セクタ分のデータ
が読み出されると、CPU14は、ECCジェネレータ
/チェッカ12をチェックしデータの誤りを検査する
(ステップ406)。誤りが検出されなかった場合、又
は検出されても訂正が行えた場合は、データバッファ1
0からホストシステムにデータを転送する。もし、訂正
不可能な誤りが検出された場合には、ホストシステムに
対するデータ転送は行わずに、CPU14は、ホストイ
ンターフェイス2内のステータスレジスタ7にエラーが
起きたことを示すコードを、エラーレジスタ8にエラー
の内容を示すコードを設定し、ホストシステムに命令の
実行が異常終了したことを通知して処理を終了する(ス
テップ407〜410)。
The control logic 11 sets the multiplexer 9 so that the read data from the EEPROM module 1 flows to the data buffer 10 and increments the contents of the address generator 13 while
Data for one sector is read (step 405). Further, the EEC generator / checker 12 is controlled to detect an error by using these data and the ECC code read together with the data. When the data for one sector is read out, the CPU 14 checks the ECC generator / checker 12 for an error in the data (step 406). If no error is detected, or if it is detected and corrected, the data buffer 1
Transfer data from 0 to the host system. If an uncorrectable error is detected, the CPU 14 does not transfer data to the host system, and the CPU 14 sends a code indicating that an error has occurred to the status register 7 in the host interface 2 to the error register 8 A code indicating the content of the error is set in, the host system is notified that the execution of the instruction has terminated abnormally, and the processing ends (steps 407 to 410).

【0027】図7は、データバッファからホストシステ
ムにデータを転送する手順を示すフローチャートであ
る。CPU14は、データバッファ10に読み出したデ
ータが蓄えられた領域の先頭番地を同バッファからの読
み出しアドレスとして設定し(ステップ501,50
2)、コントロールロジック11に対して、ホストシス
テムに1セクタ分のデータの転送を行うように指令す
る。コントロールロジック11は、データバッファ10
とホストインターフェイス2を制御してホストシステム
に対して1セクタ分のデータを転送し(ステップ50
3)、これが終了するとアドレスレジスタ4を1セクタ
分進め、カウントレジスタ5から1を減じ、CPU14
に転送が終了したことを通知する。ホストシステムに転
送すべきデータが残っている限り、CPU14はこの制
御を繰り返す。読み出しデータが全て転送されたら、C
PU14は、ホストインターフェイス2内のステータス
レジスタ7にエラーの無かったことを示すコードを設定
し、ホストシステムに命令の実行が終了したことを通知
して処理を終了する。
FIG. 7 is a flowchart showing the procedure for transferring data from the data buffer to the host system. The CPU 14 sets the head address of the area where the data read out to the data buffer 10 is stored as the read address from the buffer (steps 501, 50).
2) Instruct the control logic 11 to transfer data for one sector to the host system. The control logic 11 uses the data buffer 10
By controlling the host interface 2 and transferring one sector of data to the host system (step 50).
3) When this is completed, the address register 4 is advanced by one sector, 1 is subtracted from the count register 5, and the CPU 14
Notify that the transfer is complete. The CPU 14 repeats this control as long as data to be transferred remains in the host system. When all the read data has been transferred, C
The PU 14 sets a code indicating that there is no error in the status register 7 in the host interface 2, notifies the host system that the instruction has been executed, and ends the process.

【0028】図8及び図9は、EEPROMモジュール
1へデータを書き込む手順を示すフローチャートであ
る。CPU14はホストインターフェイス2にセットさ
れた開始アドレスと管理テーブル内のアドレス変換テー
ブルを参照して、ホストシステムが書き込みを行おうと
しているアドレスに割り振られているEEPROMモジ
ュール1上のブロックを割り出す(ステップ601)。
ホストシステムの指示するアドレスに対応するEEPR
OMモジュール1上のブロックが既に割り振られてい
て、かつ、ホストシステムからの要求がそのブロックの
データの全てを書き換えるものでない場合は、ブロック
内の書き換えられないデータをデータバッファ10に読
み込む(ステップ602〜604)。EEPROMモジ
ュール1からデータバッファ10にデータを読み出す手
順は、先に図6のフローチャートを用いて説明した。ブ
ロック内の重ね書きされない部分のデータが全てデータ
バッファ10に読み込まれるまで図6の処理が繰り返さ
れる。次いで、後に詳述するようなホストシステムから
データバッファ10への書き込みデータの転送、データ
バッファ10からEEPROMモジュール1へのデータ
の書き込み処理及びエラー処理等を実行する(ステップ
605〜611)。
FIG. 8 and FIG. 9 are flowcharts showing the procedure for writing data to the EEPROM module 1. The CPU 14 refers to the start address set in the host interface 2 and the address conversion table in the management table to determine the block on the EEPROM module 1 allocated to the address to which the host system is trying to write (step 601). ).
EEPR corresponding to the address designated by the host system
If the block on the OM module 1 is already allocated and the request from the host system does not rewrite all the data of the block, the unrewritable data in the block is read into the data buffer 10 (step 602). ~ 604). The procedure for reading data from the EEPROM module 1 to the data buffer 10 has been described above with reference to the flowchart of FIG. The processing of FIG. 6 is repeated until all the data of the portion in the block which is not overwritten is read into the data buffer 10. Then, the write data transfer from the host system to the data buffer 10, the data write processing from the data buffer 10 to the EEPROM module 1 and the error processing, which will be described later, are executed (steps 605 to 611).

【0029】図10は、ホストシステムからデータバッ
ファ10に書き込みデータを転送する手順を示してい
る。CPU14は、データバッファ10を書き込みモー
ドに設定し(ステップ701)、ホストシステムから転
送されてくるデータが蓄えられるデータバッファ10上
のアドレスを同バッファへの書き込みアドレスとして設
定する(ステップ702)。その後、コントロールロジ
ック11に対して、ホストシステムから1セクタ分のデ
ータの転送を行うように指令する。コントロールロジッ
ク11は、データバッファ10とホストインターフェイ
ス2を制御してホストシステムから1セクタ分のデータ
を受け取り、これが終了するとCPU14に転送が終了
したことを通知する(ステップ703)。図10の処理
は、ホストシステムから転送すべきデータが残ってい
て、かつ、データバッファ10にEEPROMモジュー
ル1の書き込みを行おうとしているブロックのためのデ
ータが不足している限り続けられる。ホストシステムか
らの転送が終了したら、CPU14はホストインターフ
ェイス2にセットされた開始アドレスと未使用ブロック
を管理するテーブルを参照して、先に説明したように未
使用ブロックのチェインを手繰って、データバッファ1
0に蓄えられた1ブロック分のデータが書き込まれるべ
きEEPROMモジュール1上の未使用ブロックを決定
し、EEPROMモジュール1上に書き込みを行う。
FIG. 10 shows a procedure for transferring write data from the host system to the data buffer 10. The CPU 14 sets the data buffer 10 in the write mode (step 701), and sets the address on the data buffer 10 where the data transferred from the host system is stored as the write address to the buffer (step 702). After that, the control logic 11 is instructed to transfer data for one sector from the host system. The control logic 11 controls the data buffer 10 and the host interface 2 to receive one sector of data from the host system, and when this is completed, notifies the CPU 14 that the transfer is completed (step 703). The process of FIG. 10 is continued as long as the data to be transferred from the host system remains and the data for the block in which the EEPROM module 1 is to be written is insufficient in the data buffer 10. When the transfer from the host system is completed, the CPU 14 refers to the start address set in the host interface 2 and the table that manages the unused blocks, and manually chains the unused blocks as described above to obtain the data. Buffer 1
The unused block on the EEPROM module 1 to which the data for one block stored in 0 is to be written is determined, and writing is performed on the EEPROM module 1.

【0030】図11は、データバッファ10内のデータ
1ページ分をEEPROMモジュールに書き込む手順を
示したフローチャートである。CPU14は、EEPR
OMモジュール1とデータバッファ10に必要ならば初
期設定を施した後(ステップ801,802)、書き込
みを行うページの先頭アドレスをアドレスジェネレータ
13に設定し(ステップ803)、データバッファ10
には、書き込まれるデータの先頭アドレスを同バッファ
の読み出しアドレスとして設定する(ステップ80
4)。そして、コントロールロジック11に対してデー
タ書き込みのための定められたシーケンスを実行するよ
うに指令を送る。コントロールロジック11は、マルチ
プレクサ9をデータバッファ10からの書き込みデータ
がEEPROMモジュール1に流れるように設定し、ア
ドレスジェネレータ13の内容をインクリメントしなが
らデータを書き込む(ステップ805)。また、ECC
ジェネレータ/チェッカ12をこれらのデータからEC
Cコードを生成するように制御し、データとともにこの
コードも記録する(ステップ806)。図11の処理
は、書き込みエラーが発生するか、1ブロック分のデー
タを書き終えるかするまで続けられる(ステップ80
7)。データの書き込みが正常に行えなかった場合はエ
ラー処理を行い、1ブロック分のデータが書き込まれる
べきEEPROMモジュール1上のブロックを割付けな
おして、再度、書き込みを行なう。書き込みが正常に終
了したら管理テーブルの内容を更新する。
FIG. 11 is a flow chart showing a procedure for writing one page of data in the data buffer 10 into the EEPROM module. CPU14 is EEPR
After initializing the OM module 1 and the data buffer 10 if necessary (steps 801, 802), the start address of the page to be written is set in the address generator 13 (step 803), and the data buffer 10 is set.
Is set as the read address of the buffer (step 80).
4). Then, the control logic 11 is instructed to execute a predetermined sequence for writing data. The control logic 11 sets the multiplexer 9 so that the write data from the data buffer 10 flows to the EEPROM module 1, and writes the data while incrementing the content of the address generator 13 (step 805). Also, ECC
EC from generator / checker 12 from these data
It is controlled to generate a C code, and this code is recorded together with the data (step 806). The process of FIG. 11 is continued until a write error occurs or writing of data for one block is completed (step 80).
7). If the data cannot be written normally, error processing is performed, the block on the EEPROM module 1 into which the data for one block should be written is reassigned, and the writing is performed again. When the writing is completed normally, the contents of the management table are updated.

【0031】ホストシステムの要求するデータを全て記
録し終えるか、エラーからの回復が不可能で処理を中断
した場合は、CPU14は、ホストインターフェイス2
内のステータスレジスタ7に所定のコードを設定し、ホ
ストシステムに命令の実行が終了したことを通知する。
ホストインターフェイス2のコマンドレジスタ6にアク
セス命令が書き込まれない適当なタイミングに、コント
ローラ内のCPU14は、先に説明したように、未使用
ブロック管理テーブルのチェインを手繰りながら未消去
のブロックを順次消去してゆく。
When the recording of all the data requested by the host system is completed or the processing is interrupted because the recovery from the error is impossible, the CPU 14 causes the host interface 2
A predetermined code is set in the status register 7 therein to notify the host system that the execution of the instruction is completed.
At an appropriate timing when the access command is not written in the command register 6 of the host interface 2, the CPU 14 in the controller sequentially erases the unerased blocks while handing the chain of the unused block management table, as described above. Go on.

【0032】なお、上記の実施例では、EEPROMモ
ジュール1は、ホストインターフェイス2を介して、ホ
ストシステムと並行して動作可能なコントローラにより
制御される形態を取っているが、ホストシステムのCP
Uにより直接制御される形態を取ってもよい。その他、
本発明はその主旨を逸脱しない範囲で種々変形して用い
ることができる。
In the above embodiment, the EEPROM module 1 is controlled by the controller capable of operating in parallel with the host system via the host interface 2.
It may take a form directly controlled by U. Other,
The present invention can be variously modified and used without departing from the spirit thereof.

【0033】[0033]

【発明の効果】以上説明したように、本発明によれば、
新たなデータの書き込みは、可能な限り予め消去された
未使用のブロックに対して行うようにしたため、本来書
き込みに先だって行う必要があり且つアクセス時間の増
大を余儀なくさせる消去動作が省略されて書き込みを高
速に行うことができる。また、同一データを更新/変更
する場合でも、物理的な書き込み位置は書き込みの度ご
とに変るため、特定のブロックに対する書き込み回数の
増加が回避されて長寿命化を図ることができる不揮発性
半導体メモリ装置の制御方法を提供できる。
As described above, according to the present invention,
New data is written to unused blocks that have been erased in advance as much as possible.Therefore, it is necessary to write new data before writing, and the erase operation that forces an increase in access time is omitted and writing is omitted. It can be done at high speed. Further, even when the same data is updated / changed, the physical writing position changes every time writing is performed, so that an increase in the number of times of writing to a specific block can be avoided and a long life can be achieved. A method of controlling the device can be provided.

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

【図1】本発明に係る不揮発性半導体メモリ装置の実施
例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a nonvolatile semiconductor memory device according to the present invention.

【図2】本実施例において未使用ブロックを管理するテ
ーブルの操作を説明するための図である。
FIG. 2 is a diagram for explaining an operation of a table that manages an unused block in this embodiment.

【図3】本実施例における未使用ブロックを管理するテ
ーブルの操作を説明するための図である。
FIG. 3 is a diagram for explaining an operation of a table that manages an unused block in this embodiment.

【図4】本実施例におけるアドレス変換用の対照テーブ
ルの構成を示す図である。
FIG. 4 is a diagram showing a configuration of a comparison table for address conversion in the present embodiment.

【図5】本実施例においてEEPROMモジュールから
データの読み出し処理を説明するためのフローチャート
である。
FIG. 5 is a flow chart for explaining a process of reading data from the EEPROM module in this embodiment.

【図6】本実施例においてEEPROMモジュールから
データバッファへのデータの読み出し処理を説明するた
めのフローチャートである。
FIG. 6 is a flowchart for explaining a process of reading data from an EEPROM module to a data buffer in this embodiment.

【図7】本実施例においてデータバッファからホストシ
ステムへの読み出しデータの転送処理を説明するための
フローチャートである。
FIG. 7 is a flowchart for explaining a read data transfer process from the data buffer to the host system in the present embodiment.

【図8】本実施例においてEEPROMモジュールへの
データの書き込み処理を説明するためのフローチャート
である。
FIG. 8 is a flow chart for explaining a process of writing data to the EEPROM module in this embodiment.

【図9】本実施例においてEEPROMモジュールへの
データの書き込み処理を説明するためのフローチャート
である。
FIG. 9 is a flowchart for explaining a process of writing data to the EEPROM module in the present embodiment.

【図10】本実施例においてホストシステムからデータ
バッファへの書き込みデータの転送処理を説明するため
のフローチャートである。
FIG. 10 is a flowchart for explaining a transfer process of write data from the host system to the data buffer in the present embodiment.

【図11】本実施例においてデータバッファ内のデータ
をEEPROMモジュールに書き込む処理を説明するた
めのフローチャートである。
FIG. 11 is a flowchart for explaining a process of writing the data in the data buffer to the EEPROM module in the present embodiment.

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

1…EEPROMモジュール(メモリ手段) 2…ホストインターフェイス 3…データレジスタ 4…アドレスレジスタ 5…カウントレジスタ 6…コマンドレジスタ 7…ステータスレジスタ 8…エラーレジスタ 9…マルチプレクサ 10…データバッファ 11…コントロールロジック 12…EECジェネレータ/チェッカ 13…アドレスジェネレータ 14…未消去ブロックの消去処理、書き込み処理及びコ
ピー処理等を実行するCPU 15…作業用RAM 16…制御プログラムROM
DESCRIPTION OF SYMBOLS 1 ... EEPROM module (memory means) 2 ... Host interface 3 ... Data register 4 ... Address register 5 ... Count register 6 ... Command register 7 ... Status register 8 ... Error register 9 ... Multiplexer 10 ... Data buffer 11 ... Control logic 12 ... EEC Generator / Checker 13 ... Address Generator 14 ... CPU that executes erase processing, write processing, copy processing, etc. of an unerased block 15 ... Work RAM 16 ... Control program ROM

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G11C 17/00 601E Fターム(参考) 5B025 AD01 AD04 AD08 AD13 AE08 5B060 AA02 AA07 AA08 AA14 5B082 CA01 CA08 JA06 5L106 AA10 BB12 CC37 ─────────────────────────────────────────────────── ─── Continued Front Page (51) Int.Cl. 7 Identification Code FI Theme Coat (Reference) G11C 17/00 601E F Term (Reference) 5B025 AD01 AD04 AD08 AD13 AE08 5B060 AA02 AA07 AA08 AA14 5B082 CA01 CA08 JA06 5L106 AA10 BB12 CC37

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 複数のページでそれぞれ構成された複数
のブロックに分割されたメモリセルアレイを有するメモ
リ手段を備え、ホストシステムに接続される不揮発性半
導体メモリ装置の制御方法であって、 前記複数のブロックのそれぞれは前記メモリセルアレイ
が実現されている不揮発性メモリチップよりも小さい単
位としての消去単位であり、 前記ホストシステムから指定される論理アドレスを受取
るステップと、 前記論理アドレスを前記メモリ手段上の物理アドレスに
変換するステップと、 前記論理アドレスに対応する新たなデータが前記論理ア
ドレスに対応する旧データの総てを変更するものでない
場合、この変更されない旧データを書き込み先となる消
去済みブロックにコピーするステップと、 前記新たなデータを前記書き込み先となる前記消去済み
ブロックに書き込むステップと、 前記旧データが記録されていたブロックを未使用ブロッ
ク群に割り当てるステップと、 前記未使用ブロック群に含まれる未消去ブロックを消去
するステップとを含むことを特徴とする不揮発性半導体
メモリ装置の制御方法。
1. A method for controlling a nonvolatile semiconductor memory device connected to a host system, comprising: a memory means having a memory cell array divided into a plurality of blocks each composed of a plurality of pages. Each of the blocks is an erase unit as a unit smaller than a nonvolatile memory chip in which the memory cell array is implemented, and a step of receiving a logical address designated by the host system; If the new data corresponding to the logical address does not change all the old data corresponding to the logical address, the old data that is not changed is written to the erased block that is the write destination. Copying the new data to the write destination To the erased block, allocating the block in which the old data was recorded to an unused block group, and erasing an unerased block included in the unused block group. Nonvolatile semiconductor memory device control method.
【請求項2】 前記旧データ又は前記新たなデータの誤
りを検出するステップと、 検出された前記旧データ及び前記新たなデータの誤りを
検査するステップとを更に含むことを特徴とする請求項
1に記載の不揮発性半導体メモリ装置の制御方法。
2. The method according to claim 1, further comprising a step of detecting an error in the old data or the new data, and a step of checking an error in the detected old data and the new data. 7. A method for controlling a nonvolatile semiconductor memory device according to claim 4.
【請求項3】 前記論理アドレスに変換するステップ
は、前記論理アドレスに既に対応付けられている物理ア
ドレスを特定するステップを含むことを特徴とする請求
項1又は2に記載の不揮発性半導体メモリ装置の制御方
法。
3. The non-volatile semiconductor memory device according to claim 1, wherein the step of converting to the logical address includes the step of specifying a physical address already associated with the logical address. Control method.
【請求項4】 前記未使用ブロック群に含まれる未使用
ブロックのうち、前記消去済みブロックと前記未消去ブ
ロックとを識別するステップを更に含むことを特徴とす
る請求項1〜3のいずれか1項に記載の不揮発性半導体
メモリ装置の制御方法。
4. The method according to claim 1, further comprising the step of identifying the erased block and the unerased block among the unused blocks included in the unused block group. 5. A method for controlling a non-volatile semiconductor memory device according to item.
【請求項5】 複数のページでそれぞれ構成された複数
のブロックに分割されたメモリセルアレイを有するメモ
リ手段を備え、ホストシステムに接続される不揮発性半
導体メモリ装置の制御方法であって、 前記複数のブロックのそれぞれは前記メモリセルアレイ
が実現されている不揮発性メモリチップよりも小さい単
位としての消去単位であり、 前記ホストシステムから指定される論理アドレスを受取
るステップと、 前記論理アドレスを前記メモリ手段上の物理アドレスに
変換するステップと、 前記物理アドレスに対応する新たなデータの書き込み先
となる消去済みブロックを割り当てるステップと、 前記論理アドレスに対応する新たなデータが前記論理ア
ドレスに対応する旧データの総てを変更するものでない
場合、この変更されない旧データを書き込み先となる消
去済みブロックにコピーするステップと、 前記新たなデータを前記書き込みとなる前記消去済みブ
ロックに書き込むステップと、 前記旧データが記録されていたブロックを未使用ブロッ
クとするステップと、 前記ホストシステムに前記論理アドレスに対応する書き
込みが終了したことを通知するステップと、 前記通知するステップの後に、前記未使用ブロックを消
去するステップとを含むことを特徴とする不揮発性半導
体メモリ装置の制御方法。
5. A method of controlling a non-volatile semiconductor memory device connected to a host system, comprising: a memory means having a memory cell array divided into a plurality of blocks each composed of a plurality of pages. Each of the blocks is an erase unit as a unit smaller than a nonvolatile memory chip in which the memory cell array is implemented, and a step of receiving a logical address designated by the host system; Converting to a physical address, allocating an erased block to which new data corresponding to the physical address is to be written, new data corresponding to the logical address is a total of old data corresponding to the logical address If it is not intended to change the Writing data to an erased block that is a writing destination, writing the new data to the erased block that is the writing, and making the block in which the old data is recorded an unused block And a step of notifying the host system that writing corresponding to the logical address is completed, and a step of erasing the unused block after the step of notifying Device control method.
JP2003033000A 2003-02-10 2003-02-10 Method for controlling nonvolatile semiconductor memory device Pending JP2003263894A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003033000A JP2003263894A (en) 2003-02-10 2003-02-10 Method for controlling nonvolatile semiconductor memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003033000A JP2003263894A (en) 2003-02-10 2003-02-10 Method for controlling nonvolatile semiconductor memory device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP07794092A Division JP3485938B2 (en) 1992-03-31 1992-03-31 Nonvolatile semiconductor memory device

Publications (1)

Publication Number Publication Date
JP2003263894A true JP2003263894A (en) 2003-09-19

Family

ID=29208430

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003033000A Pending JP2003263894A (en) 2003-02-10 2003-02-10 Method for controlling nonvolatile semiconductor memory device

Country Status (1)

Country Link
JP (1) JP2003263894A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006175897A (en) * 2004-12-20 2006-07-06 Aisin Seiki Co Ltd Occupant detecting device of vehicle
US7702846B2 (en) 2005-03-15 2010-04-20 Panasonic Corporation Memory controller, nonvolatile storage device, nonvolatile storage system, and data writing method
US8166231B2 (en) 2006-08-08 2012-04-24 Panasonic Corporation Memory controller, nonvolatile memory device, access device, and nonvolatile memory system
US8375160B2 (en) 2007-11-14 2013-02-12 Panasonic Corporation Memory controller, nonvolatile storage module, access module and nonvolatile storage system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006175897A (en) * 2004-12-20 2006-07-06 Aisin Seiki Co Ltd Occupant detecting device of vehicle
US7702846B2 (en) 2005-03-15 2010-04-20 Panasonic Corporation Memory controller, nonvolatile storage device, nonvolatile storage system, and data writing method
US8166231B2 (en) 2006-08-08 2012-04-24 Panasonic Corporation Memory controller, nonvolatile memory device, access device, and nonvolatile memory system
US8452915B2 (en) 2006-08-08 2013-05-28 Panasonic Corporation Memory controller, nonvolatile memory device, access device, and nonvolatile memory system
US8375160B2 (en) 2007-11-14 2013-02-12 Panasonic Corporation Memory controller, nonvolatile storage module, access module and nonvolatile storage system

Similar Documents

Publication Publication Date Title
JP3485938B2 (en) Nonvolatile semiconductor memory device
JP3226042B2 (en) Flash EEprom system
US7492660B2 (en) Flash EEprom system
US8533391B2 (en) Storage device and user device including the same
EP1739683B1 (en) Space management for managing high capacity nonvolatile memory
US5535328A (en) Non-volatile memory system card with flash erasable sectors of EEprom cells including a mechanism for substituting defective cells
US9183132B2 (en) Storage device, computer system, and storage system
JP3412839B2 (en) Nonvolatile semiconductor memory device
JP2004342126A (en) Increasing memory performance in flash memory device by simultaneously writing sectors to multiple devices
JP2006243780A (en) Memory controller, flash memory system and control method of flash memory
JP4661369B2 (en) Memory controller
JP2003263894A (en) Method for controlling nonvolatile semiconductor memory device
JP2003242788A (en) Nonvolatile semiconductor memory device and control method therefor
JP4177292B2 (en) MEMORY CONTROLLER, FLASH MEMORY SYSTEM, AND FLASH MEMORY CONTROL METHOD
KR100736093B1 (en) Apparatus and method for controlling nand flash
JP3977859B2 (en) Nonvolatile semiconductor memory device and control method thereof
JP4177301B2 (en) Memory controller, flash memory system, and flash memory control method
JP3974149B2 (en) Nonvolatile semiconductor memory device and control method of nonvolatile semiconductor memory
JP2009288914A (en) Flash memory and electronic apparatus
JP2006053950A (en) Nonvolatile semiconductor memory device and its control method
JP3944326B2 (en) Flash EEprom system
JP4090071B2 (en) Flash EEprom system
JP4366283B2 (en) Memory controller and flash memory system including the memory controller
JP2005293177A (en) Memory controller and flash memory system
JP2003272391A (en) Nonvolatile semiconductor memory device and its control method, nonvolatile semiconductor memory device system and its control method

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040914

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050830