US20080016428A1 - Semiconductor memory device and bit error detection method thereof - Google Patents

Semiconductor memory device and bit error detection method thereof Download PDF

Info

Publication number
US20080016428A1
US20080016428A1 US11/582,106 US58210606A US2008016428A1 US 20080016428 A1 US20080016428 A1 US 20080016428A1 US 58210606 A US58210606 A US 58210606A US 2008016428 A1 US2008016428 A1 US 2008016428A1
Authority
US
United States
Prior art keywords
crc
data
ecc
code
read
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US11/582,106
Inventor
Shea-yun Lee
Dong-Hyun Song
Jang-Hwan Kim
Sang-Lyul Min
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Samsung Electronics Co Ltd
Original Assignee
Samsung Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Samsung Electronics Co Ltd filed Critical Samsung Electronics Co Ltd
Assigned to SAMSUNG ELECTRONICS CO., LTD. reassignment SAMSUNG ELECTRONICS CO., LTD. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: MIN, SANG-LYUL, KIM, JANG-HWAN, LEE, SHEA-YUN, SONG, DONG-HYUN
Priority to US11/748,933 priority Critical patent/US8479077B2/en
Publication of US20080016428A1 publication Critical patent/US20080016428A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/03Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
    • H03M13/05Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
    • H03M13/09Error detection only, e.g. using cyclic redundancy check [CRC] codes or single parity bit
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1004Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's to protect a block of data words, e.g. CRC or checksum
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1008Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
    • G06F11/1068Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices in sector programmable memories, e.g. flash disk

