CN111563012A - Software testing method for detecting NORFLASH memory global bit line short-circuit fault - Google Patents

Software testing method for detecting NORFLASH memory global bit line short-circuit fault Download PDF

Info

Publication number
CN111563012A
CN111563012A CN201911378529.6A CN201911378529A CN111563012A CN 111563012 A CN111563012 A CN 111563012A CN 201911378529 A CN201911378529 A CN 201911378529A CN 111563012 A CN111563012 A CN 111563012A
Authority
CN
China
Prior art keywords
flash
data
space
programming
test
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.)
Granted
Application number
CN201911378529.6A
Other languages
Chinese (zh)
Other versions
CN111563012B (en
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.)
Tianjin Jinhang Computing Technology Research Institute
Original Assignee
Tianjin Jinhang Computing Technology Research Institute
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 Tianjin Jinhang Computing Technology Research Institute filed Critical Tianjin Jinhang Computing Technology Research Institute
Priority to CN201911378529.6A priority Critical patent/CN111563012B/en
Publication of CN111563012A publication Critical patent/CN111563012A/en
Application granted granted Critical
Publication of CN111563012B publication Critical patent/CN111563012B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2236Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test CPU or processors
    • 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/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/04Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
    • G11C29/08Functional testing, e.g. testing during refresh, power-on self testing [POST] or distributed testing
    • G11C29/10Test algorithms, e.g. memory scan [MScan] algorithms; Test patterns, e.g. checkerboard patterns 

Landscapes

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

Abstract

The invention relates to a software testing method for detecting NORFLASH memory global bit line short circuit fault, which comprises the following steps: backing up FLASH data, wherein after receiving NORFLASH backup commands and test parameters, test software backs up specified space data into a cache space and calculates FLASH read data check sums at the same time, after the backup is finished, the cache space check sums are calculated, whether the check sums are consistent or not is compared, if not, the command execution state is set to be a check error, and the test is terminated; erasing programming test of FLASH, erasing FLASH whole space; carrying out programming test on the designated FLASH area according to the programming type; carrying out read-back verification on the programmed area; circularly executing FLASH erasing programming test operation according to different programming types; erasing the FLASH full space; recovering FLASH data, and resetting FLASH; programming the data of the cache space to a designated FLASH space; and calculating the checksum of the FLASH and the cache data, and comparing whether the checksum is consistent or not.

Description

