CN105511981A - Method for rapidly detecting NAND Flash memory - Google Patents

Method for rapidly detecting NAND Flash memory Download PDF

Info

Publication number
CN105511981A
CN105511981A CN201510829274.6A CN201510829274A CN105511981A CN 105511981 A CN105511981 A CN 105511981A CN 201510829274 A CN201510829274 A CN 201510829274A CN 105511981 A CN105511981 A CN 105511981A
Authority
CN
China
Prior art keywords
test data
write
internal memory
nandflash
judge
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.)
Pending
Application number
CN201510829274.6A
Other languages
Chinese (zh)
Inventor
王振
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.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication Technology 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201510829274.6A priority Critical patent/CN105511981A/en
Publication of CN105511981A publication Critical patent/CN105511981A/en
Pending legal-status Critical Current

Links

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
    • 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/1012Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices using codes or arrangements adapted for a specific type of error
    • G06F11/1016Error in accessing a memory location, i.e. addressing error
    • 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/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1405Saving, restoring, recovering or retrying at machine instruction level
    • G06F11/141Saving, restoring, recovering or retrying at machine instruction level for bus or memory accesses

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

The invention provides a method for rapidly detecting NAND Flash memory. The method comprises following steps: wiping out one storage unit block of NAND Flash memory; writing in testing data into one storage unit page of the storage unit block; reading written-in testing data; determining the abnormality of data lines based on original written-in testing data and read testing data of the storage unit page; determining the NAND Flash memory as abnormal if the data lines are abnormal; and determining the NAND Flash memory as normal otherwise. The method for rapidly detecting NAND Flash memory helps to avoid the problem that memory storage space of whole NAND Flash memory is detected during a traditional test of NAND Flash memory so that testing time is effectively reduced and test efficiency is raised.

Description