Definitions

  • the present disclosure relates to semiconductor memory devices.
  • the present disclosure relates to a semiconductor memory device and method for detecting bit errors therein.
  • RAMs random access memories
  • ROMs read-only memories
  • RAMs volatile memory devices that lose their stored data when a power supply is turned off.
  • ROMs are nonvolatile memory devices that retain data even without power supply.
  • RAMs include dynamic RAMs and static RAMs.
  • ROMs include programmable ROMs (PROMs), erasable PROMs (EPROMs), electrically EPROMs (EEPROMs), and flash memories.
  • the flash memories are widely employed in mobile communication terminals, portable media players, digital cameras, mobile storage media, and so forth. In using the flash memories for storage media, data integrity needs to be assured. However, data stored on the flash memory devices typically includes bit errors. With their inherent property as memory devices, the flash memories need to have functions for detecting and correcting bit errors therein. Flash memories employ error correction code (ECC) circuits for detecting and correcting bit errors therein.
  • ECC error correction code
  • the ECC circuits used in the flash memory device are designed to correct a 1-bit error and to detect 2-bit errors. Any more then two error bits may not be detected in the flash memory. This limit on the number of detectable error bits degrades the reliability of the flash memory device.
  • a semiconductor memory device includes a CRC circuit generating a write CRC code corresponding to data to be stored in memory cells; and an ECC circuit generating an ECC code corresponding to the data and detecting and correcting a bit error of the data by means of the ECC code during a read operation.
  • the CRC circuit generates a read CRC code corresponding to data corrected by the ECC circuit during the read operation, and corrects a bit error of the data according to a comparison of the read CRC code and the write CRC code.
  • the CRC circuit includes a CRC engine receiving the data corrected by the ECC circuit and generating the read CRC code, and a comparator generating the pass signal when the read CRC code matches the write CRC code, and generating the fail signal when the read CRC code does not match the write CRC code.
  • the semiconductor memory device is a NAND flash memory device including a cell array divided into main and spare regions, and the data is programmed into the main region and the ECC and CRC codes are programmed into the spare region.
  • the ECC circuit detects two error bits and corrects one error bit, and the CRC circuit detects more than two error bits.
  • a semiconductor memory device includes a CRC circuit generating a write CRC code corresponding to data to be stored in memory cells, a first ECC circuit generating a first ECC code corresponding to the data and detecting and correcting a bit error of the data by means of the first ECC code during a read operation, and a second ECC circuit generating a second ECC code corresponding to the write CRC data and detecting and correcting a bit error of the write CRC code by means of the second ECC code during the read operation.
  • the CRC circuit generates a read CRC code corresponding to data corrected by the first ECC circuit during the read operation, and corrects a bit error of the data according to a comparison of the read CRC code and the write CRC code corrected by the second ECC circuit.
  • the CRC circuit includes a CRC engine receiving the data corrected by the first ECC circuit and generating the read CRC code, and a comparator generating the pass signal when the read CRC code matches the corrected write CRC code, and generating the fail signal when the read CRC code does not match the corrected write CRC code.
  • the semiconductor memory device is a NAND flash memory device including a cell array divided into main and spare regions, wherein the data is programmed into the main region and the first and second ECC codes and the CRC code are programmed into the spare region.
  • the first and second ECC circuits each detect two error bits and correct one error bit, and the CRC circuit detects more than two error bits.
  • a method of detecting a bit error includes generating ECC and CRC codes corresponding to data to be stored in memory cells, storing the data in the memory cells, correcting a bit error for the data stored in the memory cells by means of the ECC code, generating a read CRC code corresponding to the data corrected with the bit error, and detecting a bit error of the data according to a comparison of the read CRC code and the write CRC code.
  • Correcting the bit error includes treating the data as being failed when the number of error bits is over a correctable number of error bits.
  • the method includes determining a failure of the data when the read CRC code does not match the write CRC code.
  • the semiconductor memory device is a NAND flash memory device including a cell array divided into main and spare regions.
  • the method further includes programming the data into the main region and programming the ECC and CRC codes into the spare region.
  • Correcting the bit error includes detecting two error bits and correcting one error bit, and detecting the bit error of the data includes determining a bit error in a corrected bit error.
  • a method for detecting a bit error in a semiconductor memory device includes generating a write CRC code corresponding to data to be stored in memory cells, and generating a first ECC code corresponding to the data to be stored in the memory cells, and a second ECC code corresponding to the write CRC code.
  • the method includes programming the data, the write CRC code, and the first and second ECC codes into the memory cells, correcting a bit error of the data by means of the first ECC code, and a bit error of the write CRC code by means of the second ECC code, generating a read CRC code corresponding to the data corrected with the bit error, and detecting a bit error of the data according to a comparison of the read CRC code and the write CRC code corrected with the bit error. Correcting the bit error includes treating the data as being failed when the number of error bits is over a correctable number of error bits.
  • the semiconductor memory device is a NAND flash memory, device including a cell array divided into main and spare regions, and the data is programmed into the main region and the first and second ECC codes and the CRC code are programmed into the spare region.
  • Correcting the bit error includes detecting two error bits and correcting one error bit, and detecting the bit error of the data further includes determining a bit error in a corrected the bit error.
  • FIG. 1 is a block diagram illustrating a semiconductor memory device in accordance with an embodiment of the invention
  • FIG. 2 is a block diagram illustrating a CRC circuit shown in FIG. 1 ;
  • FIG. 3 is a block diagram illustrating a semiconductor memory device in accordance with an embodiment of the present invention.
  • FIG. 4A is a block diagram illustrating a NAND flash memory device in accordance with an embodiment of the present invention
  • FIG. 4B is a block diagram showing the feature of a read operation in the device shown by FIG. 4A ;
  • FIG. 5 is a block diagram illustrating the CRC circuit shown in FIGS. 4B and 4B ;
  • FIG. 6 is a flow chart showing a write operation of the NAND flash memory device shown in FIG. 4A ;
  • FIG. 7 is a flow chart showing the read operation of the NAND flash memory device as shown in FIG. 4B .
  • FIG. 1 is a block diagram illustrating a semiconductor memory device according to an embodiment of the present invention.
  • FIG. 1 shows the semiconductor memory device 100 and
  • FIG. 2 shows a cyclic redundancy check (CRC) circuit 130 of the semiconductor memory device 100 .
  • the semiconductor memory device 100 is designed to correct a predetermined error bit (e.g., one error bit) and to detect pluralities of error bits (e.g., more than one error bit).
  • the semiconductor memory device 100 is comprised of a cell array 110 , a data buffer 120 , the CRC circuit 130 , and an error correction code (ECC) circuit 140 .
  • ECC error correction code
  • the cell array 110 stores data input by way of the data buffer 120 .
  • physical and architectural characteristics may cause bit errors on data stored in the cell array 110 .
  • a bit error occurs when data is changed from ‘1’ to ‘0’ or from ‘0’ to ‘1’.
  • the ECC circuit 140 that is able to detect and correct bit errors (or error bits).
  • the ECC circuit 140 can detect and correct single error bits and detect two error bits.
  • the semiconductor memory device 100 further comprises the CRC circuit 130 in addition to the ECC circuit 140 so as to increase the number of detectable error bits.
  • the CRC circuit 130 receives write data Data_W from the data buffer 120 during a write operation and receives read data Data_R from the ECC circuit 140 .
  • the CRC circuit 130 generates a write CRC code CRC_W from the write data Data_W.
  • the CRC circuit 130 internally generates a read CRC code CRC_R (refer to FIG. 2 ) from the read data Data_R.
  • the CRC circuit 130 compares the read CRC code CRC_R with the write CRC code CRC_W, from which a pass or fail signal is generated.
  • the internal structure and operation of the CRC circuit 130 will be described in more detail with reference to FIG. 2 .
  • the ECC circuit 140 receives the write data Data_W from the data buffer 120 during a write operation and receives the read data Read_R from the cell array 110 during the-read operation.
  • the ECC circuit 140 generates an ECC code ECC from the write data Data_W.
  • the ECC circuit 140 provides the write data Data_W and the ECC code ECC to the cell array 110 .
  • the ECC circuit 140 detects and corrects an error bit of the read data Data_R, which has been input from the cell array 110 , by means of the ECC code ECC stored in the cell array.
  • the ECC circuit 140 may be implemented in various coding schemes such as Hamming code, BCH (Bose, Chaudhuri, Hocquenghem) code, or Reed-Solomon code.
  • Hamming code BCH (Bose, Chaudhuri, Hocquenghem) code
  • Reed-Solomon code For example, an ECC circuit using Hamming codes with predetermined bits is able to detect a 2-bit error (i.e., two error bits) and to correct 11-bit error (i.e., one error bit). Namely, the ECC circuit with Hamming codes functions to detect and correct one error bit and to detect two error bits.
  • the semiconductor memory device 100 uses the ECC circuit 140 to correct a 1-bit error (i.e., one error bit) and uses the CRC circuit 130 to detect a 3-bit error or greater (i.e., three or more error bits).
  • FIG. 2 is a block diagram illustrating the CRC circuit 130 shown in FIG. 1 .
  • the CRC circuit 130 is comprised of a selection circuit 131 ; a CRC engine 132 , and a comparator 133 .
  • the CRC circuit 130 receives the write data Data_W during the write operation, and generates the write CRC code CRC_W to the cell array.
  • the CRC circuit 130 receives the read data Data_R during the read operation, and internally generates the read CRC code CRC_R.
  • the CRC circuit 130 generates the pass or fail signal in accordance with a result of comparing the write CRC code CRC_W from the cell array with the read CRC code CRC_R.
  • the selection circuit 131 alternatively outputs one of the write data Data W and the read data Data_R in response to a command CMD.
  • the command may be a write command or a read command.
  • the selection circuit 131 outputs the write data Data_W in response to the write command and outputs the read data Data_R in response to the read command.
  • the read data Data_R is data corrected by the ECC circuit 140 .
  • the CRC engine 132 receives the write data Data_W and outputs the write CRC code CRC_W to the cell array.
  • the CRC engine 132 receives the read data Data_R and outputs the read CRC code CRC_R.
  • the CRC engine may be utilized for verifying data reliability in the fields of data communication, data compression, data storage media (e.g., magnetic tapes, magnetic disc, and so forth), and the like. For example, with a 32-bit CRC engine, the probability that a bit error will be missed is than 2 ⁇ 32 . The probability that the CRC engine won't detect a bit error is close to zero.
  • the comparator 133 compares the read CRC code CRC_R up with the write CRC code CRC_W.
  • the comparator 133 generates the pass signal Pass when the read CRC code CRC_R matches the write CRC code CRC_W, or generates the fail signal Fail when the read CRC code CRC_R mismatches the write CRC code CRC_W.
  • the semiconductor memory device 100 employs the CRC circuit 130 to detect error bits that have not been discovered by the ECC circuit 140 .
  • the CRC circuit 130 may detect error bits that have not been detected by the ECC circuit 140 , as well as correct a predetermined bit error (i.e., one error bit) by the ECC circuit 140 .
  • a predetermined bit error i.e., one error bit
  • FIG. 3 is a block diagram illustrating a semiconductor memory device in accordance with an embodiment of the present invention.
  • the semiconductor memory device 200 shown in FIG. 3 further includes an additional ECC circuit, e.g., a second ECC circuit 250 , relative to the semiconductor memory device 100 of FIG. 1 .
  • a CRC circuit 230 and a first ECC circuit 240 operate substantially the same as the CRC and ECC circuits 130 and 140 of FIG. 1 .
  • the second ECC circuit 250 detects error bits that are generated from the write CRC code CRC_W in the semiconductor memory device 200 .
  • the semiconductor memory device 200 achieves higher reliability for bit error as compared to the semiconductor memory device 100 shown in FIG. 1 .
  • the second ECC circuit 250 receives the write CRC code CRC_W from the CRC circuit 230 during the write operation, and receives the read CRC code CRC_R from the cell array 110 during the read operation.
  • the second ECC circuit 250 generates a second ECC code ECC_ 2 from the write CRC code CRC_W.
  • the ECC code generated from the first ECC circuit 240 is referred to as the first ECC code ECC_ 1 .
  • the second ECC circuit 250 provides the cell array 210 with the write CRC code CRC_W and the second ECC code ECC_ 2 .
  • the second ECC circuit 250 detects and corrects an error bit of the read CRC code CRC_R, which is input from the cell array 210 , by means of the second ECC code ECC_ 2 stored in the cell array 210 .
  • the second ECC circuit 250 corrects the error bit of the read CRC code CRC_R and thereafter provides a corrected read CRC code CRC_R′ to the CRC circuit 230 .
  • the CRC circuit 230 internally generates a read CRC code CRC_R′′ from the read data Data_R.
  • the CRC circuit 230 compares the internally generated read CRC code CRC_R′′ with the corrected read CRC code CRC_R′, and generates the pass or fail signal.
  • the semiconductor memory device 200 includes the second ECC circuit 250 to correct a bit error of the CRC code generated by the CRC circuit 230 .
  • the semiconductor memory device 200 increases the reliability of correcting bit errors as compared to the semiconductor memory device 100 shown in FIG. 1 .
  • FIGS. 4A through 7 show features of a semiconductor memory device 300 according to an embodiment of the present invention.
  • the semiconductor memory device 300 is a NAND flash memory device.
  • FIG. 4A illustrates a data flow during a write operation.
  • FIG. 4B illustrates a data flow during a read operation.
  • FIG. 5 illustrates an internal structure of the CRC circuit 330 shown in FIGS. 4A and 4B .
  • FIGS. 6 and 7 are flow charts showing the write and read operations, respectively.
  • the NAND flash memory device 300 includes a cell array composed of main and spare regions 310 and 311 , and page buffers 312 and 313 , a data buffer 320 , a CRC circuit 330 , a first ECC circuit 340 , and a second ECC circuit 350 .
  • the cell array of the NAND flash memory device 300 is divided into the main and spare regions 310 and 311 .
  • the page buffers are also divided into the main page buffer 312 corresponding to the main region 310 and the spare page buffer 313 corresponding to the spare region 311 .
  • Configurations and operations of the cell array and page buffers in the NAND flash memory device 300 are well known by those skilled in this art, and further descriptions are omitted..
  • the CRC circuit 330 receives the write data Data_W and generates the write CRC code CRC_W.
  • the first ECC circuit 340 receives the write data Data W and generates the first ECC code ECC_ 1 .
  • the second ECC circuit 350 receives the write data Data_W and generates the second ECC code ECC_ 2 .
  • the write data Data_W are stored in the main page buffer 312 .
  • the first ECC code ECC_ 1 , the second ECC code ECC 2 , and the write CRC code CRC_W are stored in fields (a), (b), and (c) of the spare page buffer 313 .
  • the write data Data_W stored in the main page buffer 312 are programmed into the main region 310 .
  • the first ECC code ECC_ 1 , the second ECC code ECC_ 2 , and the write CRC code CRC_W, which are stored in the spare page buffer 313 are programmed into the spare region 311 .
  • the first ECC circuit 340 detects and corrects a bit error of the read data Data_R by means of the first ECC code ECC_ 1 .
  • the first ECC circuit 340 detects and corrects one error bit (i.e., a 1-bit error). If more than two error bits are detected, the first ECC circuit 340 generates the fail signal Fail.
  • the second ECC circuit 350 detects and corrects a bit error of the read CRC code CRC_R by means of the second ECC code ECC_ 2 .
  • the second ECC circuit 350 corrects the bit error when the bit error is defected. If more than two error bits are detected, the second ECC circuit 350 generates the fail signal Fail.
  • the CRC circuit 330 receives the corrected read data Data_R′ from the first ECC circuit 340 , and internally generates the read CRC code CRC_R′′.
  • the CRC circuit 330 compares the internal read CRC code CRC_R′′ with the corrected read CRC code CRC_R′ that is generated by the second ECC circuit 350 .
  • the CRC circuit 330 generates the fail signal Fail when the two codes are different from one another.
  • FIG. 6 is a flow chart showing the write operation of the NAND flash memory device as shown in FIG. 4A .
  • the write CRC code CRC_W is generated corresponding to the write data Data_W.
  • the CRC circuit 330 receives the write data Data_W from the data bluffer 320 , and generates the write CRC code CRC_W.
  • the ECC codes ECC_ 1 and ECC_ 2 are generated corresponding to the write data Data_W and the write CRC code CRC_W, respectively.
  • the first ECC circuit 340 receives the write data Data_W and generates the first ECC code ECC_ 1 for the write data code Data_W.
  • the second ECC circuit 350 receives the write CRC code CRC_W and generates the second ECC code ECC_ 2 for the write data code Data_W.
  • the main region 310 is programmed with the write data Data_W
  • the spare region 311 is programmed with the first ECC code ECC_ 1 , the second ECC code ECC 2 , and the write CRC code CRC_W.
  • FIG. 7 is a flow chart showing the read operation of the NAND flash memory device as shown in FIG. 4B .
  • data read out from the cell array is stored in the page buffer.
  • the data stored in the page buffer is programmed in the cell array during the write operation.
  • the read data Data_R from the main region 310 is stored in the main page buffer 312 .
  • the first ECC code ECC_ 1 , the second ECC code ECC_ 2 , and the read CRC code CRC_R, which are read out from the spare region 311 are stored in the spare page buffer 313 .
  • At block S 220 checks are performed for bit errors on the read data Data_R of the main page buffer 312 and the read CRC code CRC_R of the spare page buffer 313 .
  • the first ECC circuit 340 detects a bit error on the read data Data_R by means of the first ECC code ECC_ 1 .
  • the second ECC circuit 350 detects a bit error on the read CRC code CRC_R by means of the second ECC code ECC_ 2 .
  • a bit error (or an error bit) is detected from the read data Data_R and the read CRC code CRC_R. If there is a bit error, the procedure goes to block S 240 . Unless there is a bit error, the procedure moves to block S 232 .
  • the bit error is corrected. It is assumed that the first and second ECC circuits 340 and 350 are designed to correct a 1-bit error. If more than two error bits are detected at block S 230 , the first and second ECC circuits 340 and 350 may not correct the error bits. Where three or more error bits are detected, the procedure goes to block S 280 . At block S 280 , the read data is treated as being failed. Otherwise, if one error bit is detected at block S 230 , the error bit (i.e., the 1-bit error) is corrected therein. The procedure moves to block S 242 .
  • the detected error bit is corrected.
  • the first ECC circuit 340 corrects the bit error of the read data Data_R and outputs the corrected read data Data_R′.
  • the second ECC circuit 350 corrects the bit error of the read CRC code CRC_R and outputs the corrected read CRC code CRC_R′.
  • the read CRC code CRC_R′′ is generated in correspondence with the corrected read data Data_R′.
  • the CRC circuit 330 receives the corrected read data Data R′ and internally generates the read CRC code CRC_R′′.
  • the internal read CRC code CRC_R′′ is compared to the corrected read CRC code CRC_R′.
  • the comparator 333 compares the internal read CRC code CRC_R′′ with the corrected read CRC code CRC_R′ provided by the second ECC 350 .
  • the comparator. 333 generates the pass signal Pass when CRC_R′ matches CRC_R′′ (block S 270 ), and generates the fail signal Fail when CRC_R′ does not match CRC_R′′ (block S 280 ).
  • the NAND flash memory device 300 corrects a bit error of data by means of the first ECC circuit 340 , detects a bit error, which has not been detected by the first ECC circuit 340 , by means of the CRC circuit 330 , and corrects a bit error of the CRC code by means of the second ECC circuit 350 .
  • the NAND flash memory device 300 programs the CRC code along with data, without programming an additional confirm mark or flag.
  • the write operation need only be performed once, wherein the CRC code functions as the confirm mark.
  • the semiconductor memory device and bit error correction method detects a bit error, which has not been detected by the ECC circuit, by means of the CRC circuit, and corrects a predetermined bit error (e.g., a 1-bit error) by means of the ECC circuit.
  • a bit error which has not been detected by the ECC circuit
  • a predetermined bit error e.g., a 1-bit error

