The present invention relates to memory devices and more particularly to non-volatile memory internal data move operations.
Error detection and correction (ECC) engines are well known to those skilled in the art. An ECC engine is a device which performs a process of detecting for error and correcting errors to ensure the accuracy and integrity of data during a data transmission. Different ECC engines are based on Hamming Codes, Reed-Solomon Codes or other techniques to correct for data errors.
In memory systems a memory controller typically writes data and ECC data to a memory device. The ECC data is used by the controller during a read operation to identify and correct errors that may have occurred since the data was written to the memory.
Memory devices can be categorized in two broad areas as volatile and non-volatile. Volatile memory devices require power to maintain data, while non-volatile memories are capable of maintaining data in the absence of a power supply.
In the following detailed description of the invention, reference is made to the accompanying drawings which form a part hereof, and in which is shown, by way of illustration, different embodiments in which the invention may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention. Other embodiments may be utilized and structural, logical, and electrical changes may be made without departing from the scope of the present invention.
The following detailed description is, therefore, not to be taken in a limiting sense, and the scope of the present invention is defined only by the appended claims, along with the full scope of equivalents to which such claims are entitled.
Embodiments of the present invention can include a semiconductor memory device having an array of memory cells. The memory cells are non-volatile, and can be charge trapping cells such as floating gate transistors or NROM cells, phase-change memory cells such as chalcogenide cells, programmable conductor random access memory (PCRAM), latching cells such as SRAM, or magnetic random access memories (MRAM's). In addition, the memory cells can store one or more bits per cell.
A control circuit 108 is provided to manage memory operations, such as read, write and erase operations. As explained below, one memory operation performed by the memory control circuitry includes an internal data move operation.
The memory device 100 can be coupled to a controller 114 for accessing the memory array 102. The memory device 100 receives control signals across control lines 116 from the controller 114 to control access to the memory array 102. Access to the memory array 102 is directed to one or more target memory cells in response to address signals received across address lines 118. Once accessed in response to the control signals and the address signals, data is written to or read from the memory cells across data, DQ, lines 120.
It will be appreciated by those skilled in the art that additional circuitry and control signals can be provided, and that the memory device of
The non-volatile memory also includes an error detecting code (EDC) circuit 140. As described below, the EDC in one embodiment uses parity bits to detect errors, and in another embodiment uses ECC data provided by the controller 114.
Non-volatile memory devices, such as FLASH memories, often perform an internal data move operation. This operation is performed as part of “house keeping.” That is, data stored in a first memory array location is moved to a second memory array location so that memory operations, such as memory cell erasing, can be performed on the first location.
In prior art memory devices, the data is not read by the controller during the move operation. As such, the ECC circuitry of the controller is not employed during the move to determine if an error exists in the memory data.
In one embodiment, the EDC circuit 140 of the non-volatile memory device 100 uses a parity technique for identifying single bit errors. As such, when data is written to the memory array parity is also stored in the memory. The parity data can be internally generated and stored for later use. The parity data can be stored in the array or in an overhead location. For example, in one embodiment a 512 bit array sector has 16 bits of overhead reserved for the parity data. The parity data can be restricted from external access.
During an internal data move the parity bit is used to detect single bit errors. The memory controller 114 can check the status of an error register 150 to determine if an error was detected while executing the internal move. If an error is detected, the controller can read the data from the memory into a buffer of the controller, perform an ECC operation to correct the error, and write the corrected data back into the memory. The error register can be one or multiple bits long. That is, a simple status flag can be used in one embodiment to indicate that an error was detected.
In another embodiment, the memory device 100 includes an ECC register 160 for storing ECC information provided by the controller. The register can store an indication of the ECC scheme employed by the controller, for example Hamming, BCH or Reed-Solomon coded. In addition to the type of ECC used by the controller, register 160 can store an address, or offset, of the location of the ECC data bytes associated with array data. ECC techniques are well know in the art and are not listed or described in detail herein. It will be understood that embodiments of the present invention can be implemented without limitation to a specific ECC code(s).
The EDC circuit 140 detects errors during internal data move operations using the ECC register 160 information. That is, the EDC uses the identified ECC code and ECC data to detect errors. The memory controller 114 can check the status of an error register 150 to determine if an error was detected while executing the internal move. The error register can be one or multiple bits long. That is, a simple status flag can be used in one embodiment to indicate that an error was detected.
If an error is detected, the controller can read the data from the memory into a buffer of the controller, perform an ECC operation to correct the error, and write the corrected data back into the memory. To reduce the time needed by the controller to correct the error, the error register, in one embodiment, contains multi-bit repair solution data. As such, the controller only needs to execute the repair solution prior to re-writing the data to the memory.
It will be appreciated that there are a wide variety of ECC schemes available for use by the controller. Implementing each of these schemes on the memory device would be cost prohibitive. As such, the memory device may be limited to implementing an EDC technique based on one, or a select few, ECC scheme(s).
Embodiments of the present invention allow internal data move operations in a non-volatile memory while identifying data errors. The error detection can be implemented by using parity data or ECC data stored in the memory. Results of the error detection can be accessed by a memory controller for data repair operations by the controller.
This application is a Continuation of U.S. application Ser. No. 12/425,867, filed on Apr. 17, 2009, now issued as U.S. Pat. No. 7,877,669, which is a Continuation of U.S. application Ser. No. 11/219,535 filed Sep. 1, 2005, now issued as U.S. Pat. No. 7,523,381, which applications are incorporated herein by reference in their entireties.
Number | Name | Date | Kind |
---|---|---|---|
5379262 | Okamoto et al. | Jan 1995 | A |
5418752 | Harari et al. | May 1995 | A |
5603001 | Sukegawa et al. | Feb 1997 | A |
5611067 | Okamoto et al. | Mar 1997 | A |
5715193 | Norman | Feb 1998 | A |
5768560 | Lieberman et al. | Jun 1998 | A |
5781918 | Lieberman et al. | Jul 1998 | A |
5920501 | Norman | Jul 1999 | A |
5930815 | Estakhri et al. | Jul 1999 | A |
5966724 | Ryan | Oct 1999 | A |
5987573 | Hiraka | Nov 1999 | A |
6000006 | Bruce et al. | Dec 1999 | A |
6130837 | Yamagami et al. | Oct 2000 | A |
6426893 | Conley et al. | Jul 2002 | B1 |
6651212 | Katayama et al. | Nov 2003 | B1 |
6680870 | Toyama et al. | Jan 2004 | B2 |
6754765 | Chang et al. | Jun 2004 | B1 |
6769087 | Moro et al. | Jul 2004 | B2 |
6831865 | Chang et al. | Dec 2004 | B2 |
6859856 | Piau et al. | Feb 2005 | B2 |
6868007 | Hasegawa et al. | Mar 2005 | B2 |
6978342 | Estakhri et al. | Dec 2005 | B1 |
7012835 | Gonzalez et al. | Mar 2006 | B2 |
7350044 | Keays | Mar 2008 | B2 |
7362611 | Roohparvar | Apr 2008 | B2 |
7523381 | Eggleston et al. | Apr 2009 | B2 |
7877669 | Eggleston et al. | Jan 2011 | B2 |
8051339 | Sung et al. | Nov 2011 | B2 |
20010023472 | Kubushiro et al. | Sep 2001 | A1 |
20010052102 | Roohparvar | Dec 2001 | A1 |
20040003168 | Kim et al. | Jan 2004 | A1 |
20050080986 | Park | Apr 2005 | A1 |
20050172207 | Radke et al. | Aug 2005 | A1 |
20060018159 | Picca et al. | Jan 2006 | A1 |
20060050576 | Kim | Mar 2006 | A1 |
20060120166 | Kim et al. | Jun 2006 | A1 |
20060227602 | Houma et al. | Oct 2006 | A1 |
20060242485 | Roohparvar | Oct 2006 | A1 |
20070061672 | Eggleston et al. | Mar 2007 | A1 |
20090204871 | Eggleston et al. | Aug 2009 | A1 |
Entry |
---|
“Flash Memory 0neNAND Specification”, 126 pgs. |
“Samsung Targets Embedded Space with OneNAND Flash”, Innovation OneNAND, e-brochure at Samsung.com; http://www.samsung.com/Products/Semiconductor/Support/ebrochure/memory/samsung—innovation—onenand—051102.pdf, (Nov. 2005), 1 pg. |
Number | Date | Country | |
---|---|---|---|
20110113306 A1 | May 2011 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 12425867 | Apr 2009 | US |
Child | 13007923 | US | |
Parent | 11219535 | Sep 2005 | US |
Child | 12425867 | US |