Semiconductor unit series flash memory signal testing method and computer program product

By using the data quality synchronization and read training modules of the main control chip in the NAND flash memory, random patterns are written and read respectively, and test results based on delay and voltage scanning are generated, which solves the problem of insufficient signal quality characterization and testing in the existing technology. It solves the problem of long time and achieves efficient and accurate NAND Margin signal testing.

CN118398071BActive Publication Date: 2024-10-01INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410850766.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-10-01
Estimated Expiration
2044-06-27

AI Technical Summary

Technical Problem

When testing NAND Margin signals, the existing technology cannot completely characterize the signal quality, and the read and write tests cannot separate the effects, resulting in long test times and easy jamming, and there is a lack of unified internal chip test tools.

Method used

Through the data quality synchronization training module and read training module of the main control chip, the first random code pattern and the second random code pattern are written respectively under the reference voltage and within the user-addressable space range, and in the low-speed mode and under test Read error data in rate mode and generate test results based on delay scan and voltage scan.

Benefits of technology

It improves the accuracy and efficiency of test results, can completely characterize the signal quality, avoid test stuck, and achieve faster data analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118398071B_ABST
    Figure CN118398071B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a semiconductor unit series flash memory signal testing method and a computer program product, which relate to the technical field of semiconductor unit series flash memory signal testing. The method uses a data quality synchronization training module and a read training module of a main control chip to write a first random code pattern and a second random code pattern respectively for multiple delay scenarios under a reference voltage and within a user addressable space; the semiconductor unit series flash memory is switched to a low-speed mode, and in the low-speed mode, the first random code pattern is read to determine first error data; the semiconductor unit series flash memory is switched to a test rate mode, and in the test rate mode, the second random code pattern is read to determine second error data; and a test result for the semiconductor unit series flash memory is generated based on the first error data and the second error data, thereby realizing the generation of test results based on delay scanning and voltage scanning, thereby improving the accuracy of the test results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of semiconductor unit series flash memory signal testing, and in particular to a semiconductor unit series flash memory signal testing method, a semiconductor unit series flash memory signal testing device, a computer program product, an electronic device and a computer readable storage medium. Background Art

[0002] NAND Flash Memory is a type of flash memory in which semiconductor units are arranged in series. Since NAND flash memory is a structure in which units (i.e. storage units) are arranged vertically, many units can be made in a small area, thereby achieving large-capacity storage. The NAND Margin signal refers to the input noise tolerance of the NAND gate, which is an important indicator for measuring the anti-interference ability of the NAND gate. The larger the NAND Margin, the greater the input noise amplitude that the NAND gate can withstand, and the stronger its anti-interference ability. The accuracy of the test of the NAND Margin signal determines the working efficiency of the NAND flash memory. Summary of the invention

[0003] The embodiments of the present invention provide a semiconductor unit series flash memory signal testing method, device, a computer program product, an electronic device and a computer-readable storage medium to overcome the above problems or at least partially solve the above problems.

[0004] The embodiment of the present invention discloses a semiconductor unit serial flash memory signal testing method, wherein the semiconductor unit serial flash memory is configured with a corresponding main control chip, including:

[0005] determining a reference voltage, a user addressable space range, and a plurality of delay scenarios for the semiconductor unit series flash memory;

[0006] Using the data quality synchronization training module and the read training module of the master control chip, under the reference voltage and within the user addressable space, write the first random code pattern and the second random code pattern respectively for the plurality of delay scenarios;

[0007] Switching the semiconductor unit serial flash memory to a low-speed mode, and reading the first random code pattern in the low-speed mode to determine first error code data;

[0008] Switching the semiconductor unit series flash memory to a test rate mode, and reading the second random code pattern in the test rate mode to determine second bit error data;

[0009] A test result for the pair of semiconductor unit series flash memories is generated based on the first bit error data and the second bit error data.

[0010] Optionally, the semiconductor unit series flash memory is configured with a corresponding unidirectional input interface, and the step of writing the first random code pattern and the second random code pattern respectively for the plurality of delay scenarios comprises:

[0011] Determining a rate to be tested for the rate mode to be tested;

[0012] determining a target low speed rate for the low speed mode;

[0013] In a state where the chip enable signal can write the first random code pattern based on the rate to be tested, the first random code pattern is written for the plurality of delay scenarios through the data quality synchronization training module of the main control chip and the unidirectional input interface;

[0014] In a state where the chip enable signal can write the second random code pattern based on the target low rate, the second random code pattern is written for multiple delay scenarios through the read training module of the main control chip and the unidirectional input interface.

[0015] Optionally, the step of reading the first random code pattern to determine first error data includes:

[0016] Determine a channel to be detected, and read the first random code pattern through the channel to be detected to obtain a first channel random code pattern to be detected for the channel to be detected; the channel to be detected has a corresponding channel identifier;

[0017] When it is determined through the channel identifier that there are other channels to be detected, executing the step of writing the first random code pattern for multiple delay scenarios through the data quality synchronization training module of the main control chip and the unidirectional input interface in a state where the chip enable signal can write the first random code pattern based on the rate to be tested;

[0018] When it is determined through the channel identifier that there are no other channels to be detected, comparing the first random code pattern of the channel to be detected read from all the channels to be detected with the first random code pattern to determine the first error code data;

[0019] The step of reading the second random code pattern to determine the second bit error data comprises:

[0020] Reading the second random code pattern through the channel to be detected to obtain a second random code pattern of the channel to be detected for the channel to be detected;

[0021] When it is determined through the channel identifier that there are other channels to be detected, executing the step of writing the second random code pattern for multiple delay scenarios through the read training module of the main control chip and the unidirectional input interface in a state where the chip enable signal can write the second random code pattern based on the target low rate;

[0022] When it is determined through the channel identifier that there are no other channels to be detected, the second random code pattern of the channel to be detected read from all the channels to be detected is compared with the second random code pattern to determine the second error code data.

[0023] Optionally, it also includes:

[0024] Based on a predetermined target computer programming language, original data is generated using the channel identifier, the first error data, and the second error data.

[0025] Optionally, it also includes:

[0026] Determine a voltage increment step size for the reference voltage and a delay increment step size for the delay scenario;

[0027] Based on the channel identifier, determining a target chip enable signal under any channel from the original data;

[0028] Determine the number of single-pin bit errors when the reference voltage corresponding to the target chip enable signal is 0 and the delay value is 0, and determine the number of bit errors of all data pins based on the number of single-pin bit errors;

[0029] The bit error number is used as starting data, and a cell eye diagram is constructed based on the voltage increment step and the delay increment step.

[0030] Optionally, it also includes:

[0031] Constructing a user interface for the target computer programming language; the user interface includes an initialization option menu for the semiconductor unit series flash memory;

[0032] The step of determining a reference voltage, a user addressable space range and a plurality of delay scenarios for the semiconductor unit series flash memory comprises:

[0033] The initialization option menu is used to determine a reference voltage, a user addressable space range, and a plurality of delay scenarios for the semiconductor unit series flash memory.

[0034] Optionally, the user interaction interface is provided with a first function and a second function, and further includes:

[0035] Selecting target original data from the plurality of original data by calling the first function;

[0036] In response to determining through the second function that the user specifies to generate a cell eye diagram for the target raw data, the step of determining the voltage increment step size for the reference voltage and the delay increment step size for the delay scenario is performed.

[0037] Optionally, the user interaction interface is provided with a third function, further comprising:

[0038] The third function is called to present the cell eye diagram in the user interaction interface.

[0039] Optionally, it also includes:

[0040] Generate a packaged compressed file for the cell eye diagram.

[0041] Optionally, the method is applied to a terminal device, the terminal device is configured with a corresponding cloud server, and further includes:

[0042] Sending the packaged compressed file to the cloud server;

[0043] The cloud server is configured to receive and store the packaged compressed file.

[0044] Optionally, the cloud server is configured as:

[0045] Generate a download link for the packaged compressed file;

[0046] Sending the download link to the terminal device;

[0047] The method further comprises:

[0048] The download link is presented using the user interaction interface.

[0049] Optionally, the terminal device has a power supply circuit and a ground circuit, and the power supply circuit and the ground circuit are provided with decoupling capacitors.

[0050] The embodiment of the present invention further discloses a semiconductor unit serial flash memory signal testing device, wherein the semiconductor unit serial flash memory is configured with a corresponding main control chip, including:

[0051] an initialization module, for determining a reference voltage, a user addressable space range and a plurality of delay scenarios for the semiconductor unit series flash memory;

[0052] A random code pattern writing module, used to use the data quality synchronization training module and the read training module of the master control chip to write the first random code pattern and the second random code pattern respectively for the plurality of delay scenarios under the reference voltage and within the user addressable space;

[0053] A first error data determination module is used to switch the semiconductor unit serial flash memory to a low-speed mode, and read the first random code pattern in the low-speed mode to determine first error data;

[0054] A second bit error data determination module is used to switch the semiconductor unit series flash memory to a test rate mode, and read the second random code pattern in the test rate mode to determine second bit error data;

[0055] A test result generating module is used to generate a test result for the pair of semiconductor unit series flash memories based on the first error data and the second error data.

[0056] The embodiment of the present invention further discloses a computer program product, including a computer program / instruction, which implements the steps of the above method when executed by a processor.

[0057] The embodiment of the present invention further discloses an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0058] The memory is used to store computer programs;

[0059] The processor is used to implement the method described in the embodiment of the present invention when executing the program stored in the memory.

[0060] The embodiment of the present invention further discloses a computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, enables the processors to execute the method described in the embodiment of the present invention.

[0061] The embodiments of the present invention include the following advantages:

[0062] According to an embodiment of the present invention, a reference voltage, a user-addressable space range and multiple delay scenarios for the semiconductor unit series flash memory are determined; a data quality synchronization training module and a read training module of the main control chip are used to write a first random code pattern and a second random code pattern respectively for the multiple delay scenarios under the reference voltage and within the user-addressable space range; the semiconductor unit series flash memory is switched to a low-speed mode, and in the low-speed mode, the first random code pattern is read to determine first error data; the semiconductor unit series flash memory is switched to a test rate mode, and in the test rate mode, the second random code pattern is read to determine second error data; and a test result for the semiconductor unit series flash memory is generated based on the first error data and the second error data, thereby generating a test result based on a delay scan and a voltage scan, thereby improving the accuracy of the test result. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] Figure 1 is a flow chart of the steps of a semiconductor unit series flash memory signal testing method provided in an embodiment of the present invention;

[0064] Figure 2 It is a flow chart of a method for generating a semiconductor unit series flash memory signal test result provided in an embodiment of the present invention;

[0065] Figure 3 is a schematic diagram of the structure of raw data provided in an embodiment of the present invention;

[0066] Figure 4 is a structural schematic diagram of a cell eye diagram provided in an embodiment of the present invention;

[0067] Figure 5 is a flow chart of a user interaction interface provided in an embodiment of the present invention;

[0068] Figure 6 is a structural schematic diagram of a user interaction interface provided in an embodiment of the present invention;

[0069] Figure 7 is a structural schematic diagram of another user interaction interface provided in an embodiment of the present invention;

[0070] Figure 8 is a structural schematic diagram of another user interaction interface provided in an embodiment of the present invention;

[0071] Fig. 9 is a schematic structural diagram of another cell eye diagram provided in an embodiment of the present invention;

[0072] Fig.10 is a structural block diagram of a computer program product provided in an embodiment of the present invention;

[0073] Fig.11 is a hardware structure block diagram of an electronic device provided in an embodiment of the present invention;

[0074] Fig.12 is a schematic diagram of a computer-readable medium provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0075] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0076] In practical applications, in low-rate NAND signal scenarios, an oscilloscope + probe is usually used to perform signal integrity testing at the chip PIN position. With the continuous increase in NAND signal rates, the reflection effect caused by the package behind the chip PIN and the capacitive load of the die has had a significant impact on the signal test results. Since the oscilloscope point measurement method cannot point the inside of the chip, it is no longer possible to truly characterize the signal quality on the actual chip die, so a reliable signal internal test solution is extremely important. Related technologies usually use the Write / Read training function of the NAND bus to perform delay scans of different values ​​on the Write / Read DQS (Data Quality Synchronization) in the main control chip, and compare the input and output code types. The delay range of the DQS that does not generate bit errors is used as the Timing Window of the NAND signal test result.

[0077] For example, a delay locked loop circuit is used to change the delay time of a data selection signal at a certain interval within a data window width; a write data item is determined by writing a predefined data item to a storage device; a write data item is determined by writing a predefined data item to a storage device; a write mode is determined by writing a predefined pattern to the storage device; a read mode is determined by reading a predefined pattern from the storage device; a write mode is compared with a read mode to determine whether the write mode is the same as the read mode, and if not, repeat it once or more times; if so, one or more valid timing margins are determined.

[0078] If the above method is used to test the NAND Margin signal, the following problems arise:

[0079] First, the related technology only includes horizontal axis delay timing scanning, but does not include vertical axis voltage scanning, which cannot fully characterize the signal quality;

[0080] Second, the read and write tests of related technologies cannot be separated because both Write and Read tests require writing and reading at the same time. The test is affected by the initial configuration of the object and requires continuous iteration and optimization. The debugging time is long, and once there are many NAND bit errors, the test is likely to be stuck.

[0081] Third, the data generated by related technologies have not been summarized and analyzed, the amount of Margin test data is large, and the data analysis time is long, resulting in a long overall debugging cycle.

[0082] Since there is no unified chip internal testing tool in the current NAND signal industry, it is essential to develop a comprehensive and reliable NANDMargin signal testing tool.

[0083] Reference Figure 1 , shows a flow chart of the steps of a semiconductor unit series flash memory signal testing method provided in an embodiment of the present invention, which may specifically include the following steps:

[0084] Step 101, determining a reference voltage, a user addressable space range and multiple delay scenarios for the semiconductor unit series flash memory;

[0085] Step 102, using the data quality synchronization training module and the read training module of the master control chip, under the reference voltage and within the user addressable space, write the first random code pattern and the second random code pattern for the plurality of delay scenarios respectively;

[0086] Step 103, switching the semiconductor unit serial flash memory to a low speed mode, and reading the first random code pattern in the low speed mode to determine first error code data;

[0087] Step 104, switching the semiconductor unit serial flash memory to a test rate mode, and reading the second random code pattern in the test rate mode to determine second error data;

[0088] Step 105: Generate a test result for the semiconductor unit series flash memory based on the first bit error data and the second bit error data.

[0089] In a specific implementation, the embodiment of the present invention may be applied to a terminal device, which may be an electronic device equipped with a semiconductor unit series flash memory NAND flash, and the semiconductor unit series flash memory NAND flash may be configured with a corresponding main control chip.

[0090] In practical applications, the NAND Margin signal test may include a test data generation phase and a test data analysis phase. The embodiment of the present invention may first be described with respect to the test data generation phase.