A kind of method of quick detection NAND Flash internal memory
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of method of quick detection NANDFlash internal memory.
Background technology
NANDFlash internal memory shows one of commercially main nonvolatile flash memory technology.First Inter company developed NORFlash technology in 1988, revolutionized the situation originally having EPROM and EEPROM to rule all the land.Within 1989, Toshiba has delivered NANDFlash internal storage structure, emphasizes the cost reducing every bit, has higher performance, and easily can be upgraded by interface as disk.The structure of NANDFlash internal memory can improve high cell density, can reach high storage density, can accomplish Gbit rank, and the speed of write and erasing is also very fast, also has the advantage on cost simultaneously.
When testing in the process of changing the line of production, detect if travel through whole NANDFlash memory storage space, then need to spend the plenty of time.In addition, when detecting, the write operation of NANDFlash memory devices can only sky or carry out in the unit wiped, so in most cases, first must perform erasing before carrying out write operation.The method that traditional NANDFlash internal memory detects is the whole space content of erasing NANDFlash internal memory, takes a large amount of time.Therefore, a kind of method that can detect NANDFlash internal memory is fast provided, becomes current problem demanding prompt solution.
Summary of the invention
In view of the above problems, the application describes a kind of method of quick detection NANDFlash internal memory, and described method comprises step:
A memory cell block of erasing NANDFlash internal memory;
Test data is write in a storage unit page of described memory cell block;
Read the described test data of write;
Judge that whether data line is normal according to the test data of original write and the test data of reading in described storage unit page;
If abnormal, judge NANDFlash memory abnormal; Otherwise, judge that NANDFlash internal memory is normal.
Preferably, described test data is write in base address 0 skew place of described storage unit page.
Preferably, when reading the described test data of write, the address space from the place of described base address is read successively.
Preferably, judge that the whether normal process of described data line comprises step according to the test data of write original in described memory cell block and the test data of reading:
The test data of the test data of original write and reading is carried out XOR, and whether judged result is 0;
If result is 0, judge that described data line is normal; Otherwise, judge that described data line is abnormal.
Preferably, when described data line is normal, judge address wire and corresponding control signal wire normal.
Preferably, the described test data of write is 0xaa and 0x55 alternately.
Technique scheme tool has the following advantages or beneficial effect: the method for the quick detection NANDFlash internal memory that the present invention proposes, when avoiding traditional test NANDFlash internal memory, travel through whole NANDFlash memory storage space to detect, effectively can reduce the test duration, improve testing efficiency.
Accompanying drawing explanation
With reference to appended accompanying drawing, to describe embodiments of the invention more fully.But, appended accompanying drawing only for illustration of and elaboration, do not form limitation of the scope of the invention.
Fig. 1 is the schematic flow sheet one of the method for a kind of quick detection NANDFlash internal memory of the present invention;
Fig. 2 is the schematic flow sheet two of the method for a kind of quick detection NANDFlash internal memory of the present invention.
Embodiment
Be described in detail below in conjunction with the method for the drawings and specific embodiments to a kind of quick detection NANDFlash internal memory of the present invention.
As shown in Figure 1, a kind of method of quick detection NANDFlash internal memory, comprises step:
A memory cell block of erasing NANDFlash internal memory, and test data is write in the storage unit page of this memory cell block;
Read back write described test data;
According to the test data of original write and the test data of reading back judge data line or address wire whether normal;
If abnormal, judge NANDFlash memory abnormal; Otherwise, judge that NANDFlash internal memory is normal.
For NANDFlash internal memory, its storage space is made up of some memory cell blocks, and each memory cell block is made up of some storage unit pages again.In actual applications, memory cell block is minimum erase unit, but storage unit page is minimum writing unit.Example is saved as in the NANDFlash being K9F4G08U0D-SCB0 with a model of Samsung, the capacity of this NANDFlash internal memory is 4Gbit, a slice K9F4G08U0D-SCB0 is made up of 4096 memory cell blocks, a block comprises 64 storage unit pages, and each storage unit page comprises (2K+64) Byte.
When internally depositing into row and detecting, before the write operation of any NANDFlash internal memory, all first erase operation must be carried out.Due to the erase unit that memory cell block is minimum, therefore in the present embodiment, first wipe any one memory cell block of internal memory, and then write test data in certain storage unit page of this memory cell block.Finally, to read back this test data.When whether test data line or address wire be normal, need the test data contrasting original write and the test data of reading back.If both are identical, then prove that data line is normal, can illustrate that address wire and relevant control signal wire are also normal simultaneously.
Wherein, as shown in Figure 2, write described test data in base address 0 skew place of described storage unit page, and when reading the described test data of write, read the address space from the place of described base address successively.
Judge that the whether normal process of described data line comprises step according to the test data of write original in described memory cell block and the test data of reading:
The test data of the test data of original write and reading is carried out XOR, and whether judged result is 0;
If result is 0, judge that described data line is normal; Otherwise, judge that described data line is abnormal.
Specifically, the structure of the test data of write can be as follows:
Test_Data={0xaa,0x55,0xaa,0x55,0xaa,0x55,0xaa,0x55}
Under normal circumstances, data line is abnormal causes primarily of two kinds of situations: data line short circuit or data line open circuit.In order to whether test data line has short circuit or open circuit, can to the base address 0 skew place write test data of test.Read the address space from the place of base address successively, then by the test data of write and the test data phase XOR of reading, if result is not 0, then illustrate that address wire/data line exists abnormal.If result is 0, then illustrate that the test data of reading is identical with the test data of write, then illustrate that data line is normal, can indirect proof address wire and relevant control signal wire also be normal simultaneously.
In the present embodiment, the method of the quick detection NANDFlash internal memory proposed, by a memory cell block of erasing NANDFlash internal memory, write the data of a storage unit page again, then the data of this storage unit page are read, and carry out XOR with raw data, judge that whether NANDFlash internal memory is abnormal.It is worthy of note, the test data of write can be 0xaa and 0x55 alternately.By the method, when avoiding traditional test NANDFlash internal memory, travel through whole NANDFlash memory storage space and detect, effectively can reduce the test duration, improve testing efficiency.
For a person skilled in the art, after reading above-mentioned explanation, various changes and modifications undoubtedly will be apparent.Therefore, appending claims should regard the whole change and correction of containing true intention of the present invention and scope as.In Claims scope, the scope of any and all equivalences and content, all should think and still belong to the intent and scope of the invention.

