A memory chip testing method and device, electronic equipment and storage medium

By training and storing the optimal operating point parameters at different frequency bands after the memory chip is powered on, the problems of long testing time and consistency of finished memory chips are solved, and fast and reliable switching and analysis of test parameters are achieved.

CN123182735APending Publication Date: 2026-11-27SHENZHEN RAYSON TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611640995.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-22
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

The current testing of finished memory chips is time-consuming and carries the risk of chip inconsistency, resulting in incomparable test parameters and difficulties in failure analysis.

Method used

After the memory chip is powered on, parameter training is performed at different frequency bands to obtain the optimal operating point parameters, and these parameters are stored in the frequency setpoint register group of the memory controller, including the FSP0, FSP1 and FSP2 register groups. When switching frequencies, the register group parameters of the corresponding frequency band are directly called for configuration.

Benefits of technology

It significantly shortens the frequency switching time from seconds to microseconds or milliseconds, reduces testing costs, and ensures the reproducibility and consistency of test parameters, providing a reliable data foundation for failure analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123182735A_ABST
    Figure CN123182735A_ABST
Patent Text Reader

Abstract

The application provides a memory chip testing method and device, electronic equipment and storage medium. The memory chip testing method provided by the application comprises the following steps: after power-on and initialization of a memory chip, performing parameter training on the memory chip under different frequency bands to obtain optimal working point parameters under different frequency bands; storing the optimal working point parameters under different frequency bands into a frequency set point register group in a memory controller respectively; when a test instruction of switching to a target frequency point is received, determining a frequency band to which the target frequency point belongs, calling the optimal working point parameters in the frequency set point register group corresponding to the frequency band, configuring the memory chip with the optimal working point parameters, and performing read-write algorithm testing on the memory chip. The memory chip testing method provided by the application reduces the time cost of finished product testing and ensures grain consistency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of memory testing technology, and in particular to a memory chip testing method, apparatus, electronic device, and storage medium. Background Technology

[0002] In the final testing phase of memory chips, testing equipment needs to verify the functionality and performance of the packaged chips. In the current memory chip testing process, the testing equipment needs to switch to different frequencies for read / write algorithm testing. The traditional approach involves powering down the memory chip, then re-executing the complete initialization and training processes before performing read / write tests at the new frequency. Each frequency switch in this traditional approach requires a complete power-down, power-on initialization, and calibration process, consuming significant testing equipment time and significantly increasing the time cost of final product testing. Furthermore, each power-on cycle results in slight fluctuations in voltage, temperature, and the internal physical characteristics of the chip, leading to subtle differences in the calibration output parameters. This makes the test parameters of the same chip at different frequencies incomparable, posing a risk of chip inconsistency and hindering failure analysis and yield control. Summary of the Invention

[0003] The purpose of this invention is to provide a memory chip testing method, apparatus, electronic device, and storage medium to solve the technical problems of high time cost and risk of chip inconsistency in the prior art.

[0004] The technical solution of the present invention is as follows: a memory chip testing method is provided, comprising: After the memory chip is powered on and the initialization process is completed, parameter training is performed on the memory chip at different frequency bands to obtain the optimal operating point parameters at different frequency bands. The optimal operating point parameters for different frequency bands are stored in the frequency setpoint register group in the memory controller, respectively. Specifically, the optimal operating point parameters for low frequency band, mid frequency band and high frequency band are stored in the FSP0 register group, FSP1 register group and FSP2 register group in the memory controller, respectively. When a test command to switch to the target frequency is received, the frequency band to which the target frequency belongs is determined, the optimal operating point parameter in the frequency setpoint register group of the corresponding frequency band is called, the memory chip is configured with the optimal operating point parameter, and the read / write algorithm test is performed on the memory chip.

[0005] Further, determining the frequency band to which the target frequency point belongs, and calling the optimal operating point parameters in the frequency setpoint register group of the corresponding frequency band, including: If the target frequency is below 3200Mbps, it is determined that the target frequency belongs to the low frequency band, and the optimal operating point parameter in the FSP0 register group is called accordingly. If the target frequency is greater than or equal to 3200Mbps and less than or equal to 6400Mbps, then the target frequency is determined to belong to the mid-frequency band, and the optimal operating point parameter in the FSP1 register group is called accordingly. If the target frequency is greater than 6400Mbps, it is determined that the target frequency belongs to the high frequency band, and the optimal operating point parameter in the FSP2 register group is called accordingly.