[0091] The test data generation phase of the embodiment of the present invention may include a Write Cycle test phase and a Read Cycle test phase.

[0092] For the Write Cycle test phase, the embodiment of the present invention can set the reference voltage for the semiconductor unit series flash memory NAND flash to Vref=0 during the initialization phase for the semiconductor unit series flash memory NAND flash, and determine the user addressable space range, i.e., UI range, and multiple delay scenarios;

[0093] In NAND Flash technology, the reference voltage (Vref) is critical to ensure reliable data transfer and signal integrity. It serves as a benchmark to which the voltage level of stored data is compared during read operations and program operations. Proper Vref selection can significantly affect the signal quality and overall performance of NAND Flash memory.

[0094] Key functions of Vref in NAND flash memory:

[0095] Data Threshold Determination: Vref establishes the threshold voltage that distinguishes the programmed and unprogrammed states of a NAND Flash cell. During a read operation, the cell's voltage is compared to Vref to determine whether it represents a "1" (high voltage) or a "0" (low voltage).

[0096] Signal Margin Definition: Vref defines the signal margin, which is the difference between the voltage levels for the "1" and "0" states. A wider signal margin indicates better noise tolerance and reduces the risk of data errors.

[0097] Write Operation Control: During a programming operation, Vref is used to control the voltage applied to the NAND Flash cell, changing its state to "1" or "0". The specific voltage applied depends on the desired state and the programming algorithm.

[0098] UI range refers to the user addressable space (User Interface Range), also known as the user data area (User Data Area). UI range is the part of NAND flash memory that users can use to store data.

[0099] During the NAND Margin signal test, various disturbance signals are applied to simulate various abnormal situations in the actual use environment, and the response of the chip is observed to judge the fault tolerance and stability of the chip. Among them, the delay scenario is a common scenario in the NAND Margin signal test, which simulates the delay phenomenon that may occur during data transmission.

[0100] In practical applications, a variety of techniques can be used in combination according to specific circumstances to determine a more comprehensive delay scenario.

[0101] The determination of delay scenarios mainly includes the following steps:

[0102] Determine the delay type: First, you need to determine the type of delay, whether it is a random delay or a deterministic delay. Random delay means that the delay time changes randomly within a certain range, while deterministic delay means that the delay time is fixed.

[0103] Determine the delay magnitude: Determine the delay magnitude, that is, the maximum delay time. This usually depends on factors such as data transmission rate and link length.

[0104] Determine the delay pattern: Determine the delay pattern, that is, how the delay is distributed during the data transmission process. Common delay patterns include random distribution, periodic distribution, and burst distribution.

[0105] Determine the delay insertion position: Determine the delay insertion position, that is, at which stage of the data transmission process the delay is inserted. Common delay insertion positions include the transmitter, the receiver, and the link.

[0106] Exemplarily, it can be used to determine the delay scenario during the NAND Margin signal test:

[0107] Simulation: Use simulation tools to simulate various delay scenarios and analyze the chip's response.

[0108] Experiment: Using a hardware tester you can actually apply a delayed signal and measure the chip's response.

[0109] Data analysis: Latency in actual usage data can be analyzed to identify typical latency scenarios.

[0110] In practical applications, the chip enable signal (CE) is an important control signal of NAND flash memory, which is used to control the working state of the chip. When the CE signal is low, the NAND flash memory is in working state; when the CE signal is high, the NAND flash memory is in sleep state.

[0111] In NAND flash technology, DQ stands for Data Pin. It is a bidirectional data bus used to transfer data between the NAND flash controller and the NAND flash memory array. The number of DQ pins is usually between 8 and 16, depending on the specific NAND flash architecture.

[0112] During NAND Flash operation, the DQ pins carry various types of data signals, including:

[0113] Command Data: The DQ pins are used to transmit commands from the NAND Flash controller to the NAND Flash memory array. These commands control various operations such as reading, writing, and erasing data.

[0114] Address Data: The DQ pins are used to transmit address information to the NAND Flash memory array, specifying the location of the data to be accessed.

[0115] Data Input / Output: The DQ pins are used to transfer data between the NAND Flash controller and the NAND Flash memory array. During a read operation, data is transferred from the memory array to the controller through the DQ pins. During a write operation, data is transferred from the controller to the memory array through the DQ pins.

[0116] The specific usage of the DQ pins depends on the specific NAND Flash operation and the communication protocol used. However, in general, the DQ pins play a vital role in enabling data transfer between the NAND Flash controller and the NAND Flash memory array.

[0117] In NAND Flash technology, a channel refers to a group of DQ pins connected to the same NAND Flash memory array. Each NAND Flash memory array can contain multiple channels, allowing parallel data transfer and improving performance.

[0118] The number of channels in a NAND Flash memory device depends on the specific architecture and can vary from one to many. For example, a single-channel NAND Flash device has only one set of DQ pins, while a multi-channel NAND Flash device may have two, four, or even eight channels.

[0119] The relationship between the channels and the DQ pins can be summarized as follows:

[0120] Single Channel: A single channel consists of a group of DQ pins connected to the same NAND Flash memory array. The number of DQ pins per channel is typically between 8 and 16.

[0121] Multi-channel: NAND Flash memory devices can have multiple channels, each with its own set of DQ pins. This allows parallel data transfer, thereby improving overall performance.

[0122] Channel-DQ Mapping: Each DQ pin in a channel is assigned to a specific location in the data being transferred. This mapping ensures that the correct data is transferred to the correct location in the NAND Flash memory array.

[0123] Write random pattern is a common test mode in NAND flash memory testing, which is used to test the write performance of NAND flash memory. In the write random pattern mode, the test system writes random data to the NAND flash memory and records the write speed and bit error rate of the NAND flash memory.

[0124] If the CE does not fall into the NAND write random pattern at the test rate, it means that the NAND flash memory is always in working state and the test system can write random data to the NAND flash memory at the test rate. This shows that the write performance of the NAND flash memory meets the test requirements.

[0125] In NAND flash memory testing, the DQS training module is a data quality synchronization module that is used to synchronize the clock and data of the NAND flash memory data channel. The DQS training module can improve the reliability and stability of NAND flash memory data transmission.

[0126] In NAND flash memory testing, the read training module is essential to optimize read operations and ensure reliable data retrieval. It is a key component in the NAND flash memory testing process specifically designed to improve signal quality and data integrity.

[0127] In a specific implementation, an embodiment of the present invention can utilize the data quality synchronization training module (DQStraining module) function of the main control chip to write a first random code pattern for different DQS delay scenarios within a range of 1 UI under the current Vref, and then utilize the main control dynamic switching rate function of the main control chip to switch the semiconductor unit serial flash memory NAND flash to a low-speed mode. Preferably, the low-speed mode needs to be greater than or equal to 600Mbps to avoid additional errors introduced by differences in different rate configurations, and read the first random code pattern in the low-speed mode, and compare the read result with the original first random code pattern, and record the first error data, which may include the number of errors of each data pin DQ of each chip enable signal CE under each channel.

[0128] For the Read Cycle test process, the embodiment of the present invention can set the reference voltage for the semiconductor unit series flash memory NAND flash to Vref=0 during the initialization phase for the semiconductor unit series flash memory NAND flash, and determine the user addressable space range, i.e., UI range, and multiple delay scenarios, and use the function of the read training module (Read training module) of the main control chip to write the second random code pattern for different DQS delay scenarios within the 1 UI range under the current Vref. It should be noted that the second random code pattern can be the same as the first random code pattern, the difference is that the first random code pattern is written by the data quality synchronization training module, and the second random code pattern is written by the read training module. Then, the main control dynamic switching rate function of the main control chip is used to switch the semiconductor unit series flash memory NAND flash to the test rate mode, and then read the second random code pattern at the test rate, and record the second error data, which may include the number of errors of each chip enable signal CE and each data pin DQ under each channel.

