A memory device cooperating with a memory controller scrambles each unit of data using a selected scrambling key before storing it in an array of nonvolatile memory cells. This helps to reduce program disturbs, user read disturbs, and floating gate to floating gate coupling that result from repeated and long term storage of specific data patterns. For a given page of data having a logical address and for storing at a physical address, the key is selected from a finite sequence thereof as a function of both the logical address and the physical address. In a block management scheme the memory array is organized into erase blocks, the physical address is the relative page number in each block. When logical address are grouped into logical groups and manipulated as a group and each group is storable into a sub-block, the physical address is the relative page number in the sub-block.
|
11. A memory, comprising:
an array of nonvolatile memory cells accessible page by page;
each page being a group of data with a logical address and for storing in the array at a physical address;
said array of nonvolatile memory cells are organized into a plurality of blocks, each block having memory cells that are erasable together;
each block further partitioned into a plurality of sub-blocks, each sub-block for accommodating data corresponding to a logical group of logical addresses;
a sequence of scrambling keys;
a key selector for selecting a key for scrambling a page of data, said key selector selecting the key from said sequence of scrambling keys as a function of the logical address and the physical address;
said physical address is a relative page address in a sub-block;
and
a data scrambler/unscrambler for scrambling the page of data when it is unscrambled as a function of the selected key or for unscrambling the page of data when it is scrambled as a function of the selected key; and wherein:
said physical address is one of a sequence of such physical addresses, the sequence having a length n; and
said function of the logical address and the physical address of the page of data depends on inverting or not inverting based on the physical address.
15. A method of scrambling or unscrambling a page of data in a non-volatile memory, comprising:
providing an array of nonvolatile memory cells accessible page by page;
each page being a group of data with a logical address and for storing in the array at a physical address:
said array of nonvolatile memory cells are organized into a plurality of blocks, each block having memory cells that are erasable together;
each block further partitioned into a plurality of sub-blocks, each sub-block for accommodating data corresponding to a logical group of logical addresses;
providing a sequence of scrambling keys;
selecting a key for scrambling the page of data, the key being selected from said sequence of scrambling keys as a function of the logical address and the physical address of the page of data;
said physical address is a relative page address in a sub-block; and
scrambling the page of data when it is unscrambled as a function of the selected key or unscrambling the page of data when it is scrambled as a function of the selected key, wherein:
said physical address is one of a sequence of such physical addresses, the sequence having a length n; and
said function of the logical address and the physical address of the page of data depends on inverting or not inverting based on the physical address.
1. A memory, comprising:
an array of nonvolatile memory cells accessible page by page;
each page being a group of data with a logical address and for storing in the array at a physical address;
said array of nonvolatile memory cells are organized into a plurality of blocks, each block having memory cells that are erasable together;
each block further partitioned into a plurality of sub-blocks, each sub-block for accommodating data corresponding to a logical group of logical addresses;
a sequence of scrambling keys;
a key selector for selecting a key for scrambling a page of data, said key selector selecting the key from said sequence of scrambling keys as a function of the logical address and the physical address;
said physical address is a relative page address in a sub-block;
and
a data scrambler/unscrambler for scrambling the page of data when it is unscrambled as a function of the selected key or for unscrambling the page of data when it is scrambled as a function of the selected key; and wherein:
said sequence of scrambling keys has a length l;
said physical address is one of a sequence of such physical addresses, the sequence having a length n; and
said function of the logical address and the physical address of the page of data depends on (logical address) mod l and (physical address) mod n.
7. A memory, comprising:
an array of nonvolatile memory cells accessible page by page;
each page being a group of data with a logical address and for storing in the array at a physical address;
said array of nonvolatile memory cells are organized into a plurality of blocks, each block having memory cells that are erasable together;
each block further partitioned into a plurality of sub-blocks, each sub-block for accommodating data corresponding to a logical group of logical addresses;
a sequence of scrambling keys;
a key selector for selecting a key for scrambling a page of data, said key selector selecting the key from said sequence of scrambling keys as a function of the logical address and the physical address;
said physical address is a relative page address in a sub-block;
and
a data scrambler/unscrambler for scrambling the page of data when it is unscrambled as a function of the selected key or for unscrambling the page of data when it is scrambled as a function of the selected key; and wherein:
said sequence of scrambling keys has a length l;
said physical address is one of a sequence of such physical addresses, the sequence having a length n; and
said function of the logical address and the physical address of the page of data depends on [(logical address) mod l+(physical address) mod n] mod l.
2. The memory as in
a memory controller controlling memory operations of said array of nonvolatile memory cells; and
wherein said key selector and said data scrambler/unscrambler are implemented in said memory controller.
3. The memory as in
read/write circuits; and
said read/write circuits programming the current page of data after it is scrambled into said array of memory cells at the physical address.
4. The memory as in
read/write circuits; and
said read/write circuits reading the current page of data stored as scrambled data from said array of memory cells at the physical address.
5. The memory as in
said array of nonvolatile memory cells are organized into a plurality of blocks, each block having memory cells that are erasable together, and
said physical address is a relative page address in a block.
6. The memory as in
said array of nonvolatile memory cells are organized into a plurality of blocks, each block having memory cells that are erasable together; and
said physical address is a relative row address in a block.
8. The memory as in
a memory controller controlling memory operations of said array of nonvolatile memory cells; and
wherein said key selector and said data scrambler/unscrambler are implemented in said memory controller.
9. The memory as in
said array of nonvolatile memory cells are organized into a plurality of blocks, each block having memory cells that are erasable together; and
said physical address is a relative page address in a block.
10. The memory as in
said array of nonvolatile memory cells are organized into a plurality of blocks, each block having memory cells that are erasable together; and
said physical address is a relative row address in a block.
12. The memory as in
a memory controller controlling memory operations of said array of nonvolatile memory cells; and
wherein said key selector and said data scrambler/unscrambler are implemented in said memory controller.
13. The memory as in
said array of nonvolatile memory cells are organized into a plurality of blocks, each block having memory cells that are erasable together; and
said physical address is a relative page address in a block.
14. The memory as in
said array of nonvolatile memory cells are organized into a plurality of blocks, each block having memory cells that are erasable together; and
said physical address is a relative row address in a block.
16. The method as in
providing a memory controller controlling memory operations of said array of nonvolatile memory cells including said selecting a key and said scrambling or unscrambling the page of data.
17. The method as in
programming the current page of data after it is scrambled into said array of memory cells at the physical address.
18. The method as in
reading the current page of data stored as scrambled data from said array of memory cells at the physical address.
19. The method as in
said array of nonvolatile memory cells are organized into a plurality of blocks, each block having memory cells that are erasable together, and
said physical address is a relative page address in a block.
20. The method as in
said array of nonvolatile memory cells are organized into a plurality of blocks, each block having memory cells that are erasable together; and
said physical address is a relative row address in a block.
|
This application relates to the operation of re-programmable non-volatile memory systems such as semiconductor flash memory, and, more specifically, to efficient scrambling of data in order to avoid occurrence of regular pattern of data stored in a memory array that may exacerbate disturbance between cells.
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 recently 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 retaining 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. Conventional mass storage, based on rotating magnetic medium such as hard drives and floppy disks, is unsuitable for the mobile and handheld environment. This is because disk drives tend to be bulky, are prone to mechanical failure and have high latency and high power requirements. These undesirable attributes make disk-based storage impractical in most mobile and portable applications. On the other hand, flash memory, both embedded and in the form of a removable card are ideally suited in the mobile and handheld environment because of its small size, low power consumption, high speed and high reliability features.
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. In particular, 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.
It is common in current commercial products for each storage element of a flash EEPROM array to store a single bit of data by operating in a binary mode, where two ranges of threshold levels of the storage element transistors are defined as storage levels. The threshold levels of transistors correspond to ranges of charge levels stored on their storage elements. In addition to shrinking the size of the memory arrays, the trend is to further increase the density of data storage of such memory arrays by storing more than one bit of data in each storage element transistor. This is accomplished by defining more than two threshold levels as storage states for each storage element transistor, four such states (2 bits of data per storage element) now being included in commercial products. More storage states, such as 16 states per storage element, are also being implemented. Each storage element memory transistor has a certain total range (window) of threshold voltages in which it may practically be operated, and that range is divided into the number of states defined for it plus margins between the states to allow for them to be clearly differentiated from one another. Obviously, the more bits a memory cell is configured to store, the smaller is the margin of error it has to operate in.
The transistor serving as a memory cell is typically programmed to a “programmed” state by one of two mechanisms. In “hot electron injection,” a high voltage applied to the drain accelerates electrons across the substrate channel region. At the same time a high voltage applied to the control gate pulls the hot electrons through a thin gate dielectric onto the floating gate. In “tunneling injection,” a high voltage is applied to the control gate relative to the substrate. In this way, electrons are pulled from the substrate to the intervening floating gate. While the term “program” has been used historically to describe writing to a memory by injecting electrons to an initially erased charge storage unit of the memory cell so as to alter the memory state, it has now been used interchangeable with more common terms such as “write” or “record.”
The memory device may be erased by a number of mechanisms. For EEPROM, a memory cell is electrically erasable, by applying a high voltage to the substrate relative to the control gate so as to induce electrons in the floating gate to tunnel through a thin oxide to the substrate channel region (i.e., Fowler-Nordheim tunneling.) Typically, the EEPROM is erasable byte by byte. For flash EEPROM, the memory is electrically erasable either all at once or one or more minimum erasable blocks at a time, where a minimum erasable block may consist of one or more sectors and each sector may store 512 bytes or more of data.
The memory device typically comprises one or more memory chips that may be mounted on a card. Each memory chip comprises an array of memory cells supported by peripheral circuits such as decoders and erase, write and read circuits. The more sophisticated memory devices also come with a controller that performs intelligent and higher level memory operations and interfacing.
There are many commercially successful non-volatile solid-state memory devices being used today. These memory devices may be flash EEPROM or may employ other types of nonvolatile memory cells. Examples of flash memory and systems and methods of manufacturing them are given in U.S. Pat. Nos. 5,070,032, 5,095,344, 5,315,541, 5,343,063, and 5,661,053, 5,313,421 and 6,222,762. In particular, flash memory devices with NAND string structures are described in U.S. Pat. Nos. 5,570,315, 5,903,495, 6,046,935. Also 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.
NAND Memory and Program Disturb
NAND memory is prone to data dependency related program disturb. Program disturb happens when programming of the target word line unintentionally program adjacent word lines, resulting in potential data corruption. Data dependency can make program disturb problem worse, and one of the problematic pattern could be repeating of the same data for the NAND chain.
U.S. Pat. No. 7,885,112 discloses on-chip randomization schemes in non-volatile memory, based on page offset address in a block.
There is still a general need for more flexible schemes to scramble data stored in a nonvolatile memory to help avoid problematic data pattern that will exacerbate program disturb problems.
According to a general aspect of the invention, a memory device cooperating with a memory controller scrambles each unit of data using a selected scrambling key before storing it in an array of nonvolatile memory cells. For a given page of data having a logical address and for storing at a physical address, the key is selected from a finite sequence thereof as a function of both the logical address and a localized physical address.
In particular, where the memory has a block management scheme, the memory array is organized into erase blocks, and when logical address are grouped into logical groups and manipulated as a group and each group is storable into a sub-block, the physical address is the relative page number in the sub-block. In this way, when a logical group is relocated to another memory location, the copying is done on the group boundary (i.e., sub-block by sub-block). The logical group can be copied to the new location in its scrambled state. When reading back the logical group at the new location, the same scrambling key can be used to perform the unscrambling because, the logical address of each page in the group has not changed, nor has its localized physical address. Relocation of data from one physical location to another in a memory array is a common internal memory operation such as for garbage collection and for caching in single-level memory (SLC) before folding to multi-level memory (MLC).
The physical address is a localized one that aligns with the boundary of a logical group of pages that is expected to be relocated to any portion of the memory as a unit. In a specific embodiment, the finite sequence of keys is of length L and the localized physical addresses have a length N, and the sequence number of the selected key is given by [(logical address) mod L+(physical address) mod N] mod L.
In another embodiment, the sequence number of the selected key is further randomized by selectively inverting predetermined physical addresses.
Scrambling of data before storing in the memory array helps to reduce program disturbs, user read disturbs, and floating gate to floating gate coupling that result from repeated and long term storage of specific data patterns. The present invention is a computational and memory efficient scheme to achieve data scrambling for a memory. In particular, key selection based on relative physical addresses having a boundaries conforming to logical groups defined by a block management system allows individual logical group to be relocated to another physical locations in the memory array without having to change the key for each data unit in the process since the relative addresses remain the same. Having the key selection depending on both the logical address and the localized physical address overcomes the shortcomings of using only a small set of keys defined by the logical group size.
Additional objects, features and advantages of the present invention will be understood from the following description of its preferred embodiments, which description should be taken in conjunction with the accompanying drawings.
Memory System
In many implementations, the host 80 communicates and interacts with the memory chip 100 via the memory controller 102. The controller 102 co-operates with the memory chip and controls and manages higher level memory operations. A firmware 60 provides codes to implement the functions of the controller 102. An error correction code (“ECC”) processor 62 processes ECC during operations of the memory device.
For example, in a host write, the host 80 sends data to be written to the memory array 200 in logical sectors allocated from a file system of the host's operating system. A memory block management system implemented in the controller stages the sectors and maps and stores them to the physical structure of the memory array. A preferred block management system is disclosed in United States Patent Application Publication Number: US-2010-0172180-A1, the entire disclosure of which is incorporated herein by reference.
Physical Memory Architecture
In order to improve read and program performance, multiple charge storage elements or memory transistors in an array are read or programmed in parallel. Thus, a “page” of memory elements are read or programmed together. In existing memory architectures, a row typically contains several interleaved pages or it may constitute one page. All memory elements of a page will be read or programmed together.
The page referred to above is a physical page memory cells or sense amplifiers. Depending on context, in the case where each cell is storing multi-bit data, each physical page has multiple data pages.
The NAND string 50 is a series of memory transistors 10 daisy-chained by their sources and drains to form a source terminal and a drain terminal respective at its two ends. A pair of select transistors S1, S2 controls the memory transistors chain's connection to the external via the NAND string's source terminal and drain terminal respectively. In a memory array, when the source select transistor S1 is turned on, the source terminal is coupled to a source line 34. Similarly, when the drain select transistor S2 is turned on, the drain terminal of the NAND string is coupled to a bit line 36 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 of each memory transistor allows control over read and write operations. The control gates of corresponding memory transistors of a row of NAND string are all connected to the same word line (such as WL0, WL1, . . . ) Similarly, a control gate of each of the select transistors S1, S2 (accessed via select lines SGS and SGD respectively) provides control access to the NAND string via its source terminal and drain terminal respectively.
The page of memory cells shares a common word line and each memory cell of the page is coupled via bit line to a sense amplifier. When the page of memory cells is read or written, it is also referred to as being read from or written to the word line associated with the page of memory cells. Similarly, the data associated with the page of memory cell is referred to as a page of data.
Such read/write circuits have been described in United States Patent Application Publication US-2006-0140007-A1, published on Jun. 29, 2006, the entire disclosure of which is incorporated herein by reference.
Erase Blocks
One important difference between flash memory and other type 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 to go from a more programmed state to a lesser one. This means that update data cannot overwrite existing one and must be written to a previous unwritten location.
Furthermore erasing is to empty all the charges from the floating gate and generally takes appreciably 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.
In the example shown in
Single-Level (SLC) and Multi-Level (MLC) Memory Cells
As described earlier, an example of nonvolatile memory is formed from an array of field-effect transistors, each having a charge storage layer between its channel region and its control gate. The charge storage layer or unit can store a range of charges, giving rise to a range of threshold voltages for each field-effect transistor. The range of possible threshold voltages spans a threshold window. When the threshold window is partitioned into multiple sub-ranges or zones of threshold voltages, each resolvable zone is used to represent a different memory states for a memory cell. The multiple memory states can be coded by one or more binary bits. In SLC memory, each memory cell stores one bit of data. In MLC memory, each memory cell stores more than one bit of data.
Randomization of Data Pattern to Minimize Program Disturb
Data scrambling is used to randomize data in order to avoid data dependency. The intended data is scrambled through a key in the controller 102 (see
ScrambledData=T(KeyValue)UnscrambleData, where T is the transform function dependent on the key value.
UnsrambledData=T−1(KeyValue)ScrambledData, where T−1 is the inverse transform.
In one embodiment, the transform function can be as simple as inverting or not inverting the bits in the unit of data depending on the key value being “0” or “1”.
Physical address mapping is straightforward, using the physical location within a block to determine the key to be used. However, a general application of this approach has limitations, as for example, when one wishes to move data from one physical location (word line) of the block to a different physical location of another block. Since the location is different, data will have to be read out to the controller, descrambled, and then scrambled with a new key depending on the new physical address and finally toggled back to the memory. This approach is more time consuming since it requires multiple data toggling operations between the memory chip and the controller.
Logical address mapping is more flexible since the same key will always be used for each logically addressed data. This allows the data to travel freely from one block to another block without having to change the corresponding key. However, if the same logical address is updated repeatedly with the same data, such mechanism will be defeated.
Logical address is used for the mapping of scrambling key. The scrambling is done before data gets transferred to the NAND memory, and the same key is used to descramble the data. In this scheme, the key Ki=Ki(LogicalAddr).
This scheme works if the logical address of each data write is different. However, having the key being a function of the logical address alone may not randomize some data patterns. There are two problems with using just the logical address to select the scrambling key. First, as can be seen in
Thus, as described above, selecting a key based on logical address alone has its shortcomings.
Scrambling Data According to Both Logical and Local Physical Addresses
According to a general aspect of the invention, a memory device cooperating with a memory controller scrambles each unit of data using a selected scrambling key before storing it in an array of nonvolatile memory cells. For a given page of data having a logical address and for storing at a physical address, the key is selected from a finite sequence thereof as a function of both the logical address and a localized physical address.
In particular, where the memory has a block management scheme, the memory array is organized into erase blocks, and when logical address are grouped into logical groups and manipulated as a group and each group is storable into a sub-block, the physical address is the relative page number in the sub-block. In this way, when a logical group is relocated to another memory location, the copying is done on the group boundary (i.e., sub-block by sub-block). The logical group can be copied to the new location in its scrambled state. When reading back the logical group at the new location, the same scrambling key can be used to perform the unscrambling because, the logical address of each page in the group has not changed, nor has its localized physical address.
For example, in the case of a host write, the incoming data is scrambled using the selected key into scrambled data which is then stored by being programmed into the memory array at the localized physical address. In the case of a memory read, the read data, which was stored as scrambled data is unscrambled by the data scrambler/unscrambler 420 using the selected key. In one embodiment, the selected key value is a binary number and the scrambler/unscramble 420 treats the selected key value as a polarity bit and either invert or not invert the unit of data depending on the key's bit value.
The data is typically operated in unit of a page of data and the logical address is typically a logical sector address assigned by a host. In a multi-sector page, it could be the logical address of the first sector of the page. The localized physical address is typically the row number within a block such as the erase block 300 shown in
In a general embodiment, the key is generally given by:
Ki=Ki(LogicalAddr,LocalPhyiscalAddr).
In one embodiment, for a given logical address, the scrambling key is first determined by the logical address, then it is further determined by the localized physical location. Thus, it may be considered as a two-step function. In the first step, the key is selected based on the logical address. In the second step the key is further modified based on the localized physical address.
Thus, even when there are a limited number L of keys, for example, L=32, the key selection based on the logical address is further randomized by selection based on the localized physical address. In this embodiment, the localized physical address is typically a page offset number in a block, which in many architecture is also the row number in a block. The block is an erase block 300 shown in
Thus, the erase block 300 contains a plurality of pages 60, each page accessible by a word line. The localized physical address for the block is the block's page offset number. Starting from one end of the block (in this example, the bottom end) the first page has a page offset number of “0”, the next page has “1”, and each next one has the page offset number incremented by one until Nmax at the end of the block is reached. The block 300 is organized into multiple sub-blocks 310. In this example, each sub-block accommodates 4 pages. The localized physical address in this case is the page offset number in a sub-block 310. This can be obtained from the block's page offset number as:
Sub-block's page offset number=[Block's page offset number] mod N, where N=4 in this example.
Thus, if the data is stored in the physical block page by page, each page is scrambled with one of 4 keys. It will be seen that unlike that of
With the example L=32 and N=4, logical address=100, and at page# the key is:
Similarly, for the data stored in page #1:
When the two methods of logical address and localized physical address mapping are combined, the number of keys is not limited to the logical group size N (e.g., 4) but is now drawn from the pool of key of size L (e.g., 32). The repeated pattern is no long an issue. Relocation of data can still be done from one physical location to another in the memory array since the copy is done on the group boundary (in this case defined by a sub-block having N=4 pages), thus scrambling key used is still the same regardless of where the other group is located physically in the memory array.
Scrambling Data by Pseudorandom Inversion
According to another aspect of the invention, the scrambling data is a function of inversion or not inversion of data. The decision to invert data or not could be simply based on the physical address to provide a pseudorandom pattern, or it could be based on device physics analysis that tailor the algorithm to combat the worst data dependency pattern. In the first case, it is a simple function of the physical address. In the latter case, it could be a more involved function of the physical address. In this scheme, scrambled data is generally given by:
ScrambledData=Invert(UnscrambledData,PhysicalAddr).
NAND memory uses data latches to store data temporarily, and does logical manipulation to the data during normal program or read command. One such manipulation is inversion. This invention utilizes the native inversion function on the memory data latch, to randomize the data based on physical address.
According to another embodiment, to increase the randomness of data, the data may also be inverted at the page level at predefined page numbers.
The controller will issue command to invert data in the data latches before programming is done, and also invert the data back before data is read back. This is done internally to the memory, and thus data need not be toggled out if such data is to be moved to a different block. Alternatively, the inversion can be done internally without the controller's knowledge if the desired pattern is known.
The method of generating the scrambling key as a function of localized physical address also allows fast on-chip copy of data from one physical location to another physical without having to toggle the data out to the controller to do the scrambling. Scrambling can be simply done on chip given that the minimum copy size is the size of the group. This is achieved due to the alignment of scrambling key along the group boundary.
According to yet another embodiment, data is scrambled by a combination of all three scrambling schemes described above, namely, scrambling the data with a scrambling key dependent on the logical address and physical address individually or in combination and then invert the data as a function of either the physical address or logical address.
The combination of logical/physical mapping, and physical inversion based on memory word line location will ensure no repeated pattern that may cause data dependency program disturb. This does not sacrifice performance, has not limitation, and does not require additional gates.
The various mappings described above can be performed at the controller 102 or on-chip or by a combination of the two.
No added cost to the overall system since scrambler is already part of the ASIC and data inversion is already part of memory logic.
Compared to using just physical address, this invention will eliminate the need to toggle data, therefore improve overall performance Using it in conjunction with logical mapping also improves the randomness of data.
Compared to using just logical address, this invention will allow the same logical address to be written repeatedly on the same block, therefore decreasing the frequency to garbage collect. It also solves the repeated pattern problem.
While the embodiments of this invention that have been described are the preferred implementations, those skilled in the art will understand that variations thereof may also be possible. Therefore, the invention is entitled to protection within the full scope of the appended claims.
Wan, Jun, Hsu, Jonathan, Avila, Chris Nga Yee, Mak, Alexander Kwok-Tung, Gorobets, Sergey Anatolievich, Kuo, Tien-chien, Koh, Yee Lih
Patent | Priority | Assignee | Title |
10048879, | Mar 14 2013 | Seagate Technology LLC | Nonvolatile memory recovery after power failure during write operations or erase operations |
9858009, | Oct 26 2015 | SanDisk Technologies LLC | Data folding in 3D nonvolatile memory |
Patent | Priority | Assignee | Title |
4357685, | Sep 28 1979 | SGS-ATES Componenti Elettronici S.p.A. | Method of programming an electrically alterable nonvolatile memory |
4993029, | Mar 13 1989 | Mitsubishi Electric Corporation | Method and apparatus for randomizing data in a direct access storage device |
5070032, | Mar 15 1989 | SanDisk Technologies LLC | Method of making dense flash EEprom semiconductor memory structures |
5095344, | Jun 08 1988 | SanDisk Technologies LLC | Highly compact EPROM and flash EEPROM devices |
5172338, | Apr 13 1989 | SanDisk Technologies LLC | Multi-state EEprom read and write circuits and techniques |
5313421, | Jan 14 1992 | SanDisk Technologies LLC | EEPROM with split gate source side injection |
5315541, | Jul 24 1992 | SanDisk Technologies LLC | Segmented column memory array |
5343063, | Dec 18 1990 | SanDisk Technologies LLC | Dense vertical programmable read only memory cell structure and processes for making them |
5418752, | Apr 13 1989 | Kabushiki Kaisha Toshiba | Flash EEPROM system with erase sector select |
5570315, | Sep 21 1993 | Kabushiki Kaisha Toshiba | Multi-state EEPROM having write-verify control circuit |
5595924, | May 25 1994 | SanDisk Technologies LLC | Technique of forming over an irregular surface a polysilicon layer with a smooth surface |
5661053, | May 25 1994 | SanDisk Technologies LLC | Method of making dense flash EEPROM cell array and peripheral supporting circuits formed in deposited field oxide with the use of spacers |
5768192, | Jul 23 1996 | MORGAN STANLEY SENIOR FUNDING | Non-volatile semiconductor memory cell utilizing asymmetrical charge trapping |
5774397, | Jun 29 1993 | Kabushiki Kaisha Toshiba | Non-volatile semiconductor memory device and method of programming a non-volatile memory cell to a predetermined state |
5903495, | Mar 18 1996 | Kabushiki Kaisha Toshiba | Semiconductor device and memory system |
5912854, | Nov 08 1996 | Texas Instruments Incorporated | Data processing system arranged for operating synchronously with a high speed memory |
5996041, | Nov 10 1995 | SANSUNG ELECTRONICS CO , LTD | Integrated circuit memory devices having page flag cells which indicate the true or non-true state of page data therein and methods of operating the same |
6011725, | Aug 01 1997 | MORGAN STANLEY SENIOR FUNDING | Two bit non-volatile electrically erasable and programmable semiconductor memory cell utilizing asymmetrical charge trapping |
6046935, | Mar 18 1996 | Kabushiki Kaisha Toshiba | Semiconductor device and memory system |
6222762, | Jan 14 1992 | SanDisk Technologies LLC | Multi-state memory |
6266273, | Aug 21 2000 | SanDisk Technologies LLC | Method and structure for reliable data copy operation for non-volatile memories |
6657891, | Nov 29 2002 | Kioxia Corporation | Semiconductor memory device for storing multivalued data |
6870768, | Sep 06 2002 | SanDisk Technologies LLC | Techniques for reducing effects of coupling between storage elements of adjacent rows of memory cells |
6983428, | Sep 24 2002 | INNOVATIVE MEMORY SYSTEMS, INC | Highly compact non-volatile memory and method thereof |
7006379, | Mar 29 2001 | Kioxia Corporation | Semiconductor memory |
7023736, | Sep 24 2002 | SanDisk Technologies LLC | Non-volatile memory and method with improved sensing |
7073103, | Dec 05 2002 | WODEN TECHNOLOGIES INC | Smart verify for multi-state memories |
7120051, | Dec 14 2004 | SanDisk Technologies LLC | Pipelined programming of non-volatile memories using early data |
7230851, | Dec 23 2004 | SanDisk Technologies LLC | Reducing floating gate to floating gate coupling effect |
7237074, | Jun 13 2003 | SanDisk Technologies LLC | Tracking cells for a memory system |
7251160, | Mar 16 2005 | SanDisk Technologies LLC | Non-volatile memory and method with power-saving read and program-verify operations |
7489547, | Dec 29 2006 | SanDisk Technologies LLC | Method of NAND flash memory cell array with adaptive memory state partitioning |
7549011, | Aug 30 2001 | U S BANK NATIONAL ASSOCIATION, AS COLLATERAL AGENT | Bit inversion in memory devices |
7558131, | May 18 2006 | U S BANK NATIONAL ASSOCIATION, AS COLLATERAL AGENT | NAND system with a data write frequency greater than a command-and-address-load frequency |
7606966, | Sep 08 2006 | SanDisk Technologies LLC | Methods in a pseudo random and command driven bit compensation for the cycling effects in flash memory |
7734861, | Sep 08 2006 | SanDisk Technologies LLC | Pseudo random and command driven bit compensation for the cycling effects in flash memory |
7818525, | Aug 12 2009 | International Business Machines Corporation | Efficient reduction of read disturb errors in NAND FLASH memory |
7885112, | Sep 07 2007 | SanDisk Technologies LLC | Nonvolatile memory and method for on-chip pseudo-randomization of data within a page and between pages |
8130550, | Jun 24 2009 | U S BANK NATIONAL ASSOCIATION, AS COLLATERAL AGENT | Memory with sub-blocks |
20020108045, | |||
20040160829, | |||
20040228197, | |||
20050195635, | |||
20050257120, | |||
20060002190, | |||
20060031593, | |||
20060062055, | |||
20060126390, | |||
20060136687, | |||
20060140007, | |||
20060198195, | |||
20060221696, | |||
20060233022, | |||
20060233023, | |||
20060233026, | |||
20070097744, | |||
20070261118, | |||
20080263369, | |||
20090204824, | |||
20090316490, | |||
20090323942, | |||
20100172180, | |||
EP1130600, | |||
EP1684308, | |||
JP2006228407, | |||
JP7240098, | |||
TW244089, | |||
WO2006107651, | |||
WO2008031074, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
May 17 2011 | Sandisk Technologies, Inc. | (assignment on the face of the patent) | / | |||
Jun 09 2011 | MAK, ALEXANDER KWOK-TUNG | SanDisk Technologies Inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 026789 | /0902 | |
Jun 09 2011 | GOROBETS, SERGEY ANATOLIEVICH | SanDisk Technologies Inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 026789 | /0902 | |
Jun 10 2011 | KOH, YEE LIH | SanDisk Technologies Inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 026789 | /0902 | |
Jul 06 2011 | HSU, JONATHAN | SanDisk Technologies Inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 026789 | /0902 | |
Jul 20 2011 | AVILA, CHRIS NGA YEE | SanDisk Technologies Inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 026789 | /0902 | |
Jul 25 2011 | WAN, JUN | SanDisk Technologies Inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 026789 | /0902 | |
Aug 18 2011 | KUO, TIEN-CHIEN | SanDisk Technologies Inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 026789 | /0902 | |
May 16 2016 | SanDisk Technologies Inc | SanDisk Technologies LLC | CHANGE OF NAME SEE DOCUMENT FOR DETAILS | 038807 | /0850 |
Date | Maintenance Fee Events |
Mar 08 2018 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Dec 15 2021 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Date | Maintenance Schedule |
Sep 23 2017 | 4 years fee payment window open |
Mar 23 2018 | 6 months grace period start (w surcharge) |
Sep 23 2018 | patent expiry (for year 4) |
Sep 23 2020 | 2 years to revive unintentionally abandoned end. (for year 4) |
Sep 23 2021 | 8 years fee payment window open |
Mar 23 2022 | 6 months grace period start (w surcharge) |
Sep 23 2022 | patent expiry (for year 8) |
Sep 23 2024 | 2 years to revive unintentionally abandoned end. (for year 8) |
Sep 23 2025 | 12 years fee payment window open |
Mar 23 2026 | 6 months grace period start (w surcharge) |
Sep 23 2026 | patent expiry (for year 12) |
Sep 23 2028 | 2 years to revive unintentionally abandoned end. (for year 12) |