A method and system for analyzing storage chip status data

By building a memory chip analysis system and using FPGA registers to save and analyze test data, the problem of incomplete and low-efficiency memory chip status data analysis in the existing technology is solved, and more accurate and efficient status information acquisition is achieved.

CN118447912BActive Publication Date: 2024-10-01SHENZHEN QUANXING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410892610.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-04
Publication Date
2024-10-01
Estimated Expiration
2044-07-04

AI Technical Summary

Technical Problem

In the existing technology, users cannot obtain operating status information such as the service life, number of erases and writes, and the number of Bad-Blocks of the memory chip in a timely manner, resulting in incomplete analysis and low efficiency.

Method used

By building a memory chip analysis system, the test commands and test characteristic data of the host computer are used to write into the FPGA register through the test board. The chip reads the test commands and data in the FPGA register for corresponding testing and analysis, including function boards, analysis boards, The chip loading board, test board, test load board and host computer use the FPGA to provide registers to save test data and characteristic data, and use the analysis board to analyze the upper-layer instructions and status tables to generate chip status data.

Benefits of technology

The accuracy and efficiency of data analysis are improved, real-time status information of the chip can be obtained in a timely manner, and the problems of incomplete analysis and low efficiency in the existing technology are solved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118447912B_ABST
    Figure CN118447912B_ABST
Patent Text Reader

Abstract

The present invention discloses an analysis method and system for storage chip status data, and relates to the field of chip information processing technology. The present invention includes a function board, an analysis board, a chip loading board, a test board, a test load board and a host computer; the test board leads out its available test resources and channels through the test load board, and is connected to the chip loading board; an FPGA is loaded on the function board; the analysis board is connected to the test board for communication, and is used to record the upper layer instructions sent by the test board to the chip, and record the state table information fed back by the chip to the test board, and parse the upper layer instructions and the state table to generate the state data of the chip. The present invention constructs a storage chip analysis system, uses the test commands and test characteristic data of the host computer to be written into the register of the FPGA through the test board, and the chip reads the test commands and data in the FPGA register to start the corresponding test and analysis, thereby improving the accuracy and efficiency of data analysis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of chip information processing, and in particular relates to an analysis method and system for storing chip status data. Background Art

[0002] With the widespread application of memory chips, the performance and reliability requirements of memory chips are getting higher and higher. Therefore, it is necessary to timely obtain and control the operating status information of the memory chip, and update the control strategy of the memory chip according to the operating status. However, in the existing technology, users cannot timely obtain the operating status information of the memory chip, such as the service life, number of erases and writes, and number of Bad-Blocks. Summary of the invention

[0003] The purpose of the present invention is to provide a method and system for analyzing the status data of a storage chip. By constructing a storage chip analysis system, the test commands and test characteristic data of the host computer are written into the registers of the FPGA through the test board. The chip reads the test commands and data in the FPGA registers to start corresponding testing and analysis, thereby solving the problems of incomplete analysis and low analysis efficiency of the existing chip status data.

[0004] In order to solve the above technical problems, the present invention is achieved through the following technical solutions:

[0005] The present invention is an analysis system for storing chip status data, comprising a function board, an analysis board, a chip loading board, a test board, a test load board and a host computer;

[0006] The host computer exchanges test data or test results with the test board through different communication protocols; the test board leads out its available test resources and channels through the test load board and communicates with the chip loading board; the test board is used to run the test script and perform read and write stress tests on the chip; the chip loading board is used to load the chip to be analyzed, and the test load board is a mechanical and circuit interface connecting the test board and the chip to be analyzed, characterized in that:

[0007] The function board is loaded with an FPGA; the FPGA is connected to the chip to be analyzed through the circuit interface of the test load board, and is used to provide a register to store temporary data sent by the test board and characteristic data of the chip test process;

[0008] The analysis board is in communication connection with the test board, and is used to record the upper layer instructions sent by the test board to the chip, and record the state table information fed back by the chip to the test board, and parse the upper layer instructions and the state table to generate the state data of the chip;