[0129] After the first error data and the second error data are determined, a test result for the semiconductor unit serial flash memory NAND flash may be generated based on the first error data and the second error data.

[0130] According to an embodiment of the present invention, a reference voltage, a user-addressable space range and multiple delay scenarios for the semiconductor unit series flash memory are determined; a data quality synchronization training module and a read training module of the main control chip are used to write a first random code pattern and a second random code pattern respectively for the multiple delay scenarios under the reference voltage and within the user-addressable space range; the semiconductor unit series flash memory is switched to a low-speed mode, and in the low-speed mode, the first random code pattern is read to determine first error data; the semiconductor unit series flash memory is switched to a test rate mode, and in the test rate mode, the second random code pattern is read to determine second error data; and a test result for the semiconductor unit series flash memory is generated based on the first error data and the second error data, thereby generating a test result based on a delay scan and a voltage scan, thereby improving the accuracy of the test result.

[0131] Based on the above embodiment, a variant embodiment of the above embodiment is proposed. It should be noted that in order to make the description concise, only the differences from the above embodiment are described in the variant embodiment.

[0132] In an optional embodiment of the present invention, a corresponding unidirectional input interface SI is configured for the semiconductor unit serial flash memory NAND flash, and the steps of writing the first random code pattern and the second random code pattern respectively for the plurality of delay scenarios include:

[0133] Determining a rate to be tested for the rate mode to be tested;

[0134] determining a target low speed rate for the low speed mode;

[0135] In a state where the chip enable signal can write the first random code pattern based on the rate to be tested, the first random code pattern is written for the plurality of delay scenarios through the data quality synchronization training module DQS training of the master chip and the unidirectional input interface SI;

[0136] When the chip enable signal can write the second random code pattern based on the target low rate, the second random code pattern is written for multiple delay scenarios through the read training module Read training of the main control chip and the unidirectional input interface SI.

[0137] In the NAND flash memory test, CE does not fall into the NAND write random pattern at the test rate, which means that during the entire test process, the chip enable signal (CE) always remains at a low level and the NAND flash memory is always in the state of writing random patterns.

[0138] If the CE does not fall into the NAND write random pattern at the test rate, it means that the NAND flash memory is always in working state and the test system can write random data to the NAND flash memory at the test rate. This shows that the write performance of the NAND flash memory meets the test requirements.

[0139] Single Input interface, used to receive commands and data sent by the host. SI interface usually consists of a data line, and the level change on the data line represents different commands or data.

[0140] refer to Figure 2 , Figure 2 It is a flow chart of a method for generating a semiconductor unit series flash memory signal test result provided in an embodiment of the present invention;

[0141] The embodiment of the present invention can determine the rate to be tested for the rate mode to be tested, and the target low rate for the low rate mode;

[0142] For the write cycle test phase, the embodiment of the present invention can set the reference voltage for the semiconductor unit series flash memory NAND flash to Vref=0 during the initialization phase for the semiconductor unit series flash memory NAND flash, and determine the user addressable space range, that is, the UI range, and multiple delay scenarios, and then use the data quality synchronization training module (DQS training module) function of the main control chip and the SI interface to write random code patterns to each CE in each channel under different DQS delay scenarios within the 1 UI range under the current Vref at the test rate without falling NAND.

[0143] For the read cycle test phase, in the initialization phase for the semiconductor unit series flash memory NAND flash, the reference voltage for the semiconductor unit series flash memory NAND flash can be set to Vref=0, and the user addressable space range, i.e., UI range, and multiple delay scenarios can be determined. Then, the function of the read training module (Readtraining module) of the main control chip and the SI interface are used to write the second random code pattern to each CE in each channel under different DQS delay scenarios within the 1 UI range under the current Vref at the target low rate without falling into NAND.

[0144] In actual applications, if CE does not write random patterns to NAND at the rate to be tested, the following problems may also exist: Test system configuration error: There may be an error in the test system configuration, causing the CE signal to not work properly. NAND flash chip damage: The NAND flash chip may have been damaged and cannot respond to the CE signal normally. Therefore, when CE does not write random patterns to NAND at the rate to be tested, it is necessary to further investigate the cause of the fault to determine the problem.

[0145] For example, in NAND flash memory testing, if the full chip is erased and the random write pattern does not fall at the test rate, further troubleshooting is required to determine the cause of the fault. The following are some specific troubleshooting steps:

[0146] 1. Verify test setup and equipment:

[0147] Make sure the test equipment is properly calibrated and functioning properly.

[0148] Verify the test setup, including connections, cables, and power supply.

[0149] Inspect the NAND Flash device or the test board for any physical damage.

[0150] 2. Analyze the test results:

[0151] View detailed test results including error codes, failure modes, and timing measurements.

[0152] Identify any specific patterns or trends in failures.

[0153] Compare test results to known good results or industry standards.

[0154] 3. Investigate NAND flash memory devices:

[0155] Verify NAND Flash device specifications, including supported write speeds and modes.

[0156] Check if there are any errata or known issues related to the NAND Flash device.

[0157] Consider whether to use different NAND Flash devices from the same or different manufacturers.

[0158] 4. Evaluate NAND Flash Controller:

[0159] Analyze NAND Flash controller configuration and programming.

[0160] Verify that the controller is configured correctly for the specific NAND Flash device and write mode.

[0161] Check for any software errors or issues in the controller firmware.

[0162] 5. Check system-level factors:

[0163] Investigate potential system-level issues such as power supply noise, signal integrity, or timing constraints.

[0164] Analyze the overall system design and identify any potential bottlenecks or limitations.

[0165] Consider using a different system configuration or hardware version.

[0166] 6. Utilize debugging tools and techniques:

[0167] Use debug tools to capture and analyze signals on the NAND Flash interface.

[0168] Use oscilloscopes, logic analyzers, and protocol analyzers to observe signal behavior.

[0169] Employ software debugging tools to trace code execution and identify potential problems.

[0170] This further improves the accuracy of the test results.

[0171] According to an embodiment of the present invention, the test rate for the test rate mode is determined; the target low rate for the low-speed mode is determined; in a state where the chip enable signal can write the first random code pattern based on the test rate, the first random code pattern is written for multiple delay scenarios through the data quality synchronization training module DQS training of the main control chip and the unidirectional input interface SI; in a state where the chip enable signal can write the second random code pattern based on the target low rate, the second random code pattern is written for multiple delay scenarios through the read training module Read training of the main control chip and the unidirectional input interface SI, thereby ensuring that the random code pattern is always written when the NAND flash memory is always in a working state, thereby further improving the accuracy of the test result.

[0172] In an optional embodiment of the present invention, the step of reading the first random code pattern to determine the first error data includes:

[0173] Determine a channel to be detected, and read the first random code pattern through the channel to be detected to obtain a first channel random code pattern to be detected for the channel to be detected; the channel to be detected has a corresponding channel identifier;

[0174] When it is determined through the channel identifier that there are other channels to be detected, executing the step of writing the first random code pattern for the plurality of delay scenarios through the data quality synchronization training module DQS training of the main control chip and the unidirectional input interface SI in a state where the chip enable signal can write the first random code pattern based on the rate to be tested;

[0175] When it is determined through the channel identifier that there are no other channels to be detected, comparing the first random code pattern of the channel to be detected read from all the channels to be detected with the first random code pattern to determine the first error code data;

[0176] The step of reading the second random code pattern to determine the second bit error data comprises:

[0177] Reading the second random code pattern through the channel to be detected to obtain a second random code pattern of the channel to be detected for the channel to be detected;

[0178] When it is determined through the channel identifier that there are other channels to be detected, executing the step of writing the second random code pattern for the plurality of delay scenarios through the read training module Read training of the main control chip and the unidirectional input interface SI in a state where the chip enable signal can write the second random code pattern based on the target low rate;

[0179] When it is determined through the channel identifier that there are no other channels to be detected, the second random code pattern of the channel to be detected read from all the channels to be detected is compared with the second random code pattern to determine the second error code data.

[0180] In practical applications, channel identification can be used to mark and identify the channel to be detected.

[0181] During NAND flash testing, NAND Vref training and PHY Vref training are two key steps to optimize NAND flash operation and improve signal quality, respectively.

[0182] NAND Vref training focuses on adjusting the reference voltage (Vref) of the NAND flash array to ensure reliable data storage and reading. It involves the following steps:

[0183] Characterize NAND Flash arrays: Measure the characteristics of each NAND Flash cell, including threshold voltage and data margin.

[0184] Determine Vref value: Based on the measurement results, select the appropriate Vref value to maximize the data margin and minimize the error rate.

[0185] Adjust Vref Setting: Program the selected Vref value into the NAND Flash controller.

[0186] PHY Vref training focuses on adjusting the reference voltage of the physical layer (PHY) to improve signal transmission quality. It usually includes the following steps:

[0187] Analyze signal characteristics: Measure and analyze characteristics of data signals such as amplitude, jitter, and eye diagram.

[0188] Determine PHY Vref value: Based on the signal analysis results, select an appropriate PHY Vref value to maximize signal amplitude and minimize jitter.

[0189] Adjust PHY Vref Setting: Programs the selected PHY Vref value into the PHY controller.

[0190] The difference between NAND Vref training and PHY Vref training can be seen as follows:

[0191] In a specific implementation, the embodiment of the present invention can be used for the write cycle test phase. In the initialization phase for the semiconductor unit serial flash memory NAND flash, the embodiment of the present invention can set the reference voltage for the semiconductor unit serial flash memory NAND flash to Vref=0, and determine the user addressable space range, that is, the UI range, and multiple delay scenarios, and then use the data quality synchronization training module (DQS training module) function of the main control chip and the SI interface to write random patterns to each CE in each channel under different delay scenarios of DQS within the current Vref range of 1 UI at the test rate. Then, refer to the above method and scan all ranges of the NAND chip standard reference voltage Vref in sequence through the NAND Vref training function, and record the number of bit errors of each CE and DQ in each channel respectively, to complete the single-channel single-CE data scan. The same method can be extended to other CEs and channels to complete the full-channel full-CE data traversal.

[0192] For the read cycle test phase, the reference voltage for the semiconductor unit series flash NAND flash can also be set to Vref=0 during the initialization phase for the semiconductor unit series flash NAND flash, and the user addressable space range, i.e., UI range, and multiple delay scenarios can be determined. Then, the function of the read training module (Readtraining module) of the main control chip and the SI interface are used to write the second random pattern to each CE in each channel under the target low rate under different delay scenarios of DQS within the 1 UI range under the current Vref. Then, referring to the above method, the PHY Vreftraining function is used to scan all the ranges of the PHY chip specification Vref in turn, and the number of bit errors of each CE and DQ under each channel is recorded respectively to complete the single-channel single-CE data scan. The same method can be extended to other CEs and channels to complete the full-channel and full-CE data traversal.

[0193] In an embodiment of the present invention, a channel to be detected is determined, and the first random code pattern is read through the channel to be detected to obtain a first channel to be detected random code pattern for the channel to be detected; the channel to be detected has a corresponding channel identifier; when it is determined by the channel identifier that there are other channels to be detected, the step of writing the first random code pattern for multiple delay scenarios through the data quality synchronization training module of the main control chip and the unidirectional input interface under the state that the chip enable signal can write the first random code pattern at the rate to be tested is executed; when it is determined by the channel identifier that there are no other channels to be detected, the first channel to be detected random code pattern read from all channels to be detected is compared with the The first random code pattern is compared to determine the first bit error data; the second random code pattern is read through the channel to be detected to obtain the second random code pattern of the channel to be detected for the channel to be detected; when it is determined through the channel identifier that there are other channels to be detected, the step of writing the second random code pattern for multiple delay scenarios through the read training module of the main control chip and the unidirectional input interface under the condition that the chip enable signal can write the second random code pattern based on the target low rate; when it is determined through the channel identifier that there are no other channels to be detected, the second random code pattern of the channel to be detected read from all channels to be detected is compared with the second random code pattern to determine the second bit error data. This realizes the Write / Read voltage and timing dual-dimensional data traversal, further improving the efficiency of generating test results.

[0194] In an optional embodiment of the present invention, it also includes:

[0195] Based on a predetermined target computer programming language, original data is generated using the channel identifier, the first error data, and the second error data.

[0196] In a specific implementation, the embodiment of the present invention can determine the target computer programming language as pytone, and for the write cycle test phase, the embodiment of the present invention can set the reference voltage for the semiconductor unit series flash memory NAND flash to Vref=0 in the initialization phase for the semiconductor unit series flash memory NAND flash, and determine the user addressable space range, that is, the UI range, and multiple delay scenarios, and then use the data quality synchronization training module (DQS training module) function of the main control chip and the SI interface to write random patterns to each CE in each channel under the different delay scenarios of DQS within the current Vref range of 1 UI, and all CEs under each channel under the test rate do not fall into NAND. Then, refer to the above method and scan all ranges of the NAND chip specification reference voltage Vref in turn through the NAND Vreftraining function, and record the number of bit errors of each CE and DQ under each channel respectively, to complete the single-channel single-CE data scan. The same method can be extended to other CEs and channels to complete the full-channel full-CE data traversal. At the same time, the first bit error data and the channel identification _CE_LUN information of the corresponding channel are output in a specific format as raw data to meet the subsequent pytone program extraction and analysis requirements.

[0197] For the read cycle test phase, the reference voltage for the semiconductor unit series flash NAND flash can also be set to Vref=0 during the initialization phase for the semiconductor unit series flash NAND flash, and the user addressable space range, i.e., UI range, and multiple delay scenarios can be determined. Then, the function of the read training module (Readtraining module) of the main control chip and the SI interface are used to write the second random pattern to each CE in each channel under the target low rate under different delay scenarios of DQS within the current Vref range of 1 UI. Then, referring to the above method, the PHY Vreftraining function is used to scan all ranges of the PHY chip specification Vref in turn, and the number of bit errors of each CE and DQ under each channel is recorded respectively to complete the single-channel single-CE data scan. The same method can be extended to other CEs and channels to complete the full-channel full-CE data traversal. At the same time, the second bit error data and the channel identification _CE_LUN information of the corresponding channel are output as raw data in a specific format to meet the subsequent pytone program extraction and analysis requirements.

[0198] In an optional embodiment of the present invention, it also includes:

[0199] Determine a voltage increment step size for the reference voltage and a delay increment step size for the delay scenario;

[0200] Based on the channel identifier, determining a target chip enable signal under any channel from the original data;