Abstract

A memory device detects and corrects bit errors. The memory device includes cyclic redundancy check (CRC) and error correction code (ECC) circuits. The CRC circuit generates a write CRC code corresponding to data to be stored in memory cells. The ECC circuit generates an ECC code corresponding to the data and detecting and correcting a bit error of the data by means of the ECC code during a read operation. The CRC circuit generates a read CRC code corresponding to data corrected by the ECC circuit during the read operation, and corrects a bit error of the data according to a comparison of the read CRC code and the write CRC code.

Description

    CROSS-REFERENCE TO RELATED APPLICATIONS
  • This U.S. non-provisional patent application claims priority under 35 U.S.C. §119 to Korean Patent Application 2005-100406 filed on Oct. 24, 2005, the entire contents of which are herein incorporated by reference.
  • BACKGROUND
  • 1. Technical Field
  • The present disclosure relates to semiconductor memory devices. In particular, the present disclosure relates to a semiconductor memory device and method for detecting bit errors therein.
  • 2. Discussion of Related Art
  • Semiconductor memory devices are used for storing and retrieving data. Semiconductor memory devices are largely classified into random access memories (RAMs) and read-only memories (ROMs). RAMs are volatile memory devices that lose their stored data when a power supply is turned off. ROMs are nonvolatile memory devices that retain data even without power supply. RAMs include dynamic RAMs and static RAMs. ROMs include programmable ROMs (PROMs), erasable PROMs (EPROMs), electrically EPROMs (EEPROMs), and flash memories.
  • The flash memories are widely employed in mobile communication terminals, portable media players, digital cameras, mobile storage media, and so forth. In using the flash memories for storage media, data integrity needs to be assured. However, data stored on the flash memory devices typically includes bit errors. With their inherent property as memory devices, the flash memories need to have functions for detecting and correcting bit errors therein. Flash memories employ error correction code (ECC) circuits for detecting and correcting bit errors therein.
  • The ECC circuits used in the flash memory device are designed to correct a 1-bit error and to detect 2-bit errors. Any more then two error bits may not be detected in the flash memory. This limit on the number of detectable error bits degrades the reliability of the flash memory device.
  • SUMMARY OF THE INVENTION
  • The memory device corrects bit errors in a predetermined number, detecting pluralities of erroneous bits. According to an embodiment of the present invention, a semiconductor memory device includes a CRC circuit generating a write CRC code corresponding to data to be stored in memory cells; and an ECC circuit generating an ECC code corresponding to the data and detecting and correcting a bit error of the data by means of the ECC code during a read operation. The CRC circuit generates a read CRC code corresponding to data corrected by the ECC circuit during the read operation, and corrects a bit error of the data according to a comparison of the read CRC code and the write CRC code.
  • The CRC circuit includes a CRC engine receiving the data corrected by the ECC circuit and generating the read CRC code, and a comparator generating the pass signal when the read CRC code matches the write CRC code, and generating the fail signal when the read CRC code does not match the write CRC code.
  • The semiconductor memory device is a NAND flash memory device including a cell array divided into main and spare regions, and the data is programmed into the main region and the ECC and CRC codes are programmed into the spare region. The ECC circuit detects two error bits and corrects one error bit, and the CRC circuit detects more than two error bits.
  • According to an embodiment of the present invention, a semiconductor memory device includes a CRC circuit generating a write CRC code corresponding to data to be stored in memory cells, a first ECC circuit generating a first ECC code corresponding to the data and detecting and correcting a bit error of the data by means of the first ECC code during a read operation, and a second ECC circuit generating a second ECC code corresponding to the write CRC data and detecting and correcting a bit error of the write CRC code by means of the second ECC code during the read operation. The CRC circuit generates a read CRC code corresponding to data corrected by the first ECC circuit during the read operation, and corrects a bit error of the data according to a comparison of the read CRC code and the write CRC code corrected by the second ECC circuit.
  • The CRC circuit includes a CRC engine receiving the data corrected by the first ECC circuit and generating the read CRC code, and a comparator generating the pass signal when the read CRC code matches the corrected write CRC code, and generating the fail signal when the read CRC code does not match the corrected write CRC code.
  • The semiconductor memory device is a NAND flash memory device including a cell array divided into main and spare regions, wherein the data is programmed into the main region and the first and second ECC codes and the CRC code are programmed into the spare region. The first and second ECC circuits each detect two error bits and correct one error bit, and the CRC circuit detects more than two error bits.
  • According to an embodiment of the present invention, a method of detecting a bit error includes generating ECC and CRC codes corresponding to data to be stored in memory cells, storing the data in the memory cells, correcting a bit error for the data stored in the memory cells by means of the ECC code, generating a read CRC code corresponding to the data corrected with the bit error, and detecting a bit error of the data according to a comparison of the read CRC code and the write CRC code. Correcting the bit error includes treating the data as being failed when the number of error bits is over a correctable number of error bits. The method includes determining a failure of the data when the read CRC code does not match the write CRC code.
  • The semiconductor memory device is a NAND flash memory device including a cell array divided into main and spare regions. The method further includes programming the data into the main region and programming the ECC and CRC codes into the spare region. Correcting the bit error includes detecting two error bits and correcting one error bit, and detecting the bit error of the data includes determining a bit error in a corrected bit error.
  • According to an embodiment of the present invention, a method for detecting a bit error in a semiconductor memory device includes generating a write CRC code corresponding to data to be stored in memory cells, and generating a first ECC code corresponding to the data to be stored in the memory cells, and a second ECC code corresponding to the write CRC code. The method includes programming the data, the write CRC code, and the first and second ECC codes into the memory cells, correcting a bit error of the data by means of the first ECC code, and a bit error of the write CRC code by means of the second ECC code, generating a read CRC code corresponding to the data corrected with the bit error, and detecting a bit error of the data according to a comparison of the read CRC code and the write CRC code corrected with the bit error. Correcting the bit error includes treating the data as being failed when the number of error bits is over a correctable number of error bits.
  • The semiconductor memory device is a NAND flash memory, device including a cell array divided into main and spare regions, and the data is programmed into the main region and the first and second ECC codes and the CRC code are programmed into the spare region. Correcting the bit error includes detecting two error bits and correcting one error bit, and detecting the bit error of the data further includes determining a bit error in a corrected the bit error.
  • BRIEF DESCRIPTION OF THE FIGURES
  • Non-limiting and non-exhaustive embodiments of the present invention will be described with reference to the following figures, wherein like reference numerals refer to like parts throughout the various figures unless otherwise specified. In the figures:
  • FIG. 1 is a block diagram illustrating a semiconductor memory device in accordance with an embodiment of the invention;
  • FIG. 2 is a block diagram illustrating a CRC circuit shown in FIG. 1;
  • FIG. 3 is a block diagram illustrating a semiconductor memory device in accordance with an embodiment of the present invention;
  • FIG. 4A is a block diagram illustrating a NAND flash memory device in accordance with an embodiment of the present invention, and FIG. 4B is a block diagram showing the feature of a read operation in the device shown by FIG. 4A;
  • FIG. 5 is a block diagram illustrating the CRC circuit shown in FIGS. 4B and 4B;
  • FIG. 6 is a flow chart showing a write operation of the NAND flash memory device shown in FIG. 4A; and
  • FIG. 7 is a flow chart showing the read operation of the NAND flash memory device as shown in FIG. 4B.
  • DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS
  • Preferred embodiments of the present invention will be described below in more detail with reference to the accompanying drawings. The present invention may, however, be embodied in different forms and should not be constructed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the present invention to those skilled in the art.
  • FIG. 1 is a block diagram illustrating a semiconductor memory device according to an embodiment of the present invention. FIG. 1 shows the semiconductor memory device 100 and FIG. 2 shows a cyclic redundancy check (CRC) circuit 130 of the semiconductor memory device 100. The semiconductor memory device 100 is designed to correct a predetermined error bit (e.g., one error bit) and to detect pluralities of error bits (e.g., more than one error bit).
  • Referring to FIG. 1, the semiconductor memory device 100 is comprised of a cell array 110, a data buffer 120, the CRC circuit 130, and an error correction code (ECC) circuit 140.
  • The cell array 110 stores data input by way of the data buffer 120. In the operational structure of the semiconductor memory device, physical and architectural characteristics may cause bit errors on data stored in the cell array 110. For example, a bit error occurs when data is changed from ‘1’ to ‘0’ or from ‘0’ to ‘1’. The ECC circuit 140 that is able to detect and correct bit errors (or error bits). The ECC circuit 140 can detect and correct single error bits and detect two error bits. The semiconductor memory device 100 further comprises the CRC circuit 130 in addition to the ECC circuit 140 so as to increase the number of detectable error bits.
  • The CRC circuit 130 receives write data Data_W from the data buffer 120 during a write operation and receives read data Data_R from the ECC circuit 140. The CRC circuit 130 generates a write CRC code CRC_W from the write data Data_W. The CRC circuit 130 internally generates a read CRC code CRC_R (refer to FIG. 2) from the read data Data_R. The CRC circuit 130 compares the read CRC code CRC_R with the write CRC code CRC_W, from which a pass or fail signal is generated. The internal structure and operation of the CRC circuit 130 will be described in more detail with reference to FIG. 2.
  • The ECC circuit 140 receives the write data Data_W from the data buffer 120 during a write operation and receives the read data Read_R from the cell array 110 during the-read operation. The ECC circuit 140 generates an ECC code ECC from the write data Data_W. The ECC circuit 140 provides the write data Data_W and the ECC code ECC to the cell array 110. During the read operation the ECC circuit 140 detects and corrects an error bit of the read data Data_R, which has been input from the cell array 110, by means of the ECC code ECC stored in the cell array.
  • The ECC circuit 140 may be implemented in various coding schemes such as Hamming code, BCH (Bose, Chaudhuri, Hocquenghem) code, or Reed-Solomon code. For example, an ECC circuit using Hamming codes with predetermined bits is able to detect a 2-bit error (i.e., two error bits) and to correct 11-bit error (i.e., one error bit). Namely, the ECC circuit with Hamming codes functions to detect and correct one error bit and to detect two error bits.
  • The semiconductor memory device 100 uses the ECC circuit 140 to correct a 1-bit error (i.e., one error bit) and uses the CRC circuit 130 to detect a 3-bit error or greater (i.e., three or more error bits).
  • FIG. 2 is a block diagram illustrating the CRC circuit 130 shown in FIG. 1. Referring to FIG. 2, the CRC circuit 130 is comprised of a selection circuit 131; a CRC engine 132, and a comparator 133. The CRC circuit 130 receives the write data Data_W during the write operation, and generates the write CRC code CRC_W to the cell array. The CRC circuit 130 receives the read data Data_R during the read operation, and internally generates the read CRC code CRC_R. The CRC circuit 130 generates the pass or fail signal in accordance with a result of comparing the write CRC code CRC_W from the cell array with the read CRC code CRC_R.
  • The selection circuit 131 alternatively outputs one of the write data Data W and the read data Data_R in response to a command CMD. The command may be a write command or a read command. The selection circuit 131 outputs the write data Data_W in response to the write command and outputs the read data Data_R in response to the read command. The read data Data_R is data corrected by the ECC circuit 140.
  • The CRC engine 132 receives the write data Data_W and outputs the write CRC code CRC_W to the cell array. The CRC engine 132 receives the read data Data_R and outputs the read CRC code CRC_R. The CRC engine may be utilized for verifying data reliability in the fields of data communication, data compression, data storage media (e.g., magnetic tapes, magnetic disc, and so forth), and the like. For example, with a 32-bit CRC engine, the probability that a bit error will be missed is than 2−32. The probability that the CRC engine won't detect a bit error is close to zero.
  • The comparator 133 compares the read CRC code CRC_R up with the write CRC code CRC_W. The comparator 133 generates the pass signal Pass when the read CRC code CRC_R matches the write CRC code CRC_W, or generates the fail signal Fail when the read CRC code CRC_R mismatches the write CRC code CRC_W.
  • Returning to FIG. 1, the semiconductor memory device 100 according to an embodiment of the present invention employs the CRC circuit 130 to detect error bits that have not been discovered by the ECC circuit 140. The CRC circuit 130 may detect error bits that have not been detected by the ECC circuit 140, as well as correct a predetermined bit error (i.e., one error bit) by the ECC circuit 140. As a result, the semiconductor memory device 100 achieves higher reliability for bit error than may be achieved by using the ECC circuit 140 alone.
  • FIG. 3 is a block diagram illustrating a semiconductor memory device in accordance with an embodiment of the present invention. Referring to FIG. 3, the semiconductor memory device 200 shown in FIG. 3 further includes an additional ECC circuit, e.g., a second ECC circuit 250, relative to the semiconductor memory device 100 of FIG. 1. In FIG. 3, a CRC circuit 230 and a first ECC circuit 240 operate substantially the same as the CRC and ECC circuits 130 and 140 of FIG. 1.
  • The second ECC circuit 250 detects error bits that are generated from the write CRC code CRC_W in the semiconductor memory device 200. The semiconductor memory device 200 achieves higher reliability for bit error as compared to the semiconductor memory device 100 shown in FIG. 1.
  • The second ECC circuit 250 receives the write CRC code CRC_W from the CRC circuit 230 during the write operation, and receives the read CRC code CRC_R from the cell array 110 during the read operation. The second ECC circuit 250 generates a second ECC code ECC_2 from the write CRC code CRC_W. The ECC code generated from the first ECC circuit 240 is referred to as the first ECC code ECC_1. The second ECC circuit 250 provides the cell array 210 with the write CRC code CRC_W and the second ECC code ECC_2.
  • The second ECC circuit 250 detects and corrects an error bit of the read CRC code CRC_R, which is input from the cell array 210, by means of the second ECC code ECC_2 stored in the cell array 210. The second ECC circuit 250 corrects the error bit of the read CRC code CRC_R and thereafter provides a corrected read CRC code CRC_R′ to the CRC circuit 230.
  • The CRC circuit 230 internally generates a read CRC code CRC_R″ from the read data Data_R. The CRC circuit 230 compares the internally generated read CRC code CRC_R″ with the corrected read CRC code CRC_R′, and generates the pass or fail signal.
  • Referring to FIG. 3, the semiconductor memory device 200 includes the second ECC circuit 250 to correct a bit error of the CRC code generated by the CRC circuit 230. Thus, the semiconductor memory device 200 increases the reliability of correcting bit errors as compared to the semiconductor memory device 100 shown in FIG. 1.
  • FIGS. 4A through 7 show features of a semiconductor memory device 300 according to an embodiment of the present invention. The semiconductor memory device 300 is a NAND flash memory device. FIG. 4A illustrates a data flow during a write operation. FIG. 4B illustrates a data flow during a read operation. FIG. 5 illustrates an internal structure of the CRC circuit 330 shown in FIGS. 4A and 4B. FIGS. 6 and 7 are flow charts showing the write and read operations, respectively.
  • Referring to FIGS. 4A and 4B, the NAND flash memory device 300 according to an embodiment of the present invention includes a cell array composed of main and spare regions 310 and 311, and page buffers 312 and 313, a data buffer 320, a CRC circuit 330, a first ECC circuit 340, and a second ECC circuit 350.
  • The cell array of the NAND flash memory device 300 is divided into the main and spare regions 310 and 311. The page buffers are also divided into the main page buffer 312 corresponding to the main region 310 and the spare page buffer 313 corresponding to the spare region 311. Configurations and operations of the cell array and page buffers in the NAND flash memory device 300 are well known by those skilled in this art, and further descriptions are omitted..
  • Referring to FIG. 4A, the CRC circuit 330 receives the write data Data_W and generates the write CRC code CRC_W. The first ECC circuit 340 receives the write data Data W and generates the first ECC code ECC_1. The second ECC circuit 350 receives the write data Data_W and generates the second ECC code ECC_2. The write data Data_W are stored in the main page buffer 312. The first ECC code ECC_1, the second ECC code ECC 2, and the write CRC code CRC_W are stored in fields (a), (b), and (c) of the spare page buffer 313. The write data Data_W stored in the main page buffer 312 are programmed into the main region 310. The first ECC code ECC_1, the second ECC code ECC_2, and the write CRC code CRC_W, which are stored in the spare page buffer 313, are programmed into the spare region 311.
  • Referring to FIG. 4B, the first ECC circuit 340 detects and corrects a bit error of the read data Data_R by means of the first ECC code ECC_1. The first ECC circuit 340 detects and corrects one error bit (i.e., a 1-bit error). If more than two error bits are detected, the first ECC circuit 340 generates the fail signal Fail. The second ECC circuit 350 detects and corrects a bit error of the read CRC code CRC_R by means of the second ECC code ECC_2. The second ECC circuit 350 corrects the bit error when the bit error is defected. If more than two error bits are detected, the second ECC circuit 350 generates the fail signal Fail.
  • Referring to FIG. 5, the CRC circuit 330 receives the corrected read data Data_R′ from the first ECC circuit 340, and internally generates the read CRC code CRC_R″. The CRC circuit 330 compares the internal read CRC code CRC_R″ with the corrected read CRC code CRC_R′ that is generated by the second ECC circuit 350. The CRC circuit 330 generates the fail signal Fail when the two codes are different from one another.
  • FIG. 6 is a flow chart showing the write operation of the NAND flash memory device as shown in FIG. 4A. At block S110, the write CRC code CRC_W is generated corresponding to the write data Data_W. Referring to FIG. 4A, the CRC circuit 330 receives the write data Data_W from the data bluffer 320, and generates the write CRC code CRC_W.
  • At block S120, the ECC codes ECC_1 and ECC_2 are generated corresponding to the write data Data_W and the write CRC code CRC_W, respectively. Referring to FIG. 4A, the first ECC circuit 340 receives the write data Data_W and generates the first ECC code ECC_1 for the write data code Data_W. The second ECC circuit 350 receives the write CRC code CRC_W and generates the second ECC code ECC_2 for the write data code Data_W.
  • At block S130, the main region 310 is programmed with the write data Data_W, and the spare region 311 is programmed with the first ECC code ECC_1, the second ECC code ECC 2, and the write CRC code CRC_W.
  • FIG. 7 is a flow chart showing the read operation of the NAND flash memory device as shown in FIG. 4B. At block S210, data read out from the cell array is stored in the page buffer. The data stored in the page buffer is programmed in the cell array during the write operation. Referring to FIG. 4B, the read data Data_R from the main region 310 is stored in the main page buffer 312. The first ECC code ECC_1, the second ECC code ECC_2, and the read CRC code CRC_R, which are read out from the spare region 311, are stored in the spare page buffer 313.
  • At block S220 checks are performed for bit errors on the read data Data_R of the main page buffer 312 and the read CRC code CRC_R of the spare page buffer 313. Referring to FIG. 4B, the first ECC circuit 340 detects a bit error on the read data Data_R by means of the first ECC code ECC_1. The second ECC circuit 350 detects a bit error on the read CRC code CRC_R by means of the second ECC code ECC_2.
  • At block S230, a bit error (or an error bit) is detected from the read data Data_R and the read CRC code CRC_R. If there is a bit error, the procedure goes to block S240. Unless there is a bit error, the procedure moves to block S232.
  • Block S232 is carried out when there is no bit error; the first ECC circuit 340 directly outputs the read data Data_R, wherein, Data_R=Data_R′. The second ECC circuit 350 directly outputs the read CRC code CRC_R wherein, CRC_R=CRC_R′.
  • At block S240 the bit error is corrected. It is assumed that the first and second ECC circuits 340 and 350 are designed to correct a 1-bit error. If more than two error bits are detected at block S230, the first and second ECC circuits 340 and 350 may not correct the error bits. Where three or more error bits are detected, the procedure goes to block S280. At block S280, the read data is treated as being failed. Otherwise, if one error bit is detected at block S230, the error bit (i.e., the 1-bit error) is corrected therein. The procedure moves to block S242.
  • At block S242, the detected error bit is corrected. Referring to FIG. 4B, the first ECC circuit 340 corrects the bit error of the read data Data_R and outputs the corrected read data Data_R′. The second ECC circuit 350 corrects the bit error of the read CRC code CRC_R and outputs the corrected read CRC code CRC_R′.
  • At block S250, the read CRC code CRC_R″ is generated in correspondence with the corrected read data Data_R′. Referring to FIGS. 4B and 5, the CRC circuit 330 receives the corrected read data Data R′ and internally generates the read CRC code CRC_R″.
  • At block S260, the internal read CRC code CRC_R″ is compared to the corrected read CRC code CRC_R′. Referring to FIG. 5, the comparator 333 compares the internal read CRC code CRC_R″ with the corrected read CRC code CRC_R′ provided by the second ECC 350. The comparator. 333 generates the pass signal Pass when CRC_R′ matches CRC_R″ (block S270), and generates the fail signal Fail when CRC_R′ does not match CRC_R″ (block S280).
  • Referring to FIGS. 4A through 7, the NAND flash memory device 300 according to an embodiment of the present invention corrects a bit error of data by means of the first ECC circuit 340, detects a bit error, which has not been detected by the first ECC circuit 340, by means of the CRC circuit 330, and corrects a bit error of the CRC code by means of the second ECC circuit 350.
  • The NAND flash memory device 300 programs the CRC code along with data, without programming an additional confirm mark or flag. The write operation need only be performed once, wherein the CRC code functions as the confirm mark.
  • As described above, the semiconductor memory device and bit error correction method according to an embodiment of the present invention detects a bit error, which has not been detected by the ECC circuit, by means of the CRC circuit, and corrects a predetermined bit error (e.g., a 1-bit error) by means of the ECC circuit.
  • The above-disclosed subject matter is to be considered illustrative, and not restrictive, and the appended claims are intended to cover all such modifications, enhancements, and other embodiments, which fall within the true spirit and scope of the present invention. Thus, to the maximum extent allowed by law, the scope of the present invention is to be determined by the broadest permissible interpretation of the following claims and their equivalents, and shall not be restricted or limited by the foregoing detailed description.