[0009] The host computer is used to send an information acquisition instruction to the analysis board according to the status data to obtain the real-time status information of the chip;

[0010] The FPGA includes at least four identical functional areas but with different addresses, which are used to write test instructions, test data and burning data into the test board writing area of ​​the chip to be analyzed;

[0011] The chip to be analyzed reads corresponding instructions and data from the writing area of ​​the test board for testing, and writes the test results or chip characteristics into the corresponding IC writing area for the test board to read and record.

[0012] As a preferred technical solution, the host computer sends test instructions or test data to the test board to test the chip, and after the chip test is completed, the chip characteristic data is transmitted to the host computer for recording.

[0013] An analysis method for an analysis system for storing chip status data comprises the following steps:

[0014] Step S1: The test board sends the test instruction or test data sent by the host computer to the chip for testing, and the chip characteristic data after the chip test is transmitted to the host computer and recorded;

[0015] Step S2: The host computer sends different characteristic values ​​to the chip for judgment or burning according to the chip characteristics;

[0016] Step S3: After the test is completed, the analysis board analyzes the status data, records the upper layer instructions sent by the test board to the chip, and records the status table information fed back by the chip to the test board;

[0017] Step S4: the analysis board parses the upper layer instructions and status table information to generate chip status data;

[0018] Step S5: The host computer sends an information acquisition instruction to the analysis board according to the status data to obtain the real-time status information of the chip.

[0019] As a preferred technical solution, in step S1, the host computer issues test instructions in the order of test items and waits for the test board to return results; the test results returned by the test board include PASS or FAIL. When any test result is FAIL, the chip fails.

[0020] As a preferred technical solution, before step S1, the test board leads the DC power supply channel, test resources and test channels to the FPGA, and writes the test instructions sent by the host computer into the corresponding registers of the FPGA, waiting for the chip to read and test.

[0021] As a preferred technical solution, in step S3, the status data is transmitted to the host computer through the analysis board, and the host computer obtains and displays the operating status information of the chip according to the status data.

[0022] The present invention has the following beneficial effects:

[0023] The present invention constructs a storage chip analysis system, uses the host computer's test commands and test characteristic data to write into the FPGA register through the test board, and the chip reads the test commands and data in the FPGA register to start corresponding testing and analysis, thereby improving the accuracy and efficiency of data analysis.

[0024] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for describing the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0026] Figure 1 A schematic diagram of the structure of an analysis system for storage chip status data of the present invention;

[0027] Figure 2 The present invention is a flow chart of a method for analyzing storage chip status data. DETAILED DESCRIPTION

[0028] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0029] In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0030] In order to make the purpose, technical solution and advantages of this application clearer, the following Figure 1 The implementation methods of the present application are described in further detail.

[0031] Before introducing the embodiments of the present application, the status data analysis of the storage chip is first described.

[0032] With the prevalence of the trend of intelligence, the Internet of Things, big data, artificial intelligence, etc. have become the general trend. As the hardware foundation for all this, chips play an irreplaceable role in their industrialization and popularization. The production of chips mainly consists of three main links: IC design, manufacturing and testing. Among them, IC testing, as the last link before the chip flows into the customer, plays an important role in the final control of chip quality and the retrieval and identification of chip reliability and stability. The so-called chip testing is mainly divided into wafer testing (CP testing) and chip packaging or function testing (FT testing, defined as Final Test in the industry). As the last step in screening quality and reliable chips, the importance of FT testing is self-evident. Among them, a stable and reliable FT testing system is not only extremely important for the screening of chip quality, but also has important significance for ensuring the chip yield and the standards for mis-killing and mis-placing.

[0033] To make the purpose, technical solution and advantages of this application more clear, the following Figure 1-2 It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application. Embodiment 1