Software testing method for detecting NORFLASH memory global bit line short-circuit fault
Technical Field
The invention belongs to the technical field of electronic information, and particularly relates to a software testing method for detecting NORFLASH memory global bit line short circuit fault.
Background
A certain integrated control machine is provided with JFM29LV641-E NORFLASH memory chips, although a FLASH erasing programming test is carried out after production, the situation that application software cannot be solidified still occurs after delivery, after troubleshooting, the fault is found to be a global bit line short circuit fault caused by defects in the manufacturing and processing process, the traditional FLASH testing mode is to erase and program an idle FLASH space, programming data are mostly regular step 0 and step 1 data, the fault is used for testing a data line, an address line and a FLASH erasing programming function, and the fault is difficult to detect. The failure needs to be screened out by the chip manufacturer by writing some special test patterns using ATE equipment, but for the finished product, the chip needs to be disassembled and then tested back to the factory.
Disclosure of Invention
The invention relates to a testing method for reading and writing FLASH storage space by using DSP software, which is used for solving the problems in the prior art.
The invention relates to a testing method for reading and writing FLASH storage space by using DSP software, which comprises the following steps: FLASH data backup, including: after receiving NORFLASH backup command and test parameters, the test software backups the specified space data to the cache space and calculates FLASH read data check sum, calculates the cache space check sum after the backup is finished, compares whether the check sum is consistent, if not, sets the command execution state as check error, and terminates the test; a FLASH erase programming test comprising: erasing the FLASH full space; carrying out programming test on the designated FLASH area according to the programming type; carrying out read-back verification on the programmed area; circularly executing FLASH erasing programming test operation according to different programming types; erasing the FLASH full space; FLASH data recovery, including: resetting the FLASH; programming the data of the cache space to a designated FLASH space; and calculating the checksum of the FLASH and the cache data, and comparing whether the checksum is consistent or not.
According to an embodiment of the testing method for reading and writing the FLASH memory space by using the DSP software, the testing method further comprises the following steps: caching the software in the FLASH into an external memory SDRAM, carrying out erasing operation on the whole space of the FLASH, and identifying the bit line short circuit fault in the sector by programming of a specific sequence and data verification after programming.
According to an embodiment of the testing method for reading and writing the FLASH storage space by using the DSP software, FLASH data backup, FLASH erasing programming test and FLASH data recovery are sequentially carried out according to the flow.
According to an embodiment of the testing method for reading and writing the FLASH storage space by using the DSP software, after receiving the NORFLASH backup command and the testing parameters, the testing software backups the specified space data into the cache space and calculates the FLASH read data checksum as 8-bit accumulated sum.
According to an embodiment of the testing method for reading and writing the FLASH storage space by using the DSP software, the check sum of the cache space is calculated to be 8-bit accumulated sum after the backup is finished.
According to an embodiment of the testing method for reading and writing the FLASH storage space by using the DSP software, the checksum of the FLASH and the cache data is calculated as 8-bit accumulated sum.
The invention designs a testing method for reading and writing FLASH storage space by using DSP software, which is used for detecting the possible short circuit fault of a bit line between sectors of a FLASH chip of a product and avoiding a large amount of repair work for returning to a factory.
Drawings
Figure 1 is a NOR FLASH test flow diagram.
Detailed Description
In order to make the objects, contents, and advantages of the present invention clearer, the following detailed description of embodiments of the present invention will be made in conjunction with the accompanying drawings and examples.
Fig. 1 is a flow chart of NOR FLASH test, and as shown in fig. 1, the testing method for reading and writing FLASH memory space by using DSP software of the present invention includes: the method comprises the steps of firstly caching the FLASH internal software into an external memory SDRAM by adopting DSP test software, carrying out erasing operation on the FLASH whole space, and identifying the line short fault in the position of a sector through programming of a specific sequence and data verification after the programming.
The testing process designed by the invention is divided into three parts to be carried out, namely FLASH data backup, FLASH erasing programming test and FLASH data recovery are carried out in sequence, the testing process is shown as figure 1,
the test methods are described below:
FLASH data backup
After receiving NORFLASH backup command and test parameters, the test software backups the appointed space data to the cache space and calculates FLASH read data check sum (8-bit accumulation sum), calculates the cache space check sum (8-bit accumulation sum) after the backup is finished, compares whether the check sum is consistent, if not, sets the command execution state as error check, and terminates the test.
FLASH Erase Programming test
Erasing the FLASH full space;
carrying out programming test on the designated area of the FLASH according to the programming type 1 (shown in Table 1);
read-back verification of programmed regions
Performing 2.1) -2.4) operations according to the programming type 2, 3 and 4 in a loop
Erase FLASH full space
FLASH data recovery
Resetting FLASH
Programming the data of the cache space to the appointed FLASH space
Calculating FLASH and cache data check sums (8-bit accumulated sums) and comparing whether the FLASH and the cache data check sums are consistent; table 1 is a FLASH programming data description table.
TABLE 1
Figure BDA0002341661260000041
The method is characterized in that a test scheme is designed aiming at a fault mode that NORFLASH chips are rarely short-circuited on the global bit lines, and the faults are checked and identified by the NORFLASH chips on the finished products in a CPU software reading and writing mode.
The invention has the advantages that:
the method covers the identification capability of the short-circuit fault mode of the original data line and address line, and simplifies the original full-space programming and verifying process.
The fault identification capability of the sector inter-bit line short circuit can be effectively screened, and the cover opening maintenance operation is not required.
Aiming at the products which are finished with production and software filling, the deep detection of the FLASH is finished under the condition that the states of software and hardware are not influenced.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (6)