Claims (20)

1. A semiconductor memory device comprising:
a cyclic redundancy check (CRC) circuit generating a write CRC code corresponding to data to be stored in memory cells; and
an error correction code (ECC) circuit generating an ECC code corresponding to the data and detecting and correcting a bit error of the data by means of the ECC code during a read operation,
wherein the CRC circuit generates a read CRC code corresponding to data corrected by the ECC circuit during the read operation, and corrects a bit error of the data according to a comparison of the read CRC code and the write CRC code.
2. The semiconductor memory device as set forth in claim 1, wherein the CRC circuit generates a pass signal when the read CRC code matches the write CRC code and generates a fail signal when the read CRC code does not match the write CRC code.
3. The semiconductor memory device as set forth in claim 1, wherein the CRC circuit comprises:
a CRC engine receiving the data corrected by the ECC circuit and generating the read CRC code; and
a comparator generating the pass signal when the read CRC code matches with the write CRC code, and generating the fail signal when the read CRC code does not match the write CRC code.
4. The semiconductor memory device as set forth in claim 1, wherein the semiconductor memory device is a NAND flash memory device comprising a cell array divided into main and spare regions, and
wherein the data is programmed into the main region and the ECC and CRC codes are programmed into the spare region.
5. The semiconductor memory device as set forth in claim 4, wherein the ECC circuit detects two error bits and corrects one error bit, and
wherein the CRC circuit detects more than two error bits.
6. A semiconductor memory device comprising:
a cyclic redundancy check (CRC) circuit generating a write CRC code corresponding to data to be stored in memory cells;
a first error correction code (ECC) circuit generating a first ECC code corresponding to the data and detecting and correcting a bit error of the data by means of the first ECC code during a read operation; and
a second ECC circuit generating a second ECC code corresponding to the write CRC data and detecting and correcting a bit error of the write CRC code by means of the second ECC code during the read operation,
wherein the CRC circuit generates a read CRC code corresponding to data corrected by the first ECC circuit during the read operation, and corrects a bit error of the data according to a comparison of the read CRC code and the write CRC code corrected by the second ECC circuit.
7. The semiconductor memory device as set forth in claim 6, wherein the CRC circuit generates a pass signal when the read CRC code matches the corrected write CRC code, and generates a fail signal when the read CRC code does not match the corrected write CRC code.
8. The semiconductor memory device as set forth in claim 6, wherein the CRC circuit comprises:
a CRC engine receiving the data corrected by the first ECC circuit and generating the read CRC code; and
a comparator generating the pass signal when the read CRC code matches the corrected write CRC code, and generating the fail signal when the read CRC code does not match the corrected write CRC code.
9. The semiconductor memory device as set forth in claim 6, wherein the semiconductor memory device is a NAND flash memory device that has a cell array divided into main and spare regions, and
wherein the data is programmed into the main region and the first and second ECC codes and the CRC code are programmed into the spare region.:
10. The semiconductor memory device as set forth in claim 9, wherein the first and second ECC circuits each detect two error bits and correct one error bit, and
wherein the CRC circuit detects more than two error bits.
11. The semiconductor memory device as set forth in claim 9, wherein the data, the first and second ECC codes, and the CRC code are programmed substantially simultaneously.
12. A method of detecting a bit error in a semiconductor memory device, comprising:
generating error correction code (ECC) and cyclic redundancy check (CRC) codes corresponding to data to be stored in memory cells;
storing the data in the memory cells;
correcting a bit error for the data stored in the memory cells by means of the ECC code;
generating a read CRC code corresponding to the data corrected with the bit error; and
detecting a bit error of the data according to a comparison of the read CRC code to the write CRC code.
13. The method as set forth in claim 12, wherein correcting the bit error comprises treating the data as being failed when the number of error bits is over a correctable number of error bits.
14. The method as set forth in claim 12, further comprising determining a failure of the data when the read CRC code does not match the write CRC code.
15. The method as set forth in claim 12, wherein the semiconductor memory device is a NAND flash memory device comprising a cell array divided into main and spare regions,
the method further comprising programming the data into the main region and programming the ECC and CRC codes into the spare region.
16. The method as set forth in claim 15, wherein correcting the bit error comprises detecting two error bits and correcting one error bit, and
wherein detecting the bit error of the data comprises determining a bit error in a corrected bit error.
17. A method of detecting a bit error in a semiconductor memory device, comprising:
generating a write cyclic redundancy check (CRC) code corresponding to data to be stored in memory cells;
generating a first error correction code (ECC) code corresponding to the data to be stored in the memory cells, and a second ECC code corresponding to the write CRC code;
programming the data, the write CRC code, and the first and second ECC codes into the memory cells;
correcting a bit error of the data by means of the first ECC code, and a bit error of the write CRC code by means of the second ECC code;
generating a read CRC code corresponding to the data corrected with the bit error; and
detecting a bit error of the data according to a comparison of the read CRC code and the write CRC code corrected with the bit error.
18. The method as set forth in claim 17, wherein correcting the bit error further comprises treating the data as being failed when the number of error bits is over a correctable number of error bits.
19. The method as set forth in claim 17, wherein the semiconductor memory device is a NAND flash memory device comprising a cell array divided into main and spare regions, and
the method further comprising programmed the data into the main region, and the first ECC codes, the second ECC codes, and the CRC code are programmed into the spare region.
20. The method as set forth in claim 19, wherein correcting the bit error comprises detecting two error bits and correcting one error bit, and
wherein detecting the bit error of the data further comprises determining a bit error in a corrected bit error.
US11/582,106 2005-10-24 2006-10-17 Semiconductor memory device and bit error detection method thereof Abandoned US20080016428A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US11/748,933 US8479077B2 (en) 2005-10-24 2007-05-15 Memory device and bit error detection method thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020050100406A KR100681429B1 (en) 2005-10-24 2005-10-24 Semiconductor memory device and bit error detection method thereof
KR2005-100406 2005-10-24

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US11/748,933 Continuation-In-Part US8479077B2 (en) 2005-10-24 2007-05-15 Memory device and bit error detection method thereof