[0034] In the prior art, the memory chip is composed of an ARMCPU controller and a NAND flash memory. Among them, the ARMCPU runs the controller software, which is usually called firmware. The main function of the firmware is to manage the bad blocks of the NAND flash memory, GC (Garbage collection), early warning, improve performance and life, and ensure the reliable use of the NAND flash memory. The running status information of the memory chip is stored in a section of the memory, and the data in the area is encrypted and protected. Only through the specified command provided by the memory manufacturer can specific information be obtained. Usually, the memory manufacturer only provides the upper-level commands of the memory chip, and the client cannot know the specific CMD and Arguments parameters for obtaining the running status information. Therefore, the memory chip has the problem of limited use. In the prior art, the TBW (Terabytes Written) life value of the memory chip needs to be obtained by performing a large number of write actions and inferring through the jump of Type A or Type B of ECSD. This method takes a long time and is inaccurate. By extracting the number of ECT erases in the running status information, the TBW life value can be calculated in a timely and accurate manner.

[0035] For chip FT testing, the test process may not only need to complete the coverage of all chip functions, but also need to burn different characteristic values ​​to the chip's internal efuse or other registers according to the chip characteristics. Similarly, for chips from the same batch or different batches, it is necessary to read certain characteristics during the test process in order to have a general understanding of the different performances of the batch of chips, thereby providing corresponding feedback for chip design or manufacturing. For general test schemes, since the instructions and data sent by the host computer are unified, sending different burning data for different chips requires software algorithms. If adopted, it will bring great challenges to general test schemes. Therefore, the present invention designs a new analysis method for storage chip status data, and the specific implementation method is as follows:

[0036] See also Figure 2 As shown, the present invention is a method for analyzing storage chip status data, comprising the following steps:

[0037] Step S1: The test board sends the test instruction or test data sent by the host computer to the chip for testing, and the chip characteristic data after the chip test is transmitted to the host computer and recorded;

[0038] Step S2: The host computer sends different characteristic values ​​to the chip for judgment or burning according to the chip characteristics;

[0039] Step S3: After the test is completed, the status data of the analysis board is analyzed, and the analysis board records the upper layer instructions sent by the test board to the chip, and records the status table information fed back by the chip to the test board;

[0040] Step S4: the analysis board parses the upper layer instructions and status table information to generate chip status data;

[0041] Step S5: The host computer sends an information acquisition instruction to the analysis board according to the status data to obtain the real-time status information of the chip.

[0042] In step S1, the host computer issues test instructions in the order of test items and waits for the test board to return the results; the test board returns the test results, which include PASS or FAIL. When any test result is FAIL, the chip fails.

[0043] Before step S1, the test board leads the DC power supply channel, test resources and test channels to the FPGA, and writes the test instructions sent by the host computer into the corresponding registers of the FPGA, waiting for the chip to read and test.

[0044] In step S3, the status data is transmitted to the host computer through the analysis board, and the host computer obtains and displays the operating status information of the chip according to the status data.

[0045] Since the present invention also adds FPGA as a communication bridge between the test boards, the test commands and test characteristic data of the host computer are written into the register of the FPGA through the test board, and the chip reads the test commands and data in the FPGA register to start the corresponding test. Specific test process:

[0046] The host computer is mainly used to issue a test start command, wait for the test result (PASS or FAIL), and record the chip test characteristic data that needs to be recorded. During the test, if necessary, the test main program can be modified through the debugger for corresponding debugging.

[0047] The test board (Chroma 8000 model test board) leads the required DC / DC power supply channels, test resources and test channels to the test board and provides hardware support for the test. At the same time, the test instructions sent by the host computer are written into the corresponding registers of the FPGA through the test board (if possible, the FPGA resources can be integrated into the test board to save space), waiting for the chip to read and test;

[0048] The test board connects the power supply channels and test resources led out of the test board to the functional board, and is also connected to the FPGA to provide the corresponding power supply channels and test read / write channels;

[0049] FPGA is connected to the chip under test by connecting to the functional board, and provides corresponding registers for storing temporary data sent by the test board and characteristic data during the chip test process;

[0050] The function board provides power for the chip under test. The board integrates the necessary resources for testing the chip functions, such as test program storage chips, relays, temperature-sensitive chips, digital chips, and various resistors, capacitors, inductors, etc. At the same time, the function board needs to have a corresponding chip socket position. No components are welded at this position, and the socket is only connected through mechanical connections such as nuts;