[0006] Furthermore, the optimal operating point parameters include the data line reference voltage, the command address reference voltage, and the delay time from the write clock to the data line.

[0007] Furthermore, parameter training is performed on the memory chip at different frequency bands, including: The memory chip is trained with parameters at different frequency bands. The parameter training includes read / write data gating, reference voltage calibration, and synchronization of write clock and command clock.

[0008] Furthermore, upon receiving a test command to switch to the target frequency, determining the frequency band to which the target frequency belongs includes: When the memory controller receives a test command to switch to the target frequency, it determines the frequency band to which the target frequency belongs.

[0009] Furthermore, the protocol type of the memory chip is LPDDR5x or LPDDR5.

[0010] Another technical solution of the present invention is as follows: a memory chip testing device is provided, including a parameter acquisition module, a parameter storage module and a testing module; The parameter acquisition module is used to perform parameter training on the memory chip at different frequency bands after the memory chip is powered on and the initialization process is completed, so as to obtain the optimal operating point parameters at different frequency bands. The parameter storage module is used to store the optimal operating point parameters under different frequency bands into the frequency setpoint register group in the memory controller, specifically including storing the optimal operating point parameters under low frequency band, mid frequency band and high frequency band into the FSP0 register group, FSP1 register group and FSP2 register group in the memory controller, respectively. The test module is used to determine the frequency band to which the target frequency point belongs when it receives a test instruction to switch to the target frequency point, call the optimal operating point parameter in the frequency set point register group of the corresponding frequency band, configure the memory chip with the optimal operating point parameter, and perform read and write algorithm tests on the memory chip.

[0011] Another technical solution of the present invention is as follows: an electronic device is provided, including a memory and a processor. The memory stores a computer program that can be executed by the processor. When the processor executes the computer program, it implements the memory chip testing method as described in any of the above technical solutions.

[0012] Another technical solution of the present invention is as follows: a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and the computer program, when executed by a processor, implements the memory chip testing method as described in any of the above technical solutions.

[0013] The beneficial effects of this invention are as follows: After the memory chip is powered on and the initialization process is completed, parameter training is performed on the memory chip at different frequency bands to obtain the optimal operating point parameters at different frequency bands; the optimal operating point parameters at different frequency bands are stored in the frequency setpoint register group in the memory controller, specifically including storing the optimal operating point parameters at low frequency, mid frequency, and high frequency bands in the FSP0 register group, FSP1 register group, and FSP2 register group in the memory controller, respectively; when a test command to switch to the target frequency point is received, the frequency band to which the target frequency point belongs is determined, the optimal operating point parameters in the frequency setpoint register group of the corresponding frequency band are called, the memory chip is configured with the optimal operating point parameters, and read / write algorithm tests are performed on the memory chip; the above technical solution, after one power-on, through By performing parameter training at different frequency bands and storing the optimal operating point parameters in the frequency setpoint register group on the memory controller side, when switching to the target frequency, the register parameters of the corresponding frequency band are directly called to configure the memory chip. There is no need to perform power-down and power-on initialization and repeated training. The frequency switching process only involves register reading and physical layer reconfiguration, which can shorten the switching time from seconds to microseconds or milliseconds, significantly reducing the time occupied by the test equipment and reducing the time cost of product testing. The optimal operating point parameters of all frequencies are derived from the training results after the same power-on, avoiding changes in the physical environment caused by multiple power-down restarts. This ensures that the test parameters of the same chip at different frequencies are reproducible and comparable, effectively eliminating the interference of test environment fluctuations on parameter consistency, ensuring chip consistency, and providing a reliable data foundation for failure analysis and yield control. Attached Figure Description

[0014] Figure 1 This is a flowchart illustrating the memory chip testing method provided in an embodiment of the present invention.

[0015] Figure 2 This is a schematic diagram of the structure of a memory chip testing device provided in an embodiment of the present invention.

[0016] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0017] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.