Publications (1)

Publication Number Publication Date
US20080016428A1 true US20080016428A1 (en) 2008-01-17

Family

ID=38106101

Family Applications (2)

Application Number Title Priority Date Filing Date
US11/582,106 Abandoned US20080016428A1 (en) 2005-10-24 2006-10-17 Semiconductor memory device and bit error detection method thereof
US11/748,933 Active 2031-01-31 US8479077B2 (en) 2005-10-24 2007-05-15 Memory device and bit error detection method thereof

Family Applications After (1)

Application Number Title Priority Date Filing Date
US11/748,933 Active 2031-01-31 US8479077B2 (en) 2005-10-24 2007-05-15 Memory device and bit error detection method thereof

Country Status (2)

Country Link
US (2) US20080016428A1 (en)
KR (1) KR100681429B1 (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080163031A1 (en) * 2006-12-28 2008-07-03 Genesys Logic, Inc. Method of facilitating reliably accessing flash memory
US20100332946A1 (en) * 2009-06-30 2010-12-30 Sang Kyu Lee Method of operating nonvolatile memory device and nonvolatile memory device for implementing the same
US20110087932A1 (en) * 2007-11-03 2011-04-14 Texas Instruments Incorporated Method and System for Detecting a Failure In an Error Correcting Unit
US20120278681A1 (en) * 2011-04-29 2012-11-01 Freescale Semiconductor, Inc. Selective error detection and error correction for a memory interface
TWI393146B (en) * 2008-10-15 2013-04-11 Genesys Logic Inc Flash memory controller having configuring unit of error correction code (ecc) capability and method thereof
US8495465B1 (en) * 2009-10-15 2013-07-23 Apple Inc. Error correction coding over multiple memory pages
US8566672B2 (en) 2011-03-22 2013-10-22 Freescale Semiconductor, Inc. Selective checkbit modification for error correction
US8902653B2 (en) 2011-08-12 2014-12-02 Micron Technology, Inc. Memory devices and configuration methods for a memory device
US8990657B2 (en) 2011-06-14 2015-03-24 Freescale Semiconductor, Inc. Selective masking for error correction
US8990660B2 (en) 2010-09-13 2015-03-24 Freescale Semiconductor, Inc. Data processing system having end-to-end error correction and method therefor
DE102016107285A1 (en) * 2016-04-20 2017-10-26 Infineon Technologies Ag METHOD FOR USING A MEMORY DEVICE, MEMORY DEVICE AND MEMORY DEVICE ARRANGEMENT
CN111858135A (en) * 2020-06-17 2020-10-30 百富计算机技术(深圳)有限公司 Data storage method, data storage device, data verification device, terminal equipment and storage medium

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100681429B1 (en) 2005-10-24 2007-02-15 삼성전자주식회사 Semiconductor memory device and bit error detection method thereof
US7801084B2 (en) * 2006-06-09 2010-09-21 Intel Corporation Doppler frequency determination for mobile wireless devices
US7774684B2 (en) * 2006-06-30 2010-08-10 Intel Corporation Reliability, availability, and serviceability in a memory device
JP4564520B2 (en) 2007-08-31 2010-10-20 株式会社東芝 Semiconductor memory device and control method thereof
US8132074B2 (en) 2007-11-19 2012-03-06 Intel Corporation Reliability, availability, and serviceability solutions for memory technology
US8352835B2 (en) * 2009-06-10 2013-01-08 International Business Machines Corporation Data verification using checksum sidefile
US8612828B2 (en) * 2009-12-22 2013-12-17 Intel Corporation Error correction mechanisms for 8-bit memory devices
JP2013522779A (en) * 2010-03-22 2013-06-13 モサイド・テクノロジーズ・インコーポレーテッド Composite semiconductor memory device with error correction
DE102010035361B4 (en) * 2010-08-25 2022-08-18 Arnold & Richter Cine Technik Gmbh & Co. Betriebs Kg camera system
US8468423B2 (en) 2011-09-01 2013-06-18 International Business Machines Corporation Data verification using checksum sidefile
US9128862B2 (en) 2012-02-23 2015-09-08 International Business Machines Corporation Efficient checksums for shared nothing clustered filesystems
KR102204391B1 (en) 2014-08-18 2021-01-18 삼성전자주식회사 Memory device having sharable ECC (Error Correction Code) cell array
KR101609510B1 (en) * 2015-04-10 2016-04-06 홍익대학교 산학협력단 Computing method and apparatus for correcting and detecting of error
US10223199B2 (en) 2016-09-23 2019-03-05 Sandisk Technologies Llc Non-volatile memory configured to return error reduced read data
WO2019127350A1 (en) 2017-12-29 2019-07-04 Micron Technology, Inc. Uncorrectable ecc
US10642536B2 (en) 2018-03-06 2020-05-05 Western Digital Technologies, Inc. Non-volatile storage system with host side command injection
US10990294B2 (en) 2018-03-26 2021-04-27 Western Digital Technologies, Inc. Non-volatile storage system with multi-read mode
JP7182373B2 (en) * 2018-04-24 2022-12-02 ラピスセミコンダクタ株式会社 Semiconductor integrated circuit, memory device and error correction method
CN110874282B (en) * 2018-08-31 2023-03-21 群联电子股份有限公司 Data access method, memory control circuit unit and memory storage device
CN109545267A (en) * 2018-10-11 2019-03-29 深圳大普微电子科技有限公司 Method, solid state hard disk and the storage device of flash memory self-test
TWI689935B (en) * 2019-04-02 2020-04-01 華邦電子股份有限公司 Memory with error correction circuit
US11200106B2 (en) * 2019-08-12 2021-12-14 Advanced Micro Devices, Inc. Data integrity for persistent memory systems and the like
US11416331B2 (en) * 2020-12-09 2022-08-16 Micron Technology, Inc. Modified checksum using a poison data pattern

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6836869B1 (en) * 2001-02-02 2004-12-28 Cradle Technologies, Inc. Combined cyclic redundancy check (CRC) and Reed-Solomon (RS) error checking unit
US20070226588A1 (en) * 2005-10-24 2007-09-27 Lee Shea-Yun Memory Device and Bit Error Detection Method Thereof
US20080005646A1 (en) * 2006-06-30 2008-01-03 Bains Kuljit S Reliability, availability, and serviceability in a memory device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4403303A (en) * 1981-05-15 1983-09-06 Beehive International Terminal configuration manager
JPH09116541A (en) * 1995-10-16 1997-05-02 Toshiba Corp Communication controller
KR100266748B1 (en) * 1997-12-31 2000-10-02 윤종용 Semiconductor memory device and error correction method thereof
US7283965B1 (en) * 1999-06-30 2007-10-16 The Directv Group, Inc. Delivery and transmission of dolby digital AC-3 over television broadcast
JP3703439B2 (en) * 2002-03-19 2005-10-05 Necマイクロシステム株式会社 Data transfer control device and method
KR100463207B1 (en) 2003-02-21 2004-12-23 삼성전자주식회사 Error control system for preventing error of flash memory
US7418645B2 (en) * 2003-09-24 2008-08-26 Hitachi Global Storage Technologies Netherlands B.V. Error correction/detection code adjustment for known data pattern substitution
KR100577988B1 (en) 2003-12-24 2006-05-11 주식회사 포인칩스 Flash Memory Having Enhanced Error Detection Capability and Method for Detecting Multi-Bit Errors
US7673080B1 (en) * 2004-02-12 2010-03-02 Super Talent Electronics, Inc. Differential data transfer for flash memory card
US7607025B1 (en) * 2004-02-26 2009-10-20 Xilinx, Inc. Methods of intrusion detection and prevention in secure programmable logic devices

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6836869B1 (en) * 2001-02-02 2004-12-28 Cradle Technologies, Inc. Combined cyclic redundancy check (CRC) and Reed-Solomon (RS) error checking unit
US20070226588A1 (en) * 2005-10-24 2007-09-27 Lee Shea-Yun Memory Device and Bit Error Detection Method Thereof
US20080005646A1 (en) * 2006-06-30 2008-01-03 Bains Kuljit S Reliability, availability, and serviceability in a memory device

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080163031A1 (en) * 2006-12-28 2008-07-03 Genesys Logic, Inc. Method of facilitating reliably accessing flash memory
US8010876B2 (en) * 2006-12-28 2011-08-30 Genesys Logic, Inc. Method of facilitating reliable access of flash memory
US20110087932A1 (en) * 2007-11-03 2011-04-14 Texas Instruments Incorporated Method and System for Detecting a Failure In an Error Correcting Unit
US8423836B2 (en) * 2007-11-03 2013-04-16 Texas Instruments Incorporated Method and system for detecting a failure in an error correcting unit
TWI393146B (en) * 2008-10-15 2013-04-11 Genesys Logic Inc Flash memory controller having configuring unit of error correction code (ecc) capability and method thereof
US20100332946A1 (en) * 2009-06-30 2010-12-30 Sang Kyu Lee Method of operating nonvolatile memory device and nonvolatile memory device for implementing the same
US8504896B2 (en) * 2009-06-30 2013-08-06 Hynix Semiconductor Inc. Method of operating nonvolatile memory device and nonvolatile memory device for implementing the same
US8495465B1 (en) * 2009-10-15 2013-07-23 Apple Inc. Error correction coding over multiple memory pages
US8990660B2 (en) 2010-09-13 2015-03-24 Freescale Semiconductor, Inc. Data processing system having end-to-end error correction and method therefor
US8566672B2 (en) 2011-03-22 2013-10-22 Freescale Semiconductor, Inc. Selective checkbit modification for error correction
US8607121B2 (en) * 2011-04-29 2013-12-10 Freescale Semiconductor, Inc. Selective error detection and error correction for a memory interface
US20120278681A1 (en) * 2011-04-29 2012-11-01 Freescale Semiconductor, Inc. Selective error detection and error correction for a memory interface
US8990657B2 (en) 2011-06-14 2015-03-24 Freescale Semiconductor, Inc. Selective masking for error correction
US8902653B2 (en) 2011-08-12 2014-12-02 Micron Technology, Inc. Memory devices and configuration methods for a memory device
US9594676B2 (en) 2011-08-12 2017-03-14 Micron Technology, Inc. Configuring and reconfiguring blocks of memory cells to store user data and ECC data
US10409673B2 (en) 2011-08-12 2019-09-10 Micron Technology, Inc. Memory devices having differently configured blocks of memory cells
US10891187B2 (en) 2011-08-12 2021-01-12 Micron Technology, Inc. Memory devices having differently configured blocks of memory cells
US10891188B2 (en) 2011-08-12 2021-01-12 Micron Technology, Inc. Memory devices having differently configured blocks of memory cells
DE102016107285A1 (en) * 2016-04-20 2017-10-26 Infineon Technologies Ag METHOD FOR USING A MEMORY DEVICE, MEMORY DEVICE AND MEMORY DEVICE ARRANGEMENT
US10157095B2 (en) 2016-04-20 2018-12-18 Infineon Technologies Ag Method of using a memory device, memory device and memory device assembly
DE102016107285B4 (en) 2016-04-20 2019-04-25 Infineon Technologies Ag METHOD FOR USING A MEMORY DEVICE, MEMORY DEVICE AND MEMORY DEVICE ARRANGEMENT
CN111858135A (en) * 2020-06-17 2020-10-30 百富计算机技术(深圳)有限公司 Data storage method, data storage device, data verification device, terminal equipment and storage medium

Also Published As

Publication number Publication date
US8479077B2 (en) 2013-07-02
US20070226588A1 (en) 2007-09-27
KR100681429B1 (en) 2007-02-15

Similar Documents

Publication Publication Date Title
US8479077B2 (en) Memory device and bit error detection method thereof
US8954818B2 (en) Error detection and correction scheme for a memory device
US10153048B2 (en) Method and apparatus for reading data stored in flash memory by referring to binary digit distribution characteristics of bit sequences read from flash memory
US8429468B2 (en) System and method to correct data errors using a stored count of bit values
US8627180B2 (en) Memory controller ECC
US8566675B2 (en) Data handling
US7813187B2 (en) Multi-bit flash memory device and program method thereof
US20160041875A1 (en) Semiconductor memory device and method of controlling the same
US11204825B2 (en) Memory device and repair method with column-based error code tracking
JP2011502322A (en) System error correction of multi-level flash memory
US8347183B2 (en) Flash memory device using ECC algorithm and method of operating the same
US20080082869A1 (en) Memory control unit
US8347201B2 (en) Reading method of a memory device with embedded error-correcting code and memory device with embedded error-correcting code
KR100577988B1 (en) Flash Memory Having Enhanced Error Detection Capability and Method for Detecting Multi-Bit Errors
US20100180183A1 (en) Circuit for reducing the read disturbance in memory
US11809272B2 (en) Error correction code offload for a serially-attached memory device
KR100982580B1 (en) Data error correction device and method for flash memory

Legal Events

Date Code Title Description
AS Assignment

Owner name: SAMSUNG ELECTRONICS CO., LTD., KOREA, REPUBLIC OF

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:LEE, SHEA-YUN;SONG, DONG-HYUN;KIM, JANG-HWAN;AND OTHERS;REEL/FRAME:018436/0283;SIGNING DATES FROM 20060802 TO 20061012

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO PAY ISSUE FEE