1. A software testing method for detecting NORFLASH memory global bit line short circuit fault is characterized by comprising the following steps:
FLASH data backup, including:
after receiving NORFLASH backup command and test parameters, the test software backups the specified space data to the cache space and calculates FLASH read data check sum, calculates the cache space check sum after the backup is finished, compares whether the check sum is consistent, if not, sets the command execution state as check error, and terminates the test;
a FLASH erase programming test comprising:
erasing the FLASH full space;
carrying out programming test on the designated FLASH area according to the programming type;
carrying out read-back verification on the programmed area;
circularly executing FLASH erasing programming test operation according to different programming types;
erasing the FLASH full space;
FLASH data recovery, including:
resetting the FLASH;
programming the data of the cache space to a designated FLASH space;
and calculating the checksum of the FLASH and the cache data, and comparing whether the checksum is consistent or not.
2. The software test method for detecting norfall memory global bit line short faults as claimed in claim 1, further comprising: caching the software in the FLASH into an external memory SDRAM, carrying out erasing operation on the whole space of the FLASH, and identifying the bit line short circuit fault in the sector by programming of a specific sequence and data verification after programming.
3. The software testing method for detecting the NORFLASH memory global bit line short circuit fault as claimed in claim 1 wherein the FLASH data backup, FLASH erase programming test and FLASH data recovery are performed in sequence according to the flow.
4. The software testing method for detecting NORFLASH memory global bit line short circuit fault as claimed in claim 1 wherein testing software receives NORFLASH backup command and test parameters, backups designated space data to cache space and calculates FLASH read data checksum as 8 bit cumulative sum.
5. The software test method for detecting NORFLASH memory global bit line short faults as claimed in claim 1 wherein after the backup is completed the cache space checksum is calculated as an 8 bit cumulative sum.
6. The software test method of detecting NORFLASH memory global bit line short faults of claim 1, wherein the FLASH and cache data checksums are calculated as 8 bit cumulative sums.
CN201911378529.6A 2019-12-27 2019-12-27 Software testing method for detecting NORFLASH memory global bit line short-circuit fault Active CN111563012B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911378529.6A CN111563012B (en) 2019-12-27 2019-12-27 Software testing method for detecting NORFLASH memory global bit line short-circuit fault

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911378529.6A CN111563012B (en) 2019-12-27 2019-12-27 Software testing method for detecting NORFLASH memory global bit line short-circuit fault

Publications (2)

Publication Number Publication Date
CN111563012A true CN111563012A (en) 2020-08-21
CN111563012B CN111563012B (en) 2023-09-26

Family

ID=72074093

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911378529.6A Active CN111563012B (en) 2019-12-27 2019-12-27 Software testing method for detecting NORFLASH memory global bit line short-circuit fault

Country Status (1)

