# Patent

## Title
Defective block handling in a flash memory device

## Abstract

A method and circuit that remaps, to a single redundant memory block, defective rows from amongst a plurality of defective memory blocks. The circuit determines which rows of each memory block is defective and maps any further access to those rows to the redundant memory block. During an erase operation of the remapped memory rows, the selected rows are biased with an erase voltage, the source line and tub are biased at some high voltage that can be greater than VCC. The unselected word lines are biased at a voltage that is substantially equal to the substrate voltage.

## Background
RELATED APPLICATION
This application is a Continuation of U.S. patent application Ser. No. 11/127,465, titled “DEFECTIVE BLOCK HANDLING IN A FLASH MEMORY DEVICE,” filed May 12, 2005, now U.S. Pat. No.7,221,603 which is commonly assigned and incorporated herein by reference.


TECHNICAL FIELD OF THE INVENTION
The present invention relates generally to memory devices and in particular the present invention relates to defective blocks in flash memory devices.
BACKGROUND OF THE INVENTION
Memory devices are typically provided as internal, semiconductor, integrated circuits in computers or other electronic devices. There are many different types of memory including random-access memory (RAM), read only memory (ROM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), and flash memory.
A flash memory is a type of memory that can be erased and reprogrammed in blocks instead of one byte at a time. Each of the memory cells includes a floating gate field-effect transistor capable of holding a charge. Each of the cells can be electrically programmed on a random basis by charging the floating gate. The data in a cell is determined by the presence or absence of the charge in the floating gate. The charge can be removed from the floating gate by a block erase operation.
As electronic devices become smaller, their components such as the flash memory must also be reduced in size. At the same time, the memory devices are becoming denser to keep up with the increasing performance of the electronic devices.
As memory devices are scaled, the tolerances in the manufacturing are reduced as well. This translates into a greater quantity of defects from shorting of different layers of the memory devices, thus reducing the yield and increasing the cost of the device. Since one reason for the smaller, denser memory devices is to reduce costs, the decreased yield problem is contrary to the move to more advanced processes to lower costs.
Redundancy has been used to improve the defective memory situation. For example, some memory devices have column and memory block redundancy that can be used to replace defective columns and blocks with extra columns and/or blocks of memory. NAND flash memory typically uses block redundancy to replace defective memory blocks. However, only a limited quantity of redundant blocks can be included on a memory die. Remapping an entire memory block when only one row or column is defective in a memory block can eventually use up all of the redundant memory blocks. This can leave too many defects on the die.
For the reasons stated above, and for other reasons stated below which will become apparent to those skilled in the art upon reading and understanding the present specification, there is a need in the art for a flash memory device that has improved handling of defective memory blocks.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 shows a simplified schematic diagram of a flash memory array.
FIG. 2 shows a flowchart of one embodiment of a method of the present invention for defective memory block handling in a memory array.
FIG. 3 shows a flowchart of one embodiment of a method for an erase operation in accordance with the defective memory block handling of the present invention.
FIG. 4 shows a flowchart of an alternate embodiment of a method of the present invention for handling defective memory blocks.
FIG. 5 shows a block diagram of one embodiment of an electronic system of the present invention.