[0051] The chip is placed in the socket of the functional board. The functional board is powered on to complete the FT functional test. If all tests are completed and tested normally, the test results and the characteristic data corresponding to the chip are written to the corresponding registers of the FPGA. If the test is abnormal, the corresponding characteristics are written to the corresponding registers of the FPGA, and the test FAIL results are written to the corresponding registers. Embodiment 2

[0052] See also Figure 1As shown, the present invention is an analysis system for storing chip status data, which can be used to execute the method content of Example 1 of the present invention, including: a function board, an analysis board, a chip loading board, a test board, a test load board and a host computer; the host computer exchanges test data or test results with the test board through different communication protocols; the test board leads out its available test resources and channels through the test load board and communicates with the chip loading board; the test board is used to run the test script and perform read and write stress tests on the chip; the chip loading board is used to load the chip to be analyzed; there is a socket on the chip loading board to prevent the chip to be tested. Generally, different chip socket models, sizes, etc. are different and need to be customized, and are connected in an inlaid manner through the socket and the matching kit. , loaded into the Handler, to realize automation and continuity of the chip to be tested, and bin the tested chips according to different test results. The test load board is the mechanical and circuit interface connecting the test board and the chip to be analyzed; the function board is loaded with FPGA; FPGA is connected to the chip to be analyzed through the circuit interface of the test load board, and is used to provide registers to save temporary data sent by the test board and characteristic data of the chip test process; the analysis board is communicated with the test board to record the upper-level instructions sent by the test board to the chip, and record the status table information fed back by the chip to the test board, and parse the upper-level instructions and status table to generate the status data of the chip; the host computer is used to send information acquisition instructions to the analysis board according to the status data to obtain the real-time status information of the chip.

[0053] For general test systems, the test board needs to send the test instructions or test data sent by the host computer to the chip for testing in a timely manner, and the chip characteristic data after the chip test must be transmitted to the host computer and recorded in a timely manner. For test systems that add FPGA, the test instructions and data written to the FPGA by the host computer through the test board can give the chip enough time to read, and the test performance data returned by the chip is also saved in the FPGA, so there is enough time for the host computer to record it. This greatly facilitates the testing of chips with different performances, and will not cause the chip to be mistakenly killed due to the difference in test time of chips with different performances, nor will it be impossible to record due to the loss of test data;

[0054] The host computer can send different characteristic values ​​to the chip for judgment or burning according to the chip characteristics, which makes it convenient for customers to use the chip. For systems with multiple sites testing at the same time, the FPGA is divided into four completely identical functional areas, each with a different address, so that the test board can write test instructions, test data and burning data into the test board write area of ​​the corresponding chip, and the chip reads the corresponding instructions and data from it for testing. Similarly, the chip can write the test results or chip characteristics into the corresponding IC write area for the test board to read and record. In general solutions, the data written into the chip is sent uniformly by the test board, and its specific value cannot vary due to the chip characteristics.

[0055] For general test solutions, if the test result is FAIL, the host computer will directly return the test result and shut down the test resources of the site (i.e. the site is powered off). At this time, the host computer cannot record the corresponding characteristics of the FAIL item because the power has been cut off. However, with the new test solution, for the chip that has been tested FAIL, the test characteristic data is first written to the corresponding area of ​​FPGA. Even if the site is powered off, the data in the FPGA register will not be lost as long as the power is not cut off, and it will not affect the host computer reading, which greatly facilitates the characteristic analysis of the FAIL chip.

[0056] One of the main considerations for chip testing costs is the chip testing time. For many SOC chips, there are many integrated modules inside the IC. If a single linear test is performed on the functions of each module, the testing time will be greatly increased. If parallel testing is used, the testing time will be reduced, but the issues involved involve complex mathematical models, high debugging difficulty, long development cycle, and greater inconvenience in the communication between the host and slave computers. The adoption of a new testing solution will undoubtedly provide sufficient information transmission and storage space for parallel testing, and provide the necessary hardware support for parallel testing. For example, the chips used in most Bluetooth speakers on the market now have integrated functions such as temperature sensors (T-sensors) and audio recording and playback (AUDIO), which can be tested in parallel.

