CN107633867A - SPI Flash test system and method based on FT4222 - Google Patents

SPI Flash test system and method based on FT4222 Download PDF

Info

Publication number
CN107633867A
CN107633867A CN201710853972.9A CN201710853972A CN107633867A CN 107633867 A CN107633867 A CN 107633867A CN 201710853972 A CN201710853972 A CN 201710853972A CN 107633867 A CN107633867 A CN 107633867A
Authority
CN
China
Prior art keywords
test
spi
modules
nand flash
instruction
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
CN201710853972.9A
Other languages
Chinese (zh)
Other versions
CN107633867B (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.)
Jiangsu Yangheyang Microelectronics Technology Co ltd
Original Assignee
Nanjing Yang Yang Microelectronics 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 Nanjing Yang Yang Microelectronics Technology Co Ltd filed Critical Nanjing Yang Yang Microelectronics Technology Co Ltd
Priority to CN201710853972.9A priority Critical patent/CN107633867B/en
Publication of CN107633867A publication Critical patent/CN107633867A/en
Priority to PCT/CN2018/103038 priority patent/WO2019056935A1/en
Application granted granted Critical
Publication of CN107633867B publication Critical patent/CN107633867B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/56External testing equipment for static stores, e.g. automatic test equipment [ATE]; Interfaces therefor

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The present invention discloses a kind of SPI Flash test system and method based on FT4222, the test statement that the method for testing inputs according to tester, call the FT4222 chipsets in debugging acid, for the SPI NAND Flash module configuration testing conditions of different parameters, test statement is finally loaded into FT4222 chip modules the SPI NAND Flash modules are tested.The method of testing can test simple SPI NAND Flash reading and writing, erasing, BurnIn test (stability test), while can also reach some special test purposes by changing test software programs code.

Description

SPI Flash test system and method based on FT4222
Technical field
The present invention relates to a kind of SPI NAND Flash method of testings based on FT4222, belong to SPI NAND Flash surveys Examination field.
Background technology
SPI NAND Flash tests are generally connected by two blocks of FPGA plates, and one piece is used as Host ends, and one piece is used as Device Whether end, the various functions for performing different instruction testing Device ends during test by Host ends are correct.The method has 2 disadvantages End, one is due to that the bin file that Host ends perform is burnt in ROM, therefore, it is necessary to which frequently burning, number in test process It is tired.Second, this test can only survey function and the response of SPI under normal circumstances, some special circumstances or test content can not Realize, underaction.
Then, Host behaviors are simulated using FT4222, the instruction that needs are performed is edited in text document, during test only Need to change the content in text document, then by software program Load File and perform, instruction can take in any combination Match somebody with somebody, and convenient modification, improve efficiency.
SPI protocol is a simple easily communication protocol, can all be existed on various main control chips, for connecting periphery mould Block.Storage chip is widely used at present, and demand is big, and SPI NAND Flash have an application in various equipment, and Flash Stability needs a large amount of tests to ensure, and SPI NAND Flash test needs substantial amounts of data reading-writing for a long time, at random The complicated operations such as block access, so needing the method for a system to test Flash.
The content of the invention
For above-mentioned technical problem, the present invention is intended to provide a kind of SPI NAND Flash test sides based on FT4222 Method, the method for testing can test simple SPI NAND Flash reading and writing, erasing, BurnIn test (stability survey Examination), while can also reach some special test purposes by changing test software programs code.
To achieve the above object, the present invention adopts the following technical scheme that:
SPI Flash test system based on FT4222, the test system include processor module, SPI NAND Flash Communication connection between module, FT4222 chip modules and each module.
Connected between processor module and the FT4222 chip module by USB.
The processor module is instructed through USB transmission to FT4222 chip modules for generating test instruction, the test, By FT4222 chip modules self-carried USB and the translation function of SPI protocol, instruction to be measured is converted into SPI forms, is transmitted to SPI After NAND Flash module operating instructions, then by FT4222 chip modules result is transferred back on the processor module, from And the correctness of decision instruction operation.
SPI Flash method of testing based on FT4222, the test statement that the method for testing inputs according to tester, adjust With the FT4222 chipsets in debugging acid, for the SPI NAND Flash module configuration testing conditions of different parameters, most Test statement is loaded into FT4222 chip modules afterwards to test the SPI NAND Flash modules.
Further, methods described specifically includes following steps:
Step 1, the instruction of test required for being inputted in processor module;
Step 2, after script file inputs, open and call debugging acid, obtain the chip being connected with processor and set It is standby, choose FT4222 chipsets;Then SPI NAND flash modules parameters are set and test required condition, by described in Instruction document to be measured is loaded into, and SPI NAND Flash test job is realized by the built-in function of FT4222 chip modules;
Step 3, the correctness of waveform check command operation result is observed by logic analyser.
The processor module is PC.
It is described that the instruction of test is specially required for input in processor module:A text document is created first, it is defeated The instruction of test required for entering, if a plurality of combination needs branch to input, form is two byte hexadecimal numbers, with space every Open, be arranged in order down, inputted with new line.
The logic analyser gathers data signal from FPGA.
The present invention has following innovation:
Host behaviors are simulated using FT4222, the instruction that needs are performed is edited in text document, is only needed during test The content in text document to be changed, then by software program Load File and is performed, instruction can arrange in pairs or groups in any combination, and And convenient modification, improve efficiency.
SPI protocol is a simple easily communication protocol, can all be existed on various main control chips, for connecting periphery mould Block.Storage chip is widely used at present, and demand is big, and SPI NAND Flash have an application in various equipment, and Flash Stability needs a large amount of tests to ensure, and SPI NAND Flash test needs substantial amounts of data reading-writing for a long time, at random The complicated operations such as block access, so needing the method for a system to test Flash.
The method of testing can test simple SPI NAND Flash reading and writing, erasing, BurnIn test (stability Test), while can also reach some special test purposes by changing test software programs code, such as H2Test is simulated, The read-write of random block, various data pattern combination and test flash read-write efficiency etc., and in testing can be with Increase test event on demand, reach automatic test function.
Brief description of the drawings
Fig. 1 is the system construction drawing of method of testing of the present invention.
Embodiment
The present invention provides a kind of SPI NAND Flash test systems based on FT4222, as shown in figure 1, the test system System includes the communication connection between processor module, SPI NAND Flash modules, FT4222 chip modules and each module;Institute State and connected between processor module and FT4222 chip modules by USB.
The processor module is instructed through USB transmission to FT4222 chip modules for generating test instruction, the test, By FT4222 chip modules self-carried USB and the translation function of SPI protocol, instruction to be measured is converted into SPI forms, is transmitted to SPI After NAND Flash module operating instructions, then by FT4222 chip modules result is transferred back on the processor module, from And the correctness of decision instruction operation.
Based on above-mentioned test system, the present invention provides a method of testing, and the method for testing inputs according to tester Test statement, the FT4222 chipsets in debugging acid are called, configured for the SPI NAND Flash modules of different parameters Test condition, test statement is finally loaded into FT4222 chip modules the SPI NAND Flash modules are tested.
Specifically, methods described specifically includes following steps:
Step 1, the instruction of test required for being inputted in processor module;A plurality of single instructing combination is got up to edit Automatic test is carried out into script, reduces cumbersome manual operation, the advantage of script;
Step 2, after script file inputs, open and call debugging acid, obtain the chip being connected with processor and set It is standby, choose FT4222 chipsets;Then SPI NAND flash modules parameters are set and test required condition, by described in Instruction document to be measured is loaded into, and SPI NAND Flash test job is realized by the built-in function of FT4222 chip modules;(with pin The manner is run, and editability is strong, easy to operate)
Step 3, tested according to the operating process on interface, waveform check command is observed by logic analyser and transported The correctness of row result.
The data signal that above-mentioned logic analyser gathers from FPGA, as chip enables, command/address latches, and read-write makes Can, the information such as data, the correctness of check command operation result.
Programmable circuit used by the present embodiment, the design that circuit is completed with hardware description language are burnt on FPGA Tested, programmable circuit here is conventional selection, is for testing SPI Flash here as IC design verifications.
The processor module is PC.
It is described that the instruction of test is specially required for input in processor module:A text document is created first, it is defeated The instruction of test required for entering, if a plurality of combination needs branch to input, form is two byte hexadecimal numbers, with space every Open, be arranged in order down, inputted with new line.
Embodiment:
1) text document is created first, the instruction of test required for inputting, if a plurality of combination needs branch to input, Form is two byte hexadecimal numbers, is separated, is arranged in order down with space, inputted with new line.Such as:
Write order 0x02+column addr+ data
Read command 0x03/0x3b/0x6b/0xeb/0xbb+column addr+ length (two byte hexadecimals)
0x13/0x10+block/page addr
Erasing order 0xd8+block addr
2) after script file input, Debug Tool is opened, click on Scan button, open FT4222device, then set on interface various flash parameters and test needed for condition, after the completion of click on load File button, the instruction document created just now is loaded into, calls FT4222 built-in function to realize SPI NAND by programming Flash test job.
3) operation result is shown in right side blank region, while can observe waveform check command by logic analyser and transport The correctness of row result.
The method of testing can test simple SPI NAND Flash reading and writing, erasing, BurnIn test (stability Test), at the same can also by changing test software programs code, such as it is a plurality of it is single instruct it is regular, can on demand or Say it is according to Flash working characteristics, example is exactly described by next sentence.Combine to reach some special test mesh , such as H2Test is simulated, and flash whole districts block sequential write read check, the read-write of random block, the write-read behaviour that address changes at random Make, various data pattern combinations, different pieces of information such as full 0, complete 1 and random number etc., and test flash read-write effect Can, flash write-read speed stability etc., and test event can be increased on demand in testing, reach automatic test Function.
Described above is only the preferred embodiment of the present invention, it should be pointed out that:For the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (8)

1. the SPI Flash test system based on FT4222, it is characterised in that the test system includes processor module, SPI Communication connection between NAND Flash modules, FT4222 chip modules and each module.
2. the SPI Flash test system according to claim 1 based on FT4222, it is characterised in that the processor die Connected between block and FT4222 chip modules by USB.
3. the SPI Flash test system according to claim 2 based on FT4222, it is characterised in that the processor die Block is used to generate test instruction, and the test instruction is carried through USB transmission to FT4222 chip modules by FT4222 chip modules USB and SPI protocol translation function, instruction to be measured is converted into SPI forms, is transmitted to the operation of SPI NAND Flash modules and refers to After order, then by FT4222 chip modules result is transferred back on the processor module, it is correct so as to decision instruction operation Property.
4. the SPI Flash method of testing based on FT4222, it is characterised in that the survey that the method for testing inputs according to tester Sentence is tried, calls the FT4222 chipsets in debugging acid, survey is configured for the SPI NAND Flash modules of different parameters Strip part, test statement is finally loaded into FT4222 chip modules the SPI NAND Flash modules are tested.
5. the SPI Flash method of testing according to claim 4 based on FT4222, it is characterised in that methods described is specific Comprise the following steps:
Step 1, the instruction of test required for being inputted in processor module;
Step 2, after script file inputs, open and call debugging acid, obtain the chipset being connected with processor, choosing Middle FT4222 chipsets;Then SPI NAND flash modules parameters are set and test required condition, will be described to be measured Instruct document to be loaded into, SPI NAND Flash test job is realized by the built-in function of FT4222 chip modules;
Step 3, the correctness of waveform check command operation result is observed by logic analyser.
6. the SPI Flash method of testing according to claim 5 based on FT4222, it is characterised in that the processor die Block is PC.
7. the SPI Flash method of testing according to claim 5 based on FT4222, it is characterised in that described in processor The required instruction tested is inputted in module is specially:A text document is created first, the instruction of test required for inputting, such as Fruit is that a plurality of combination needs branch to input, and form is two byte hexadecimal numbers, is separated, is arranged in order down with space, input It is complete with new line.
8. the SPI Flash method of testing according to claim 5 based on FT4222, it is characterised in that the logic analysis Instrument gathers data signal from FPGA.
CN201710853972.9A 2017-09-20 2017-09-20 SPI flash memory test system and method based on FT4222 Active CN107633867B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710853972.9A CN107633867B (en) 2017-09-20 2017-09-20 SPI flash memory test system and method based on FT4222
PCT/CN2018/103038 WO2019056935A1 (en) 2017-09-20 2018-08-29 Ft4222-based testing system and method for spi flash

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710853972.9A CN107633867B (en) 2017-09-20 2017-09-20 SPI flash memory test system and method based on FT4222

Publications (2)

Publication Number Publication Date
CN107633867A true CN107633867A (en) 2018-01-26
CN107633867B CN107633867B (en) 2020-12-01

Family

ID=61103087

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710853972.9A Active CN107633867B (en) 2017-09-20 2017-09-20 SPI flash memory test system and method based on FT4222

Country Status (2)

Country Link
CN (1) CN107633867B (en)
WO (1) WO2019056935A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108733389A (en) * 2018-05-31 2018-11-02 深圳市德名利电子有限公司 A kind of Flash data analysis filter
WO2019056935A1 (en) * 2017-09-20 2019-03-28 南京扬贺扬微电子科技有限公司 Ft4222-based testing system and method for spi flash
WO2020103839A1 (en) * 2018-11-22 2020-05-28 Changxin Memory Technologies, Inc. Method, device and terminal for testing memory chip
CN111596200A (en) * 2020-05-25 2020-08-28 上海岱矽集成电路有限公司 Integrated circuit tester
RU199833U1 (en) * 2019-06-03 2020-09-22 Федеральное государственное бюджетное образовательное учреждение высшего образования "Петрозаводский государственный университет" Modular system for electrical and functional testing of FPGA-based NAND memory chips

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201600928U (en) * 2009-05-08 2010-10-06 黄建军 Chip test system and automatic test vector generator ATPG
CN201655336U (en) * 2010-03-24 2010-11-24 青岛海信电器股份有限公司 Serial flash debugging circuit based on FPGA and television set with same
CN102184741A (en) * 2011-02-28 2011-09-14 浪潮电子信息产业股份有限公司 Method for programming serial periphery interface (SPI) FLASH
CN102473126A (en) * 2009-08-11 2012-05-23 桑迪士克科技股份有限公司 Controller and method for providing read status and spare block management information in flash memory system
CN202632785U (en) * 2012-06-28 2012-12-26 内江市效率源信息安全技术有限责任公司 Data detecting device for NAND Flash chip
CN203241515U (en) * 2013-04-18 2013-10-16 福建师范大学 Logic analyser based on PC
CN103970665A (en) * 2014-05-28 2014-08-06 广州视源电子科技股份有限公司 FPGA (field programmable gate array) system for simulating SPI (serial peripheral interface) FLASH and debugging method
US20140297925A1 (en) * 2013-03-29 2014-10-02 SK Hynix Inc. Storage device with self-contained information storage space
CN105190594A (en) * 2013-03-14 2015-12-23 密克罗奇普技术公司 Single wire programming and debugging interface
CN105510763A (en) * 2016-02-25 2016-04-20 珠海全志科技股份有限公司 Integrated circuit pin testing device
CN106571166A (en) * 2016-11-09 2017-04-19 中国空间技术研究院 MT29F series NAND FLASH test aging system with customizable process

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102201267A (en) * 2010-03-26 2011-09-28 上海摩波彼克半导体有限公司 Platform system for realizing circuit verification of Nandflash flash memory controller based on FPGA (Field Programmable Gate Array) and method thereof
CN103000230B (en) * 2011-09-09 2016-04-13 上海华虹宏力半导体制造有限公司 A kind of test of nonvolatile memory IP core and checking development system
CN202815170U (en) * 2012-03-08 2013-03-20 无锡华大国奇科技有限公司 Chip test system
CN105185415A (en) * 2015-10-28 2015-12-23 上海斐讯数据通信技术有限公司 Method and device for testing EEPROM of I2C
CN107633867B (en) * 2017-09-20 2020-12-01 南京扬贺扬微电子科技有限公司 SPI flash memory test system and method based on FT4222

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201600928U (en) * 2009-05-08 2010-10-06 黄建军 Chip test system and automatic test vector generator ATPG
CN102473126A (en) * 2009-08-11 2012-05-23 桑迪士克科技股份有限公司 Controller and method for providing read status and spare block management information in flash memory system
CN201655336U (en) * 2010-03-24 2010-11-24 青岛海信电器股份有限公司 Serial flash debugging circuit based on FPGA and television set with same
CN102184741A (en) * 2011-02-28 2011-09-14 浪潮电子信息产业股份有限公司 Method for programming serial periphery interface (SPI) FLASH
CN202632785U (en) * 2012-06-28 2012-12-26 内江市效率源信息安全技术有限责任公司 Data detecting device for NAND Flash chip
CN105190594A (en) * 2013-03-14 2015-12-23 密克罗奇普技术公司 Single wire programming and debugging interface
US20140297925A1 (en) * 2013-03-29 2014-10-02 SK Hynix Inc. Storage device with self-contained information storage space
CN203241515U (en) * 2013-04-18 2013-10-16 福建师范大学 Logic analyser based on PC
CN103970665A (en) * 2014-05-28 2014-08-06 广州视源电子科技股份有限公司 FPGA (field programmable gate array) system for simulating SPI (serial peripheral interface) FLASH and debugging method
CN105510763A (en) * 2016-02-25 2016-04-20 珠海全志科技股份有限公司 Integrated circuit pin testing device
CN106571166A (en) * 2016-11-09 2017-04-19 中国空间技术研究院 MT29F series NAND FLASH test aging system with customizable process

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019056935A1 (en) * 2017-09-20 2019-03-28 南京扬贺扬微电子科技有限公司 Ft4222-based testing system and method for spi flash
CN108733389A (en) * 2018-05-31 2018-11-02 深圳市德名利电子有限公司 A kind of Flash data analysis filter
WO2020103839A1 (en) * 2018-11-22 2020-05-28 Changxin Memory Technologies, Inc. Method, device and terminal for testing memory chip
CN111209604A (en) * 2018-11-22 2020-05-29 长鑫存储技术有限公司 Detection method and device of memory chip and terminal
CN111209604B (en) * 2018-11-22 2022-03-25 长鑫存储技术有限公司 Detection method and device of memory chip and terminal
US11461038B2 (en) 2018-11-22 2022-10-04 Changxin Memory Technologies, Inc. Method, device and terminal for testing memory chip
RU199833U1 (en) * 2019-06-03 2020-09-22 Федеральное государственное бюджетное образовательное учреждение высшего образования "Петрозаводский государственный университет" Modular system for electrical and functional testing of FPGA-based NAND memory chips
CN111596200A (en) * 2020-05-25 2020-08-28 上海岱矽集成电路有限公司 Integrated circuit tester

Also Published As

Publication number Publication date
CN107633867B (en) 2020-12-01
WO2019056935A1 (en) 2019-03-28

Similar Documents

Publication Publication Date Title
CN107633867A (en) SPI Flash test system and method based on FT4222
CN101038325B (en) Method and device for testing chip
CN102156784B (en) Verifying environment patterned chip verifying method and device
CN107783873B (en) Method for realizing automatic testing platform of burner
US20070061641A1 (en) Apparatus and method for generating test driver
US7228262B2 (en) Semiconductor integrated circuit verification system
CN115656792B (en) Test method and test platform for chip testability design
CN107622017A (en) A kind of analytic method of general automation software test
CN111090039A (en) FPGA function test method and device
CN106546910A (en) FPGA test platforms based on bit stream retaking of a year or grade
WO2022052161A1 (en) Chip debugging system and debugger
CN101458653A (en) Automatic test method for tax controller of cash register
CN108877868A (en) Parallel apparatus for testing chip and test method
CN115656791B (en) Test method and test platform for chip testability design
CN115684894B (en) Test method and test platform for chip testability design
US7610535B2 (en) Boundary scan connector test method capable of fully utilizing test I/O modules
US8701076B2 (en) Capture of interconnectivity data for multi-pin devices in the design of emulator circuit boards
US6536020B2 (en) Efficient generation of optimum test data
CN108431788B (en) Single board, electronic equipment and gating method
CN109710480B (en) Memory mirror image card debugging method and system
CN1936861A (en) Programe execution tracing method and system and memory medium capable of reading by computer
CN105718366A (en) Automatic testing method of model based on Matlab
CN109542707A (en) Test code generating method and system based on register
CN107577608A (en) Processor chips emulator with random UID
CN107679266A (en) The emulation mode and simulator of flash memory circuit

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
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: SPI flash memory test system and method based on ft4222

Effective date of registration: 20210810

Granted publication date: 20201201

Pledgee: Bank of Jiangsu Co.,Ltd. Nanjing Jiangbei new area sub branch

Pledgor: NANJING HEYANGTEK Co.,Ltd.

Registration number: Y2021980007493

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Building 63, Jinghui Science and Technology Innovation Park, 123 Jinghui West Road, Xinwu District, Wuxi City, Jiangsu Province, 214000

Patentee after: Jiangsu Yangheyang Microelectronics Technology Co.,Ltd.

Country or region after: China

Address before: 210000 12 -80, bu Yue Road, Qiaolin street, Pukou District, Nanjing, Jiangsu, China. 12

Patentee before: NANJING HEYANGTEK Co.,Ltd.

Country or region before: China