DETAILED DESCRIPTION
In the following detailed description of the invention, reference is made to the accompanying drawings that form a part hereof and in which is shown, by way of illustration, specific embodiments in which the invention may be practiced. In the drawings, like numerals describe substantially similar components throughout the several views. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention. Other embodiments may be utilized and structural, logical, and electrical changes may be made without departing from the scope of the present invention. The following detailed description is, therefore, not to be taken in a limiting sense, and the scope of the present invention is defined only by the appended claims and equivalents thereof.
FIG. 1 illustrates a simplified schematic diagram of a NAND flash memory array. The memory array of FIG. 1, for purposes of clarity, does not show all of the elements typically required in a memory array. For example, only two bit lines are shown (BL1 and BL2) when the number of bit lines required actually depends upon the memory density. The bit lines are subsequently referred to as (BL1-BLN).
The array is comprised of an array of floating gate cells 101 arranged in series columns 104, 105. Each of the floating gate cells 101 are coupled drain to source in each series chain 104, 105. A word line (WL0-WL31) that spans across multiple series strings 104, 105 is coupled to the control gates of every floating gate cell in a row in order to control their operation. The bit lines (BL1-BLN) are eventually coupled to sense amplifiers (not shown) that detect the state of each cell.
In operation, the word lines (WL0-WL31) select the individual floating gate memory cells in the series chain 104, 105 to be written to or read from and operate the remaining floating gate memory cells in each series string 104, 105 in a pass through mode. Each series string 104, 105 of floating gate memory cells is coupled to a source line 106 by a source select gate 116, 117 and to an individual bit line (BL1-BLN) by a drain select gate 112, 113. The source select gates 116, 117 are controlled by a source select gate control line SG(S) 118 coupled to their control gates. The drain select gates 112, 113 are controlled by a drain select gate control line SG(D) 114.
The memory cells are usually grouped into memory blocks. A block is typically defined by the total number of bits per word line multiplied by the total number of cells per string. In one embodiment, a memory block has 16k columns with 32 rows. Alternate embodiments can have other memory block formats.
One embodiment of the present invention maps a defective row or rows from a memory block to the same quantity of rows in a redundant memory block. Therefore, instead of mapping an entire memory block to an entire redundant memory block when only a small number of rows are defective, only the rows that are defective are actually mapped to the redundant block. Additionally, only those rows in the redundant block are used to which defective rows have been mapped. The redundant memory block can then be used as redundant rows for multiple memory blocks.
A typical prior art erase operation erases all of the rows of a block together. The erase operation of the present invention biases unselected rows of the block being erased with an inhibit voltage. The primary mechanism for an erase operation is the voltage drop between the gate and the substrate channel. In one embodiment of the erase operation of the present invention, the inhibit voltage is the same potential as the substrate so that there is no voltage drop between the gate and the channel.
FIG. 2 illustrates a flowchart of one embodiment of a method of the present invention for defective memory block handling in a memory array. The embodiment is comprised of testing the memory array to determine which rows are defective 201. The type of testing and the types of defects are well known in the art. The testing can include writing checkerboard and inverse checkerboard patterns to memory. The defects can include shorted word lines and defective memory cells. Alternate embodiments may use other types of testing and/or other types of defects may be found.
The defective rows are mapped to the same quantity of rows of a redundant block 203. In this embodiment, defective rows from multiple blocks can be mapped to a single redundant block.
FIG. 3 illustrates a flowchart for one embodiment of a method for an erase operation of the present invention. The erase operation is performed on a redundant memory block to which a plurality of defective memory cell rows has been mapped. This method prevents all of the remapped rows in the redundant memory block from being erased simultaneously as would normally be done.
The selected remapped rows are biased with an erase voltage 301. In one embodiment, this voltage is 0V. The tub (i.e., portion of the substrate in which the memory cells are fabricated) and the source line are biased at some high voltage that is greater than VCC (e.g., 20V). Alternate embodiments can use other erase bias voltages.
The unselected word lines in the redundant block are biased at some inhibit voltage 303. For example, a high voltage that is greater than VCC (e.g., 20V) and substantially equal to the substrate bias. As discussed previously, when both the channel in the tub and the control gate have substantially the same voltage, the erase mechanism is inhibited. Alternate embodiments can use other inhibit voltages.
The unselected word lines are those lines that are not desired to be erased. These rows can include redundant rows that are not used and/or rows that have been remapped from defective rows of another memory block.
FIG. 4 illustrates a flowchart for an alternate embodiment of a method of the present invention for handling defective memory blocks. Instead of remapping an entire defective memory block as in the prior art, the remapping method, in this embodiment, maps half of a defective block to replace half of another defective block. This reduces by half the total number of defective blocks.
The method is comprised of performing a test on the memory array to determine which rows of the each block are defective 401. Since the memory control circuitry tracks which memory blocks are bad, it can remap the defective area of one or more memory blocks to the non-defective area of another defective block 403. In one embodiment, this remapping method is performed in half-block increments. Alternate embodiments can use other block size increments. In the embodiment of FIG. 4, the two defective blocks are erased simultaneously so that there is no potential program disturb issues.
All of the remapping/erasing embodiments of the present invention are invisible to the user. For example, during a programming operation, all addressing to a defective row or block is automatically remapped to the redundant row/block.
FIG. 5 illustrates a functional block diagram of a memory device 500 of one embodiment of the present invention that is coupled to a processor 510. The processor 510 may be a microprocessor, a processor, or some other type of controlling circuitry. The memory device 500 and the processor 510 form part of an electronic system 520. The memory device 500 has been simplified to focus on features of the memory that are helpful in understanding the present invention.
The memory device includes an array of memory cells 530. In one embodiment, the memory cells are non-volatile floating-gate memory cells and the memory array 530 is arranged in banks of rows and columns.
An address buffer circuit 540 is provided to latch address signals provided on address input connections A0-Ax 542. Address signals are received and decoded by a row decoder 544 and a column decoder 546 to access the memory array 530. It will be appreciated by those skilled in the art, with the benefit of the present description, that the number of address input connections depends on the density and architecture of the memory array 530. That is, the number of addresses increases with both increased memory cell counts and increased bank and block counts.
The above-described embodiments have focused on a NAND architecture memory array. However, the present invention is not limited to this architecture. The embodiments of the present invention can be used in any architecture of memory device (e.g., NAND, NOR, AND).
The memory device 500 reads data in the memory array 530 by sensing voltage or current changes in the memory array columns using sense/latch circuitry 550. The sense/latch circuitry, in one embodiment, is coupled to read and latch a row of data from the memory array 530. Data input and output buffer circuitry 560 is included for bi-directional data communication over a plurality of data connections 562 with the controller 510. Write circuitry 555 is provided to write data to the memory array.
Control circuitry 570 decodes signals provided on control connections 572 from the processor 510. These signals are used to control the operations on the memory array 530, including data read, data write, and erase operations. In one embodiment, the control circuitry 570 executes the embodiments of the memory cell row remapping and erasing of the present invention. The control circuitry 570 may be a state machine, a sequencer, or some other type of controller.
The flash memory device illustrated in FIG. 5 has been simplified to facilitate a basic understanding of the features of the memory. A more detailed understanding of internal circuitry and functions of flash memories are known to those skilled in the art.
CONCLUSION
In summary, the embodiments of the present invention provide more effective ways to handle defective blocks in a memory device. With multiple defective blocks sharing the same redundant block, the embodiments of the present invention can reduce the total number of defective blocks and thus increase chip yield.
Although specific embodiments have been illustrated and described herein, it will be appreciated by those of ordinary skill in the art that any arrangement that is calculated to achieve the same purpose may be substituted for the specific embodiments shown. Many adaptations of the invention will be apparent to those of ordinary skill in the art. Accordingly, this application is intended to cover any adaptations or variations of the invention. It is manifestly intended that this invention be limited only by the following claims and equivalents thereof.