Claims (6)

1. detect a method for NANDFlash internal memory fast, it is characterized in that, described method comprises step:
A memory cell block of erasing NANDFlash internal memory;
Test data is write in a storage unit page of described memory cell block;
Read the described test data of write;
Judge that whether data line is normal according to the test data of original write and the test data of reading in described storage unit page;
If abnormal, judge NANDFlash memory abnormal; Otherwise, judge that NANDFlash internal memory is normal.
2. the method for quick detection NANDFlash internal memory according to claim 1, is characterized in that, write described test data in base address 0 skew place of described storage unit page.
3. the method for quick detection NANDFlash internal memory according to claim 2, is characterized in that, when reading the described test data of write, reads the address space from the place of described base address successively.
4. the method for the quick detection NANDFlash internal memory according to Claims 2 or 3, is characterized in that, judges that the whether normal process of described data line comprises step according to the test data of write original in described memory cell block and the test data of reading:
The test data of the test data of original write and reading is carried out XOR, and whether judged result is 0;
If result is 0, judge that described data line is normal; Otherwise, judge that described data line is abnormal.
5. the method for quick detection NANDFlash internal memory according to claim 1, is characterized in that, when described data line is normal, judge address wire and corresponding control signal wire normal.
6. the method for quick detection NANDFlash internal memory according to claim 5, is characterized in that, the described test data of write is 0xaa and 0x55 alternately.
CN201510829274.6A 2015-11-24 2015-11-24 Method for rapidly detecting NAND Flash memory Pending CN105511981A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510829274.6A CN105511981A (en) 2015-11-24 2015-11-24 Method for rapidly detecting NAND Flash memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510829274.6A CN105511981A (en) 2015-11-24 2015-11-24 Method for rapidly detecting NAND Flash memory

Publications (1)

Publication Number Publication Date
CN105511981A true CN105511981A (en) 2016-04-20

Family

ID=55719984

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510829274.6A Pending CN105511981A (en) 2015-11-24 2015-11-24 Method for rapidly detecting NAND Flash memory

Country Status (1)