[0018] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0019] Figure 1 This is a flowchart illustrating the memory chip testing method according to an embodiment of the present invention. It should be noted that if substantially the same results are obtained, the memory chip testing method of the present invention does not necessarily reflect the intended purpose. Figure 1 The illustrated process sequence is limited. For example... Figure 1 As shown, this memory chip testing method mainly includes the following steps: S101, after the memory chip is powered on and the initialization process is completed, parameter training is performed on the memory chip at different frequency bands to obtain the optimal operating point parameters at different frequency bands; In some embodiments, the protocol type of the memory chip is LPDDR5x or LPDDR5.

[0020] In one specific embodiment, if the protocol type of the memory chip is LPDDR5x, the LPDDR5x memory chip is placed on the ATE test bench (host computer) and powered on. The memory controller initiates an initialization process to establish a basic communication link. After initialization, the memory controller executes a complete calibration (training) process. During this process, the memory controller will traverse or calculate the optimal parameters (optimal operating point parameters) at each frequency point.

[0021] In some embodiments, parameter training is performed on the memory chip at different frequency bands, including: The memory chip is trained with parameters at different frequency bands. The parameter training includes read / write data gating, reference voltage calibration, and synchronization of write clock and command clock.

[0022] In this embodiment of the invention, read / write data gating (DQS Gating) determines the sampling boundary of the valid data window, reference voltage calibration (Vref Calibration) determines the optimal decision level for the data line and command address line, and write clock and command clock synchronization (WCK2CK Synchronization) determines the phase alignment relationship between the data domain and command domain during write operations. These three training components respectively address three key issues in high-speed communication of memory chips: sampling timing, voltage decision, and cross-clock domain alignment. By performing the above training at each frequency band, the obtained optimal operating point parameters can truly reflect the physical link characteristics of that frequency band, thereby ensuring accurate and reliable test results when subsequent read / write algorithm tests are performed based on parameters loaded from the FSP register set, avoiding bit errors or false failures caused by parameter mismatch.

[0023] In some embodiments, the optimal operating point parameters include the data line reference voltage, the command address reference voltage, and the delay time from the write clock to the data line.

[0024] Since the data line reference voltage, command address reference voltage, and write clock-to-data line delay are the most sensitive parameters determining the high-frequency communication stability of memory chips, their values ​​are directly affected by fluctuations in voltage, temperature, and the physical characteristics of the memory chips. This invention acquires and stores these three parameters separately by frequency band during the same power-on training, ensuring that subsequent read / write tests at all frequencies are configured based on the same set of parameters under the same physical condition. When the same memory chip exhibits test differences at different frequencies, it can be determined that the difference originates from the electrical characteristics of the frequency itself rather than parameter drift caused by fluctuations in the test environment. This ensures the reproducibility and comparability of the parameters, providing a reliable basis for failure analysis and yield control.

[0025] In one specific embodiment, the optimal operating point parameters include the data line reference voltage (DQ Vref), the command address reference voltage (CA Vref), and the write clock to data line delay time (WCK2DQ Delay), and may also include other parameters. Parameter training can be performed on the memory chip at low frequencies to obtain the optimal operating point parameters for that frequency band; parameter training can also be performed on the memory chip at mid-frequency frequencies to obtain the optimal operating point parameters for that frequency band.

[0026] S102, the optimal operating point parameters under different frequency bands are stored in the frequency setpoint register group in the memory controller respectively. Specifically, the optimal operating point parameters under low frequency band, mid frequency band and high frequency band are stored in the FSP0 register group, FSP1 register group and FSP2 register group in the memory controller respectively. In this embodiment of the invention, by physically isolating and storing the training parameters for each frequency band according to the FSP0 register group, FSP1 register group, and FSP2 register group, when switching to any target frequency point, the memory controller does not need to re-trigger the power-down, power-on, initialization, and full parameter training process. It only needs to read the existing parameters in the corresponding FSP register group to complete the physical layer configuration. This method compresses the frequency switching time from the second level (complete power-on process) of the traditional solution to the microsecond or millisecond level (register read / write), fundamentally eliminating the time occupied by multiple calibrations (training) on ​​the test equipment and significantly reducing the time cost of final product testing.

[0027] In one specific embodiment, the optimal operating point parameters for the low-frequency band are stored in the FSP0 register group of the memory controller; the optimal operating point parameters for the mid-frequency band are stored in the FSP1 register group of the memory controller; and the optimal operating point parameters for the high-frequency band are stored in the FSP2 register group of the memory controller. The low-frequency band corresponds to frequency points below 3200 Mbps, the mid-frequency band corresponds to frequency points between 3200 Mbps and 6400 Mbps, and the high-frequency band corresponds to frequency points above 6400 Mbps.

[0028] S103, when a test instruction to switch to the target frequency point is received, the frequency band to which the target frequency point belongs is determined, the optimal operating point parameter in the frequency set point register group of the corresponding frequency band is called, the memory chip is configured with the optimal operating point parameter, and the read / write algorithm test is performed on the memory chip.

[0029] In some embodiments, when a test command to switch to a target frequency is received, determining the frequency band to which the target frequency belongs includes: When the memory controller receives a test command to switch to the target frequency, it determines the frequency band to which the target frequency belongs.

[0030] In this embodiment of the invention, the frequency band determination logic is embedded in the memory controller instead of relying on the host computer software for execution. This eliminates the instruction round trip and software parsing delay between the test instrument and the controller. After receiving the target frequency point instruction, the controller can immediately complete the frequency band mapping and directly trigger the loading of parameters in the corresponding FSP register group. This makes the entire switching link execute completely in a closed loop at the hardware level, which in a mechanism ensures that the frequency point switching time is compressed to the microsecond or millisecond level, avoiding the reduction of switching efficiency due to software processing delay.

[0031] In one specific embodiment, if the current test item requires read / write algorithm testing at a 6400Mbps frequency point, the host computer sends a command to the memory controller to switch to 6400Mbps (a test command to switch to the target frequency point). The controller parses the command, determines that 6400Mbps belongs to the intermediate frequency, and maps it to the FSP1 register group. The controller no longer triggers power-down restart or power cycle, but directly sends a read signal to the FSP1 register group. The controller loads the optimal operating point parameters in the FSP1 register group and configures the physical layer interface; after configuration, the memory chip immediately enters the 6400Mbps operating state, and then performs read / write algorithm testing on the memory chip. Specifically, the host computer sends read / write data patterns to perform data read / write and comparison tests. After the test is completed, if it is necessary to switch to other frequencies, such as low-frequency testing, the parameters in the FSP0 register group are directly called to achieve microsecond-level switching.

[0032] In some embodiments, determining the frequency band to which the target frequency point belongs and calling the optimal operating point parameter in the frequency setpoint register group corresponding to the frequency band includes: If the target frequency is below 3200Mbps, it is determined that the target frequency belongs to the low frequency band, and the optimal operating point parameter in the FSP0 register group is called accordingly. If the target frequency is greater than or equal to 3200Mbps and less than or equal to 6400Mbps, then the target frequency is determined to belong to the mid-frequency band, and the optimal operating point parameter in the FSP1 register group is called accordingly. If the target frequency is greater than 6400Mbps, it is determined that the target frequency belongs to the high frequency band, and the optimal operating point parameter in the FSP2 register group is called accordingly.

[0033] In this embodiment of the invention, the boundaries of low-frequency, mid-frequency, and high-frequency are defined by explicit numerical thresholds. Upon receiving a target frequency instruction, the memory controller can immediately and unambiguously determine the frequency band to which it belongs and load the corresponding training parameters. This mapping rule is precisely aligned with the actual operating range defined by the LPDDR5x protocol, ensuring that the loaded reference voltage and delay parameters match the physical characteristics of the target frequency. This fundamentally prevents sampling failures or data errors caused by incorrect parameter sets due to frequency band misjudgment, thus guaranteeing the reliability of testing under rapid switching.