## Claims

1. A method for testing and remapping memory, wherein the memory is arranged in an array of rows and columns and grouped into memory blocks, the method comprising:
testing rows of memory for defects; and
remapping only rows containing defects to another memory block in the array.

2. The method of claim 1 wherein the memory is tested by writing a checkerboard pattern to the memory.

3. The method of claim 1 wherein the memory is tested by writing an inverse checkerboard pattern to the memory.

4. The method of claim 1 wherein the memory array is a NAND flash memory array.

5. The method of claim 1 wherein a memory block comprises 16K columns by 32 rows.

6. The method of claim 1 wherein defective rows are remapped to a first redundant block of memory.

7. The method of claim 6 wherein all defective rows are remapped to the first redundant block of memory.

8. The method of claim 1 wherein the memory blocks are further grouped into fractional block size increments.

9. The method of claim 8 wherein the fractional block size increments are one half size blocks.

10. The method of claim 9 further comprising: remapping defective fractional blocks to non-defective fractional blocks of other memory blocks containing defects.

11. A method for testing and remapping defective memory in an array of FLASH memory cells, arranged in rows and columns and grouped into a plurality of memory blocks, the method comprising:
testing rows of memory for defects;
remapping only rows of memory containing defects to a redundant memory block; and
selectively erasing rows in the redundant memory block while inhibiting erasure of unselected rows in the redundant memory block.

12. The method of claim 11 wherein testing rows comprises writing a checkerboard bit pattern to the memory.

13. The method of claim 11 wherein testing rows comprises writing an inverse checkerboard bit pattern to the memory.

14. The method of claim 11 wherein an applied erase voltage is ground potential and an applied erase inhibit voltage is 20V.

15. A FLASH memory device comprising:
an array of FLASH memory cells, each memory cell formed in a tub on a substrate and having a control gate, the memory cells arranged in rows and columns and further grouped into a plurality of blocks; and
control circuitry, coupled to the memory array and adapted to control operations of the memory array by remapping only rows of memory containing defects to a redundant memory block, and selectively erasing rows in the redundant memory block while inhibiting erasure of unselected rows in the redundant memory block.

16. The memory device of claim 15 wherein the control circuitry is further adapted to selectively erase rows by applying an erase voltage of ground potential to the control gates of the memory cells comprising the selected rows.

17. The memory device of claim 16 wherein the tubs of selected rows are biased at a voltage greater than Vcc during erasure of selected rows.

18. The memory device of claim 17 wherein the applied bias to the tub during erasure of selected rows is 20V.

19. The memory device of claim 15 wherein the control circuitry is further adapted to inhibit erasure of unselected rows by biasing the tub and control gate at a voltage greater than Vcc.

20. The memory device of claim 19 wherein the bias applied to the tub and control gate to inhibit erasure of memory cells comprising unselected rows is 20V.