[0057] The host computer sends test instructions or test data to the test board to test the chip, and after the chip test is completed, the chip characteristic data is transmitted to the host computer for recording.

[0058] The FPGA includes at least four completely identical functional areas but with different addresses, which are used to write test instructions, test data and burning data into the test board writing area of ​​the chip to be analyzed.

[0059] The chip to be analyzed reads the corresponding instructions and data from the writing area of ​​the test board for testing, and writes the test results or chip characteristics into the corresponding IC writing area for the test board to read and record.

[0060] It is worth noting that in the above system embodiment, the various units included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0061] In addition, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiments can be completed by instructing related hardware through a program, and the corresponding program can be stored in a computer-readable storage medium.

[0062] The preferred embodiments of the present invention disclosed above are only used to help illustrate the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.

Claims

1. An analysis system for storing chip status data, comprising a function board, an analysis board, a chip loading board, a test board, a test load board and a host computer; The host computer exchanges test data or test results with the test board through different communication protocols; the test board leads out its available test resources and channels through the test load board and communicates with the chip loading board; the test board is used to run the test script and perform read and write stress tests on the chip; the chip loading board is used to load the chip to be analyzed, and the test load board is a mechanical and circuit interface connecting the test board and the chip to be analyzed. Features: The function board is loaded with an FPGA; the FPGA is connected to the chip to be analyzed through the circuit interface of the test load board, and is used to provide a register to store temporary data sent by the test board and characteristic data of the chip test process; The analysis board is in communication connection with the test board, and is used to record the upper layer instructions sent by the test board to the chip, and record the state table information fed back by the chip to the test board, and parse the upper layer instructions and the state table to generate the state data of the chip; The host computer is used to send an information acquisition instruction to the analysis board according to the status data to obtain the real-time status information of the chip; The FPGA includes at least four identical functional areas but with different addresses, which are used to write test instructions, test data and burning data into the test board writing area of ​​the chip to be analyzed; The chip to be analyzed reads corresponding instructions and data from the writing area of ​​the test board for testing, and writes the test results or chip characteristics into the corresponding IC writing area for the test board to read and record.

2. A system for analyzing storage chip status data according to claim 1, It is characterized in that The host computer sends a test instruction or test data to the test board to test the chip, and after the chip test is completed, the chip characteristic data is transmitted to the host computer for recording.

3. An analysis method of a storage chip status data analysis system according to any one of claims 1 to 2, It is characterized in that The steps include: Step S1: The test board sends the test instruction or test data sent by the host computer to the chip for testing, and the chip characteristic data after the chip test is transmitted to the host computer and recorded; Step S2: The host computer sends different characteristic values ​​to the chip for judgment or burning according to the chip characteristics; Step S3: After the test is completed, the analysis board analyzes the status data, records the upper layer instructions sent by the test board to the chip, and records the status table information fed back by the chip to the test board; Step S4: the analysis board parses the upper layer instructions and status table information to generate chip status data; Step S5: The host computer sends an information acquisition instruction to the analysis board according to the status data to obtain the real-time status information of the chip.

4. The analysis method according to claim 3, It is characterized in that In step S1, the host computer issues test instructions according to the test item sequence and waits for the test board to return the result; the test results returned by the test board include PASS or FAIL. When any test result is FAIL, the chip fails.

5. The analysis method according to claim 3, It is characterized in that Before step S1, the test board leads the DC power supply channel, test resources and test channels to the FPGA, and writes the test instructions sent by the host computer into the corresponding registers of the FPGA, waiting for the chip to read and test.

6. The analysis method according to claim 5, It is characterized in that In step S3, the status data is transmitted to the host computer through the analysis board, and the host computer obtains and displays the operation status information of the chip according to the status data.