Country Link
CN (1) CN111563012B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023035659A1 (en) * 2021-09-08 2023-03-16 长鑫存储技术有限公司 Data path detection method and apparatus, device, and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1577784A (en) * 2003-07-29 2005-02-09 华为技术有限公司 Writing buffer-supporting FLASH internal unit testing metod
CN101183314A (en) * 2007-12-11 2008-05-21 中国科学院长春光学精密机械与物理研究所 Method for realizing digital signal processor program online programming
CN101320592A (en) * 2008-07-08 2008-12-10 北京时代民芯科技有限公司 High-capacity FLASH solid memory controller
US20090073760A1 (en) * 2007-09-17 2009-03-19 Yoram Betser Minimizing read disturb in an array flash cell
CN102103597A (en) * 2009-12-17 2011-06-22 上海威乾视频技术有限公司 DSP (digital signal processor) embedded FLASH file storage system
CN102543194A (en) * 2010-12-28 2012-07-04 上海复旦微电子股份有限公司 Erasing method for flash memory
US20130163331A1 (en) * 2011-12-22 2013-06-27 SK Hynix Inc. Semiconductor memory device and operating method thereof
US20150324259A1 (en) * 2014-05-07 2015-11-12 Oracle International Corporation Method and system for automatic failover for clients accessing a resource through a server using hybrid checksum location
CN106681858A (en) * 2015-11-10 2017-05-17 中国电信股份有限公司 Virtual machine data disaster tolerance method and management device
CN108074615A (en) * 2016-11-11 2018-05-25 北京兆易创新科技股份有限公司 A kind of method and device for improving NOR type FLASH stability

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1577784A (en) * 2003-07-29 2005-02-09 华为技术有限公司 Writing buffer-supporting FLASH internal unit testing metod
US20090073760A1 (en) * 2007-09-17 2009-03-19 Yoram Betser Minimizing read disturb in an array flash cell
CN101183314A (en) * 2007-12-11 2008-05-21 中国科学院长春光学精密机械与物理研究所 Method for realizing digital signal processor program online programming
CN101320592A (en) * 2008-07-08 2008-12-10 北京时代民芯科技有限公司 High-capacity FLASH solid memory controller
CN102103597A (en) * 2009-12-17 2011-06-22 上海威乾视频技术有限公司 DSP (digital signal processor) embedded FLASH file storage system
CN102543194A (en) * 2010-12-28 2012-07-04 上海复旦微电子股份有限公司 Erasing method for flash memory
US20130163331A1 (en) * 2011-12-22 2013-06-27 SK Hynix Inc. Semiconductor memory device and operating method thereof
US20150324259A1 (en) * 2014-05-07 2015-11-12 Oracle International Corporation Method and system for automatic failover for clients accessing a resource through a server using hybrid checksum location
CN106681858A (en) * 2015-11-10 2017-05-17 中国电信股份有限公司 Virtual machine data disaster tolerance method and management device
CN108074615A (en) * 2016-11-11 2018-05-25 北京兆易创新科技股份有限公司 A kind of method and device for improving NOR type FLASH stability

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李豫东;张立国;任建岳;: "空间光学遥感器中Flash存储器的辐射效应与加固" *
李豫东;张立国;任建岳;: "空间光学遥感器中Flash存储器的辐射效应与加固", 光学精密工程, no. 10 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023035659A1 (en) * 2021-09-08 2023-03-16 长鑫存储技术有限公司 Data path detection method and apparatus, device, and storage medium

Also Published As

Publication number Publication date
CN111563012B (en) 2023-09-26

Similar Documents

Publication Publication Date Title
CN109918022B (en) SSD open card bad block table inheritance method
CN102148046B (en) Data storage device tester
US8738977B2 (en) Yield-enhancing device failure analysis
CN104240768B (en) For testing the method and accumulator system of memory
US8645776B2 (en) Run-time testing of memory locations in a non-volatile memory
US8423829B2 (en) Failure analysis apparatus, method
CN108710551B (en) SPARC processor-based single event upset fault injection test method and system
US20070170268A1 (en) Memory cards, nonvolatile memories and methods for copy-back operations thereof
US9728276B2 (en) Integrated circuits with built-in self test mechanism
US11984181B2 (en) Systems and methods for evaluating integrity of adjacent sub blocks of data storage apparatuses
CN103247345A (en) Quick-flash memory and detection method for failure memory cell of quick-flash memory
CN105006253A (en) Method and system for detecting data retention of flash memory
CN111078462B (en) Data verification method and circuit
CN102929740A (en) Method and device for detecting bad block of storage equipment
CN111563012A (en) Software testing method for detecting NORFLASH memory global bit line short-circuit fault
CN114664369A (en) Memory chip testing method and device
WO2019184612A1 (en) Terminal and electronic device
CN115602242B (en) Storage device and test method thereof
CN108665941A (en) Row restorative procedure, device and NAND memory device based on nand flash memory
CN109215724B (en) Method and device for automatically detecting and repairing memory
US8527839B2 (en) On-the-fly repair method for memory
CN107481764A (en) A kind of 3D Nand Flash scanning detection methods and system
CN115705914A (en) Method and device for detecting bad block of flash memory and computer storage medium
Manzini et al. A machine learning-based approach to optimize repair and increase yield of embedded flash memories in automotive systems-on-chip
TW201316340A (en) Flash memory testing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant