WO2019056935A1 - Ft4222-based testing system and method for spi flash - Google Patents

Ft4222-based testing system and method for spi flash Download PDF

Info

Publication number
WO2019056935A1
WO2019056935A1 PCT/CN2018/103038 CN2018103038W WO2019056935A1 WO 2019056935 A1 WO2019056935 A1 WO 2019056935A1 CN 2018103038 W CN2018103038 W CN 2018103038W WO 2019056935 A1 WO2019056935 A1 WO 2019056935A1
Authority
WO
WIPO (PCT)
Prior art keywords
test
module
spi
nand flash
instruction
Prior art date
Application number
PCT/CN2018/103038
Other languages
French (fr)
Chinese (zh)
Inventor
黄欢
施冠良
Original Assignee
南京扬贺扬微电子科技有限公司
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 南京扬贺扬微电子科技有限公司 filed Critical 南京扬贺扬微电子科技有限公司
Publication of WO2019056935A1 publication Critical patent/WO2019056935A1/en

Links

Images

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

Definitions

  • the invention relates to a SPI NAND Flash test method based on FT4222, belonging to the field of SPI NAND Flash test.
  • the SPI NAND Flash test is usually connected by two FPGA boards. One is used as the Host and the other is used as the Device. During the test, different commands are executed by the Host to test whether the various functions of the Device are correct. This method has two drawbacks. One is that the bin file executed by the host is burned in the ROM, so the test process requires frequent burning, which is troublesome. Second, this kind of test can only measure the function and response of the SPI under normal conditions. Some special cases or test contents cannot be realized and are not flexible enough.
  • the instructions that need to be executed are edited in the text document. Only the content in the text document needs to be modified during the test, and then executed through the software program Load File.
  • the commands can be combined and arbitrarily combined, and can be easily modified and improved. effectiveness.
  • the SPI protocol is a simple and convenient communication protocol that exists on all kinds of main control chips and is used to connect peripheral modules. At present, the memory chip is widely used and has a large demand.
  • SPI NAND Flash has applications on various devices, and the stability of Flash requires a large number of test guarantees, and the test of SPI NAND Flash requires a large amount of data reading and writing for a long time, random blocks. Complex operations such as access, so a systematic approach is needed to test Flash.
  • the present invention aims to provide a SPI NAND Flash test method based on FT4222, which can test a simple SPI NAND Flash read, write, erase, BurnIn test, and also Some special test objectives are achieved by modifying the test software program code.
  • the present invention adopts the following technical solutions:
  • the test system includes a processor module, an SPI NAND Flash module, an FT4222 chip module, and a communication connection between the modules.
  • the processor module and the FT4222 chip module are connected by USB.
  • the processor module is configured to generate a test instruction, and the test instruction is transmitted to the FT4222 chip module via USB, and the FT4222 chip module has a conversion function of the USB and SPI protocols, and converts the instruction to be tested into an SPI format and transmits the signal to the SPI.
  • the NAND Flash module runs the instruction, the result is transmitted back to the processor module through the FT4222 chip module, thereby judging the correctness of the instruction operation.
  • the test method calls the FT4222 chip device in the debug tool according to the test statement input by the tester, configures the test condition for the SPI NAND Flash module with different parameters, and finally loads the test statement into the FT4222 chip.
  • the module tests the SPI NAND Flash module.
  • the method specifically includes the following steps:
  • Step 1 input the instruction required to be tested in the processor module
  • Step 2 After the script file is input, open the calling debugging tool, obtain the chip device connected to the processor, select the FT4222 chip device; then set the parameters of the SPI NAND flash module and the conditions required for the test, and load the document to be tested. Into, test the SPI NAND Flash through the library function of the FT4222 chip module;
  • Step 3 Observe the correctness of the operation result of the waveform verification instruction through the logic analyzer.
  • the processor module is a PC.
  • the instruction for inputting the required test in the processor module is specifically: firstly creating a text document, inputting an instruction to be tested, and if it is a plurality of combinations, inputting a line, the format is a two-byte hexadecimal number, Separated by spaces, arranged in turn, and entered with a carriage return.
  • the logic analyzer acquires digital signals from an FPGA.
  • the invention has the following innovations:
  • the FT4222 is used to simulate the Host behavior, and the instructions that need to be executed are edited in the text document. Only the content in the text document needs to be modified during the test, and then executed through the software program Load File.
  • the instructions can be combined and arbitrarily combined, and the modification is convenient and the efficiency is improved.
  • the SPI protocol is a simple and convenient communication protocol that exists on all kinds of main control chips and is used to connect peripheral modules. At present, the memory chip is widely used and has a large demand.
  • SPI NAND Flash has applications on various devices, and the stability of Flash requires a large number of test guarantees, and the test of SPI NAND Flash requires a large amount of data reading and writing for a long time, random blocks. Complex operations such as access, so a systematic approach is needed to test Flash.
  • This test method can test simple SPI NAND Flash read, write, erase, BurnIn test, and also modify the test software program code to achieve some special test purposes, such as simulation H2Test, random block The reading and writing, various data pattern combinations and the read and write performance of the test flash, etc., and in the test can increase the test items as needed to achieve automated test functions.
  • Figure 1 is a system configuration diagram of a test method of the present invention.
  • the present invention provides an SPI NAND Flash test system based on FT4222.
  • the test system includes a processor module, an SPI NAND Flash module, an FT4222 chip module, and a communication connection between the modules;
  • the module is connected to the FT4222 chip module via USB.
  • the processor module is configured to generate a test instruction, and the test instruction is transmitted to the FT4222 chip module via USB, and the FT4222 chip module has a conversion function of the USB and SPI protocols, and converts the instruction to be tested into an SPI format and transmits the signal to the SPI.
  • the NAND Flash module runs the instruction, the result is transmitted back to the processor module through the FT4222 chip module, thereby judging the correctness of the instruction operation.
  • the present invention provides a test method. According to the test statement input by the tester, the FT4222 chip device in the debug tool is called, and the test condition is configured for the SPI NAND Flash module with different parameters, and finally the test statement is loaded. The SPI NAND Flash module is tested by entering the FT4222 chip module.
  • the method specifically includes the following steps:
  • Step 1 input the instructions to be tested in the processor module; combine multiple single instructions into a script for automated testing, reducing cumbersome manual operations, and the advantages of the script;
  • Step 2 After the script file is input, open the calling debugging tool, obtain the chip device connected to the processor, select the FT4222 chip device; then set the parameters of the SPI NAND flash module and the conditions required for the test, and load the document to be tested. Into, through the library function of FT4222 chip module to achieve SPI NAND Flash test work; (running in script mode, strong editability, easy to operate)
  • Step 3 According to the operation flow on the interface, the logic analyzer is used to observe the correctness of the operation result of the waveform verification instruction.
  • the logic analyzer collects digital signals from the FPGA, such as chip enable, command/address latch, read/write enable, data, etc., to verify the correctness of the command operation results.
  • the programmable circuit used in this embodiment uses the hardware description language to complete the design of the circuit and burn it to the FPGA for testing.
  • the programmable circuit here is a conventional choice and is used for IC design verification. Here, it is used to test the SPI. Flash memory.
  • the processor module is a PC.
  • the instruction for inputting the required test in the processor module is specifically: firstly creating a text document, inputting an instruction to be tested, and if it is a plurality of combinations, inputting a line, the format is a two-byte hexadecimal number, Separated by spaces, arranged in turn, and entered with a carriage return.
  • This test method can test the read, write, erase, BurnIn test of the simple SPI NAND Flash, and also modify the test software program code, such as regularity of multiple single instructions, can be according to demand or According to the working characteristics of Flash, the example is described in the next sentence.
  • the combination is used to achieve some special test purposes, such as analog H2Test, flash full block sequential write read test, random block read and write, address random change write read operation, various data pattern combinations, different data such as all 0 , all 1 and random numbers, as well as test flash read and write performance, flash write speed stability, etc., and in the test can increase the test items as needed to achieve automated test functions.

Abstract

Provided are an FT4222-based testing system and method for an SPI flash. The testing method comprises: invoking an FT4222 chip device from debugging tools according to a testing statement inputted by a tester; configuring testing conditions for different parameters for an SPI NAND Flash module; and loading the testing statement to an FT4222 chip module to test the SPI NAND Flash module. The testing method can perform simple tests, such as reading, writing, purging and BurnIn (stability) tests, on an SPI NAND Flash. Moreover, a program code of testing software can be modified to accomplish particular test objectives.

Description

基于FT4222的SPI闪存测试系统及方法FT flash memory test system and method based on FT4222 技术领域Technical field
本发明涉及一种基于FT4222的SPI NAND Flash测试方法,属于SPI NAND Flash测试领域。The invention relates to a SPI NAND Flash test method based on FT4222, belonging to the field of SPI NAND Flash test.
背景技术Background technique
SPI NAND Flash测试通常由两块FPGA板相连,一块作为Host端,一块作为Device端,测试时通过Host端执行不同的指令测试Device端的各种功能是否正确。此方法有2个弊端,一是由于Host端执行的bin文件烧在ROM里,因此测试过程中,需要频繁的烧录,比较麻烦。二是这种测试只能测正常情况下的SPI的功能和响应,有些特殊情况或是测试内容无法实现,不够灵活。The SPI NAND Flash test is usually connected by two FPGA boards. One is used as the Host and the other is used as the Device. During the test, different commands are executed by the Host to test whether the various functions of the Device are correct. This method has two drawbacks. One is that the bin file executed by the host is burned in the ROM, so the test process requires frequent burning, which is troublesome. Second, this kind of test can only measure the function and response of the SPI under normal conditions. Some special cases or test contents cannot be realized and are not flexible enough.
于是,采用FT4222模拟Host行为,把需要执行的指令编辑在文本文档中,测试时只需要修改文本文档中的内容,然后通过软件程序Load File并执行,指令可以任意组合搭配,并且方便修改,提高效率。Therefore, using FT4222 to simulate the Host behavior, the instructions that need to be executed are edited in the text document. Only the content in the text document needs to be modified during the test, and then executed through the software program Load File. The commands can be combined and arbitrarily combined, and can be easily modified and improved. effectiveness.
SPI协议是一个简易便捷的通信协议,各种主控芯片上都会存在,用于连接周边模块。目前存储芯片应用广泛,需求量大,SPI NAND Flash在各种设备上都有应用,而Flash的稳定性需要大量测试保证,并且SPI NAND Flash的测试需要长时间大量的资料读写,随机区块存取等复杂的操作,所以需要一个系统的方法来对Flash进行测试。The SPI protocol is a simple and convenient communication protocol that exists on all kinds of main control chips and is used to connect peripheral modules. At present, the memory chip is widely used and has a large demand. SPI NAND Flash has applications on various devices, and the stability of Flash requires a large number of test guarantees, and the test of SPI NAND Flash requires a large amount of data reading and writing for a long time, random blocks. Complex operations such as access, so a systematic approach is needed to test Flash.
发明内容Summary of the invention
针对上述技术问题,本发明旨在提供一种基于FT4222的SPI NAND Flash测试方法,该测试方法可以测试简单的SPI NAND Flash的读、写、擦除、BurnIn test(稳定性测试),同时还可通过修改测试软件程序代码,达到一些特殊的测试目的。In view of the above technical problems, the present invention aims to provide a SPI NAND Flash test method based on FT4222, which can test a simple SPI NAND Flash read, write, erase, BurnIn test, and also Some special test objectives are achieved by modifying the test software program code.
为实现上述目的,本发明采用如下技术方案:To achieve the above object, the present invention adopts the following technical solutions:
基于FT4222的SPI闪存测试系统,所述测试系统包括处理器模块、SPI NAND Flash模块、FT4222芯片模块以及各模块之间的通信连接。Based on the FT4222 SPI flash test system, the test system includes a processor module, an SPI NAND Flash module, an FT4222 chip module, and a communication connection between the modules.
所述处理器模块与FT4222芯片模块间通过USB连接。The processor module and the FT4222 chip module are connected by USB.
所述处理器模块用于生成测试指令,所述测试指令经USB传输到FT4222芯片模块,由FT4222芯片模块自带USB和SPI协议的转换功能,把待测的指令转换成SPI形式,传给SPI NAND Flash模块运行指令后,再通过FT4222芯片模块把结果传回到所述处理器模块上,从 而判断指令运行的正确性。The processor module is configured to generate a test instruction, and the test instruction is transmitted to the FT4222 chip module via USB, and the FT4222 chip module has a conversion function of the USB and SPI protocols, and converts the instruction to be tested into an SPI format and transmits the signal to the SPI. After the NAND Flash module runs the instruction, the result is transmitted back to the processor module through the FT4222 chip module, thereby judging the correctness of the instruction operation.
基于FT4222的SPI闪存测试方法,所述测试方法根据测试人员输入的测试语句,调用调试工具中的FT4222芯片设备,针对不同参数的SPI NAND Flash模块配置测试条件,最后将测试语句载入到FT4222芯片模块对所述SPI NAND Flash模块进行测试。Based on the FT4222 SPI flash test method, the test method calls the FT4222 chip device in the debug tool according to the test statement input by the tester, configures the test condition for the SPI NAND Flash module with different parameters, and finally loads the test statement into the FT4222 chip. The module tests the SPI NAND Flash module.
进一步的,所述方法具体包括以下步骤:Further, the method specifically includes the following steps:
步骤一,在处理器模块中输入所需要测试的指令;Step 1: input the instruction required to be tested in the processor module;
步骤二,脚本文件输入完毕后,打开调用调试工具,获取与处理器连接的芯片设备,选中FT4222芯片设备;然后设置SPI NAND flash模块参数以及测试所需的条件,将所述待测指令文档载入,通过FT4222芯片模块的库函数实现SPI NAND Flash的测试工作;Step 2: After the script file is input, open the calling debugging tool, obtain the chip device connected to the processor, select the FT4222 chip device; then set the parameters of the SPI NAND flash module and the conditions required for the test, and load the document to be tested. Into, test the SPI NAND Flash through the library function of the FT4222 chip module;
步骤三,通过逻辑分析仪观察波形检验指令运行结果的正确性。Step 3: Observe the correctness of the operation result of the waveform verification instruction through the logic analyzer.
所述处理器模块为PC。The processor module is a PC.
所述在处理器模块中输入所需要测试的指令具体为:首先创建一个文本文档,输入所需要测试的指令,如果是多条组合需分行输入,格式为两个字节十六进制数,以空格隔开,依次排列下去,输入完以回车换行。The instruction for inputting the required test in the processor module is specifically: firstly creating a text document, inputting an instruction to be tested, and if it is a plurality of combinations, inputting a line, the format is a two-byte hexadecimal number, Separated by spaces, arranged in turn, and entered with a carriage return.
所述逻辑分析仪从FPGA上采集数字信号。The logic analyzer acquires digital signals from an FPGA.
本发明具有如下创新:The invention has the following innovations:
采用FT4222模拟Host行为,把需要执行的指令编辑在文本文档中,测试时只需要修改文本文档中的内容,然后通过软件程序Load File并执行,指令可以任意组合搭配,并且方便修改,提高效率。The FT4222 is used to simulate the Host behavior, and the instructions that need to be executed are edited in the text document. Only the content in the text document needs to be modified during the test, and then executed through the software program Load File. The instructions can be combined and arbitrarily combined, and the modification is convenient and the efficiency is improved.
SPI协议是一个简易便捷的通信协议,各种主控芯片上都会存在,用于连接周边模块。目前存储芯片应用广泛,需求量大,SPI NAND Flash在各种设备上都有应用,而Flash的稳定性需要大量测试保证,并且SPI NAND Flash的测试需要长时间大量的资料读写,随机区块存取等复杂的操作,所以需要一个系统的方法来对Flash进行测试。The SPI protocol is a simple and convenient communication protocol that exists on all kinds of main control chips and is used to connect peripheral modules. At present, the memory chip is widely used and has a large demand. SPI NAND Flash has applications on various devices, and the stability of Flash requires a large number of test guarantees, and the test of SPI NAND Flash requires a large amount of data reading and writing for a long time, random blocks. Complex operations such as access, so a systematic approach is needed to test Flash.
该测试方法可以测试简单的SPI NAND Flash的读、写、擦除、BurnIn test(稳定性测试),同时还可通过修改测试软件程序代码,达到一些特殊的测试目的,例如模拟H2Test,随机区块的读写,各种data pattern组合以及测试flash的读写效能等,并且在测试中可以按需求增加测试项目,达到自动化测试功能。This test method can test simple SPI NAND Flash read, write, erase, BurnIn test, and also modify the test software program code to achieve some special test purposes, such as simulation H2Test, random block The reading and writing, various data pattern combinations and the read and write performance of the test flash, etc., and in the test can increase the test items as needed to achieve automated test functions.
附图说明DRAWINGS
图1是本发明测试方法的系统结构图。BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a system configuration diagram of a test method of the present invention.
具体实施方式Detailed ways
本发明提供一种基于FT4222的SPI NAND Flash测试系统,如图1所示,所述测试系统包括处理器模块、SPI NAND Flash模块、FT4222芯片模块以及各模块之间的通信连接;所述处理器模块与FT4222芯片模块间通过USB连接。The present invention provides an SPI NAND Flash test system based on FT4222. As shown in FIG. 1, the test system includes a processor module, an SPI NAND Flash module, an FT4222 chip module, and a communication connection between the modules; The module is connected to the FT4222 chip module via USB.
所述处理器模块用于生成测试指令,所述测试指令经USB传输到FT4222芯片模块,由FT4222芯片模块自带USB和SPI协议的转换功能,把待测的指令转换成SPI形式,传给SPI NAND Flash模块运行指令后,再通过FT4222芯片模块把结果传回到所述处理器模块上,从而判断指令运行的正确性。The processor module is configured to generate a test instruction, and the test instruction is transmitted to the FT4222 chip module via USB, and the FT4222 chip module has a conversion function of the USB and SPI protocols, and converts the instruction to be tested into an SPI format and transmits the signal to the SPI. After the NAND Flash module runs the instruction, the result is transmitted back to the processor module through the FT4222 chip module, thereby judging the correctness of the instruction operation.
基于上述测试系统,本发明提供一测试方法,所述测试方法根据测试人员输入的测试语句,调用调试工具中的FT4222芯片设备,针对不同参数的SPI NAND Flash模块配置测试条件,最后将测试语句载入到FT4222芯片模块对所述SPI NAND Flash模块进行测试。Based on the above test system, the present invention provides a test method. According to the test statement input by the tester, the FT4222 chip device in the debug tool is called, and the test condition is configured for the SPI NAND Flash module with different parameters, and finally the test statement is loaded. The SPI NAND Flash module is tested by entering the FT4222 chip module.
具体的说,所述方法具体包括以下步骤:Specifically, the method specifically includes the following steps:
步骤一,在处理器模块中输入所需要测试的指令;把多条单一指令组合起来编辑成脚本进行自动化测试,减少繁琐的人工操作,脚本的优势;Step 1: input the instructions to be tested in the processor module; combine multiple single instructions into a script for automated testing, reducing cumbersome manual operations, and the advantages of the script;
步骤二,脚本文件输入完毕后,打开调用调试工具,获取与处理器连接的芯片设备,选中FT4222芯片设备;然后设置SPI NAND flash模块参数以及测试所需的条件,将所述待测指令文档载入,通过FT4222芯片模块的库函数实现SPI NAND Flash的测试工作;(以脚本方式运行,可编辑性强,操作方便)Step 2: After the script file is input, open the calling debugging tool, obtain the chip device connected to the processor, select the FT4222 chip device; then set the parameters of the SPI NAND flash module and the conditions required for the test, and load the document to be tested. Into, through the library function of FT4222 chip module to achieve SPI NAND Flash test work; (running in script mode, strong editability, easy to operate)
步骤三,按照界面上的操作流程进行测试,通过逻辑分析仪观察波形检验指令运行结果的正确性。Step 3: According to the operation flow on the interface, the logic analyzer is used to observe the correctness of the operation result of the waveform verification instruction.
上述逻辑分析仪从FPGA上采集的数字信号,如芯片使能,命令/地址锁存,读写使能,数据等信息,检验指令运行结果的正确性。The logic analyzer collects digital signals from the FPGA, such as chip enable, command/address latch, read/write enable, data, etc., to verify the correctness of the command operation results.
本实施例所采用的可编程的电路,用硬件描述语言完成电路的设计烧录到FPGA上进行测试,这里的可编程电路是常规的选择,用作IC设计验证,这里即是用来测试SPI闪存。The programmable circuit used in this embodiment uses the hardware description language to complete the design of the circuit and burn it to the FPGA for testing. The programmable circuit here is a conventional choice and is used for IC design verification. Here, it is used to test the SPI. Flash memory.
所述处理器模块为PC。The processor module is a PC.
所述在处理器模块中输入所需要测试的指令具体为:首先创建一个文本文档,输入所需要测试的指令,如果是多条组合需分行输入,格式为两个字节十六进制数,以空格隔开,依次排列下去,输入完以回车换行。The instruction for inputting the required test in the processor module is specifically: firstly creating a text document, inputting an instruction to be tested, and if it is a plurality of combinations, inputting a line, the format is a two-byte hexadecimal number, Separated by spaces, arranged in turn, and entered with a carriage return.
具体实施方式:Detailed ways:
1)首先创建一个文本文档,输入所需要测试的指令,如果是多条组合需分行输入,格式为两个字节十六进制数,以空格隔开,依次排列下去,输入完以回车换行。如:1) First create a text document, input the instructions you need to test, if it is a combination of multiple lines, the format is two bytes of hexadecimal numbers, separated by spaces, arranged in turn, input is returned by carriage return Wrap. Such as:
写命令0x02+column addr+数据Write command 0x02+column addr+ data
读命令0x03/0x3b/0x6b/0xeb/0xbb+column addr+长度(两字节十六进制)Read command 0x03/0x3b/0x6b/0xeb/0xbb+column addr+length (two bytes hex)
0x13/0x10+block/page addr0x13/0x10+block/page addr
擦除命令0xd8+block addrErase command 0xd8+block addr
2)脚本文件输入完毕后,打开Debug Tool,点击Scan button,open FT4222 device,然后在界面上设置各种flash参数以及测试所需的条件,完成后点击load file button,把刚才创建的指令文档载入,通过编程调用FT4222的库函数实现SPI NAND Flash的测试工作。2) After the script file is input, open the Debug Tool, click Scan button, open FT4222 device, and then set various flash parameters and conditions required for testing on the interface. After completing, click load file button to load the instruction file just created. Into, test the SPI NAND Flash by calling the library function of FT4222.
3)运行结果显示在右侧空白区域,同时可以通过逻辑分析仪观察波形检验指令运行结果的正确性。3) The running result is displayed in the blank area on the right side, and the correctness of the running result of the waveform check instruction can be observed by the logic analyzer.
该测试方法可以测试简单的SPI NAND Flash的读、写、擦除、BurnIn test(稳定性测试),同时还可通过修改测试软件程序代码,如把多条单一指令有规律,可以按需求或者说是按照Flash工作特性,例子就是下一句所描述的。的组合起来以达到一些特殊的测试目的,例如模拟H2Test,flash全区块顺序写读检验,随机区块的读写,地址随机变化的写读操作,各种data pattern组合,不同数据如全0,全1以及随机数等,以及测试flash的读写效能,flash的写读速度稳定性等,并且在测试中可以按需求增加测试项目,达到自动化测试功能。This test method can test the read, write, erase, BurnIn test of the simple SPI NAND Flash, and also modify the test software program code, such as regularity of multiple single instructions, can be according to demand or According to the working characteristics of Flash, the example is described in the next sentence. The combination is used to achieve some special test purposes, such as analog H2Test, flash full block sequential write read test, random block read and write, address random change write read operation, various data pattern combinations, different data such as all 0 , all 1 and random numbers, as well as test flash read and write performance, flash write speed stability, etc., and in the test can increase the test items as needed to achieve automated test functions.
以上所述仅是本发明的优选实施方式,应当指出:对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above description is only a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It should be considered as the scope of protection of the present invention.

Claims (8)

  1. 基于FT4222的SPI闪存测试系统,其特征在于,所述测试系统包括处理器模块、SPI NAND Flash模块、FT4222芯片模块以及各模块之间的通信连接。The FT4222 based SPI flash test system is characterized in that the test system comprises a processor module, an SPI NAND Flash module, an FT4222 chip module, and a communication connection between the modules.
  2. 根据权利要求1所述的基于FT4222的SPI闪存测试系统,其特征在于,所述处理器模块与FT4222芯片模块间通过USB连接。The FT4222-based SPI flash test system according to claim 1, wherein the processor module and the FT4222 chip module are connected by USB.
  3. 根据权利要求2所述的基于FT4222的SPI闪存测试系统,其特征在于,所述处理器模块用于生成测试指令,所述测试指令经USB传输到FT4222芯片模块,由FT4222芯片模块自带USB和SPI协议的转换功能,把待测的指令转换成SPI形式,传给SPI NAND Flash模块运行指令后,再通过FT4222芯片模块把结果传回到所述处理器模块上,从而判断指令运行的正确性。The FT4222-based SPI flash test system according to claim 2, wherein the processor module is configured to generate a test command, and the test command is transmitted to the FT4222 chip module via USB, and the FT4222 chip module has a USB and The conversion function of the SPI protocol converts the instruction to be tested into an SPI format and transmits it to the SPI NAND Flash module to execute the instruction, and then passes the result back to the processor module through the FT4222 chip module, thereby judging the correctness of the instruction operation. .
  4. 基于FT4222的SPI闪存测试方法,其特征在于,所述测试方法根据测试人员输入的测试语句,调用调试工具中的FT4222芯片设备,针对不同参数的SPI NAND Flash模块配置测试条件,最后将测试语句载入到FT4222芯片模块对所述SPI NAND Flash模块进行测试。The FT4222-based SPI flash test method is characterized in that the test method calls the FT4222 chip device in the debug tool according to the test statement input by the tester, configures the test condition for the SPI NAND Flash module with different parameters, and finally the test sentence is loaded. The SPI NAND Flash module is tested by entering the FT4222 chip module.
  5. 根据权利要求4所述的基于FT4222的SPI闪存测试方法,其特征在于,所述方法具体包括以下步骤:The FT4222-based SPI flash memory testing method according to claim 4, wherein the method specifically comprises the following steps:
    步骤一,在处理器模块中输入所需要测试的指令;Step 1: input the instruction required to be tested in the processor module;
    步骤二,脚本文件输入完毕后,打开调用调试工具,获取与处理器连接的芯片设备,选中FT4222芯片设备;然后设置SPI NAND flash模块参数以及测试所需的条件,将所述待测指令文档载入,通过FT4222芯片模块的库函数实现SPI NAND Flash的测试工作;Step 2: After the script file is input, open the calling debugging tool, obtain the chip device connected to the processor, select the FT4222 chip device; then set the parameters of the SPI NAND flash module and the conditions required for the test, and load the document to be tested. Into, test the SPI NAND Flash through the library function of the FT4222 chip module;
    步骤三,通过逻辑分析仪观察波形检验指令运行结果的正确性。Step 3: Observe the correctness of the operation result of the waveform verification instruction through the logic analyzer.
  6. 根据权利要求5所述的基于FT4222的SPI闪存测试方法,其特征在于,所述处理器模块为PC。The FT4222-based SPI flash test method according to claim 5, wherein the processor module is a PC.
  7. 根据权利要求5所述的基于FT4222的SPI闪存测试方法,其特征在于,所述在处理器模块中输入所需要测试的指令具体为:首先创建一个文本文档,输入所需要测试的指令,如果是多条组合需分行输入,格式为两个字节十六进制数,以空格隔开,依次排列下去,输入完以回车换行。The FT4222-based SPI flash memory testing method according to claim 5, wherein the input of the instruction required to be tested in the processor module is specifically: first creating a text document, inputting an instruction to be tested, and if Multiple combinations need to be input in separate lines. The format is two-byte hexadecimal numbers, separated by spaces, arranged in turn, and entered with a carriage return.
  8. 根据权利要求5所述的基于FT4222的SPI闪存测试方法,其特征在于,所述逻辑分析仪从FPGA采集数字信号。The FT4222-based SPI flash test method according to claim 5, wherein the logic analyzer collects digital signals from the FPGA.
