# Patent

## Title
Lower page only host burst writes

## Abstract

In a Multi Level Cell (MLC) memory array, a burst of data from a host may be written in only lower pages of a block in a rapid manner. Other data from a host may be written in lower and upper pages so that data is more efficiently arranged for long term storage.

## Background
BACKGROUND
This application relates to the operation of re-programmable nonvolatile memory systems such as semiconductor flash memory which record data using charge stored in charge storage elements of memory cells and to methods of operating such memory systems.
Solid-state memory capable of nonvolatile storage of charge, particularly in the form of EEPROM and flash EEPROM packaged as a small form factor card, has become the storage of choice in a variety of mobile and handheld devices, notably information appliances and consumer electronics products. Unlike RAM (random access memory) that is also solid-state memory, flash memory is non-volatile, and retains its stored data even after power is turned off. Also, unlike ROM (read only memory), flash memory is rewritable similar to a disk storage device. In spite of the higher cost, flash memory is increasingly being used in mass storage applications.
Flash EEPROM is similar to EEPROM (electrically erasable and programmable read-only memory) in that it is a non-volatile memory that can be erased and have new data written or “programmed” into their memory cells. Both utilize a floating (unconnected) conductive gate, in a field effect transistor structure, positioned over a channel region in a semiconductor substrate, between source and drain regions. A control gate is then provided over the floating gate. The threshold voltage characteristic of the transistor is controlled by the amount of charge that is retained on the floating gate. That is, for a given level of charge on the floating gate, there is a corresponding voltage (threshold) that must be applied to the control gate before the transistor is turned “on” to permit conduction between its source and drain regions. Flash memory such as Flash EEPROM allows entire blocks of memory cells to be erased at the same time.
The floating gate can hold a range of charges and therefore can be programmed to any threshold voltage level within a threshold voltage window. The size of the threshold voltage window is delimited by the minimum and maximum threshold levels of the device, which in turn correspond to the range of the charges that can be programmed onto the floating gate. The threshold window generally depends on the memory device's characteristics, operating conditions and history. Each distinct, resolvable threshold voltage level range within the window may, in principle, be used to designate a definite memory state of the cell.
Nonvolatile memory devices are also manufactured from memory cells with a dielectric layer for storing charge. Instead of the conductive floating gate elements described earlier, a dielectric layer is used. Such memory devices utilizing dielectric storage element have been described by Eitan et al., “NROM: A Novel Localized Trapping, 2-Bit Nonvolatile Memory Cell,” IEEE Electron Device Letters, vol. 21, no. 11, November 2000, pp. 543-545. An ONO dielectric layer extends across the channel between source and drain diffusions. The charge for one data bit is localized in the dielectric layer adjacent to the drain, and the charge for the other data bit is localized in the dielectric layer adjacent to the source. For example, U.S. Pat. Nos. 5,768,192 and 6,011,725 disclose a nonvolatile memory cell having a trapping dielectric sandwiched between two silicon dioxide layers. Multi-state data storage is implemented by separately reading the binary states of the spatially separated charge storage regions within the dielectric.
SUMMARY OF THE INVENTION
In a Multi Level Cell (MLC) memory array, a burst of data from a host may be written in only lower pages of a block. This provides a very fast way to write data so that challenging time constraints can be met for such bursts. Other data from a host may be written in lower and upper pages so that data is more efficiently arranged for long term storage. Blocks that are written in burst mode may later have upper pages written with data copied from elsewhere in the memory array. Any unwritten word lines may also be written, for example, by programming lower and upper pages together.
An example of a method of operating a block-erasable nonvolatile memory array includes: receiving a burst of data from a host; programming the burst of data as only lower page data along three or more word lines of at least one update block configured as a Multi Level Cell (MLC) block; and subsequently, only after the burst of data from the host is programmed, copying additional data from outside the MLC block to fill upper pages of the MLC block while maintaining the data as lower page data in the MLC block.
The burst of data may consist of sequential data. The method may further include receiving nonsequential data from the host and storing the nonsequential data in one or more Single Level Cell (SLC) blocks. The at least one update block may include an additional MLC block, and the additional data may be data of the burst of data that is copied from the additional MLC block to fill the upper pages of the MLC block. All word lines of the MLC block may be programmed with only lower page data from the burst of data, and the at least one update block may include an additional MLC block that has a plurality of programmed word lines that are programmed with only lower page data, and a plurality of unprogrammed word lines that are not programmed with any data of the burst of data. The method may further include subsequently copying previously stored data to the plurality of unprogrammed word lines in the additional block, the copying using a programming sequence that programs upper and lower pages together. Additional previously stored data may be copied to upper pages of the plurality of programmed word lines of the additional block. The block erasable nonvolatile memory may be a three-dimensional memory in which NAND strings extend in a direction that is perpendicular to a substrate. The update block may store two logical pages of data per physical page, an upper page, and a lower page. The update block may store three logical pages of data per physical page, an upper page, a middle page, and a lower page.
An example of a method of operating a block-erasable nonvolatile memory array includes: determining whether a particular write operation is a burst write and selecting a write mode accordingly as either a burst write mode or a non-burst write mode; in the non-burst write mode, storing data in update blocks as both lower page data and upper page data along word lines of the update blocks; and in the burst write mode, storing data in update blocks only as lower page data along word lines of the update blocks.
In the burst write mode, a new update block may be opened when an update block has all lower pages filled without filling any upper pages of the update block. After the burst write, the upper pages of the update block may be filled with previously written data that is copied from elsewhere in the block-erasable nonvolatile memory array. The write operation may be identified as a burst write when the write operation is in response to a write command from a host that identifies the write operation as a burst write, A write operation may be identified as a non-burst write when the write operation is part of a copying operation that copies data from one area of the block-erasable nonvolatile memory array to another area of the block-erasable nonvolatile memory array. The block-erasable nonvolatile memory array may be a three-dimensional NAND flash memory array.
An example of a nonvolatile memory system includes: a three-dimensional NAND flash memory array that includes a plurality of Multi Level Cell (MLC) nonvolatile memory blocks that are configured as update blocks that are available to receive data updates of host data for particular host logical address ranges; and a write circuit that is configured to, in a burst write mode, program only lower pages along word lines of an individual update block.
Update blocks may be available to receive sequential data updates of host data, and the three-dimensional NAND flash memory array may further include a plurality of Single Level Cell (SLC) nonvolatile memory blocks that are configured as binary cache blocks that are available to receive nonsequential data updates of host data. The write circuit may be further configured to, in a non-burst mode, program upper and lower pages along word lines of update blocks. The write circuit may be further configured to, in a non-burst mode, program upper pages along word lines that previously had lower pages programmed in burst mode.
Various aspects, advantages, features and embodiments of the present invention are included in the following description of exemplary examples thereof, which description should be taken in conjunction with the accompanying drawings. All patents, patent applications, articles, other publications, documents and things referenced herein are hereby incorporated herein by this reference in their entirety for all purposes. To the extent of any inconsistency or conflict in the definition or use of terms between any of the incorporated publications, documents or things and the present application, those of the present application shall prevail.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 illustrates schematically the main hardware components of a memory system suitable for implementing the present invention.
FIG. 2 illustrates schematically a non-volatile memory cell.
FIG. 3 illustrates the relation between the source-drain current ID and the control gate voltage VCG for four different charges Q1-Q4 that the floating gate may be selectively storing at any one time at fixed drain voltage.
FIG. 4A illustrates schematically a string of memory cells organized into a NAND string.
FIG. 4B illustrates an example of a NAND array 210 of memory cells, constituted from NAND strings 50 such as that shown in FIG. 4A.
FIG. 5 illustrates a page of memory cells, organized in the NAND configuration, being sensed or programmed in parallel.
FIGS. 6A-6F illustrate examples of programming a population of memory cells.
FIGS. 7A-7E illustrate programming of upper and lower page bits in MLC.
FIG. 8A shows an example of a physical structure of a 3-D NAND string.
FIG. 8B shows an example of a physical structure of a U-shaped 3-D NAND string.
FIG. 9A shows a cross section of a 3-D NAND memory array in the y-z plane.
FIG. 9B shows a cross section of the 3-D NAND memory array of FIG. 9A along the x-y plane.
FIG. 10 illustrates operation of SLC and MLC portions in a memory system.
FIG. 11 illustrates a detailed example of operation of SLC and MLC portions.
FIG. 12 shows an example of a programming scheme.
FIG. 13 shows an alternative example of a programming scheme.
FIG. 14 shows a memory with two modes of writing MLC blocks.
FIG. 15 illustrates post-burst filling of a block.
FIG. 16 shows a more detailed example of how programming according to FIG. 13 may be applied.
FIG. 17A illustrates copying of data to a partially filled block.
FIG. 17B illustrates further copying of data to a partially filled block.
FIG. 18 illustrates handling of newly-received data.
FIG. 19 illustrates management of MLC update blocks.
FIG. 20 illustrates management of closed blocks.
FIG. 21 illustrates an example of memory system hardware.



