JP2008192240A - Semiconductor memory and semiconductor memory system - Google Patents
Semiconductor memory and semiconductor memory system Download PDFInfo
- Publication number
- JP2008192240A JP2008192240A JP2007025864A JP2007025864A JP2008192240A JP 2008192240 A JP2008192240 A JP 2008192240A JP 2007025864 A JP2007025864 A JP 2007025864A JP 2007025864 A JP2007025864 A JP 2007025864A JP 2008192240 A JP2008192240 A JP 2008192240A
- Authority
- JP
- Japan
- Prior art keywords
- block
- defective
- data
- page
- pseudo
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Read Only Memory (AREA)
- For Increasing The Reliability Of Semiconductor Memories (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
本発明は、例えばNAND型フラッシュメモリのような不揮発性メモリに係わり、特に、出荷前と出荷後において、不良ビットを救済することが可能な半導体メモリと半導体メモリシステムに関する。 The present invention relates to a nonvolatile memory such as a NAND flash memory, and more particularly to a semiconductor memory and a semiconductor memory system capable of relieving a defective bit before and after shipment.
近年、半導体の微細化技術の進展に伴い不揮発性メモリのビット容量は、急激に増加している。このため、製造時にメモリの全ビットが良品であることを前提としたメモリチップの選別テスト方法では、不良品が多発し、十分な歩留まりを確保することが難しい。したがって、多少の不良ビットを有するメモリチップも良品チップとして使用できるようにする不良ビットの救済技術が以下のように、種々実用化されている。 In recent years, the bit capacity of a nonvolatile memory has been rapidly increasing with the progress of semiconductor miniaturization technology. For this reason, in the memory chip selection test method based on the premise that all the bits of the memory are non-defective products at the time of manufacture, defective products frequently occur and it is difficult to ensure a sufficient yield. Therefore, various techniques for relieving defective bits that enable a memory chip having some defective bits to be used as non-defective chips have been put to practical use as follows.
(1)メモリチップ内で不良ビットを救済するリダンダンシー技術
このリダンダンシー技術としては、不良カラムを良品カラムで置換するカラムリダンダンシー技術や、不良ブロックを良品ブロックにより置き換えるブロックリダンダンシー技術などがある。尚、以下、同時に消去可能な領域を消去ブロックと呼び、この消去ブロック単位を単にブロックと称する。1つのブロックは書き込み/読み出し単位としての複数のページを含み、各ページは、複数のメモリセルにより構成されている。
(1) Redundancy technology for relieving defective bits in a memory chip As this redundancy technology, there are a column redundancy technology for replacing a defective column with a non-defective column and a block redundancy technology for replacing a defective block with a non-defective block. Hereinafter, the simultaneously erasable area is called an erase block, and this erase block unit is simply called a block. One block includes a plurality of pages as write / read units, and each page is constituted by a plurality of memory cells.
(2)不揮発性メモリに搭載されたコントローラが実行する不良ビット救済技術
この不良ビット救済技術としては、ECC(Error Check and Correction)回路によるエラー訂正技術や、不良カラムをスキップして正常カラムで代替する不良カラムスキップ技術、及び不良ブロックを正常ブロックで代替する不良ブロック代替技術などがある。
(2) Defective bit remedy technology executed by the controller mounted in the non-volatile memory As this defective bit remedy technology, error correction technology using ECC (Error Check and Correction) circuit, or defective column is skipped and replaced with normal column There are a bad column skip technique to perform the defective block replacement technique and a defective block replacement technique to substitute a defective block with a normal block.
(3)メモリチップのテスト技術
このテスト技術としては、ECC回路による訂正を前提として、ページ内に少数の不良ビットがあってもこれを無視し、擬似的に正常ページとする擬似パス技術などがある(例えば特許文献1参照)。
(3) Memory chip test technology As a test technology, there is a pseudo-pass technology for ignoring even a small number of defective bits in a page and making a pseudo-normal page on the premise of correction by an ECC circuit. Yes (see, for example, Patent Document 1).
上記各技術のうち、ECC技術は不良ビットの救済技術として特に強力であり、回路規模の増大を許容すれば、必要なエラー訂正の強度に応じた柔軟なECC回路の設計ができるという特徴がある。 Among the above-described technologies, the ECC technology is particularly powerful as a defective bit repair technology, and has a feature that a flexible ECC circuit can be designed according to the required error correction strength if an increase in circuit scale is allowed. .
また、上記擬似パス技術は、ECC技術による不良ビットの訂正を前提にすることで、大幅なメモリの歩留まりの向上を実現している。ECC回路による訂正単位(ECC単位と称す)が例えば512バイトであり、このECC単位の中で、4箇所以下の不良ビットを訂正できる4ビット/512バイトのECC技術を前提とすることにより、1ページ(2kバイト=2048バイト)当たり2箇所の不良があっても正常ページとする2ビット擬似パス技術が実用化されている。 The pseudo-pass technique is based on the premise of correcting defective bits by the ECC technique, thereby realizing a significant improvement in memory yield. The correction unit (referred to as ECC unit) by the ECC circuit is, for example, 512 bytes. By assuming the ECC technology of 4 bits / 512 bytes that can correct 4 or less defective bits in this ECC unit, 1 A two-bit pseudo-pass technique for making a normal page even if there are two defects per page (2 kbytes = 2048 bytes) has been put into practical use.
また、近年、メモリカードなどに搭載される不揮発性メモリは、高速化の要求に対応するため、一度に書き込み/読み出しできるビット数=ページサイズが急激に大きくなりつつある。従来、130nm以前のNAND型フラッシュメモリは、1ページが512バイト(小ブロック)だったが、90nm以降において、1ページが2kバイト(大ブロック)となっており、さらに、今後4kバイト、8kバイトと大きくなる傾向がある。このため、ECC回路において、一度に訂正するビット数も増加する傾向にある。しかし、ECC回路は、ECC単位が大きくなればなるほど急激に回路規模が増大するという問題点がある。したがって、70nm NAND型フラッシュメモリでは1ページ(2kバイト)を4つの512バイト部分に分割して4回に別けてECC訂正を実行している。このようなページサイズとECC単位のズレは今後ますます大きくなる傾向にある。 In recent years, the nonvolatile memory mounted on a memory card or the like has been rapidly increasing in the number of bits that can be written / read at a time = page size in order to meet the demand for higher speed. Conventionally, NAND flash memory of 130 nm or earlier used 512 bytes (small block) for one page, but after 90 nm, one page is 2 kbytes (large block), and will be 4 kbytes and 8 kbytes in the future. There is a tendency to increase. For this reason, in the ECC circuit, the number of bits corrected at one time tends to increase. However, the ECC circuit has a problem that the circuit scale rapidly increases as the ECC unit increases. Therefore, in the 70 nm NAND flash memory, one page (2 kbytes) is divided into four 512-byte portions, and ECC correction is performed in four steps. Such a deviation between the page size and the ECC unit tends to become larger in the future.
例えば、ECC回路で訂正できる不良箇所(不良ビット)の数をX箇所、擬似パス技術により無視する不良箇所をY箇所とし、1ページをZ個のECC単位に分割して訂正を実行する場合、M箇所の不良が1つのECC単位に集中してもECC訂正能力を超えることができないため、(1)式の関係が成立する。 For example, when the number of defective locations (defective bits) that can be corrected by the ECC circuit is X locations, the defective location ignored by the pseudo-pass technique is Y location, and correction is performed by dividing one page into Z ECC units, Even if M defects are concentrated in one ECC unit, the ECC correction capability cannot be exceeded, so the relationship of equation (1) is established.
X≧M …(1)
ここで、α=X−Mとする。αは、後発の許容不良ビット数であり、不揮発性メモリの出荷前に実施される選別テスト後に、後発的に発生する不良ビットの許容数であり、不良数のマージンとなる。α=0の場合、後発性のビット不良が1箇所でも発生したらECC訂正能力を超えることになり、メモリシステムは危険な状態となる。このため、メモリシステムの用途、半導体メモリのデータリテンションの強度、例えばメモリセルに対する書き込み、消去の繰り返し実行によるメモリセルの劣化などを考慮して、通常はα=0とすることは無い。したがって、(2)式に示すように、擬似パス技術により無視する不良箇所Yは、後発の許容不良ビット数αを1以上として設定される。
X ≧ M (1)
Here, α = X−M. α is the number of allowable defective bits that are generated later, and is the allowable number of defective bits that are generated later after the screening test that is performed before the shipment of the nonvolatile memory. In the case of α = 0, if a late bit failure occurs even at one location, the ECC correction capability will be exceeded, and the memory system will be in a dangerous state. For this reason, in consideration of the use of the memory system and the strength of data retention of the semiconductor memory, for example, deterioration of the memory cell due to repeated writing and erasing of the memory cell, α = 0 is not normally set. Therefore, as shown in the equation (2), the defective portion Y to be ignored by the pseudo-pass technique is set so that the number of allowable defective bits α is 1 or more.
Y=X−α, α≧1 …(2)
上述した70nm 多値(Multi-Level Cell)NAND型フラッシュメモリの例において、Z=4(ページサイズ2kB/ECC単位512バイト)、Y=2(2ビット擬似パス)、X=4(4ビット/512バイト救済)、α=2が実用化されている。
Y = X−α, α ≧ 1 (2)
In the example of the 70 nm multi-level cell NAND flash memory described above, Z = 4 (
前述の通り、ページサイズとECC単位は今後ますます大きくなる傾向がある。ページサイズとECC単位の差が大きくなると次のような問題が発生する。すなわち、擬似パス技術の許容不良ビット数の上限は(2)式で規定されるが、ページサイズとECC単位の差が大きくなればなるほど、つまり、ECC単位の数Zが大きくなればなるほど、1ページ内の1つのECC単位にM個の不良が全て集中する確率は急激に小さくなる。つまり、(2)式の上限は、発生確率の非常に小さい最悪ケースにおいてもECC回路での訂正が保証されているM箇所の上限となっている。実際には殆どの場合、M箇所の不良はZ個のECC単位内に適当に散らばっているため、(2)式を超えたM箇所であっても、X箇所を訂正するECC回路で十分訂正可能である。したがって、従来技術による擬似パス技術において、M箇所の設定とECC訂正能力Xの関係は、まだ十分良品として利用できる不揮発性メモリチップを不良品として判定していることになる。このため、一層の歩留まり向上が望まれている。
本発明は、一層歩留まりを向上することが可能な半導体メモリと半導体メモリシステムを提供しようとするものである。 The present invention is intended to provide a semiconductor memory and a semiconductor memory system capable of further improving the yield.
本発明の第1の態様に係る半導体メモリは、複数のブロックを有し、各ブロックは複数のページで構成され、各ページは複数のメモリセルを有する半導体メモリであって、前記ブロック内の全てのページがN箇所以下(Nは、0以上の整数)の不良ビットしか持たないブロックは、正常なブロックを示す第1のデータを記憶し、N箇所より多くの不良ビットを有するページを少なくとも1つ含み、M箇所以上(MはM>Nの整数)の不良ビットを有するページを1つも持たないブロックは、擬似的に正常なブロックとして擬似パスブロックを示す第2のデータを記憶し、M箇所以上の不良ビットを含むページを少なくとも1つ含むブロックは、不良ブロックとして第3のデータを記憶することを特徴とする。 A semiconductor memory according to a first aspect of the present invention includes a plurality of blocks, each block is configured by a plurality of pages, and each page is a semiconductor memory having a plurality of memory cells, all of the blocks in the block The block having no more than N bad bits (N is an integer greater than or equal to 0) stores first data indicating a normal block, and at least one page having more bad bits than N places is stored. A block having no defective page at least M locations (M is an integer of M> N) stores second data indicating a pseudo-pass block as a pseudo-normal block, and M A block including at least one page including defective bits at more than one location stores the third data as a defective block.
本発明の第2の態様に係る半導体メモリシステムは、第1の形態の半導体メモリ及びエラー訂正機能を有するコントローラを搭載した半導体メモリシステムであって、前記コントローラは、前記第1のデータが記憶されたブロックは、正常ブロックとして使用し、前記第3のデータが記憶されたブロックは不良ブロックとして識別して使用せず、前記第2のデータが記憶されたブロックは、各ページのエラー訂正単位毎にテストを実行し、エラー訂正単位毎に検出される不良ビットの数がエラー訂正可能な数よりも大きい場合、不良ブロックとして認識して使用せず、全てのエラー訂正単位の中にある不良ビットの数がエラー訂正可能な数以下である場合、利用可能なブロックとして使用することを特徴とする。 A semiconductor memory system according to a second aspect of the present invention is a semiconductor memory system including the semiconductor memory according to the first embodiment and a controller having an error correction function, and the controller stores the first data. The block in which the third data is stored is not used as a defective block. The block in which the second data is stored is used for each error correction unit of each page. If the number of bad bits detected for each error correction unit is larger than the number that can be corrected, the bad bits in all error correction units are not recognized and used as a bad block. If the number is less than the number that can be corrected, it is used as an available block.
本発明によれば、一層歩留まりを向上することが可能な半導体メモリと半導体メモリシステムを提供できる。 ADVANTAGE OF THE INVENTION According to this invention, the semiconductor memory and semiconductor memory system which can improve a yield further can be provided.
以下、本発明の実施の形態について、図面を参照して説明する。 Embodiments of the present invention will be described below with reference to the drawings.
以下の実施形態は、NAND型フラッシュメモリを用いて説明する。しかし、NAND型フラッシュメモリに限定されるものではなく、その他の不揮発性メモリにも本実施形態を適用可能である。 The following embodiments will be described using a NAND flash memory. However, the present embodiment is not limited to the NAND flash memory, and the present embodiment can be applied to other nonvolatile memories.
図2は、本実施形態が適用される記憶装置、例えばメモリカードの一例を示している。 FIG. 2 shows an example of a storage device to which the present embodiment is applied, for example, a memory card.
図2において、ホスト機器(以下、ホストと称す)10は、接続されるメモリカードをアクセスするためのハードウェア及びソフトウェア(システム)を備えている。このホスト10は、メモリカード1に対して、データリード、データライト、データ消去等のアクセスを行う。
In FIG. 2, a host device (hereinafter referred to as a host) 10 includes hardware and software (system) for accessing a connected memory card. The
メモリカード1は、ホスト10に接続されたとき、電源が供給されて動作し、ホスト10からのアクセスに応じた処理を行う。例えば、データリード、データライト、データ消去等のアクセスでは、物理アドレスと論理アドレスのマッピング、ECCエラー訂正、NAND型フラッシュメモリへのアクセス、といった処理を行う。
When the
このメモリカード1は、前述したようにNAND型フラッシュメモリ2及びコントローラ3を有している。
As described above, the
コントローラ3は、メモリインタフェース部4、ホストインタフェース部5、バッファ6、CPU7、ROM(Read Only Memory)8、及びRAM(Random Access Memory)9、エラー訂正回路(ECC回路)11を有している。
The
メモリインタフェース部4は、コントローラ3とNAND型フラッシュメモリ2との間のインタフェース処理を行う。ホストインタフェース部5は、コントローラ3とホスト10との間のインタフェース処理を行う。
The
バッファ6は、ホスト10から送られてくるデータをNAND型フラッシュメモリ2へ書き込む際に、一定量(例えば1ページ分)のデータを一時的に記憶したり、NAND型フラッシュメモリ2から読み出されるデータをホスト10へ送り出す際に、一定量のデータを一時的に記憶したりする。ECC回路11は、NAND型フラッシュメモリ2から読み出されたデータのエラーを訂正する。エラー訂正の方式は、例えば、リードソロモン方式や、BCH(Bose-Chaudhuri-Hocquenghem)方式が適用されるが、他の方式を適用することも可能である。
The
CPU7は、メモリカード1全体の動作を司るものである。このCPU7は、例えばメモリカード1に電源が供給された場合、ROM8に格納されているファームウェア(制御プログラム)に従って処理を開始する。即ち、CPU7は、処理に必要な各種テーブル(管理データ)をRAM9上に作成したり、ホスト10からの書き込みコマンド、読み出しコマンド、消去コマンドを受けてNAND型フラッシュメモリ2上の該当領域をアクセスしたり、NAND型フラッシュメモリ2をアクセスするにあたってホストからの論理アドレスと物理アドレスとを変換したり、バッファ6を通じてデータ転送処理を制御したりする。
The
ROM8は、CPU7により使用される制御プログラムなどを格納するメモリである。RAM9は、CPU7の作業エリアとして使用され、各種のテーブル等を記憶する揮発性メモリである。
The
尚、図2に示す例は、ページサイズが例えば4kバイト/ページであり、124ページ=512kバイトの大きさのブロックを4kブロック持つ2Gバイト(=16Gビット)のNAND型フラッシュメモリの場合であり、ECC回路11は、512バイト当り4箇所を訂正することが可能であるとする。
The example shown in FIG. 2 is a case of a 2 Gbyte (= 16 Gbit) NAND flash memory having a page size of, for example, 4 kbytes / page and 124 pages = 4 kblocks of 512 kbytes in size. It is assumed that the
本実施形態は、以下の2つのステップに別けてNAND型フラッシュメモリの救済を最大限に効率化したシステムを実現する。 The present embodiment realizes a system in which the relief of the NAND flash memory is made maximally efficient by dividing into the following two steps.
第1のステップは、NAND型フラッシュメモリの選別テストである。この選別テストは、例えば図2に示すNAND型フラッシュメモリ2の製造時に行われる。
The first step is a NAND flash memory selection test. This selection test is performed, for example, at the time of manufacturing the
第2のステップは、第1のステップにより選別されたNAND型フラッシュメモリ2を、図2に示すように、例えばコントローラを含むメモリカードとして組み立てた状態で行うテストである。第2のステップにおけるテストは、製品の出荷前、又は出荷後のいずれでもよい。さらに、第2のステップにおけるテストは、例えばメモリカードシステムのイニシャライズ動作など電源投入後の通常の動作の一部として実行しても良い。
The second step is a test performed in a state in which the
(第1のステップ)
図3は、第1のステップとしての選別テストの構成を示している。この選別テストは、メモリテスタ21を用いて行われる。すなわち、NAND型フラッシュメモリ2にメモリテスタ21が接続され、擬似パス技術によりページ当りNビットのエラーが許容されたNAND型フラッシュメモリ2の各ブロックを構成する全てのページにテストデータを書き込み、書き込み後の状態をチェックする。このチェック結果により、正常ブロック(以下、パスブロックと称す)、不良ブロック、擬似パスBブロックの3種類のカテゴリーに分けられる。ここで、擬似パスBブロックとは、擬似パス技術により、不良ブロックに設定されたブロックより、ECCによる訂正を前提として使用可能となる可能性があると判断されたブロックである。各カテゴリーの定義は以下の通りである。
(First step)
FIG. 3 shows the configuration of the screening test as the first step. This selection test is performed using the
(1)ブロック内の全ページに全く不良を含まないブロック(完全パスブロック)、およびN個以下の不良ビットしか持たないブロック(擬似パスプロック)は、パスブロックとする。 (1) A block that does not include any defects in all pages in the block (complete pass block) and a block that has no more than N defective bits (pseudo pass block) are pass blocks.
(2)N個より多くの不良を持つページを少なくとも1つ含み、M個以上(Mは、M>Nの整数)の不良ビットを持つページを1つも持たないブロックは、擬似的に正常なブロックである擬似パスBブロックとする。 (2) A block that includes at least one page having more than N defects and does not have any page having M or more defective bits (M is an integer of M> N) is pseudo-normal. The block is a pseudo path B block.
(3)M箇所以上の不良ビットを有するページを1つでも含むブロックは、不良ブロックとする。 (3) A block including at least one page having M or more defective bits is defined as a defective block.
このようなカテゴリーに分けされた各ブロックは、カテゴリーに応じてマーキングされる。 Each block divided into such categories is marked according to the category.
図4は、マーキングの一例を示している。各ブロックの例えば先頭のページに不良マーク記憶領域31が設けられている。パスブロックの不良マーク記憶領域31には、例えば“FF”(16進)が記憶され、不良ブロックの不良マーク記憶領域31には、例えば“00”が記憶され、擬似パスBブロックの不良マーク記憶領域31には、例えば“0F”が記憶される。
FIG. 4 shows an example of marking. For example, a defective
図1は、メモリテスタ21の動作を示すものであり、選別テストのフローチャートを示している。図1を用いて選別テストについて説明する。
FIG. 1 shows the operation of the
尚、図1に示す例は、1ページのサイズが例えば4kバイトであり、124ページ=512kバイトの大きさのブロックを4kブロック持つ2Gバイト(=16Gビット)のNAND型フラッシュメモリの場合であり、ECC回路11は、512バイト当り4箇所を訂正可能であるとする。また、擬似パスの規定値として許容不良ビット数が2であり、擬似パスBの規定値としての許容不良ビット数M、Nを、それぞれM=6、N=3とし、後発の許容不良ビット数αをα=1に設定した場合である。
The example shown in FIG. 1 is a case of a 2 Gbyte (= 16 Gbit) NAND flash memory in which the size of one page is, for example, 4 kbytes and 124 pages = 4 kblocks having a size of 512 kbytes. The
先ず、ブロックアドレスBが“0”に初期設定される(S1)。この後、ページアドレスPが“0”に初期設定され、ブロックアドレス“0”、ページアドレス“0”の不良マーク記憶領域31にパスブロックを示すデータ“FF”が書き込まれる(S2)。次いで、ブロックアドレス“0”、ページアドレス“0”のテストが実行される(S3)。このテストは、例えばブロックアドレス“0”、ページアドレス“0”にテストデータが書き込まれ、この書き込まれたデータがベリファイされる。ベリファイの結果、ページ内の不良ビットの数が、6個以上かどうかが判別される(S4)。この結果、ページ内の不良ビットの数が6個以上である場合、前記不良マーク記憶領域31のデータが不良ブロックを示すデータ“00”に書き換えられる。
First, the block address B is initialized to “0” (S1). Thereafter, the page address P is initialized to “0”, and data “FF” indicating the pass block is written in the defective
一方、前記ステップS4において、ページ内の不良ビット数が6個未満である場合、ページ内の不良ビット数が、4個以上かどうかが判別される(S6)。この結果、不良ビット数が4個以上である場合、前記不良マーク記憶領域31のデータが擬似パスBブロックを示すデータ“0F”に書き換えられる(S7)。また、ページ内の不良ビット数が、3個以下である場合、このページは正常であるため、不良マーク記憶領域31のデータは、パスブロックを示す“FF”のまま書き換えられない。この後、ページアドレスPが最終ページかどうか判別される(S8)。この結果、最終ページではない場合、ページアドレスPがインクリメントされて(S9)、ステップS3に移行され、次のページのテストが上記と同様に実行される。
On the other hand, if the number of defective bits in the page is less than 6 in step S4, it is determined whether or not the number of defective bits in the page is 4 or more (S6). As a result, when the number of defective bits is 4 or more, the data in the defective
また、最終ページである場合、及び前記不良ブロックが検出され、不良マーク記憶領域31に不良ブロックを示す“00”を書き込んだ場合、最終ブロックであるかが判別される(S6)。この結果、最終ブロックではない場合、ブロックアドレスBがインクリメントされ(S7)、前記ステップS2に移行される。次のブロックについて上記と同様の処理が実行される。
If it is the last page, and if the defective block is detected and “00” indicating the defective block is written in the defective
上記動作により、図4に示すように、各ブロックの不良マーク記憶領域31にブロックの状態を示すマークが記憶される。
With the above operation, as shown in FIG. 4, a mark indicating the state of the block is stored in the defective
図5は、図1のステップS3の具体例を示している。この変形例は、書き込みのエラー数を出力する機能を有するNAND型フラッシュメモリに適用される。 FIG. 5 shows a specific example of step S3 of FIG. This modification is applied to a NAND flash memory having a function of outputting the number of write errors.
図5において、先ず、テストデータとしての書き込みデータを受け、この書き込みデータが例えばラッチ回路に保持される(S3−1)。次に、この保持された書き込みデータは、指定されたブロックの指定されたページに書き込まれる(S3−2)。この後、書き込まれたデータが読み出され(S3−3)、ラッチ回路に保持された書き込みデータと比較される(S3−4)。この比較の結果、書き込みデータと異なる読み出しデータ、すなわち、エラーデータ数が求められて出力される(S3−5)。この出力されたエラーデータ数に基づき、図1に示す処理が実行される。 In FIG. 5, first, write data as test data is received, and this write data is held in, for example, a latch circuit (S3-1). Next, the held write data is written to the designated page of the designated block (S3-2). Thereafter, the written data is read (S3-3) and compared with the write data held in the latch circuit (S3-4). As a result of this comparison, read data different from the write data, that is, the number of error data is obtained and output (S3-5). Based on the number of output error data, the process shown in FIG. 1 is executed.
図6は、上記ステップS4、S6の具体例を示している。前述した擬似パス機能を有するNAND型フラッシュメモリは、ベリファイ読み出しの結果、全ビットの書き込みがパスしたかどうかの情報と、エラー数を出力することができる。この例は、擬似パス機能を用いて、予め許容不良ビット数(規定値とも言う)を設定した状態において、データの書き込み、及びベリファイを実行し、設定した許容不良ビット数以内で、書き込みが終了したかどうかを判別する。この判断結果に応じて不良ブロック、擬似パスBブロック、又はパスブロックを判別する。 FIG. 6 shows a specific example of steps S4 and S6. The NAND flash memory having the pseudo pass function described above can output information indicating whether or not all bits have been written and the number of errors as a result of the verify read. In this example, using the pseudo pass function, data writing and verification are executed in a state where the allowable number of defective bits (also referred to as a specified value) is set in advance, and the writing is completed within the set allowable number of defective bits. Determine if you did. A defective block, a pseudo-pass B block, or a pass block is determined according to the determination result.
図5において、先ず、擬似パスBとして認定する許容不良ビット数が、例えば“5”に設定される(S4−1)。この後、テストデータが指定されたブロックの指定されたページに書き込まれる(S4−2)。この書き込まれたデータはベリファイが例えば規定回数繰り返される(S4−3)。このベリファイの結果、不良ビット数が擬似パスBの規定値を超える場合、不良ブロックとして、不良マーク記憶領域31に不良ブロックを示すマーク“00”が書き込まれる(S5)。
In FIG. 5, first, the number of allowable defective bits recognized as the pseudo path B is set to, for example, “5” (S4-1). Thereafter, the test data is written to the designated page of the designated block (S4-2). The written data is repeatedly verified a specified number of times, for example (S4-3). As a result of this verification, when the number of defective bits exceeds the prescribed value of the pseudo pass B, a mark “00” indicating a defective block is written in the defective
一方、上記ベリファイの結果、擬似パスBの規定値以内である場合、擬似パスBとして認定する許容不良ビット数が、例えば“3”に設定される(S6−1)。この後、テストデータが指定されたブロックの指定されたページに書き込まれる(S6−2)。この書き込まれたデータはベリファイが例えば規定回数繰り返される(S6−3)。このベリファイの結果、不良ビット数が擬似パスBの規定値を超える場合、擬似パスとして、不良マーク記憶領域31に擬似パスブロックを示すマーク“0F”が書き込まれる(S7)。また、ベリファイの結果、エラー数が擬似パスBの規定値以下である場合、パスブロックと判断される。
On the other hand, if the result of the verification is within the specified value of the pseudo path B, the number of allowable defective bits recognized as the pseudo path B is set to, for example, “3” (S6-1). Thereafter, the test data is written to the designated page of the designated block (S6-2). The written data is repeatedly verified a specified number of times, for example (S6-3). As a result of this verification, if the number of defective bits exceeds the prescribed value of the pseudo pass B, a mark “0F” indicating a pseudo pass block is written in the defective
(第2のステップ)
第2のステップは、上述したように、上記マーキングされたNAND型フラッシュメモリと擬似パス機能を有するコントローラとを組み合わせて例えばメモリカードシステムに組み立てた後、図2に示すコントローラ3がNAND型フラッシュメモリ2の全ブロックをサーチして各ブロックのマーキングを検出し、以下の処理を実行する。尚、第2のステップにおいて、不良ビット数M、Nの定義は、第1のステップと同様であるとする。
(Second step)
As described above, the second step is to combine the marked NAND flash memory and the controller having a pseudo-pass function into a memory card system, for example, and then the
(1)パスブロックは、そのまま使用する。 (1) The pass block is used as it is.
(2)不良ブロックは、一切使用しない。 (2) Do not use any bad blocks.
(3)擬似パスBブロックは、各ページに以下の処理を実施する。 (3) The pseudo pass B block performs the following processing on each page.
各ページに含まれるZ(=8)個のECC単位それぞれについて、データの書き込み、読み出しを実行し、ECC単位毎に検出される不良ビット数がECC回路で訂正可能な数−(後発の許容不良ビット数α)よりも大きい場合、そのブロックを不良ブロックとして認識し、以後使用しない。また、全てのECC単位毎に検出される不良ビット数がECC回路で訂正可能な数以下である場合、そのブロックは利用可能ブロックとして以後使用する。 For each of Z (= 8) ECC units included in each page, data is written and read, and the number of defective bits detected for each ECC unit is the number that can be corrected by the ECC circuit- (later allowable defect) If the number of bits is greater than α), the block is recognized as a defective block and is not used thereafter. If the number of defective bits detected for every ECC unit is less than or equal to the number correctable by the ECC circuit, the block is used as an available block.
上述したように、擬似パスBブロック内の一部のページは、ECC回路により訂正可能な範囲で不良ビット数を含むため、後発的に不良ビットが増加した場合、ECC回路により訂正することが困難となる。このような場合においても、擬似パスBブロックの状態をコントローラがテストして状態をチェックすることにより、不良ブロックの救済を可能とする。 As described above, some pages in the pseudo-pass B block include the number of defective bits within a range that can be corrected by the ECC circuit. Therefore, when the number of defective bits increases later, it is difficult to correct by the ECC circuit. It becomes. Even in such a case, the controller can test the state of the pseudo-pass B block and check the state, so that the defective block can be relieved.
図7は、コントローラ3の動作の一例を示している。
FIG. 7 shows an example of the operation of the
図7において、先ず、擬似パスBブロックの許容不良ビット数がN個に設定される(S11)。次に、擬似パス機能を用いてNAND型フラッシュメモリ2の書き込み対象ブロックの1つのページにテストデータが書き込まれる(S12)。この後、NAND型フラッシュメモリ2に対してステータス読み出しを実行して、書き込みの良否を示すステータスを読み出し(S13)、ステータスの確認を行う(S14)。すなわち、読み出されたステータスが“正常(パス)”を示す場合、次のブロックの処理に移行される(S24)。また、読み出されたステータスが“失敗(フェイル)”を示す場合、擬似パスBブロックの許容不良ビット数をM(>N)個に設定する(S15)。
In FIG. 7, first, the allowable number of defective bits in the pseudo path B block is set to N (S11). Next, test data is written to one page of the write target block of the
つまり、擬似パスBブロック内の一部のページは、N個より多い不良ビットを含むため、ステータスが“不良”となる場合がある。また、”パス”と判別されたブロックも、後発的な不良ビットの発生により、不良ビット数がN個より多くなることもある。このような場合であっても、エラー訂正が可能であれば、擬似パスBブロックとして使用することが可能となる。このため、上記擬似パスBブロックの許容不良ビット数をM個に設定した後、擬似パス機能を用いてNAND型フラッシュメモリにテストデータが再度書き込まれる(S16)。次いで、NAND型フラッシュメモリ2に対してステータス読み出しを実行して、書き込みの良否を示すステータスを読み出し(S17)、ステータスの確認を行う(S18)。
That is, some pages in the pseudo-pass B block include more than N defective bits, so the status may be “bad”. In addition, the number of defective bits may also be greater than N in a block determined as “pass” due to the occurrence of defective bits later. Even in such a case, if error correction is possible, it can be used as a pseudo path B block. For this reason, after setting the number of allowable defective bits of the pseudo-pass B block to M, test data is written again into the NAND flash memory using the pseudo-pass function (S16). Next, status reading is executed on the
すなわち、読み出されたステータスが“不良”を示す場合、以後、書き込み対象のブロックを不良ブロックとして取り扱う(S22)。また、読み出されたステータスが”パス”を示す場合、NAND型フラッシュメモリ2からデータを読み出して(S19)、ECC回路11によりデータのエラー訂正を実行し(S20)、エラー訂正が可能であるかを確認する(S21)。この結果、エラー訂正が可能な場合は、以後、書き込み対象のブロックを擬似パスBブロックとして取り扱う(S23)。また、エラー訂正が不可能な場合、以後、書き込み対象のブロックを不良ブロックとして取り扱う(S22)。この後、全ブロックのテストが終了してない場合、次のブロックに対して上記と同様の動作が実行される(S24)。 That is, when the read status indicates “defective”, the block to be written is treated as a defective block (S22). If the read status indicates “pass”, data is read from the NAND flash memory 2 (S19), and error correction of the data is executed by the ECC circuit 11 (S20). (S21). As a result, if error correction is possible, the writing target block is handled as a pseudo-pass B block (S23). If error correction is impossible, the writing target block is treated as a defective block (S22). Thereafter, when all the blocks have not been tested, the same operation as described above is performed on the next block (S24).
上記実施形態によれば、第1のステップにおいて、擬似パス機能を用いて、NAND型フラッシュメモリのブロックをパスブロック、不良ブロック、擬似パスBブロックの3つのカテゴリーに分け、第1のステップにより、3つのカテゴリーに分けられたブロックを含むNAND型フラッシュメモリを例えばメモリカードに組み込んだ状態で、第2のステップにおいて、擬似パスBブロックについて、ECC単位毎に検出される不良箇所の数がECC訂正可能な数−(不良ビット数α)よりも大きい場合、不良ブロックとして使用せず、ECC訂正可能な数以下である場合、使用可能ブロックとしている。このため、従来の擬似パス技術により不良ブロックとされたブロックを擬似パスBブロックとして使用可能としている。したがって、不良ブロックの救済効率を向上することができ、歩留まりを向上させることができる。 According to the above embodiment, in the first step, using the pseudo-pass function, the NAND flash memory block is divided into three categories: a pass block, a defective block, and a pseudo-pass B block. In the second step, NAND-type flash memory including blocks divided into three categories is incorporated in a memory card, for example, the number of defective parts detected per ECC unit for the pseudo-pass B block in the second step is ECC corrected. When it is larger than the possible number-(number of defective bits α), it is not used as a defective block, and when it is equal to or less than the number that can be corrected by ECC, it is determined as a usable block. For this reason, a block that has been determined to be a bad block by the conventional pseudo-pass technique can be used as a pseudo-pass B block. Therefore, the repair efficiency of defective blocks can be improved and the yield can be improved.
また、後発的に不良ビット数が増加した場合においても、エラー訂正が可能な範囲で、擬似パスBブロックを使用することができる。したがって、従来、不良ブロックとして使用できなかったブロックを救済することができ、歩留まりを向上することができる。 In addition, even when the number of defective bits increases later, the pseudo-pass B block can be used within a range where error correction is possible. Therefore, a block that could not be used as a defective block in the past can be relieved, and the yield can be improved.
上記実施形態の効果を具体的に説明する。以下の説明は、ページサイズが4kバイト/ページ、125ページ=512kバイトの大きさのブロックを4kブロック持つ2Gバイト(=16Gbit)のNAND型フラッシュメモリの場合を前提とする。さらに、このNAND型フラッシュメモリは、前述した第1のステップにおいて、擬似パス機能の許容不良ビット数を、N=3、M=6、後発の許容不良ビット数α=1を採用した場合であり、512B当たり4bit訂正可能なECC回路を前提としている。 The effect of the said embodiment is demonstrated concretely. The following description is based on the assumption of a 2 Gbyte (= 16 Gbit) NAND flash memory having a 4 k block with a page size of 4 kbytes / page and 125 pages = 512 kbytes. Further, this NAND flash memory is a case where the number of allowable defective bits of the pseudo-pass function is N = 3, M = 6, and the number of allowable allowable defective bits α = 1 in the first step described above. An ECC circuit capable of correcting 4 bits per 512 B is assumed.
この例の場合、512バイト当たりに1ビットでもエラーを含む率(生エラー率)を、1/10とすると、1ページ(4Kバイト)中に発生するエラーの数と、その発生率、平均発生数、累積発生数は図8に示すようになる。ここで、使用した1/10という値は、従来のNAND型フラッシュメモリのエラー率と同程度のエラー率を仮定したとき、適切なECC回路を用いて許容されるエラー率として通常用いられている一般的な値である。 In this example, if the rate that includes even one bit per 512 bytes (raw error rate) is 1/10, the number of errors that occur in one page (4 Kbytes), the occurrence rate, and the average occurrence The number and the cumulative number of occurrences are as shown in FIG. Here, the value of 1/10 used is normally used as an error rate allowed using an appropriate ECC circuit, assuming an error rate comparable to that of a conventional NAND flash memory. It is a general value.
図8に示すように、1箇所もエラーがないページが、43.0%(512バイト当たりに全くエラーのない確率は、9/10。4Kバイト(512*8)中に全くエラーがない確率(発生率)は、(9/10)8=0.430)、1箇所エラーを有するページが、38.3%、…、以下、5箇所エラーを有するページ数が214個、6箇所エラーを有するページ数が12個、それ以上エラーを持つページは無視できる程度に少ない。 As shown in FIG. 8, 43.0% of pages with no error at one location (the probability of no error per 512 bytes is 9/10. The probability of no error in 4 Kbytes (512 * 8)) (Occurrence rate) is (9/10) 8 = 0.430) 38.3% of pages with 1 location error, ..., below, 214 pages with 5 location errors, 6 location errors There are 12 pages, and there are few pages that have more errors than can be ignored.
5箇所以上エラーを有するページ数は、全体のページ数に比べて非常に少ない。すなわち、0.040%であるため、1つのブロックに、5箇所以上エラーを有する不良ページが2個以上ある確率は無視できる程度に小さい。すなわち、5箇所以上エラーを有するページを1つでも含むブロックは、226(=214+12)個あり、6箇所以上のエラーを持つページを含むブロックはその内12個のみである。 The number of pages having errors at five or more locations is very small compared to the total number of pages. That is, since it is 0.040%, the probability that there are two or more defective pages having five or more errors in one block is small enough to be ignored. That is, there are 226 (= 214 + 12) blocks including at least one page having errors at five or more locations, and only 12 blocks including pages having errors at six or more locations.
5箇所エラーを有するページを含むブロックは214個ある。それらの中で、5箇所のエラー全てが、1つのECC単位(512B)に集中している確率は、
8C1*(1/8)5=1/4096
である。したがって、214個のブロックのうち5箇所のエラーが全て1つのECC単位に集中しているブロックは、平均0.052個しかない。
There are 214 blocks that contain a page with a 5-point error. Among them, the probability that all five errors are concentrated in one ECC unit (512B) is
8 C 1 * (1/8) 5 = 1/4096
It is. Therefore, the average number of blocks in which five errors out of 214 blocks are all concentrated in one ECC unit is only 0.052.
また、4箇所のエラーが、1つのECC単位(512B)に集中している確率は、
8C1*(1/8)4*7C1*(1/8)=7/4096
であり、214個のブロックのうち平均0.37個ある。
In addition, the probability that four errors are concentrated in one ECC unit (512B) is
8 C 1 * (1/8) 4 * 7 C 1 * (1/8) = 7/4096
There is an average of 0.37 out of 214 blocks.
したがって、4箇所以上のエラーが1つのECC単位(512B)に集中しているブロックは、214個のブロックのうち平均0.42個ある。 Accordingly, there are an average of 0.42 blocks out of 214 blocks in which errors at four or more locations are concentrated in one ECC unit (512B).
上記第2のステップにおいて、コントローラ3による救済アルゴリズムより求められる、真の不良ブロック数は、以下の(1)及び(2)の2種類の不良ブロック数の合計としてカウントできる。
In the second step, the true number of defective blocks obtained from the repair algorithm by the
(1)6箇所以上のエラーを含むページ(4KB)を持つブロック。これは平均12個ある。 (1) A block having a page (4 KB) including errors at six or more locations. There are 12 on average.
(2)5箇所のエラーを含むページを有し、5箇所のうちの4箇所以上が1つのECC単位(512B)に集中しているページを有するブロック。これは平均1個以下(0.42個)。 (2) A block having pages including errors at five locations and having pages where four or more of the five locations are concentrated in one ECC unit (512B). This is an average of 1 or less (0.42).
上記(2)の意味は、5箇所のエラーを含むページを持つブロックのうち、213個のブロックは1つのECC単位に集中したエラー箇所が3箇所以下しかなく、これらは救済して使用することができることを意味する。 The meaning of (2) above is that 213 blocks out of blocks with 5 error-containing pages have only 3 or less error locations concentrated in one ECC unit, and these should be used in relief. Means you can.
こうして、従来では不良として不使用とされていた5箇所以上の不良を持つページを含む226(=214+12)個のブロックのうち、213個はECCにより救済可能なブロックとして利用可能となる。つまり、これまで不良とされていたブロックのうち、94.2%は利用可能となり、NAND型フラッシュメモリの歩留まりを大幅に改善することができる。 In this way, 213 out of 226 (= 214 + 12) blocks including pages having defects at five or more locations, which were conventionally regarded as non-use as defects, can be used as blocks that can be relieved by ECC. That is, 94.2% of the blocks that have been regarded as defective so far can be used, and the yield of the NAND flash memory can be greatly improved.
尚、前記コントローラ3が、擬似パスBブロックを扱うことができない場合、擬似パスBブロックは不良ブロックであると識別され、使用されない。このため、擬似パスBブロックを有するNAND型フラッシュメモリを、擬似パスBブロックを扱うことができないコントローラ3にも適用することができる。
If the
図9は、コントローラ3の動作を示す第1の変形例である。
FIG. 9 is a first modification showing the operation of the
図9において、先ず、擬似パスBの許容不良ビット数がM個に設定される(S31)。次に、擬似パス機能を用いてNAND型フラッシュメモリにテストデータが書き込まれる(S32)。この後、NAND型フラッシュメモリに対してステータ読み出しを実行し(S33)、ステータスを確認する(S34)。この結果、読み出されたステータスが“パス”を示す場合、次のブロックの処理に移行される(S36)。また、読み出されたステータスが“不良”を示す場合、書き込み対象のブロックを不良ブロックとして取り扱う(S35)。この後、次のブロックの処理に移行される(S36)。 In FIG. 9, first, the allowable number of defective bits in the pseudo path B is set to M (S31). Next, test data is written into the NAND flash memory using the pseudo-pass function (S32). Thereafter, status reading is performed on the NAND flash memory (S33), and the status is confirmed (S34). As a result, when the read status indicates “pass”, the process proceeds to the next block (S36). If the read status indicates “defective”, the block to be written is handled as a defective block (S35). Thereafter, the process proceeds to the next block (S36).
図9に示す第1の変形例によっても、上記実施形態と同様の効果を得ることができる。 Also according to the first modification shown in FIG. 9, the same effect as that of the above embodiment can be obtained.
図10は、コントローラ3の動作を示す第2の変形例である。
FIG. 10 is a second modification showing the operation of the
図10において、先ず、書き込み対象ブロックが、パスブロックであるか、擬似パスBブロックのいずれであるかを判別する(S41、S42)。この結果、パスブロックである場合、擬似パス機能の許容不良ビット数をN個に設定し(S43)、擬似パスBブロックである場合、擬似パス機能の許容不良ビット数をM個に設定する(S44)。この後、擬似パス機能を用いてNAND型フラッシュメモリ2の書き込み対象ブロックの1ページにデータを書き込む(S45)。次いで、NAND型フラッシュメモリに対してステータス読み出しを実行し(S46)、読み出されたステータスを確認する(S47、S48)。この結果、書き込み対象ブロックがパスブロックであり、読み出されたステータスが“パス”を示す場合、次のブロックの処理に移行される(S49)。
In FIG. 10, first, it is determined whether the write target block is a pass block or a pseudo-pass B block (S41, S42). As a result, if it is a pass block, the number of allowable defective bits of the pseudo path function is set to N (S43), and if it is a pseudo path B block, the allowable number of defective bits of the pseudo path function is set to M ( S44). Thereafter, data is written into one page of the write target block of the
また、読み出されたステータスがパスブロックであり、読み出されたステータスが“フェイル”を示す場合、擬似パス機能の許容不良ビット数をM個に設定し(S50)、前述した実施形態と同様の動作を実行する。すなわち、擬似パス機能を用いてNAND型フラッシュメモリにテストデータが再度書き込まれる(S51)。次いで、NAND型フラッシュメモリ2に対してステータス読み出しを実行して、書き込みの良否を示すステータスを読み出し(S52)、ステータスを確認する(S53)。
If the read status is a pass block and the read status indicates “fail”, the number of allowable defective bits of the pseudo-pass function is set to M (S50), and the same as in the above-described embodiment. Execute the operation. That is, the test data is written again into the NAND flash memory using the pseudo pass function (S51). Next, status reading is executed on the
この結果、読み出されたステータスが“不良”を示す場合、以後、書き込み対象のブロックを不良ブロックとして取り扱う(S57)。また、読み出されたステータスが“パス”を示す場合、NAND型フラッシュメモリ2からデータを読み出して(S54)、ECC回路11によりデータのエラー訂正を実行し(S55)、エラー訂正が可能であるかを確認する(S56)。 As a result, when the read status indicates “defective”, the block to be written is treated as a defective block (S57). If the read status indicates “pass”, the data is read from the NAND flash memory 2 (S54), and the error correction of the data is executed by the ECC circuit 11 (S55). (S56).
この結果、エラー訂正が可能な場合は、以後、書き込み対象のブロックを擬似パスBブロックとして取り扱う(S57)。また、エラー訂正が不可能な場合、以後、書き込み対象のブロックを不良ブロックとして取り扱う(S58)。この後、全ブロックのテストが終了してない場合、次のブロックに対して上記と同様の動作が実行される(S49)。 As a result, if error correction is possible, the writing target block is handled as a pseudo-pass B block thereafter (S57). If error correction is impossible, the write target block is treated as a defective block (S58). After this, if all the blocks have not been tested, the same operation as described above is executed for the next block (S49).
上記第2の変形例によれば、パスブロックに許容不良ビット数Nを設定し、擬似パスBブロックに許容不良ビット数Mを設定してテストデータを書き込み、パスブロックであって、読み出されたステータスが“不良”を示す場合、擬似パス機能の許容不良ビット数をMに増加してデータの書き込み、ステータスチェックを再度行い、ステータスが“パス”である場合、エラー訂正によりエラーが訂正可能かどうかを判断している。このため、後発的にパスブロックにエラーが増加した場合においても、エラー訂正が可能な範囲で、擬似パスBブロックとして使用することが可能となる。したがって、不良ブロックの増加を防止でき、NANDフラッシュメモリの歩留まりを向上できる。 According to the second modified example, the test block is written by setting the allowable defective bit number N in the pass block and setting the allowable defective bit number M in the pseudo-pass B block. If the status indicates “Bad”, the number of allowable defective bits of the pseudo-pass function is increased to M, data is written, and the status check is performed again. If the status is “Pass”, the error can be corrected by error correction. Judgment whether or not. For this reason, even when errors increase in the path block later, it can be used as a pseudo path B block as long as error correction is possible. Therefore, an increase in defective blocks can be prevented, and the yield of the NAND flash memory can be improved.
図11は、コントローラ3の動作を示す第3の変形例である。
FIG. 11 is a third modification showing the operation of the
第3の変形例は、不良ビット数をステータスと共にコントローラ3に返す機能を有したNAND型フラッシュメモリを用いた場合である。
A third modification is a case where a NAND flash memory having a function of returning the number of defective bits to the
図11において、コントローラ3は、先ず、NAND型フラッシュメモリ2にテストデータを書き込む(S61)。この後、NAND型フラッシュメモリ2に対してステータス読み出しを実行し(S62)、ステータスを確認する(S63)。すなわち、ステータスに示された不良ビット数に応じて、書き込み対象のブロックを前述した3つのカテゴリー分ける(S64)。すなわち、例えばブロック内の全ページがN個以下の不良ビットしか持たないブロックは、パスブロックとする。N個より多くの不良を持つページを少なくとも1つ含み、M個以上(Mは、M>Nの整数)の不良ビットを持つページを1つも持たないブロックは、擬似パスBブロックとする。M箇所以上の不良ビットを有するページを1つでも含むブロックは、不良ブロックとする。
In FIG. 11, the
上記第3の変形例によれば、後発的に不良ビットが発生した場合においても、不良ビットの数に応じてブロックを各カテゴリーに分けることにより、不良ブロックの発生を抑制でき、利用可能なブロックの低減を防止することができる。 According to the third modified example, even when a defective bit is generated later, by dividing the block into each category according to the number of defective bits, it is possible to suppress the occurrence of a defective block and to use the blocks Can be prevented.
尚、上記実施形態において、擬似パス技術は、ECC回路による訂正を前提として、ページ内に少数の不良ビットがあってもこれを無視し、擬似的に正常ページとすると述べたが、擬似パス技術は、広義には、例えばページ内の全てのビットの書き込みが完了しなくとも未書き込みのビット数が所定数以下であれば、書き込みが完了したものとする技術である。 In the above-described embodiment, the pseudo-pass technique is described as ignoring even a small number of defective bits in a page on the premise of correction by the ECC circuit, and pseudo-normal technique. In a broad sense, for example, even if writing of all bits in a page is not completed, writing is completed if the number of unwritten bits is equal to or less than a predetermined number.
また、上記実施形態は、NAND型フラッシュメモリをメモリカードに適用する場合について説明したが、これに限定されるものではなく、例えばUSBメモリのような電子機器に適用することも可能である。 Moreover, although the said embodiment demonstrated the case where NAND type flash memory was applied to a memory card, it is not limited to this, For example, it is also applicable to electronic devices, such as a USB memory.
その他、この発明の要旨を変えない範囲において、種々変形実施可能なことは勿論である。 Of course, various modifications can be made without departing from the scope of the present invention.
1…メモリカード、2…NAND型フラッシュメモリ、3…コントローラ、11…ECC回路、21…メモリテスタ、31…不良マーク記憶領域。
DESCRIPTION OF
Claims (5)
前記ブロック内の全てのページがN個以下(Nは、0以上の整数)の不良ビットしか持たないブロックは、正常なブロックを示す第1のデータを記憶し、N個より多くの不良ビットを有するページを少なくとも1つ含み、M個以上(MはM>Nの整数)の不良ビットを有するページを1つも持たないブロックは、擬似的に正常なブロックとして擬似パスブロックを示す第2のデータを記憶し、M個以上の不良ビットを含むページを少なくとも1つ含むブロックは、不良ブロックとして第3のデータを記憶することを特徴とする半導体メモリ。 A semiconductor memory having a plurality of blocks, each block being composed of a plurality of pages, each page having a plurality of memory cells,
A block in which all pages in the block have N or less bad bits (N is an integer greater than or equal to 0) stores the first data indicating a normal block and stores more than N bad bits. The second data indicating a pseudo-pass block as a pseudo-normal block is a block that includes at least one page and has no M or more (M is an integer of M> N) defective bits. And a block including at least one page including M or more defective bits stores third data as a defective block.
前記コントローラは、前記第1のデータが記憶されたブロックは、正常ブロックとして使用し、前記第3のデータが記憶されたブロックは不良ブロックとして識別して使用せず、前記第2のデータが記憶されたブロックは、各ページのエラー訂正単位毎にテストを実行し、エラー訂正単位毎に検出される不良ビットの数がエラー訂正可能な数よりも大きい場合、不良ブロックとして認識して使用せず、全てのエラー訂正単位の中にある不良ビットの数がエラー訂正可能な数以下である場合、利用可能なブロックとして使用することを特徴とする。 A semiconductor memory system comprising the semiconductor memory according to claim 1 and a controller having an error correction function,
The controller uses the block in which the first data is stored as a normal block, identifies the block in which the third data is stored as a bad block, does not use it, and stores the second data If the number of defective bits detected for each error correction unit is greater than the number that can be corrected, the block is recognized and used as a defective block. When the number of defective bits in all error correction units is equal to or less than the number capable of error correction, the block is used as an available block.
前記コントローラは、前記第1のデータが記憶されたブロックは、正常ブロックとして使用し、前記第3のデータが記憶されたブロックは不良ブロックとして識別して使用せず、前記第2のデータが記憶されたブロックは、各ページのエラー訂正単位毎にテストを実行し、エラー訂正単位毎に検出される不良ビットの数がエラー訂正可能な数−α(αは後発の許容不良ビット数)よりも大きい場合、不良ブロックとして認識して使用せず、全てのエラー訂正単位内の不良ビット数がエラー訂正可能な数−α以下である場合、利用可能なブロックとして使用する。 A semiconductor memory system comprising the semiconductor memory according to claim 1 and a controller having an error correction function,
The controller uses the block in which the first data is stored as a normal block, identifies the block in which the third data is stored as a bad block, does not use it, and stores the second data The block is subjected to a test for each error correction unit of each page, and the number of defective bits detected for each error correction unit is more than the number that can be error-corrected -α (α is the number of allowable defective bits later). If it is large, it is not recognized and used as a defective block, and if the number of defective bits in all error correction units is equal to or less than the error correctable number -α, it is used as an available block.
前記コントローラが、擬似パスブロックを扱うことができない場合、前記第2のデータが記憶されたブロックは不良ブロックと識別して使用しないことを特徴とする。 A semiconductor memory system comprising the semiconductor memory according to claim 1 and a controller having an error correction function,
When the controller cannot handle the pseudo-pass block, the block in which the second data is stored is identified as a bad block and is not used.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007025864A JP2008192240A (en) | 2007-02-05 | 2007-02-05 | Semiconductor memory and semiconductor memory system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007025864A JP2008192240A (en) | 2007-02-05 | 2007-02-05 | Semiconductor memory and semiconductor memory system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008192240A true JP2008192240A (en) | 2008-08-21 |
Family
ID=39752198
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007025864A Pending JP2008192240A (en) | 2007-02-05 | 2007-02-05 | Semiconductor memory and semiconductor memory system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008192240A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010237822A (en) * | 2009-03-30 | 2010-10-21 | Toshiba Corp | Memory controller and semiconductor storage device |
JP2011123964A (en) * | 2009-12-11 | 2011-06-23 | Toshiba Corp | Semiconductor memory |
JP2012069180A (en) * | 2010-09-21 | 2012-04-05 | Toshiba Corp | Semiconductor storage device |
JP2012203965A (en) * | 2011-03-25 | 2012-10-22 | Toshiba Corp | Semiconductor storage device |
JP2012212487A (en) * | 2011-03-30 | 2012-11-01 | Toshiba Corp | Memory system |
JP2017054351A (en) * | 2015-09-10 | 2017-03-16 | 株式会社東芝 | Memory system |
CN107992268A (en) * | 2017-11-24 | 2018-05-04 | 郑州云海信息技术有限公司 | A kind of method and relevant apparatus of bad block mark |
US10275165B2 (en) | 2016-09-12 | 2019-04-30 | Toshiba Memory Corporation | Memory controller |
US10431322B1 (en) | 2018-03-19 | 2019-10-01 | Toshiba Memory Corporation | Memory system |
-
2007
- 2007-02-05 JP JP2007025864A patent/JP2008192240A/en active Pending
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010237822A (en) * | 2009-03-30 | 2010-10-21 | Toshiba Corp | Memory controller and semiconductor storage device |
JP2011123964A (en) * | 2009-12-11 | 2011-06-23 | Toshiba Corp | Semiconductor memory |
JP2012069180A (en) * | 2010-09-21 | 2012-04-05 | Toshiba Corp | Semiconductor storage device |
JP2012203965A (en) * | 2011-03-25 | 2012-10-22 | Toshiba Corp | Semiconductor storage device |
JP2012212487A (en) * | 2011-03-30 | 2012-11-01 | Toshiba Corp | Memory system |
JP2017054351A (en) * | 2015-09-10 | 2017-03-16 | 株式会社東芝 | Memory system |
CN106531223A (en) * | 2015-09-10 | 2017-03-22 | 株式会社东芝 | Memory system |
US10170202B2 (en) | 2015-09-10 | 2019-01-01 | Toshiba Memory Corporation | Memory system |
US10275165B2 (en) | 2016-09-12 | 2019-04-30 | Toshiba Memory Corporation | Memory controller |
CN107992268A (en) * | 2017-11-24 | 2018-05-04 | 郑州云海信息技术有限公司 | A kind of method and relevant apparatus of bad block mark |
US10431322B1 (en) | 2018-03-19 | 2019-10-01 | Toshiba Memory Corporation | Memory system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7864578B2 (en) | Semiconductor memory repairing a defective bit and semiconductor memory system | |
JP2008192240A (en) | Semiconductor memory and semiconductor memory system | |
JP6612392B1 (en) | Semiconductor memory device | |
US8059463B2 (en) | Method for generating soft bits in flash memories | |
KR100996009B1 (en) | Non volatile memory device and method of operating the same | |
US8214725B2 (en) | Memory access system | |
US20100241796A1 (en) | Memory system protected from errors due to read disturbance and reading method thereof | |
US20200303016A1 (en) | Memory reading method and memory system | |
JP2013089082A (en) | Memory controller, semiconductor storage system and memory control method | |
US20150067439A1 (en) | Memory controller | |
TW201642266A (en) | Decoding method, memory storage device and memory control circuit unit | |
CN106297883B (en) | Decoding method, memory storage device and memory control circuit unit | |
JP4491000B2 (en) | Memory system | |
JP2010152989A (en) | Nonvolatile semiconductor storage device | |
JP2017182850A (en) | Nonvolatile storage device, integrated circuit device, electronic apparatus, and control method for nonvolatile storage device | |
US10735030B2 (en) | Re-encoding data associated with failed memory devices | |
US10937495B2 (en) | Resistive memory apparatus and method for writing data thereof | |
JP2010108029A (en) | Nonvolatile memory controller, non-volatile storage device, and non-volatile storage system | |
JP2005196658A (en) | External memory unit | |
KR20140052181A (en) | A method of operating the memory device and the memory system | |
JP4582078B2 (en) | Memory controller, flash memory system, and flash memory control method | |
JP4692843B2 (en) | Memory controller, flash memory system, and flash memory control method | |
US10019186B2 (en) | Data maintenance method for error control and data storage device using the same | |
US7773421B2 (en) | Method and apparatus for accessing memory with read error by changing comparison | |
KR20100027787A (en) | Operating method of non volatile memory device |