PCT/CN2018/103038 2017-09-20 2018-08-29 Ft4222-based testing system and method for spi flash WO2019056935A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2019056935A1 true WO2019056935A1 (en) 2019-03-28

Family

ID=61103087

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/103038 WO2019056935A1 (en) 2017-09-20 2018-08-29 Ft4222-based testing system and method for spi flash

Country Status (2)

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

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107633867B (en) * 2017-09-20 2020-12-01 南京扬贺扬微电子科技有限公司 SPI flash memory test system and method based on FT4222
CN108733389A (en) * 2018-05-31 2018-11-02 深圳市德名利电子有限公司 A kind of Flash data analysis filter
CN111209604B (en) * 2018-11-22 2022-03-25 长鑫存储技术有限公司 Detection method and device of memory chip and terminal
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

Citations (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
CN202815170U (en) * 2012-03-08 2013-03-20 无锡华大国奇科技有限公司 Chip test system
CN103000230A (en) * 2011-09-09 2013-03-27 上海华虹Nec电子有限公司 Nonvolatile memory IP core test and verify exploitation system
CN105185415A (en) * 2015-10-28 2015-12-23 上海斐讯数据通信技术有限公司 Method and device for testing EEPROM of I2C
CN107633867A (en) * 2017-09-20 2018-01-26 南京扬贺扬微电子科技有限公司 SPI Flash test system and method based on FT4222

Family Cites Families (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
US20110041005A1 (en) * 2009-08-11 2011-02-17 Selinger Robert D Controller and Method for Providing Read Status and Spare Block Management Information in a 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
US20150019775A1 (en) * 2013-03-14 2015-01-15 Microchip Technology Incorporated Single Wire Programming and Debugging Interface
TWM466297U (en) * 2013-03-29 2013-11-21 Sk Hynix Inc Storage device with independent information storage space
CN203241515U (en) * 2013-04-18 2013-10-16 福建师范大学 Logic analyser based on PC
CN103970665B (en) * 2014-05-28 2017-09-19 广州视源电子科技股份有限公司 A kind of simulation SPI FLASH FPGA system and adjustment method
CN105510763B (en) * 2016-02-25 2018-08-10 珠海全志科技股份有限公司 Ic pin test device
CN106571166B (en) * 2016-11-09 2020-02-14 中国空间技术研究院 MT29F series NAND FLASH test aging system with customizable flow

Patent Citations (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
CN103000230A (en) * 2011-09-09 2013-03-27 上海华虹Nec电子有限公司 Nonvolatile memory IP core test and verify exploitation 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
CN107633867A (en) * 2017-09-20 2018-01-26 南京扬贺扬微电子科技有限公司 SPI Flash test system and method based on FT4222

Also Published As

Publication number Publication date
CN107633867B (en) 2020-12-01
CN107633867A (en) 2018-01-26

Similar Documents

Publication Publication Date Title
WO2019056935A1 (en) Ft4222-based testing system and method for spi flash
CN101038325B (en) Method and device for testing chip
CN107783873B (en) Method for realizing automatic testing platform of burner
CN107907814B (en) Method for improving mass production test efficiency of chips
CN103064403A (en) Method and system of electronic control unit (ECU) hardware-in-loop simulation automated testing
US20130055023A1 (en) Verification of soc scan dump and memory dump operations
CN112084113B (en) Configurable automatic test method and system based on embedded simulation verification software
US20060136794A1 (en) Computer peripheral connecting interface system configuration debugging method and system
US9645911B2 (en) System and method for debugging firmware/software by generating trace data
TW201312340A (en) Handheld electronic device testing system and method
US9690888B2 (en) Method and apparatus for system design verification
WO2019134113A1 (en) Automated test method and system
CN114325333A (en) High-efficiency normalized SOC (system on chip) system level verification method and device
CN112328305B (en) Eye pattern testing method and device, electronic equipment and readable storage medium
CN111339731A (en) FPGA (field programmable Gate array) verification platform and method for SoC (System on chip)
CN106294144A (en) Generation method, system and the server of the test vector of serial communication protocol
CN101604275A (en) BIOS test macro and method of testing thereof
CN114281624A (en) Method, system, device and equipment for testing I2C signal integrity
WO2022052161A1 (en) Chip debugging system and debugger
US20110239047A1 (en) Circuit operation verification system and verification environment creation method
JP4023736B2 (en) Method for electronically testing memory modules
TWI750849B (en) Automatic test system and method for testing application of device under test
CN108710554B (en) Processor debugging system and method
CN112965868B (en) Automatic testing method and device for game controller and readable medium
EP2365488A1 (en) Apparatus and method for testing semiconductor integrated circuits, and a non-transitory computer-readable medium having a semiconductor integrated circuit testing program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18858661

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18858661

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 18858661

Country of ref document: EP

Kind code of ref document: A1