DETAILED DESCRIPTION
Memory System
FIG. 1 illustrates schematically the main hardware components of a memory system suitable for implementing the present invention. The memory system 90 typically operates with a host 80 through a host interface. The memory system may be in the form of a removable memory such as a memory card, or may be in the form of an embedded memory system. The memory system 90 includes a memory 102 whose operations are controlled by a controller 100. The memory 102 comprises one or more array of non-volatile memory cells distributed over one or more integrated circuit chip. The controller 100 may include interface circuits 110, a processor 120, ROM (read-only-memory) 122, RAM (random access memory) 130, programmable nonvolatile memory 124, and additional components. The controller is typically formed as an ASIC (application specific integrated circuit) and the components included in such an ASIC generally depend on the particular application.
Physical Memory Structure
FIG. 2 illustrates schematically a non-volatile memory cell. The memory cell 10 can be implemented by a field-effect transistor having a charge storage unit 20, such as a floating gate or a charge trapping (dielectric) layer. The memory cell 10 also includes a source 14, a drain 16, and a control gate 30.
There are many commercially successful non-volatile solid-state memory devices being used today. These memory devices may employ different types of memory cells, each type having one or more charge storage element.
FIG. 3 illustrates the relation between the source-drain current ID and the control gate voltage VCG for four different charges Q1-Q4 that the floating gate may be selectively storing at any one time. With fixed drain voltage bias, the four solid ID versus VCG curves represent four of seven possible charge levels that can be programmed on a floating gate of a memory cell, respectively corresponding to four possible memory states. As an example, the threshold voltage window of a population of cells may range from 0.5V to 3.5V. Seven possible programmed memory states “0”, “1”, “2”, “3”, “4”, “5”, “6”, and an erased state (not shown) may be demarcated by partitioning the threshold window into regions in intervals of 0.5V each. For example, if a reference current, IREF of 2 μA is used as shown, then the cell programmed with Q1 may be considered to be in a memory state “1” since its curve intersects with IREF in the region of the threshold window demarcated by VCG=0.5V and 1.0V. Similarly, Q4 is in a memory state “5”.
As can be seen from the description above, the more states a memory cell is made to store, the more finely divided is its threshold voltage window. For example, a memory device may have memory cells having a threshold voltage window that ranges from −1.5V to 5V. This provides a maximum width of 6.5V. If the memory cell is to store 16 states, each state may occupy from 200 mV to 300 mV in the threshold window. This will require higher precision in programming and reading operations in order to be able to achieve the required resolution.
NAND Structure
FIG. 4A illustrates schematically a string of memory cells organized into a NAND string. A NAND string 50 comprises a series of memory transistors M1, M2, . . . Mn (e.g. n=4, 8, 16 or higher) daisy-chained by their sources and drains. A pair of select transistors S1, S2 controls the memory transistor chain's connection to the external world via the NAND string's source terminal 54 and drain terminal 56 respectively. In a memory array, when the source select transistor S1 is turned on, the source terminal is coupled to a source line (see FIG. 4B). Similarly, when the drain select transistor S2 is turned on, the drain terminal of the NAND string is coupled to a bit line of the memory array. Each memory transistor 10 in the chain acts as a memory cell. It has a charge storage element 20 to store a given amount of charge so as to represent an intended memory state. A control gate 30 of each memory transistor allows control over read and write operations. As will be seen in FIG. 4B, the control gates 30 of corresponding memory transistors of a row of NAND string are all connected to the same word line. Similarly, a control gate 32 of each of the select transistors S1, S2 provides control access to the NAND string via its source terminal 54 and drain terminal 56 respectively. Likewise, the control gates 32 of corresponding select transistors of a row of NAND string are all connected to the same select line.
When an addressed memory transistor 10 within a NAND string is read or is verified during programming, its control gate 30 is supplied with an appropriate voltage. At the same time, the rest of the non-addressed memory transistors in the NAND string 50 are fully turned on by application of sufficient voltage on their control gates. In this way, a conductive path is effectively created from the source of the individual memory transistor to the source terminal 54 of the NAND string and likewise for the drain of the individual memory transistor to the drain terminal 56 of the cell. Memory devices with such NAND string structures are described in U.S. Pat. Nos. 5,570,315, 5,903,495, 6,046,935.
FIG. 4B illustrates an example of a NAND array 210 of memory cells, constituted from NAND strings 50 such as that shown in FIG. 4A. Along each column of NAND strings, a bit line such as bit line 36 is coupled to the drain terminal 56 of each NAND string. Along each bank of NAND strings, a source line such as source line 34 is coupled to the source terminals 54 of each NAND string. Also the control gates along a row of memory cells in a bank of NAND strings are connected to a word line such as word line 42. The control gates along a row of select transistors in a bank of NAND strings are connected to a select line such as select line 44. An entire row of memory cells in a bank of NAND strings can be addressed by appropriate voltages on the word lines and select lines of the bank of NAND strings.
FIG. 5 illustrates a page of memory cells, organized in the NAND configuration, being sensed or programmed in parallel. FIG. 5 essentially shows a bank of NAND strings 50 in the memory array 210 of FIG. 4B, where the detail of each NAND string is shown explicitly as in FIG. 4A. A physical page, such as the page 60, is a group of memory cells enabled to be sensed or programmed in parallel. This is accomplished by a corresponding page of sense amplifiers 212. The sensed results are latched in a corresponding set of latches 214. Each sense amplifier can be coupled to a NAND string via a bit line. The page is enabled by the control gates of the cells of the page connected in common to a word line 42 and each cell accessible by a sense amplifier accessible via a bit line 36. As an example, when respectively sensing or programming the page of cells 60, a sensing voltage or a programming voltage is respectively applied to the common word line WL3 together with appropriate voltages on the bit lines.
Physical Organization of the Memory
One important difference between flash memory and other of types of memory is that a cell must be programmed from the erased state. That is the floating gate must first be emptied of charge. Programming then adds a desired amount of charge back to the floating gate. It does not support removing a portion of the charge from the floating gate to go from a more programmed state to a lesser one. This means that updated data cannot overwrite existing data and must be written to a previous unwritten location.
Furthermore erasing is to empty all the charges from the floating gate and generally takes appreciable time. For that reason, it will be cumbersome and very slow to erase cell by cell or even page by page. In practice, the array of memory cells is divided into a large number of blocks of memory cells. As is common for flash EEPROM systems, the block is the unit of erase. That is, each block contains the minimum number of memory cells that are erased together. While aggregating a large number of cells in a block to be erased in parallel will improve erase performance, a large size block also entails dealing with a larger number of update and obsolete data.
Each block is typically divided into a number of physical pages. A logical page is a unit of programming or reading that contains a number of bits equal to the number of cells in a physical page. In a memory that stores one bit per cell, one physical page stores one logical page of data. In memories that store two bits per cell, a physical page stores two logical pages. The number of logical pages stored in a physical page thus reflects the number of bits stored per cell. In one embodiment, the individual pages may be divided into segments and the segments may contain the fewest number of cells that are written at one time as a basic programming operation. One or more logical pages of data are typically stored in one row of memory cells. A page can store one or more sectors. A sector may include user data and overhead data.
SLC and MLC Programming
FIG. 6A-6C illustrate an example of a population of 2-state memory cells (Single Level Cells, or “SLC” cells). FIG. 6A illustrates how the population of memory cells are programmable into two distinct distributions of threshold voltages, an erased state, “E” and a programmed state, “P.” Memory cells may be read by determining whether their threshold voltages are above or below a read voltage, rV1. FIG. 6B illustrates the initial distribution of “erased” threshold voltages for an erased memory. FIG. 6C illustrates an example of the memory after many of the memory cells have been programmed. Essentially, a cell initially has an “erased” threshold voltage and programming will move it to a higher value into a zone demarcated by verify level vV1. In this way, each memory cell can be programmed to the programmed state or remain un-programmed in the “erased” state. Binary bits, or logic states, are associated with each distribution. In the example shown, the erased distribution is associated with a logic state “1” and the programmed distribution is associated with a logic state “0.”
FIG. 6D-6F illustrate an example of programming a population of 4-state memory cells (MLC cells). It will be understood that memory cells may be configurable as either 2-state or 4 state so that the same memory cells may be SLC at one time and MLC at another time. Typically memory cells are configured as SLC or MLC on a block by block basis so that all cells of a block are operated together as either an SLC block or an MLC block at any given time. FIG. 6D illustrates the population of memory cells programmable into four distinct distributions of threshold voltages respectively representing memory states “E”, “A”, “B” and “C”. FIG. 6E illustrates the initial distribution of “erased” threshold voltages for an erased memory. FIG. 6F illustrates an example of the memory after many of the memory cells have been programmed. Essentially, a cell initially has an “erased” threshold voltage and programming will move it to a higher value into one of the three zones demarcated by verify levels vV1, vV2 and vV3. In this way, each memory cell can be programmed to one of the three programmed states “A”, “B” and “C” or remain un-programmed in the erased state. As the memory gets more programming, the initial distribution of the erased state as shown in FIG. 6E will become narrower.
A 2-bit code having a lower bit and an upper bit can be used to represent each of the four memory states. For example, the “E”, “A”, “B” and “C” states are respectively represented by “11”, “01”, “00” and “10”. The 2-bit data may be read from the memory by sensing in “full-sequence” mode where the two bits are sensed together by sensing relative to the read demarcation threshold values rV1, rV2 and rV3 in three sub-passes respectively.
While the examples above illustrate 2-state SLC operation and 4-state MLC operation, it will be understood that MLC operation is not limited to 4-state examples. For example, eight threshold voltage distributions may be used to store three bits per cell. Other numbers of threshold voltage distributions may be used to store other numbers of bits per cell.
Bit-by-Bit MLC Programming and Reading
FIGS. 7A-7E illustrate the programming and reading of a 4-state memory encoded with a given 2-bit code. FIG. 7A illustrates threshold voltage distributions of the 4-state memory array when each memory cell stores two bits of data using the 2-bit code. Such a 2-bit code has been disclosed in U.S. Pat. No. 7,057,939.
FIG. 7B illustrates the lower page programming (lower bit) in a 2-pass programming scheme using the 2-bit code. The first pass lower page programming has the logical state (upper bit, lower bit)=(1, 1) transits to some intermediate state (x, 0) as represented by programming the “unprogrammed” memory state “E” to the “intermediate” state designated by (x, 0) with a programmed threshold voltage greater than DA but less than DC. Memory cells programmed with lower page bits only (no upper page bits) may be read using DA.
FIG. 7C illustrates the upper page programming (upper bit) in the 2-pass programming scheme using the 2-bit code. In the second pass of programming the upper page bit to “0”, if the lower page bit is at “1”, the logical state (1, 1) transits to (0, 1) as represented by programming the “unprogrammed” memory state “E” to “A”. If the lower page bit is at “0”, the logical state (0, 0) is obtained by programming from the “intermediate” state to “C”. Similarly, if the upper page is to remain at “1”, while the lower page has been programmed to “0”, it will require a transition from the “intermediate” state to (1, 0) as represented by programming the “intermediate” state to “B”.
FIG. 7D illustrates the read operation that is required to discern the lower bit of the 4-state memory encoded with the 2-bit code. If the upper page has been programmed then a read operation using DB will yield the lower page data correctly. On the other hand, if the upper page has not yet been programmed, the lower page data should be read by a read operation using DA.
FIG. 7E illustrates the read operation that is required to discern the upper bit of the 4-state memory encoded with the 2-bit code. As is clear from the figure, the upper page read will require a 3-pass read relative to the demarcation threshold voltages DA, DB and DC.
In the bit-by-bit scheme for a 2-bit memory, a physical page of memory cells will store two logical data pages, a lower data page corresponding to the lower bit and an upper data page corresponding to the upper bit. In other examples, additional pages of data may be stored by storing more than two bits per cell in a physical page. For example, where memory cells store three bits per cell (using eight states), a physical page of memory cells may store three logical pages, a lower page, a middle page, and an upper page.
Comparing the lower page programming of FIG. 7B with the upper page programming of FIG. 7C shows some important differences. Lower page programming raises threshold voltages less than upper page programming (i.e. the intermediate state is not as high as B and C states). Also, the intermediate distribution is broad so that programming does not have to be very precise. Accordingly, lower page programming may be performed more rapidly than upper page programming. Reading of data stored as lower page only (no upper page data) may also be quicker than reading upper page data because a single read (single discrimination voltage, e.g. FIG. 7B) may provide lower page data while three reads (three discrimination voltages, e.g. FIG. 7E) may be needed to obtain upper page data.
3-D NAND Structure
An alternative arrangement to a conventional two-dimensional (2-D) NAND array is a three-dimensional (3-D) array. In contrast to 2-D NAND arrays, which are formed along a planar surface of a semiconductor wafer, 3-D arrays extend up from the wafer surface and generally include stacks, or columns, of memory cells extending upwards. Various 3-D arrangements are possible. In one arrangement a NAND string is formed vertically with one end (e.g. source) at the wafer surface and the other end (e.g. drain) on top. In another arrangement a NAND string is formed in a U-shape so that both ends of the NAND string are accessible on top, thus facilitating connections between such strings. Examples of such NAND strings and their formation are described in U.S. Patent Publication Number 2012/0220088 and in U.S. Patent Publication Number 2013/0107628, which are hereby incorporated by reference in their entirety.
FIG. 8A shows a first example of a NAND string 701 that extends in a vertical direction, i.e. extending in the z-direction, perpendicular to the x-y plane of the substrate. Memory cells are formed where a vertical bit line (local bit line) 703 passes through a word line (e.g. WL0, WL1, etc.). A charge trapping layer between the local bit line and the word line stores charge, which affects the threshold voltage of the transistor formed by the word line (gate) coupled to the vertical bit line (channel) that it encircles. Such memory cells may be formed by forming stacks of word lines and then etching memory holes where memory cells are to be formed. Memory holes are then lined with a charge trapping layer and filled with a suitable local bit line/channel material (with suitable dielectric layers for isolation).
As with planar NAND strings, select gates 705, 707, are located at either end of the string to allow the NAND string to be selectively connected to, or isolated from, external elements 709, 711. Such external elements are generally conductive lines such as common source lines or bit lines that serve large numbers of NAND strings. Vertical NAND strings may be operated in a similar manner to planar NAND strings and both SLC and MLC operation is possible. While FIG. 8A shows an example of a NAND string that has 32 cells (0-31) connected in series, the number of cells in a NAND string may be any suitable number. Not all cells are shown for clarity. It will be understood that additional cells are formed where word lines 3-29 (not shown) intersect the local vertical bit line.
FIG. 8B shows a second example of a NAND string 815 that extends in a vertical direction (z-direction). In this case, NAND string 815 forms a U-shape, connecting with external elements (source line “SL” and bit line “BL”) located on the top of the structure. At the bottom of NAND string 815 is a controllable gate (back gate “BG”) which connects the two wings 816A, 816B of NAND string 815. A total of 64 cells are formed where word lines WL0-WL63 intersect the vertical local bit line 817 (though in other examples other numbers of cells may be provided). Select gates SGS, SGD, are located at either end of NAND string 815 to control connection/isolation of NAND string 815.
Vertical NAND strings may be arranged to form a 3-D NAND array in various ways. FIG. 9A shows an example where multiple U-shaped NAND strings in a block are connected to a bit line. In this case, there are n strings (Sting 1-String n) in a block connected to a bit line (“BL”). The value of “n” may be any suitable number, for example, 8, 12, 16, 32, or more. Strings alternate in orientation with odd numbered strings having their source connection on the left, and even numbered strings having their source on the right. This arrangement is convenient but is not essential and other patterns are also possible.
The 3-D NAND memory array of FIG. 9A is further illustrated in FIG. 9B, which shows a cross section along A-A′ of FIG. 9A (i.e. along the x-y plane that intersects WL0 and WL63). It can be seen that word lines of a block are formed of strips of conductive material that are connected together. Thus, all word lines marked WL0 in different strings of a block are electrically connected together and are formed from a single electrically conductive body 921. Similarly, all word lines marked WL63 in different strings of a block are electrically connected together and are formed from a single electrically conductive body 923. The two bodies that form word lines of a block on a given level appear as interdigitated fingers extending from opposite sides of the block. These two bodies may be separated by Shallow Trench Isolation (STI) dielectric, or by any suitable insulator. A similar pattern may be found at each level of word lines (e.g. WL1 and WL62 are similarly interdigitated, as are WL2 and WL61, and so on). Word lines of different blocks are isolated from each other. Thus, WL0 of Block A is separate, and electrically isolated from WL0 of Block B. Similarly, WL63 of Block A is separate, and electrically isolated from WL0 of Block B.
SLC and MLC Operation
In both two dimensional and three dimensional memories, it is common to operate some blocks in a memory array in an SLC block and others in an MLC block. For example, data that is expected to be stored for a relatively long period without updates may be stored in MLC blocks while data that is likely to be frequently updated may be stored in SLC. Blocks may be configured as SLC or MLC according to requirements.
FIG. 10 illustrates schematically the data path between an SLC portion and an MLC portion in an example of a memory that has both SLC blocks and MLC blocks. This may be considered a two layer system. The first layer is the main input buffer for incoming data and operates on the SLC portion 410 of a NAND memory which is faster/higher-endurance/higher-cost memory compared to the MLC portion 420. The second layer is the main data archive storage and operates on the MLC portion which is slower/lower-endurance/lower-cost memory.
The main operations in such system are labeled in FIG. 10 are as follows:
1. Host data or control data write to SLC portion
2. Data copy within SLC portion to reclaim partially obsolete SLC block, sometimes referred to as ‘compaction’
3. Host data direct write to MLC portion, usually used for long sequential writes
4. Data move from SLC to MLC portion, sometimes referred to as ‘folding’
5. Data copy within MLC portion for MLC block reclaim, sometimes referred to as ‘MLC compaction’
The above structure can be built with many other additional features, mainly related to the use of different addressing schemes and addressable data unit granularity.
FIG. 11 shows a more detailed example of a memory that includes SLC blocks and MLC blocks. Certain data, including memory management data such as File Allocation Table data (“FAT” data) is always maintained in SLC in this example because it is frequently updated. Short fragments of data are also initially stored in SLC blocks. Later such data may be evicted to MLC for longer term storage. Longer portions of sequential data are initially stored in MLC blocks called update blocks. An update block may be maintained for a particular logical address range. If data that is stored in an update block is updated with new data from the host then the newly received data may be written in an update of update block. This makes data in the update block obsolete. The update block is closed and any valid data may be consolidated in the update of update block. The update block may then be erased and the update of update block becomes an update block. Data in such update blocks may be maintained in sequential order. A full update block may become an original block which is used for long term storage of data. Detailed examples of different ways to manage SLC blocks and MLC blocks are described in U.S. Pat. No. 8,094,500, and in U.S. Patent Application Publication No. 2012/0297122.
In an MLC block, lower page and upper page data may be written in different ways. The order of programming lower and upper logical pages along word lines may be important in several respects. Various interactions between cells along adjacent word lines may occur during programming. These interactions may vary according to memory design. For example, planar and three dimensional memories may have very different interactions. In particular, programmed cells along a word line may be affected by later programming along a neighboring word line.
FIG. 12 illustrates a programming scheme in which lower page data is programmed one word line ahead of upper page data. Entries in columns for Lower Page “LP” and Upper Page “UP” show the order in which lower and upper page programming occur along word lines WL0-WLK (where K is the number of word lines in the block). These may correspond to logical addresses of sequential data received from a host (i.e. entries 0-8 may represent sequential logical pages 0-8 received from a host), or may have no relation to host addresses. First, the lower page of WL0 is programmed “0,” then, instead of programming the upper page of WL0, the lower page of WL1 is programmed “1.” Only after the lower page of WL1 is programmed does the programming scheme return to WL0 to program the upper page “2.”
While the scheme illustrated in FIG. 12 may be suitable for many situations, and may provide relatively little disturbance during programming, it may not be optimal for all MLC blocks.
FIG. 13 shows an example of a programming mode, burs mode, in which only lower pages of word lines of a block (WL0-WLK) are programmed. Lower page programming proceeds from WL0 to WLN and then programming of the block stops (subsequent data may be stored in other blocks). Entries in the table of FIG. 13 indicate the order in which programming occurs. This is not necessarily the logical order of the data (though it may reflect the logical order if the data is sequential). Because lower page programming is faster than upper page programming, programming only lower pages may be significantly faster than programming upper and lower pages. The total programming time would be approximately K*TLP where TLP is the time to program a lower page. In contrast, programming K logical pages in the example of FIG. 12 would program upper and lower pages of approximately half of the word lines K/2 (in reality, one or two word lines would contain lower page data only). The total programming time would be K/2*TLP+K/2*Tup. This represents an increase of K/2*(TUP−TLP). Because upper page programming is significantly slower than lower page programming this may be a significant time saving. For example, where TUP is approximately 3*TLP the time saved is K/2*(3*TLP−TLP)=K*TLP. Thus, the total programming time for a half-full MLC block using the scheme of FIG. 13 is half the programming time for the same data using the scheme of FIG. 12.
It will be understood that not all lower pages of a block are necessarily programmed. The time saved by programming lower pages only may still be significant even if some word lines remain completely unprogrammed so that some lower pages remain unprogrammed (approximately half what it would have been using an alternating scheme like FIG. 12). Thus, it is not necessary to write all K lower pages in FIG. 13. For example, if a burst write ends with fewer than K lower pages written then the block may be reclaimed without filling all lower pages. Data can be more rapidly copied from such blocks because only lower page reading is required (no upper page read) and lower page reading is generally significantly faster.
While the above example is directed to a 2-bit per cell memory that stores two logical pages in each physical page, a similar approach may be applied to any MLC memory. For example, in a memory that stores one or more middle pages (e.g. an 8-state, 3-bit per cell memory, that stores a lower, middle, and upper page in each physical page), only the lower pages may be programmed.
In some cases, a memory may receive a burst of data that needs to be written rapidly. Rather than sending smaller sized portions of data to a memory and waiting for a response to indicate that the data is stored, a host may send a burst of data as a larger sized portion of data that is sent as a continuous, or near continuous stream. For example, a host may send a lot of sequential data in a single write command, such as a large file. In other cases, a host may send a sequence of write commands back to back so that the host fills up the command queue. A host may send a burst when the host is going to hibernate, when it is copying a large amount of data, or when it is saving a large downloaded file (e.g. a movie). Sometimes data sent by a host can be cached and later written in the background so that there is no noticeable delay for a host, or for a user. However, data written in a burst may exceed cache capacity so that the write time is visible and high performance for such writes becomes important. In some cases such a burst may be indicated by a host prior to sending the data. For example, a host may send a command that tells the memory system that certain data is to be written in burst mode. In other cases, a burst write may be detected by the memory system without a prior indication from the host. For example, the memory system may detect a burst write when it receives a stream of data that exceeds a predetermined size, or when it has more than a predetermined number of write commands in its command queue, or based on some combination of the amount of data to be written and the number of write commands. In another example, a burst may be detected by checking a host's turnaround time (e.g. the time between assertion of a ready signal by the memory and receipt of the host's next write command). If a new host write command is received shortly after the memory indicates that it is ready then this may indicate urgency and the associated data may be considered a burst. If there is a significant time lag before a subsequent write command then it indicates less urgency and the associated data may not be considered a burst. In general, data transferred from a host to a memory system may be identified as a burst either by the host, or by a determination performed by the memory system based on the data received.
According to an aspect of the present invention, when a memory system determines that data received from a host is burst data, the burst data may be written in a manner that gives higher write speed than a normal writing. In particular, in a memory system that includes MLC blocks, a normal write mode may include writing lower and upper pages of an MLC block, while a burst write mode may write only lower pages of an MLC block, which can be much faster. Thus, in a normal mode, programming may proceed in an order like the order shown in FIG. 12, while in burst mode, programming may proceed as shown in FIG. 13, with programming of a block stopping when all lower pages are full (no upper pages written).
FIG. 14 shows an example of MLC blocks of a memory system that are used for storing host data. Host data is stored in two different ways, burst mode and normal mode. In normal mode, data is written in lower and upper pages of a block so that a block may be filled with data. This makes efficient use of the available space and is suitable for long term storage in the memory system. In contrast, in burst mode, data is written in lower pages only so that generally half of any given block programmed in burst mode remains unwritten. Thus, this condition is not suitable for long term storage because it uses space inefficiently. However, this mode allows very high write speeds to be achieved. Later, when a burst write is over and there is time available, data may be relocated to more efficiently use the available space. In some cases, it may be necessary to write some burst data in upper pages (e.g. because a burst write exceeds the available capacity of lower pages). Even in this case, there is some benefit from writing in burst mode as long as more than half of the bust data is written in lower pages.
FIG. 15 shows an example of how a block like the block of FIG. 13 may later (after a burst mode write is complete) have data copied from elsewhere to fill unused upper page space. Lower page data 0-K remains in lower pages and does not have to be copied elsewhere. Data X-X+K is copied from elsewhere in the memory to use the upper page space. This may be part of a garbage collection operation on another block that allows another block to be erased. Writing of upper page data X-X+K may be done when the memory is not busy so that the relatively slow upper page writing is acceptable. It is not generally necessary that upper page data X-X+K be logically related to lower page data 0-K. Furthermore, it is not necessary that either of these be logically sequential or otherwise logically linked. The numbering of portions of data 0-K that are received in burst mode simply indicates the order in which they are received. The numbering of upper page data X-X+K does not necessarily indicate the order of receipt, or logical, or other order (i.e. the data can be any suitable data in any order).
In some cases, SLC storage may be used for some data and MLC storage used for other data, with some MLC storage using normal mode and some using burst mode. For example, FIG. 16 shows a memory system that uses SLC blocks for some data including FAT data, and for small fragments of host data that may later be copied to MLC blocks. MLC blocks are used for storing larger portions of data. Burst mode may be used to perform fast writing of sequential data within some time constraint where appropriate (e.g. when indicated by the host). Burst mode may be used for large portions of sequential data (large files such as movies) or for multiple write commands that are received back to back (e.g. filling, or substantially filling a command queue). Data may be considered to be sequential when it is received in an order that reflects addresses assigned by the host (e.g. sequentially numbered sectors, or other units). Normal mode may be used where there is no time constraint, or a less stringent time constraint, or where the amount of data, and/or the number of write commands allows caching to be used to perform writes to the nonvolatile memory in the background. In other memory systems all blocks may be operated in MLC mode (i.e. FAT and fragments may also be stored in MLC). In other memory systems data is not separated into sequential updates and fragments (i.e. fragments and FAT data may be written in either burst mode or normal mode depending on time constraints and burst/normal modes apply to both sequential and nonsequential data).
Post-Burst
In general, it is undesirable to leave blocks with more than half their capacity unused for an extended period of time. Therefore, blocks that are used to rapidly store a burst of data from a host may be subject to some post-burst operations to more efficiently use memory space. Where all lower pages are written, this may simply mean writing upper pages as shown in FIG. 15. Data written in such upper pages may be copied from another update block that has only lower pages written. Thus, two half-full blocks may be combined to produce one full block. This frees a block to be erased and reused. Alternatively, data written in such upper pages may be copied from one or more blocks that were previously filled. Such copying may transfer remaining valid data from an original block leaving only obsolete data so that the original block can be erased.
In some cases, some word lines of a block used for a burst write may be unwritten. Thus, in addition to upper page capacity, there may be word lines that have lower page capacity. In general it is desirable to use any such capacity and to do so in a time efficient manner. In some cases, unwritten word lines may be written efficiently when data is copied to fill a block.
In some memory systems, data of two or more logical pages may be programmed to a physical page together in a single pass. For example, U.S. patent application Ser. No. 13/788,415, entitled, “Write sequence providing write abort protection,” filed on Mar. 7, 2013, describes such programming (sometimes referred to as “Full Sequence Programming” or “FSP”). Rather than programming lower page data first, bringing some cells from the erased state to a programmed state (or intermediate state), and later programming upper page data by bringing cells to A, B, and C states, cells are brought from the erased state to A, B, and C states in a single pass. This may provide some time saving compared with separate programming of lower pages and upper pages. For example, in certain memory systems, FSP takes approximately the same amount of time as upper page programming, TUP. Thus, using FSP may save the time associated with lower page programming, TLP, saving 25% or more in programming time compared with separate lower page and upper page programming.
FIG. 17A shows an example where an update block had lower pages of word lines 0-N programmed and was then closed (e.g. because a burst ended and burst mode terminated). After the update block is closed for newly received data, previously stored data may be copied from elsewhere in the memory array to the block in order to consolidate valid data. Unwritten word lines WLN+1 to WLK are written using FSP as indicated by FSP1−FSP(K−N). Thus, a very different programming scheme is implemented for this copy operation in order to efficiently fill the unused space. In many cases, it is desirable to keep logically related data together in a block so that WLN+1 to WLK are filled with data that is logically related to the data stored in lower pages of WL0-WLN. In other cases, these portions of data may not be logically related. In general, with different portions of data stored within a block, some record is kept to indicate where the different portions are located (e.g. which word lines contain logical pages 0-N, and which contain FSP1-FSP(K−N).
Unused upper page capacity along word lines WL0-WLN may be filled as shown in FIG. 17B so that the entire capacity of the block is used. Unused upper page capacity along word lines WL0-WLN may be filled before unwritten word lines WLN+1−WLK are filled using FSP. The upper page data may be logically related to lower page data and/or FSP data in some cases, or may be unrelated.
FIG. 18 illustrates handling of newly-received data according to an example. New data is received from a host 820. A determination is made as to whether the data is burst data 822. If it is not burst data (i.e. if there are no stringent time constraints) then it is written in normal mode, in lower and upper pages, 824. If it is burst data then it is written in burst mode in lower pages only 826.
FIG. 19 illustrates MLC update block management according to an example. Data is received from a host that overlaps the logical address range of data already stored in an update block 930. An update of update block is opened 932, and the newly received data is written to the update of update block 934. The update block, which contains data that is now obsolete, is closed to newly received data 936. If the closed update block was written in burst mode then it has significant unused space (at least half the block is unwritten) and may be managed accordingly to fill the space. A block written in burst mode may be closed in other ways also. For example, the number of blocks that are maintained in an open condition may be limited, and blocks may be closed as needed to stay within the limit.
FIG. 20 illustrates how closed update blocks that were written in burst mode (with unwritten upper page space) may be managed. Data is copied to the unwritten upper pages of the block 242. Subsequently, a determination is made as to whether there are unwritten word lines 244, or more than a threshold number of unwritten word lines. If there are unwritten word lines then data is copied to these word lines using FSP 246. If there are no unwritten word lines then the copying ends 248.
It will be understood that the above description includes a number of examples that relate to specific memory systems (with binary cache, update blocks, update of update blocks, etc.) and to how different data (sequential and nonsequential) may be treated in such systems. These examples are for illustration and aspects of the present invention are not limited to any particular memory system, or any particular data structures.
FIG. 21 shows hardware that may be used to implement aspects of the present invention. A memory system 250 contains a controller 252 and a memory IC 254. The memory IC 254 contains a nonvolatile memory array 256 (e.g. planar or 3-D NAND flash memory array) and peripheral circuits 258. The memory array includes SLC blocks 260 and MLC blocks 262. These blocks are not necessarily configured permanently as either SLC or MLC but may be reconfigured from one to the other. While many of the MLC blocks may be used for long term storage, others may be used for storing burst writes and may have only lower page data stored in them. Subsequently, additional data may be written in such blocks so that they are filled for long term storage. Peripheral circuits 258 include a write circuit 264 that is configured to program word lines of certain MLC blocks in burst mode so that only lower page programming occurs. Peripheral circuits 258 also include a copy circuit 266 that is configured to copy previously stored data to unused word lines of blocks written in burst mode using FSP and to fill any unwritten upper pages after termination of burst mode.
CONCLUSION
The foregoing detailed description of the invention has been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed. Many modifications and variations are possible in light of the above teaching. The described embodiments were chosen in order to best explain the principles of the invention and its practical application, to thereby enable others skilled in the art to best utilize the invention in various embodiments and with various modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the claims appended hereto.

## Claims

1. A method of operating a block-erasable nonvolatile memory array comprising:
receiving data to be programmed in the block-erasable nonvolatile memory array from a host;
determining, prior to programming the data in the block-erasable nonvolatile memory array, whether the data is burst data;
if the data is burst data, programming the burst data as only lower page data along three or more word lines of at least one block configured as a Multi Level Cell (MLC) block;
subsequently, only after the burst data from the host is programmed, copying additional data from outside the MLC block to fill upper pages of the MLC block while maintaining the burst data as lower page data in the MLC block; and
if the data is not burst data, programming the data in Multi Level Cell (MLC) blocks as both lower page data and upper page data along word lines of the MLC blocks in accordance with a programming sequence in which lower page data is programmed one word line ahead of upper page data.

2. The method of claim 1 wherein the burst data consists of sequential data.

3. The method of claim 2 further comprising receiving nonsequential data from the host and storing the nonsequential data in one or more Single Level Cell (SLC) blocks.

4. The method of claim 1 wherein the at least one block includes an additional MLC block, and wherein the additional data is data of the burst data that is copied from the additional MLC block to fill the upper pages of the MLC block.

5. The method of claim 1 wherein all word lines of the MLC block are programmed with only lower page data from the burst data, and the at least one block includes an additional MLC block that has a plurality of programmed word lines that are programmed with only lower page data, and a plurality of unprogrammed word lines that are not programmed with any data of the burst data.

6. The method of claim 5 further comprising, subsequently copying previously stored data to the plurality of unprogrammed word lines in the additional block, the copying using a programming sequence that programs upper and lower pages together.

7. The method of claim 6 further comprising, copying additional previously stored data to upper pages of the plurality of programmed word lines of the additional block.

8. The method of claim 1 wherein the block erasable nonvolatile memory is a three-dimensional memory in which NAND strings extend in a direction that is perpendicular to a substrate.

9. The method of claim 1 wherein the update-block stores two logical pages of data per physical page, an upper page, and a lower page.

10. The method of claim 1 wherein the update-block stores three logical pages of data per physical page, an upper page, a middle page, and a lower page.

11. A system comprising:
a NAND flash memory array that includes a plurality of Multi Level Cell (MLC) nonvolatile memory blocks that are configured to receive host data for particular host logical address ranges, the host data identified as one of burst data and non-burst data;
a write circuit that is configured to, program burst data in only lower pages along word lines of an individual memory block, and further configured to program non-burst data to lower pages and upper pages along word lines without previously storing the data in the nonvolatile memory system; and
a copy circuit configured to copy previously written data to upper pages along word lines that have lower pages programmed using burst data, while the burst data remains in the lower pages.

12. The system of claim 11 wherein MLC blocks are available to receive sequential data updates of host data, and the NAND flash memory array further includes a plurality of Single Level Cell (SLC) nonvolatile memory blocks that are configured as binary cache blocks that are available to receive nonsequential data updates of host data.

13. The system of claim 11 wherein the write circuit is further configured to program burst data as upper and lower page data together along a word line of a block.

14. The system of claim 11 wherein the NAND flash memory array includes a stack of memory cells connected in series to form a NAND string.

15. The system of claim 14 wherein the stack of memory cells includes a memory hole that is lined with a charge trapping layer.

16. A method of operating a block-erasable nonvolatile memory array comprising:
receiving data to be programmed in the block-erasable nonvolatile memory array from a host;
determining, prior to programming the data in the block-erasable nonvolatile memory array, whether the data is to be written in a burst write;
in a burst write, programming the data as only lower page data along three or more word lines of at least one block configured as a Multi Level Cell (MLC) block;
subsequently, only after the data from the host is programmed in the burst write, copying additional data from outside the MLC block to fill upper pages of the MLC block while maintaining the data as lower page data in the MLC block; and
in a non-burst write, programming the data in Multi Level Cell (MLC) blocks as both lower page data and upper page data along word lines of the MLC blocks without previously programming the data in the block-erasable nonvolatile memory array.

17. The method of claim 16 wherein in the burst write the data consists of sequential data.

18. The method of claim 17 further comprising receiving nonsequential data from the host and storing the nonsequential data in one or more Single Level Cell (SLC) blocks.

19. The method of claim 16 wherein the at least one block includes an additional MLC block, and wherein the additional data is data of the burst of data that is copied from the additional MLC block to fill the upper pages of the MLC block.

20. The method of claim 16 wherein all word lines of the MLC block are programmed with only lower page data from the burst write, and the at least one block includes an additional MLC block that has a plurality of programmed word lines that are programmed with only lower page data, and a plurality of unprogrammed word lines that are not programmed with any data of the burst write.