[0201] Determine the number of single-pin bit errors when the reference voltage corresponding to the target chip enable signal is 0 and the delay value is 0, and determine the number of bit errors of all data pins based on the number of single-pin bit errors;

[0202] The bit error number is used as starting data, and a cell eye diagram is constructed based on the voltage increment step and the delay increment step.

[0203] As can be seen from the above, the NAND Margin signal test may include a test data generation phase and a test data analysis phase. The embodiment of the present invention may first be described with respect to the test data analysis phase.

[0204] In NAND Flash testing, Eye Vref refers to the reference voltage used in eye diagram measurements. Eye diagrams are graphical representations of data link signal quality and are used to assess the overall health and performance of a link.

[0205] The reference voltage (Vref) is a key parameter in eye diagram measurements because it determines the threshold between valid data levels and invalid data levels. It is usually set to half the difference between the peak voltage and the valley voltage of the signal. By comparing the signal waveform to the reference voltage, the eye diagram can reveal various signal integrity issues such as jitter, noise, and crosstalk. The eye diagram Vref plays a key role in evaluating the signal integrity of NAND Flash data links. By carefully selecting Vref, an accurate eye diagram can be obtained, revealing potential signal quality issues and guiding optimization efforts to ensure reliable data transmission.

[0206] In the specific implementation, different logics can be used to aggregate the raw data to implement eye diagram analysis of a single CE or Channel. This not only facilitates the selection of optimal normalization parameters for a single channel, but also facilitates single CE problem location analysis.

[0207] After determining the voltage increment step for the reference voltage and the delay increment step for the delay scenario, the single CE eye diagram is implemented as a specific channel and specific CE as the minimum page unit. First, the number of single-pin bit errors with reference voltage Vref=0 and delay DQS delay=0 under a certain CE of any channel is recorded through the channel identifier, and then the number of bit errors of all data pins DQ is added to obtain the total number of bit errors, and the total number of bit errors is used as the first data on the horizontal axis, that is, the starting data. On the horizontal axis of the cell eye diagram, based on the delay increment step, the bit error information of different DQS Delays within a UI range when Vref=0 is recorded as the first row of data.

[0208] Then the reference voltage Vref is incremented according to the voltage increment step and the number of bit errors is recorded according to the same rule as above as the second row of data. The data extraction is repeated until the Vref range extraction is completed. At this point, the margin eye diagram of a single channel and a single CE can be presented in the form of a rectangular eye diagram of (Vref range) * (DQS range); the single channel eye diagram is similar to the single CE logic.

[0209] The embodiment of the present invention determines the voltage increment step for the reference voltage and the delay increment step for the delay scenario; based on the channel identifier, determines the target chip enable signal under any channel from the original data; determines the number of single-pin bit errors corresponding to the target chip enable signal with a reference voltage of 0 and a delay value of 0, and determines the number of bit errors of all data pins based on the number of single-pin bit errors; uses the number of bit errors as starting data, and constructs a cell eye diagram based on the voltage increment step and the delay increment step, thereby realizing analysis of the test results and further improving the signal testing efficiency for semiconductor unit series flash memories.

[0210] In order to enable those skilled in the art to better understand the embodiments of the present invention, an example is used below to illustrate the processes of the test data generation phase and the test data analysis phase.

[0211] refer to Figure 2 , Figure 2 It is a flow chart of a method for generating test results of a semiconductor unit serial flash memory signal provided in an embodiment of the present invention. NAND Write / Read DQS Delay / Vref training is used to obtain the raw data of the read and write eye diagram. It is assumed that the single eye diagram Vref and DQS are divided into 124 / 256 Steps respectively, and the step accuracy is 4. The Write Cycle test implementation logic is to first configure the initial PHY / NAND Vref and DQS Delay values. Write 4k data random pattern in the form of non-falling NAND at the test rate, then set NAND Vref=0 and scan Write DQSDelay 0~256Step for a total of 64 at a low rate, and record the number of bit errors of each DQ under each channel_each CE at different Steps. At the same time, the conventional low-speed mode needs to be greater than or equal to 600Mbps to avoid additional bit errors introduced by different rate configuration differences; then set NANDVref to add 4 new Steps, continue to record the bit error data of each DQ under each channel_each CE, and cyclically test until 124 Vref scans are completed. Reference Figure 3 , Figure 3It is a structural schematic diagram of raw data provided in an embodiment of the present invention. At the same time, the Log printed data needs to be printed according to the channel name chx-cex-lunx, reference voltage Vref=x, data quality synchronization delay value r_dqs=x, data pin dq-pin=x, x, x, x, x, x, x, x format for post-processing analysis; the Read Cycle test is basically the same as the Write Cycle test. After the initialization configuration is completed, random code patterns are written at a low rate. Similarly, the conventional low-speed mode needs to be greater than or equal to 600Mbps to avoid additional bit errors introduced by differences in different rate configurations. Then set PHY Vref=0 and scan and read Read DQS Delay 0~256Step at the test rate, and record the number of bit errors for each DQ under each channel and each CE at different Steps. Then set NAND Vref to add 4 Steps, continue to record the bit error data of each DQ under each channel and each CE, and loop the test until 124 Vref scans are completed. At the same time, the Log print data needs to be printed in the format of channel name chx-cex-lunx, reference voltage Vref=x, data quality synchronization delay value r_dqs=x, data pin dq-pin=x, x, x, x, x, x, x, x, for post-processing analysis.

[0212] After the raw data is generated, Python is needed to process the data.

[0213] The specific implementation method is as follows. First, a certain CE of a certain channel is used as the minimum Excel page. When Vref=0 and DQS delay=0, the total number of bit errors of all DQs is put into the first cell in Excel. The horizontal axis is incremented in sequence, and the sum of the bit errors of all DQs of a single channel when DQSDealy 0~256 under Vref=0 is accumulated and put into Excel cells to form a row of 256 / 4=64 data. Then Vref is incremented by 4, and the number of bit errors is recorded according to the same rules as above. Until Vref=124 data processing is completed, the margin of a single channel and a single CE can be represented by a 31*64 cell eye diagram as shown below. Figure 4 As shown, Figure 4 This is a structural diagram of a cell eye diagram provided in an embodiment of the present invention. The single-channel eye diagram uses the same logic to first put the total number of bit errors of all DQs in a channel when Vref=0 and DQS delay=0 into the first cell in Excel. The horizontal axis records the sum of bit errors of all CEs and DQs in a single channel when Vref=0 and DQS Dealy 0~256 in sequence. Then Vref increases by 4, and the number of bit errors is recorded according to the same rule as above. At this point, the margin of a single channel can be presented in the form of an eye diagram.

[0214] Through the above method, the test data is transformed from discrete waveform data to statistical numerical value + eye diagram graphical form. By using this application in the test process, the influence of oscilloscope point measurement package reflection can be eliminated to achieve high-precision test within the die, and the NAND parameter tuning and adjustment analysis cycle and manpower can be significantly reduced and the test accuracy can be significantly improved.

[0215] In an optional embodiment of the present invention, it also includes:

[0216] Constructing a user interaction interface for the target computer programming language; the user interaction interface includes an initialization option menu for a semiconductor unit serial flash memory NAND flash;

[0217] The step of determining a reference voltage, a user addressable space range and a plurality of delay scenarios for the semiconductor unit series flash memory NAND flash comprises:

[0218] The initialization option menu is used to determine a reference voltage, a user addressable space range, and a plurality of delay scenarios for the semiconductor unit series flash memory.

[0219] PyWebIO is a Python-based Web interactive application development library that aims to simplify the development process of Web applications, enabling developers to quickly build interactive Web applications using the Python language without having to have an in-depth understanding of front-end technology.

