CN100365787C - FLASH internal unit test method that supports write buffer - Google Patents
FLASH internal unit test method that supports write buffer Download PDFInfo
- Publication number
- CN100365787C CN100365787C CNB031500161A CN03150016A CN100365787C CN 100365787 C CN100365787 C CN 100365787C CN B031500161 A CNB031500161 A CN B031500161A CN 03150016 A CN03150016 A CN 03150016A CN 100365787 C CN100365787 C CN 100365787C
- Authority
- CN
- China
- Prior art keywords
- write
- data
- flash
- testing
- buffering
- 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.)
- Expired - Fee Related
Links
Landscapes
- Read Only Memory (AREA)
- For Increasing The Reliability Of Semiconductor Memories (AREA)
Abstract
Description
技术领域technical field
本发明涉及FLASH存储器,尤指一种对支持写缓冲的FLASH内部单元进行测试的方法。The invention relates to a FLASH memory, in particular to a method for testing a FLASH internal unit supporting write buffering.
背景技术Background technique
FLASH器件的故障主要表现为以下形式:FLASH device failures are mainly manifested in the following forms:
(1)导线的开路或短路;(1) Open circuit or short circuit of the wire;
(2)地址译码器不能正确寻址;(2) The address decoder cannot address correctly;
(3)多重写入;(3) Multiple writing;
(4)一个单元的数据受到其他单元的数据或读写操作的影响而发生变化;(4) The data of one unit is affected by the data or read and write operations of other units and changes;
(5)写后未能恢复,立即进行读出时得不到正确信息;(5) It cannot be restored after writing, and the correct information cannot be obtained when reading out immediately;
(6)读放大器读出一系列信息x后紧接着读x′时,无正确响应;(6) When the read amplifier reads a series of information x and then reads x', there is no correct response;
(7)FLASH不能保持写入的信息。(7) FLASH cannot keep the written information.
结合FLASH的基本结构和故障表现形式,可以得出以下故障模型:Combining the basic structure and fault manifestation of FLASH, the following fault model can be obtained:
(1)存储单元阵列中的故障:(1) Faults in the memory cell array:
①固定逻辑故障(Stuck-at fault):一个单元的逻辑值不随单元的任何行为而改变,也不受其余单元的影响,又称呆滞型故障,它包括固定为1或固定为0两种情形(S-A-1 or S-A-0);①Stuck-at fault: The logic value of a unit does not change with any behavior of the unit, nor is it affected by other units. (S-A-1 or S-A-0);
②固定开路故障(Stuck-open fault):电路开路导致的故障;②Stuck-open fault: a fault caused by an open circuit;
③状态转换故障(Transition fault):0->1或1->0的状态转换至少有一个不被正确执行;③Transition fault: at least one of the state transitions of 0->1 or 1->0 is not executed correctly;
④数据保持故障(Data-maintaining fault):存储单元无法保持一个逻辑值持续一定的时间;④ Data-maintaining fault: the storage unit cannot maintain a logical value for a certain period of time;
⑤状态耦合故障(Coupling fault): 当且仅当单元j处于某一个特定状态y(y∈{0,1})时,单元i总是为某一个确定值x(x∈{0,1}),则称单元i耦合于单元j。耦合关系不一定具有对称性,也就说,单元i耦合于单元j,并不一定单元j也耦合于单元I。⑤State coupling fault (Coupling fault): If and only when unit j is in a certain state y(y∈{0,1}), unit i is always a certain value x(x∈{0,1} ), then unit i is said to be coupled to unit j. The coupling relationship does not necessarily have symmetry, that is, unit i is coupled to unit j, not necessarily unit j is also coupled to unit I.
⑥多重写入故障(multiple access fault):对单元i写入x(x∈{0,1})导致单元j也写入了x,⑥则称单元i有多重写入故障。多重写入故障不一定具有对称性。⑥ Multiple access fault: Writing x (x∈{0, 1}) to unit i causes unit j to also write x, and ⑥ means unit i has multiple access faults. Multiple write failures are not necessarily symmetrical.
(2)地址译码电路中的故障:(2) Faults in the address decoding circuit:
①没选中任一存储单元;①No storage unit is selected;
②选中被选单元,并选中了其他单元。②Select the selected unit and select other units.
译码器中的故障可等效为存储单元阵列中的故障。故障①等效于固定开路故障,故障②等效于多重写入故障。Faults in the decoder can be equivalent to faults in the memory cell array. Fault ① is equivalent to a fixed open circuit fault, and fault ② is equivalent to a multiple write fault.
(3)读写逻辑中的故障:(3) Faults in the read and write logic:
①输入、输出导线中一位或多位固定逻辑故障;① One or more fixed logic faults in the input and output wires;
②缓冲器或锁存器中一位或多位固定开路故障;② One or more fixed open circuit faults in the buffer or latch;
③缓冲器或锁存器中任意两位之间的状态耦合故障。③ State coupling failure between any two bits in the buffer or latch.
读写逻辑电路中的故障也可等效为存储单元阵列中的故障。故障①等效于固定逻辑故障,故障②等效于固定开路故障,故障③等效于状态耦合故障。Faults in the read-write logic circuit can also be equivalent to faults in the memory cell array. Fault ① is equivalent to a fixed logic fault, fault ② is equivalent to a fixed open-circuit fault, and fault ③ is equivalent to a state coupling fault.
由以上分析可以知道,对FLASH的测试等同于对FLASH的内部单元测试,而FLASH的内部单元主要包含了以下故障类型:固定逻辑故障、固定开路故障、状态转换故障、数据保持故障、状态耦合故障和多重写入故障。From the above analysis, we can know that the test of FLASH is equivalent to the internal unit test of FLASH, and the internal unit of FLASH mainly includes the following fault types: fixed logic fault, fixed open circuit fault, state transition fault, data retention fault, state coupling fault and multiple write failures.
现在常用的测试方法都是按字逐个读写的,没有考虑到支持写缓冲区操作的这类FLASH的特点而采用有效的测试方法以提高测试效率。按照常规的测试方法按字逐个读写进行测试的方法,其效率是非常低的,对一个FLASH芯片进行完备的测试可能需要数十分钟,甚至一个小时以上。而利用写缓冲区的特性,可以将测试时间控制在数分钟以内,能够更好地满足测试效率的要求。Now commonly used test methods are all read and write word by word, without taking into account the characteristics of this type of FLASH that supports write buffer operations and adopt effective test methods to improve test efficiency. According to the conventional test method, the test method of reading and writing word by word is very inefficient, and it may take tens of minutes or even more than an hour to perform a complete test on a FLASH chip. By using the characteristics of the write buffer, the test time can be controlled within a few minutes, which can better meet the requirements of test efficiency.
而利用FLASH的写缓冲区进行测试,需要考虑到这种批处理的特殊方式,同时结合FLASH自身的特点,设计有效的测试数据。To use the write buffer of FLASH for testing, it is necessary to consider the special mode of batch processing, and combine the characteristics of FLASH itself to design effective test data.
发明内容Contents of the invention
鉴于上述现有技术的缺点,本发明提供一种支持写缓冲的FLASH内部单元的测试方法,在保证测试效效率的前提下,对FLASH的故障进行比较完备的测试覆盖。In view of the above-mentioned shortcomings of the prior art, the present invention provides a method for testing the internal unit of FLASH that supports write buffering, and under the premise of ensuring the test efficiency, relatively complete test coverage for FLASH faults is carried out.
本发明提供的支持写缓冲的FLASH内部单元测试方法,包括下列步骤:先对支持写缓冲的FLASH进行整片擦除,然后按写缓冲区的方式执行写操作,一次写满整个缓冲区,所述写操作是按地址顺序写入循环走步0的数据块,当所有内部单元被写完以后,再读回各数据单元中存储的数据,与写入的数据进行校验。The FLASH internal unit test method that supports write buffering provided by the present invention comprises the following steps: first erase the entire chip of FLASH that supports write buffering, then perform a write operation in the manner of writing a buffer, and fill the entire buffer once. The write operation is to write the data blocks of cycle step 0 in order of addresses. After all internal units are written, read back the data stored in each data unit and verify it with the written data.
所述按地址顺序是从最低地址开始到最高地址结束或从最高地址开始到最低地址结束。The order by address is from the lowest address to the highest address or from the highest address to the lowest address.
所述循环走步0的数据块,其每一行的数据除了一位为0,其他各位全为1,其中0的位置是顺序移动、循环走步的。In the data block of cycle step 0, the data of each row is all 1 except for one bit which is 0, and the position of 0 is sequentially moved and cycled.
所述0的位置是下一行数据比上一行数据左移一位或多位或右移一位或多位。The position of the 0 is that the data of the next row is shifted left by one or more bits or shifted right by one or more bits than the data of the previous row.
本发明通过构造上述特定的测试数据,能提高测试的故障覆盖率,特别是提高了对多重写入故障和基本耦合故障的检测能力。By constructing the above-mentioned specific test data, the present invention can improve the fault coverage rate of the test, especially improve the detection ability of multiple writing faults and basic coupling faults.
具体实施方式Detailed ways
部分FLASH器件(如28F160S5和28F320S5,28F128J3A、28F320J3A和28F640J3A,28F320J5和28F640J5等)支持写缓冲区(Write Buffer)的读写方式,利用Write Buffer技术写FLASH可以显著地提高FLASH的测试速度,但是因为Write Buffer的写方式与普通的写方式有很大的区别,所以测试方法也有所区别。Some FLASH devices (such as 28F160S5 and 28F320S5, 28F128J3A, 28F320J3A and 28F640J3A, 28F320J5 and 28F640J5, etc.) support the read and write mode of the write buffer (Write Buffer). Using the Write Buffer technology to write FLASH can significantly improve the test speed of FLASH, but because The writing method of Write Buffer is very different from the ordinary writing method, so the test method is also different.
因为一次写一个缓冲区,所以写的速度成倍提高,所以对支持写缓冲的FLASH进行测试,可以采用以下的方法:Because one buffer is written at a time, the writing speed is doubled. Therefore, the following methods can be used to test the FLASH that supports write buffering:
先整片擦除,然后从最低(或最高)地址开始到最高(或最低)地址结束,依次写入走步0的数据,全部写完以后,然后再读回进行校验。其中写操作是通过Write Buffer进行的。由于写入的数据正是数字“0”循环移动的过程,所以在这里将这种测试方法命名为“循环走步0算法”。First erase the entire chip, then start from the lowest (or highest) address and end at the highest (or lowest) address, write the data of step 0 in sequence, after all writing is completed, then read it back for verification. The write operation is performed through the Write Buffer. Since the written data is the process of the number "0" cyclically moving, this test method is named "Cycle Walking 0 Algorithm" here.
现在举例说明,假设地址空间从0000到1111,数据线为3位,则写入数据表如下:Now for example, assuming that the address space is from 0000 to 1111 and the data line is 3 bits, the data table is written as follows:
这种测试方法的特点是执行写FLASH操作时按照写缓冲区的方式进行,写入的数据块为循环走步0的数据块,也就是每一行数据除了一位为0,其余各位全为1,其中0的位置不是固定的,而是顺序移动、循环走步的形式。The characteristic of this test method is that when performing the write FLASH operation, it is carried out in the way of writing the buffer, and the written data block is a data block of cycle step 0, that is, each row of data except one bit is 0, and the rest of the bits are all 1 , where the position of 0 is not fixed, but in the form of sequential movement and circular walking.
上述实例中,0的位置是下一行数据比上一行数据每次左移一位,实际操作中,并不局限于此,可左移也可右移,移动的位数也不受限制,可一次只移一位,也可一次移两位或更多位。In the above example, the position of 0 is that the data in the next row is shifted to the left one bit at a time compared with the data in the previous row. In actual operation, it is not limited to this. Shift only one bit at a time, or two or more bits at a time.
本发明因为采用走步0算法,所以能够有效检测到相邻单元的短路故障。因为FLASH器件本身的特点是:只能写入数字“0”,不能写入数字“1”,擦除以后才能为“1”,所以在构造测试数据过程中,出现更多的“1”和少量的“0”,并且“0”的位置是变化的,这样可以检测更多的因为短路而导致“1”被错误写成“0”的故障。The present invention can effectively detect the short-circuit fault of the adjacent unit because of adopting the walking 0 algorithm. Because the characteristics of the FLASH device itself are: only the number "0" can be written, the number "1" cannot be written, and it can only be "1" after erasing, so in the process of constructing test data, more "1" and "1" appear. A small amount of "0", and the position of "0" is changed, so that more faults that cause "1" to be wrongly written as "0" due to short circuit can be detected.
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB031500161A CN100365787C (en) | 2003-07-29 | 2003-07-29 | FLASH internal unit test method that supports write buffer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB031500161A CN100365787C (en) | 2003-07-29 | 2003-07-29 | FLASH internal unit test method that supports write buffer |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1577784A CN1577784A (en) | 2005-02-09 |
| CN100365787C true CN100365787C (en) | 2008-01-30 |
Family
ID=34579762
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB031500161A Expired - Fee Related CN100365787C (en) | 2003-07-29 | 2003-07-29 | FLASH internal unit test method that supports write buffer |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN100365787C (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100938045B1 (en) * | 2008-03-14 | 2010-01-21 | 주식회사 하이닉스반도체 | Test method of nonvolatile memory device |
| CN101770813B (en) * | 2008-12-31 | 2013-01-02 | 联咏科技股份有限公司 | Detection method for detecting adjacent block interference phenomenon of non-volatile memory |
| CN103268267A (en) * | 2013-05-24 | 2013-08-28 | 北京航天自动控制研究所 | A Block-Based Method for Dynamically Marking Bad Areas of NANDFLASH |
| CN104658613A (en) * | 2014-12-30 | 2015-05-27 | 中国电子科技集团公司第四十七研究所 | EEPROM durability test method and EEPROM durability test device |
| CN111563012B (en) * | 2019-12-27 | 2023-09-26 | 天津津航计算技术研究所 | Software testing method for detecting NORFLASH memory global bit line short-circuit fault |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH03292700A (en) * | 1990-04-11 | 1991-12-24 | Nec Corp | Ram test system |
| US5107501A (en) * | 1990-04-02 | 1992-04-21 | At&T Bell Laboratories | Built-in self-test technique for content-addressable memories |
| CN1315732A (en) * | 2000-03-30 | 2001-10-03 | 华为技术有限公司 | Automatic test method and circuit for RAM |
-
2003
- 2003-07-29 CN CNB031500161A patent/CN100365787C/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5107501A (en) * | 1990-04-02 | 1992-04-21 | At&T Bell Laboratories | Built-in self-test technique for content-addressable memories |
| JPH03292700A (en) * | 1990-04-11 | 1991-12-24 | Nec Corp | Ram test system |
| CN1315732A (en) * | 2000-03-30 | 2001-10-03 | 华为技术有限公司 | Automatic test method and circuit for RAM |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1577784A (en) | 2005-02-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI384355B (en) | Memory arrary error correction apparatus, systems, and methods | |
| US6981188B2 (en) | Non-volatile memory device with self test | |
| CN103247347B (en) | Method and system for providing smart memory architecture | |
| CN103854705A (en) | Method and system for providing smart memory architecture | |
| CN104813401B (en) | System and method for differential vector storage in dynamic random access memory | |
| JP2010009642A (en) | Semiconductor memory device and test method thereof | |
| US20050166111A1 (en) | Memory built-in self test circuit with full error mapping capability | |
| JP2016157495A (en) | Semiconductor storage device | |
| CN110570896A (en) | A low-voltage SRAM testing method for weak faults | |
| JPH11306794A (en) | Test method for memory device | |
| Yeh et al. | Flash memory testing and built-in self-diagnosis with march-like test algorithms | |
| CN105047229B (en) | Self-testing circuit and method in a kind of memory cell piece for RRAM | |
| CN110364213A (en) | Memory system including memory device and memory controller and method of operating the same | |
| CN100365787C (en) | FLASH internal unit test method that supports write buffer | |
| CN114236366B (en) | Chip and test method supporting out-of-order finished product testing | |
| Kuo et al. | An efficient fault detection algorithm for NAND flash memory | |
| Hsiao et al. | Built-in self-repair schemes for flash memories | |
| CN100514499C (en) | FLASH internal unit testing method | |
| CN101383189A (en) | Memory Test Method | |
| Hsiao et al. | A built-in self-repair scheme for NOR-type flash memory | |
| CN100414647C (en) | A Method of Testing Internal Units of FLASH | |
| CN105097049A (en) | On-chip statistical system used for damaged units in multipage memory arrays | |
| Mazumder et al. | An efficient built-in self testing for random-access memory | |
| CN212516572U (en) | Repair circuits and memories | |
| CN204834060U (en) | A damage interior statistical system of unit piece for having more page memory array |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20080130 Termination date: 20200729 |