[0034] The memory chip testing method provided in this embodiment of the invention, after the memory chip is powered on and the initialization process is completed, performs parameter training on the memory chip at different frequency bands to obtain the optimal operating point parameters for each frequency band. The optimal operating point parameters for each frequency band are then stored in the frequency setpoint register group in the memory controller, specifically including storing the optimal operating point parameters for low-frequency, mid-frequency, and high-frequency bands in the FSP0 register group, FSP1 register group, and FSP2 register group in the memory controller, respectively. When a test command to switch to the target frequency is received, the frequency band to which the target frequency belongs is determined, and the optimal operating point parameters in the corresponding frequency band's frequency setpoint register group are called to configure the memory chip using the optimal operating point parameters, and read / write algorithm tests are performed on the memory chip. The above technical solution, upon a single power-on... Subsequently, parameter training is performed separately at different frequency bands, and the optimal operating point parameters are stored in the frequency setpoint register group on the memory controller side. When switching to the target frequency, the register parameters of the corresponding frequency band are directly called to configure the memory chip, without the need to perform power-down and power-on initialization and repeated training. The frequency switching process only involves register reading and physical layer reconfiguration, which can shorten the switching time from seconds to microseconds or milliseconds, greatly reducing the time occupied by the test equipment and reducing the time cost of product testing. The optimal operating point parameters of all frequencies are derived from the training results after the same power-on, avoiding changes in the physical environment caused by multiple power-down restarts. This ensures that the test parameters of the same chip at different frequencies are reproducible and comparable, effectively eliminating the interference of test environment fluctuations on parameter consistency, ensuring chip consistency, and providing a reliable data foundation for failure analysis and yield control.

[0035] Figure 2 This is a schematic diagram of the structure of a memory chip testing device according to an embodiment of the present invention, as shown below. Figure 2 As shown, the memory chip testing device 20 includes a parameter acquisition module 21, a parameter storage module 22, and a testing module 23; The parameter acquisition module 21 is used to perform parameter training on the memory chip at different frequency bands after the memory chip is powered on and the initialization process is completed, so as to obtain the optimal operating point parameters at different frequency bands. The parameter storage module 22 is used to store the optimal operating point parameters under different frequency bands into the frequency setpoint register group in the memory controller, respectively. Specifically, it includes storing the optimal operating point parameters under low frequency band, mid frequency band and high frequency band into the FSP0 register group, FSP1 register group and FSP2 register group in the memory controller, respectively. The test module 23 is used to determine the frequency band to which the target frequency point belongs when a test instruction to switch to the target frequency point is received, call the optimal operating point parameter in the frequency set point register group of the corresponding frequency band, configure the memory chip with the optimal operating point parameter, and perform read and write algorithm tests on the memory chip.

[0036] In some embodiments, the test module 23 determines the frequency band to which the target frequency point belongs and calls the optimal operating point parameters in the frequency setpoint register group of the corresponding frequency band, including: If the target frequency is below 3200Mbps, it is determined that the target frequency belongs to the low frequency band, and the optimal operating point parameter in the FSP0 register group is called accordingly. If the target frequency is greater than or equal to 3200Mbps and less than or equal to 6400Mbps, then the target frequency is determined to belong to the mid-frequency band, and the optimal operating point parameter in the FSP1 register group is called accordingly. If the target frequency is greater than 6400Mbps, it is determined that the target frequency belongs to the high frequency band, and the optimal operating point parameter in the FSP2 register group is called accordingly.

[0037] In some embodiments, the optimal operating point parameters include the data line reference voltage, the command address reference voltage, and the delay time from the write clock to the data line.

[0038] In some embodiments, the parameter acquisition module 21 performs parameter training on the memory chip at different frequency bands, including: The memory chip is trained with parameters at different frequency bands. The parameter training includes read / write data gating, reference voltage calibration, and synchronization of write clock and command clock.

[0039] In some embodiments, when the test module 23 receives a test command to switch to the target frequency, it determines the frequency band to which the target frequency belongs, including: When the memory controller receives a test command to switch to the target frequency, it determines the frequency band to which the target frequency belongs.

[0040] In some embodiments, the protocol type of the memory chip is LPDDR5x or LPDDR5.

[0041] Figure 3 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. Figure 3 As shown, the electronic device 30 includes a processor 31 and a memory 32 communicatively connected to the processor 31.

[0042] The memory 32 stores program instructions for implementing the memory chip testing method of any of the above embodiments.

[0043] The processor 31 is used to execute program instructions stored in the memory 32 to perform memory chip testing.

[0044] The processor 31 can also be referred to as a CPU (Central Processing Unit). The processor 31 may be an integrated circuit chip with signal processing capabilities. The processor 31 can also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. A general-purpose processor can be a microprocessor or any conventional processor.