[0220] The core idea of ​​​​PyWebIO is to convert Python scripts into interactive sessions on web pages. It provides a series of imperative interactive functions to obtain user input and output on the browser, turning the browser into a "rich text terminal".

[0221] The embodiment of the present invention can use the pywebio library and packaging processing to realize the Python program interface and independent operation without relying on the Python library. The user interaction interface includes an initialization option menu for the semiconductor unit series flash memory. The user can perform initialization operations on the semiconductor unit series flash memory through the initialization option menu. Specifically, the reference voltage and user addressable space range for the semiconductor unit series flash memory NAND flash can be entered using the initialization option menu, and multiple delay scenarios for the semiconductor unit series flash memory can be determined.

[0222] In an optional embodiment of the present invention, the user interaction interface is provided with a first function, a second function and a third function, and further includes:

[0223] Selecting the original data from a plurality of the original data by calling a first function input;

[0224] In response to determining through the second function that the user specifies to generate a cell eye diagram for the target raw data, executing the step of determining the voltage increment step size for the reference voltage and the delay increment step size for the delay scenario;

[0225] Calling the third function to present the cell eye diagram in the user interaction interface;

[0226] Generate a packaged compressed file for the cell eye diagram;

[0227] The terminal device is configured with a corresponding cloud server;

[0228] Sending the packaged compressed file to the cloud server;

[0229] The cloud server is configured to receive and store the packaged compressed file;

[0230] The cloud server is configured as follows:

[0231] Generate a download link for the packaged compressed file;

[0232] Sending the download link to the terminal device;

[0233] The download link is presented using the user interaction interface.

[0234] In a specific implementation, the first function is an input function, the second function is a select function, and the third function is a put_text function.

[0235] refer to Figure 5 , Figure 5 is a flow chart of a user interaction interface provided in an embodiment of the present invention. First, data is input through the first function, referring to Figure 6 , Figure 6 is a schematic diagram of a user interaction interface provided in an embodiment of the present invention, wherein target original data is selected from multiple original data, and reference is made to Figure 7 , Figure 7 is a structural schematic diagram of another user interaction interface provided in an embodiment of the present invention, wherein a second function is used to determine whether a user specifies to generate a cell eye diagram for target original data, in response to determining that a user specifies to generate a cell eye diagram for target original data through the second function, the second function is then used to select input information, and the background executes the target original data input by the first function based on the target computer programming language, with reference to Figure 8 , Figure 8It is a structural schematic diagram of another user interaction interface provided in an embodiment of the present invention. When executed, information that has been executed for the target original data can be displayed in the user interaction interface, specifically including determining the voltage increment step for the reference voltage and the delay increment step for the delay scenario. After determining the voltage increment step for the reference voltage and the delay increment step for the delay scenario, the single CE eye diagram is implemented specifically as a specific channel and a specific CE as the minimum page unit. First, the number of single pin errors with a reference voltage of Vref=0 and a delay of DQS delay=0 under a certain CE of any channel is obtained by channel identification, and then the number of errors of all data pins DQ is added to obtain the total number of errors, and the total number of errors is used as the first data on the horizontal axis, that is, the starting data. On the horizontal axis of the cell eye diagram, the error information of different DQS Delays within a UI range when Vref=0 is recorded based on the delay increment step as the first row of data. Then the reference voltage Vref is increased according to the voltage increment step and the number of errors is recorded according to the same rules as above as the second row of data. The data extraction is repeated until the Vref range extraction is completed. At this point, the margin eye diagram of a single channel and a single CE can be presented in the form of a rectangular eye diagram of (Vref range) * (DQS range). Fig. 9 , Fig. 9 It is a structural schematic diagram of another cell eye diagram provided in an embodiment of the present invention. The third function is called to present the cell eye diagram in the user interaction interface, and the status information of the semiconductor unit series flash memory is output. Finally, the cell eye diagram is packaged through the zipfile / put_file function to generate a packaged compressed file. Since the package processing of the completed Python program does not rely on the Python library to run independently, the packaged compressed file can be a program in the format of Get_Eye_Diagram.exe. After the packaging operation is completed, a download link for the packaged compressed file can be generated, and the packaged compressed file can be sent to the cloud server so that the cloud server can store the packaged compressed file, and finally realize the interactive input and output of data.

[0236] Optionally, the terminal device has a power supply circuit and a ground circuit, and the power supply circuit and the ground circuit are provided with decoupling capacitors.

[0237] In a specific implementation, the embodiment of the present invention can compensate for noise and maintain signal integrity in the following manner:

[0238] Decoupling: Placing a decoupling capacitor between the power line and the ground line can absorb the noise on the power line and prevent it from coupling to the signal line.

[0239] Filtering: Filters can be used to remove specific frequency bands of noise from a signal line. For example, a low-pass filter can remove high-frequency noise, while a high-pass filter can remove low-frequency noise.

[0240] Equalization: An equalizer can improve signal quality by compensating for frequency distortion during signal transmission.

[0241] Pre-emphasis: A pre-emphasis device can pre-emphasize the signal to compensate for high frequency attenuation.

[0242] Error correction coding: Error correction coding can detect and correct errors that occur during transmission, thereby improving the reliability of data transmission.

[0243] In practical applications, a variety of technologies can be used in combination according to specific circumstances to achieve the best anti-noise effect.

[0244] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0245] Reference Fig.10 , showing a structural block diagram of a computer program product provided in an embodiment of the present invention, the computer program product includes a computer program / instruction 1001, and when the computer program / instruction 1001 is executed by a processor, the steps of the semiconductor unit series flash memory signal testing method as described above are implemented.

[0246] In addition, an embodiment of the present invention further provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the various processes of the above-mentioned semiconductor unit series flash memory signal testing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0247] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the semiconductor unit series flash memory signal test method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0248] Fig.11 A schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention.

[0249] The electronic device 1100 includes but is not limited to: a radio frequency unit 1101, a network module 1102, an audio output unit 1103, an input unit 1104, a sensor 1105, a display unit 1106, a user input unit 1107, an interface unit 1108, a memory 1109, a processor 1110, and a power supply 1111. Those skilled in the art will appreciate that Fig.11 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. In the embodiments of the present invention, the electronic device includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal, a wearable device, and a pedometer.

[0250] It should be understood that in the embodiment of the present invention, the radio frequency unit 1101 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving downlink data from the base station, it is sent to the processor 1110 for processing; in addition, the uplink data is sent to the base station. Generally, the radio frequency unit 1101 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 1101 can also communicate with the network and other devices through a wireless communication system.

[0251] The electronic device provides users with wireless broadband Internet access through the network module 1102, such as helping users to send and receive emails, browse web pages, and access streaming media.

[0252] The audio output unit 1103 can convert the audio data received by the RF unit 1101 or the network module 1102 or stored in the memory 1109 into an audio signal and output it as sound. Moreover, the audio output unit 1103 can also provide audio output related to a specific function performed by the electronic device 1100 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 1103 includes a speaker, a buzzer, a receiver, etc.

[0253] The input unit 1104 is used to receive audio or video signals. The input unit 1104 may include a graphics processor (GPU) 11041 and a microphone 11042. The graphics processor 11041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 1106. The image frame processed by the graphics processor 11041 can be stored in the memory 1109 (or other storage medium) or sent via the radio frequency unit 1101 or the network module 1102. The microphone 11042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 1101 in the case of a telephone call mode.