Country Link
CN (1) CN105511981A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106205726A (en) * 2016-06-30 2016-12-07 深圳市航顺芯片技术研发有限公司 The rapid testing technology of eeprom memory
CN108021482A (en) * 2017-12-28 2018-05-11 杭州迪普科技股份有限公司 The method and device of memory is detected under a kind of Boot Loader
CN108054114A (en) * 2018-01-12 2018-05-18 江苏华存电子科技有限公司 A kind of method for improving flash memory availability
CN109086001A (en) * 2018-06-26 2018-12-25 郑州云海信息技术有限公司 A kind of NAND Flash rubbish recovering method and system
CN109828878A (en) * 2019-01-18 2019-05-31 晶晨半导体(上海)股份有限公司 The test method and device of storage unit in the test method of memory module, mainboard
CN110659150A (en) * 2019-10-10 2020-01-07 深圳芯邦科技股份有限公司 Method for detecting memory of micro control unit and related device
CN110767258A (en) * 2019-10-22 2020-02-07 江苏芯盛智能科技有限公司 Data erasure command test method and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020188900A1 (en) * 2001-06-08 2002-12-12 Fujitsu Limited Test method and test system for semiconductor device
CN1577629A (en) * 2003-07-29 2005-02-09 华为技术有限公司 FLASH internal unit testing method
CN103165194A (en) * 2011-12-16 2013-06-19 中兴通讯股份有限公司 Method and apparatus for rapid detection of large-capacity NOR Flash
CN103208314A (en) * 2013-03-04 2013-07-17 深圳市硅格半导体有限公司 Internal memory test method of embedded system and embedded system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020188900A1 (en) * 2001-06-08 2002-12-12 Fujitsu Limited Test method and test system for semiconductor device
CN1577629A (en) * 2003-07-29 2005-02-09 华为技术有限公司 FLASH internal unit testing method
CN103165194A (en) * 2011-12-16 2013-06-19 中兴通讯股份有限公司 Method and apparatus for rapid detection of large-capacity NOR Flash
CN103208314A (en) * 2013-03-04 2013-07-17 深圳市硅格半导体有限公司 Internal memory test method of embedded system and embedded system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106205726A (en) * 2016-06-30 2016-12-07 深圳市航顺芯片技术研发有限公司 The rapid testing technology of eeprom memory
CN106205726B (en) * 2016-06-30 2020-02-04 深圳市航顺芯片技术研发有限公司 Quick test technology for EEPROM memory
CN108021482A (en) * 2017-12-28 2018-05-11 杭州迪普科技股份有限公司 The method and device of memory is detected under a kind of Boot Loader
CN108054114A (en) * 2018-01-12 2018-05-18 江苏华存电子科技有限公司 A kind of method for improving flash memory availability
CN109086001A (en) * 2018-06-26 2018-12-25 郑州云海信息技术有限公司 A kind of NAND Flash rubbish recovering method and system
CN109086001B (en) * 2018-06-26 2021-07-27 郑州云海信息技术有限公司 NAND Flash garbage recovery method and system
CN109828878A (en) * 2019-01-18 2019-05-31 晶晨半导体(上海)股份有限公司 The test method and device of storage unit in the test method of memory module, mainboard
CN109828878B (en) * 2019-01-18 2022-10-11 晶晨半导体(上海)股份有限公司 Test method of storage module, test method and device of storage unit in mainboard
CN110659150A (en) * 2019-10-10 2020-01-07 深圳芯邦科技股份有限公司 Method for detecting memory of micro control unit and related device
CN110767258A (en) * 2019-10-22 2020-02-07 江苏芯盛智能科技有限公司 Data erasure command test method and related device

Similar Documents

Publication Publication Date Title
CN105511981A (en) Method for rapidly detecting NAND Flash memory
CN103559146B (en) A kind of method improving NAND flash controller read or write speed
CN106504789A (en) Memory device and its method of operating
CN101419843A (en) Flash memory recognition method, recognition device and chip controller
CN108572798B (en) Storage device and method for performing snoop operation for fast data transmission
US20120166706A1 (en) Data management method, memory controller and embedded memory storage apparatus using the same
CN110111832A (en) Semiconductor memory system and its operating method
CN105551521A (en) Memory system and operating method thereof
CN103092531A (en) Method for removing solid state storage system read errors
CN106981310A (en) Semiconductor memory system and its operating method
CN109754840A (en) Semiconductor memory system and its operating method
CN103578561A (en) Flash memory as well as erasure verification method and erasure verification device for same
CN106649137B (en) Nand Flash bad block management method and device and memory
CN113900903B (en) Log storage device, log capturing method and storage medium
CN101620513B (en) Data storage method and storage device thereof
CN105512047A (en) Method and device for write operation and erasure operation of Flash memory
CN106155935A (en) The rubbish recovering method of solid state hard disc flash memory and device
CN102629212A (en) Method for indirectly programming to NANDFLASH based on J-LINK
CN101494089B (en) Detection method and detection system for semiconductor device main bit line failure
CN103164344A (en) Method and device for data management in flash memory device
CN108614779A (en) Data processing method, NANDflash storage devices for NANDflash storage devices
CN108182169B (en) Method for realizing high-efficiency FFT in MTD filter
CN103489485A (en) Flash memory quality detection method and device
CN105786643B (en) Data backup method and system based on heterogeneous hybrid memory
CN103456354A (en) Method and device of differential storage grids of nonvolatile memory

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160420