[0045] This invention provides a storage medium that stores program instructions capable of implementing all the methods described above. The storage medium can be non-volatile or volatile. These program instructions can be stored in the storage medium as a software product, including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks, or terminal devices such as computers, servers, mobile phones, and tablets.

[0046] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or modules may be electrical, mechanical, or other forms.

[0047] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0048] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium.

[0049] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product.

[0050] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).

[0051] The technical solutions provided in this application have been described in detail above. Specific examples have been used in this application to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

[0052] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0053] This application is described with reference to flowchart illustrations and / or block diagrams of the methods, apparatus, and computer program products according to this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0054] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0055] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0056] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A method for testing memory chips, characterized in that, include: After the memory chip is powered on and the initialization process is completed, parameter training is performed on the memory chip at different frequency bands to obtain the optimal operating point parameters at different frequency bands. The optimal operating point parameters for different frequency bands are stored in the frequency setpoint register group in the memory controller, respectively. Specifically, the optimal operating point parameters for low frequency band, mid frequency band and high frequency band are stored in the FSP0 register group, FSP1 register group and FSP2 register group in the memory controller, respectively. When a test command to switch to the target frequency is received, the frequency band to which the target frequency belongs is determined, the optimal operating point parameter in the frequency setpoint register group of the corresponding frequency band is called, the memory chip is configured with the optimal operating point parameter, and the read / write algorithm test is performed on the memory chip.

2. The memory chip testing method according to claim 1, characterized in that, Determine the frequency band to which the target frequency belongs, and call the optimal operating point parameters in the frequency setpoint register group of the corresponding frequency band, including: If the target frequency is below 3200Mbps, it is determined that the target frequency belongs to the low frequency band, and the optimal operating point parameter in the FSP0 register group is called accordingly. If the target frequency is greater than or equal to 3200Mbps and less than or equal to 6400Mbps, then the target frequency is determined to belong to the mid-frequency band, and the optimal operating point parameter in the FSP1 register group is called accordingly. If the target frequency is greater than 6400Mbps, it is determined that the target frequency belongs to the high frequency band, and the optimal operating point parameter in the FSP2 register group is called accordingly.

3. The memory chip testing method according to claim 1, characterized in that, The optimal operating point parameters include the data line reference voltage, the command address reference voltage, and the delay time from the write clock to the data line.

4. The memory chip testing method according to claim 1, characterized in that, Parameter training is performed on the memory chip at different frequency bands, including: The memory chip is trained with parameters at different frequency bands. The parameter training includes read / write data gating, reference voltage calibration, and synchronization of write clock and command clock.

5. The memory chip testing method according to claim 1, characterized in that, When a test command to switch to the target frequency is received, the frequency band to which the target frequency belongs is determined, including: When the memory controller receives a test command to switch to the target frequency, it determines the frequency band to which the target frequency belongs.

6. The memory chip testing method according to claim 1, characterized in that, The memory chip uses either LPDDR5x or LPDDR5 as its protocol.

7. A memory chip testing device, characterized in that, It includes a parameter acquisition module, a parameter storage module, and a testing module; The parameter acquisition module is used to perform parameter training on the memory chip at different frequency bands after the memory chip is powered on and the initialization process is completed, so as to obtain the optimal operating point parameters at different frequency bands. The parameter storage module is used to store the optimal operating point parameters under different frequency bands into the frequency setpoint register group in the memory controller, specifically including storing the optimal operating point parameters under low frequency band, mid frequency band and high frequency band into the FSP0 register group, FSP1 register group and FSP2 register group in the memory controller, respectively. The test module is used to determine the frequency band to which the target frequency point belongs when it receives a test instruction to switch to the target frequency point, call the optimal operating point parameter in the frequency set point register group of the corresponding frequency band, configure the memory chip with the optimal operating point parameter, and perform read and write algorithm tests on the memory chip.

8. An electronic device comprising a memory and a processor, wherein the memory stores a computer program executable by the processor, characterized in that, When the processor executes the computer program, it implements the memory chip testing method as described in any one of claims 1 to 6.

9. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the memory chip testing method as described in any one of claims 1 to 6.