[0254] The electronic device 1100 also includes at least one sensor 1105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 11061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 11061 and / or the backlight when the electronic device 1100 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, which can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 1105 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated here.

[0255] The display unit 1106 is used to display information input by the user or information provided to the user. The display unit 1106 may include a display panel 11061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0256] The user input unit 1107 can be used to receive input digital or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 1107 includes a touch panel 11071 and other input devices 11072. The touch panel 11071, also known as a touch screen, can collect user touch operations on or near it (such as operations performed by users using fingers, styluses, or any other suitable objects or accessories on or near the touch panel 11071). The touch panel 11071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact point coordinates, and then sends it to the processor 1110, receives the command sent by the processor 1110 and executes it. In addition, the touch panel 11071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 11071, the user input unit 1107 may also include other input devices 11072. Specifically, other input devices 11072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.

[0257] Furthermore, the touch panel 11071 may be overlaid on the display panel 11061. When the touch panel 11071 detects a touch operation on or near it, it is transmitted to the processor 1110 to determine the type of touch event. Then, the processor 1110 provides corresponding visual output on the display panel 11061 according to the type of touch event. Fig.11 In the figure, the touch panel 11071 and the display panel 11061 are two independent components to realize the input and output functions of the electronic device. However, in some embodiments, the touch panel 11071 and the display panel 11061 can be integrated to realize the input and output functions of the electronic device, which is not limited here.

[0258] The interface unit 1108 is an interface for connecting an external device to the electronic device 1100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 1108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic device 1100 or may be used to transmit data between the electronic device 1100 and an external device.

[0259] The memory 1109 can be used to store software programs and various data. The memory 1109 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 1109 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0260] The processor 1110 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 1109 and calling data stored in the memory 1109, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 1110 may include one or more processing units; preferably, the processor 1110 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 1110.

[0261] The electronic device 1100 may also include a power supply 1111 (such as a battery) for supplying power to various components. Preferably, the power supply 1111 may be logically connected to the processor 1110 via a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.

[0262] In addition, the electronic device 1100 includes some functional modules not shown, which will not be described in detail here.

[0263] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0264] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0265] like Fig.12 As shown, in another embodiment provided by the present invention, a computer-readable storage medium 1201 is also provided, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the semiconductor unit series flash memory signal testing method described in the above embodiment.

[0266] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.

[0267] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0268] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0269] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0270] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0271] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0272] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.

[0273] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A semiconductor unit serial flash memory signal testing method, characterized in that: The semiconductor unit series flash memory is configured with a corresponding main control chip, including: determining a reference voltage, a user addressable space range, and a plurality of delay scenarios for the semiconductor unit series flash memory; Using the data quality synchronization training module and the read training module of the master control chip, under the reference voltage and within the user addressable space, write the first random code pattern and the second random code pattern respectively for the plurality of delay scenarios; determining a rate to be tested for a rate mode to be tested; determining a target low rate for the low speed mode; Determine a channel to be detected, switch the semiconductor unit serial flash memory to a low-speed mode, and read the first random code pattern in the low-speed mode to determine first error code data; Switching the semiconductor unit series flash memory to a test rate mode, and reading the second random code pattern in the test rate mode to determine second bit error data; A test result for the semiconductor unit series flash memory is generated based on the first error data and the second error data.

2. The method according to claim 1, characterized in that The semiconductor unit series flash memory is configured with a corresponding unidirectional input interface, and the steps of writing the first random code pattern and the second random code pattern respectively for the plurality of delay scenarios include: In a state where the chip enable signal can write the first random code pattern based on the rate to be tested, the first random code pattern is written for the plurality of delay scenarios through the data quality synchronization training module of the main control chip and the unidirectional input interface; In a state where the chip enable signal can write the second random code pattern based on the target low rate, the second random code pattern is written for multiple delay scenarios through the read training module of the main control chip and the unidirectional input interface.

3. The method according to claim 2, characterized in that The step of reading the first random code pattern to determine the first bit error data comprises: The first random code pattern is read through the channel to be detected to obtain a first random code pattern of the channel to be detected for the channel to be detected; the channel to be detected has a corresponding channel identifier; When it is determined through the channel identifier that there are other channels to be detected, executing the step of writing the first random code pattern for multiple delay scenarios through the data quality synchronization training module of the main control chip and the unidirectional input interface in a state where the chip enable signal can write the first random code pattern based on the rate to be tested; When it is determined through the channel identifier that there are no other channels to be detected, comparing the first random code pattern of the channel to be detected read from all the channels to be detected with the first random code pattern to determine the first error code data; The step of reading the second random code pattern to determine the second bit error data comprises: Reading the second random code pattern through the channel to be detected to obtain a second random code pattern of the channel to be detected for the channel to be detected; When it is determined through the channel identifier that there are other channels to be detected, executing the step of writing the second random code pattern for multiple delay scenarios through the read training module of the main control chip and the unidirectional input interface in a state where the chip enable signal can write the second random code pattern based on the target low rate; When it is determined through the channel identifier that there are no other channels to be detected, the second random code pattern of the channel to be detected read from all the channels to be detected is compared with the second random code pattern to determine the second error code data.

4. The method according to claim 3, characterized in that Also includes: Based on a predetermined target computer programming language, original data is generated using the channel identifier, the first error data, and the second error data.

5. The method according to claim 4, characterized in that Also includes: Determining a voltage increment step size for the reference voltage and a delay increment step size for the delay scenario; Based on the channel identifier, determining a target chip enable signal under any channel from the original data; Determine the number of single-pin bit errors when the reference voltage corresponding to the target chip enable signal is 0 and the delay value is 0, and determine the number of bit errors of all data pins based on the number of single-pin bit errors; The bit error number is used as starting data, and a cell eye diagram is constructed based on the voltage increment step and the delay increment step.

6. The method according to claim 5, characterized in that Also includes: Constructing a user interaction interface for the target computer programming language; the user interaction interface includes an initialization option menu for the semiconductor unit series flash memory; The step of determining a reference voltage, a user addressable space range and a plurality of delay scenarios for the semiconductor unit series flash memory comprises: The initialization option menu is used to determine a reference voltage, a user addressable space range, and a plurality of delay scenarios for the semiconductor unit series flash memory.

7. The method according to claim 6, characterized in that The user interaction interface is provided with a first function and a second function, and further includes: Selecting target original data from the plurality of original data by calling the first function; In response to determining through the second function that the user specifies to generate a cell eye diagram for the target raw data, the step of determining the voltage increment step size for the reference voltage and the delay increment step size for the delay scenario is performed.

8. The method according to claim 7, characterized in that The user interaction interface is provided with a third function, and further includes: The third function is called to present the cell eye diagram in the user interaction interface.

9. The method according to claim 8, characterized in that Also includes: Generate a packaged compressed file for the cell eye diagram.

10. The method according to claim 9, characterized in that The method is applied to a terminal device, the terminal device is configured with a corresponding cloud server, and further includes: Sending the packaged compressed file to the cloud server; The cloud server is configured to receive and store the packaged compressed file.

11. The method according to claim 10, characterized in that Also includes: Generate a download link for the packaged compressed file; The download link is presented using the user interaction interface.

12. The method according to claim 10, characterized in that The terminal device has a power circuit and a ground circuit, and the power circuit and the ground circuit are provided with decoupling capacitors.

13. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to claim 1 are implemented.

14. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; The memory is used to store computer programs; The processor is used to implement the method according to any one of claims 1 to 12 when executing the program stored in the memory.

15. A computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, cause the processors to perform the method according to any one of claims 1 to 12.