Multi-channel flash testing device, system and flash memory
The multi-channel FLASH testing device solves the problems of interface and voltage specification limitations in existing technologies, enabling efficient and comprehensive testing of various FLASH chips and supporting batch automated testing.
Patent Information
- Application Number
- CN202522702334.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-19
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2035-12-19
AI Technical Summary
Existing FLASH chip testing methods can only be designed for a single interface protocol and voltage specification, and cannot be adapted to higher speeds and more complex interface types and multiple voltage specifications, resulting in a limited testing scope.
Design a multi-channel FLASH test device, including multiple test channels and power supply circuits. A MCU control module and a voltage switching switch are used to achieve compatibility with different interface types and voltage specifications. A robustness test module is integrated to improve the completeness of test functions.
It enables parallel testing of FLASH chips with various interface types and voltage specifications, improving testing efficiency and functional completeness, and supporting batch automated testing.
Smart Images

Figure CN225032607U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of FLASH testing technology, and more particularly to a multi-channel FLASH testing device, system, and FLASH memory. Background Technology
[0002] Flash memory is a non-volatile memory device that can retain data for a long time after power is off. Due to its simple pinout, small package, and cost advantages, flash memory plays an important role in embedded systems for storing firmware and key parameters. Its performance directly determines the overall performance of the system, so it is crucial to conduct thorough testing during the research and development and production stages.
[0003] Existing testing methods for FLASH chips typically rely on MCU chips. The host computer software sends test commands (such as "chip erase," "page programming," and "read data") to the MCU via a USB communication module. After parsing the commands, the MCU drives its hardware SPI controller to generate corresponding timing waveforms, which are then applied to the FLASH chip under test through the test channel. The MCU then compares the read FLASH data with the expected data, or sends the original data back to the host computer, completing the FLASH chip test.
[0004] However, existing FLASH chip testing methods can only be designed for a single interface protocol (such as standard SPI). Their hardware channel architecture and drive capabilities cannot adapt to higher-speed, more complex interface types, such as OSPI (Octal SPI), thus limiting the testing scope. Furthermore, their single power supply architecture only allows testing chips with a single voltage specification, failing to accommodate multiple voltages, further restricting the implementation of testing for various FLASH chips. Therefore, there is an urgent need for a testing device that can adapt to more types of FLASH chips and offers higher testing efficiency. Utility Model Content
[0005] The purpose of this invention is to provide a multi-channel FLASH testing device, system, and FLASH memory, which can realize parallel testing of more types of FLASH chips, enabling comprehensive testing of FLASH chips with multiple voltages and multiple interfaces in a single batch, with more complete testing functions and higher testing efficiency.
[0006] The technical solution provided by this utility model is as follows:
[0007] In a first aspect, this application provides a multi-channel FLASH testing device, comprising:
[0008] MCU control module;
[0009] Several test channels are used to load the FLASH chip under test, and the test channels include at least one first test channel directly connected to the MCU control module, and at least one second test channel connected to the MCU control module through a level conversion circuit;
[0010] Several power supply circuits are connected in parallel. The MCU control module is connected to each power supply circuit through a voltage switching switch to switch the test voltage of each test channel.
[0011] This solution sets up multiple test channels, each including a first test channel directly connected to the chip pins of the MCU control module, and a second test channel connected to the chip pins of the MCU control module via a level conversion circuit. This allows for different test speeds across the channels, thus adapting to different interface types. Simultaneously, by setting up multiple parallel power supply circuits, selectable via the MCU control module and a voltage switch, the test voltage can be adjusted according to the different FLASH chips under test, accommodating chips with various voltage specifications. This enables the test system to perform parallel testing on multiple types of FLASH chips, completing comprehensive testing of FLASH chips with multiple voltages and interfaces in a single test. This results in more complete testing functionality and higher testing efficiency.
[0012] In some implementations, the number of test channels is two: the first test channel is used to adapt to the FLASH chip under test with the OSPI interface, and the second test channel is used to adapt to the FLASH chip under test with the standard SPI interface.
[0013] In some embodiments, the plurality of power supply circuits include a DC-DC buck converter circuit, which is used to supply power to the MCU control module when powered on.
[0014] In some embodiments, the plurality of power supply circuits include an LDO voltage regulator circuit for supplying power to each of the test channels.
[0015] In some embodiments, the plurality of power supply circuits include a programmable power supply for supplying power to each of the test channels; the programmable power supply includes a digital-to-analog converter circuit and an amplifier circuit, the digital-to-analog converter circuit being connected to the MCU control module and used to adjust the voltage output of the programmable power supply according to the control instructions of the MCU control module.
[0016] In some implementations, the voltage switching switch is a MOS switch.
[0017] In some implementations, the MCU control module is connected to the host computer via a USB communication module to receive test commands sent by the host computer and to send test data to the host computer.
[0018] In some implementations, it also includes:
[0019] A robustness testing module, connected to each of the test channels, is used to receive control commands from the MCU control module to perform robustness testing on the FLASH chip under test.
[0020] Secondly, this application provides a multi-channel FLASH testing system, including a host computer and the multi-channel FLASH testing device described in the first aspect. The host computer is communicatively connected to the multi-channel FLASH testing device and is used to send test commands to the multi-channel FLASH testing device and receive test data sent by the multi-channel FLASH testing device.
[0021] Thirdly, this application provides a FLASH memory that is tested using the multi-channel FLASH testing apparatus described in the first aspect.
[0022] The multi-channel FLASH testing device, system, and FLASH memory provided by this utility model have at least the following technical advantages:
[0023] 1) This application expands the testing interface to enable testing of FLASH chips with different interface types, thus broadening the testing scope;
[0024] 2) The test channel of this application can adapt to different test speeds, thus being compatible with different interface types;
[0025] 3) This application sets up multiple power supply circuits in parallel, which can be selected by the MCU control module and voltage switching switch, so that the test voltage can be adjusted according to the different FLASH chips under test, thereby taking into account chips with multiple voltage specifications.
[0026] 4) This application improves the system's integration and enables various testing functions by integrating a robustness testing module, making the testing more comprehensive;
[0027] 5) This application can support multi-channel parallel testing, thereby improving testing efficiency, supporting batch automated testing, and completing comprehensive testing of FLASH chips with multiple voltages and multiple interfaces in a single test. Attached Figure Description
[0028] The preferred embodiments will now be described in a clear and easy-to-understand manner, with reference to the accompanying drawings, to further explain the above-mentioned characteristics, technical features, advantages, and implementation methods of this solution.
[0029] Figure 1 This is a schematic diagram of the structure of a single-channel FLASH testing device in the prior art;
[0030] Figure 2 This is a schematic diagram of the overall structure of a multi-channel FLASH testing device according to an embodiment of the present invention.
[0031] The diagram is labeled as follows: 10-MCU control module; 11-USB communication module; 12-First test channel; 13-Second test channel; 14-Level conversion circuit; 15-Voltage switching switch; 16-Robustness test module; 17-DC-DC step-down circuit; 18-LDO voltage regulator circuit; 191-Digital-to-analog converter circuit; 192-Amplifier circuit; 193-FET follower; 20-Host computer. Detailed Implementation
[0032] To more clearly illustrate the technical solutions in the embodiments of this utility model or the prior art, the specific implementation methods of this utility model will be described below with reference to the accompanying drawings. Obviously, the drawings described below are merely some embodiments of this utility model. For those skilled in the art, other drawings and other implementation methods can be obtained based on these drawings without any creative effort.
[0033] To keep the drawings concise, only the parts relevant to this invention are shown schematically in each figure, and they do not represent the actual structure of the product. Furthermore, for ease of understanding, in some figures, only one of the components with the same structure or function is schematically depicted, or only one is labeled. In this document, "one" not only means "only one," but can also mean "more than one."
[0034] Flash memory is a non-volatile memory device that can retain data for a long time after power is off. Due to its simple pinout, small package, and cost advantages, flash memory plays an important role in embedded systems for storing firmware and key parameters. Its performance directly determines the overall performance of the system, so it is crucial to conduct thorough testing during the research and development and production stages.
[0035] Existing testing methods for FLASH chips are typically based on testing MCU chips. (Refer to the attached manual.) Figure 1The host computer software sends test commands (such as "chip erase", "page programming", "read data" etc.) to the MCU module via the USB communication module. After parsing the commands, the MCU module drives its hardware SPI controller to generate corresponding timing waveforms and applies them to the FLASH chip under test through the test channel. After the test is completed, the MCU module compares the read FLASH data with the expected data or sends the original data back to the host computer to complete the FLASH chip test.
[0036] However, existing FLASH chip testing methods can only be designed for a single interface protocol (such as standard SPI). Their hardware channel architecture and drive capabilities cannot adapt to higher-speed, more complex interface types, such as OSPI (Octal SPI), thus limiting the testing scope. Furthermore, their single power supply architecture only allows testing chips with a single voltage specification, failing to accommodate multiple voltages, further restricting the implementation of testing for various FLASH chips. Therefore, there is an urgent need for a testing device that can adapt to more types of FLASH chips and offers higher testing efficiency.
[0037] To accommodate a wider range of FLASH chips, this solution features a test system with multiple test channels. Each channel can test the FLASH chip under test, and each channel offers different test speeds, thus adapting to FLASH chips with different interface types. Simultaneously, a multi-level power architecture is implemented, allowing the MCU module to select different power modules based on testing requirements, supporting multiple test voltages to meet the testing needs of FLASH chips with varying voltage specifications. The following is a detailed description of this solution with reference to the accompanying drawings:
[0038] In one embodiment, refer to the appendix to the specification. Figure 2 This application provides a multi-channel FLASH testing device, including an MCU control module 10, several test channels, and several power supply circuits.
[0039] The MCU control module 10 includes an MCU chip and is the core control unit of this solution. The MCU chip can be an STM32H7 series MCU, etc., and this application does not impose any restrictions. The MCU control module 10 is used to receive test commands and perform test control. At the same time, the MCU control module 10 can also serve as a test data processing end or a transmission end.
[0040] In one example, the MCU control module 10 communicates with the host computer 20 via the USB communication module 11. The MCU control module 10 receives test commands from the host computer 20 and sends test data to the host computer 20. The test data can be the original test data for the FLASH chip, or data obtained by the MCU control module 10 after comparing and analyzing the original test data. In other embodiments, the MCU control module 10 can also use other communication methods to communicate with the host computer 20, such as wireless communication or Bluetooth communication, etc., which are not limited in this application.
[0041] This solution sets up at least two test channels. The test channels are used to load the FLASH chip under test. The test channels include at least one first test channel 12 which is directly connected to the MCU control module 10, and at least one second test channel 13 which is connected to the MCU control module 10 through a level conversion circuit 14.
[0042] This solution allows for different test speeds for each test channel by setting different connection methods between the test channels and the MCU control module 10. For example, in one example, the interface test speed of the first test channel 12 can reach 166M, while the interface test speed of the second test channel 13 can reach 100M, thus adapting to FLASH chips with different interface types, such as OSPI FLASH chips and SPI FLASH chips. Furthermore, when testing FLASH chips, each test channel can be selected for testing, and multiple test channels can be tested in parallel, enabling batch testing of FLASH chips and improving test speed.
[0043] The level conversion circuit 14 includes a level conversion chip for converting the pin voltage of the MCU chip to a target voltage. For example, in one example, the level conversion chip has a conversion range of 0.8V-5V, thereby enabling testing of the FLASH chip within a voltage range of 0.8V-5V. This application does not limit the specific circuit form of the level conversion circuit 14, as long as it can achieve the conversion of the test voltage for the FLASH chip.
[0044] This solution features a multi-level power architecture, including several power circuits connected in parallel. The MCU control module 10 is connected to each power circuit via a voltage switching switch 15 to switch the test voltage of each test channel.
[0045] The voltage switching switch 15 is used to switch the access of different power supply circuits. In one example, the voltage switching switch 15 is a MOS switch. The MCU control module 10 can connect different power supply circuits to the test channel through the MOS switch. In addition, the power supply circuit of this application can not only be used to power the test channel, but also to power the MCU control module 10 and other auxiliary modules, such as the USB communication module 11 and the robustness test module 16. Different modules require different voltages, and the MCU control module 10 can also select the power supply circuit for each module through the MOS switch.
[0046] By setting up multiple power supply circuits in parallel and switching them via voltage switching switch 15, each power supply circuit can provide different test voltages, allowing different power supply circuits to be selected for testing FLASH chips according to the test requirements and the type of FLASH chip.
[0047] This solution does not limit the specific number of power supply circuits. For example, three types of power supply circuits can be set up to form a three-level power supply architecture. Furthermore, to meet more testing needs, each power supply circuit can simultaneously provide voltage to multiple test channels, ensuring that the test voltages of each test channel are the same; alternatively, each power supply circuit can be configured to correspond to one test channel, allowing the test voltages of each test channel to be different.
[0048] This solution sets up multiple test channels, each including a first test channel directly connected to the chip pins of the MCU control module, and a second test channel connected to the chip pins of the MCU control module via a level conversion circuit. This allows for different test speeds across the channels, thus adapting to different interface types. Simultaneously, by setting up multiple power supply circuits in parallel, selectable via the MCU control module and a voltage switch, the test voltage can be adjusted according to the different FLASH chips under test, accommodating chips with various voltage specifications. This enables the test system to perform parallel testing on multiple types of FLASH chips, completing comprehensive testing of FLASH chips with multiple voltages and interfaces in a single test. This results in more complete testing functionality and higher testing efficiency.
[0049] In one embodiment, based on the foregoing embodiments, since commonly used FLASH chips have interface types including standard SPI and OSPI (Octal SPI), this application sets up two test channels: a first test channel 12 and a second test channel 13. The first test channel 12 is directly connected to the chip pins of the MCU control module 10, offering a higher interface speed, and is used to adapt to the higher-speed OSPI interface FLASH chip under test. The second test channel 13 is used to adapt to the standard SPI interface FLASH chip under test. This allows the present solution to test SPI FLASH chips, OSPI FLASH chips, or both simultaneously during FLASH chip testing.
[0050] In one embodiment, based on the aforementioned embodiments, this solution adopts a parallel three-stage power supply architecture. The first stage power supply architecture uses a DC-DC buck converter 17, meaning that the DC-DC buck converter 17 is included in several power supply circuits. The DC-DC buck converter 17 is a switching power supply topology that converts a higher DC voltage to a lower DC voltage, featuring high efficiency and small size. It uses a high-speed switch (such as a MOSFET) to periodically turn on and off, chopping the input voltage into a pulse waveform; an inductor and capacitor form a low-pass filter to smooth the pulse for a stable DC output; and the switching duty cycle can be adjusted by a PWM controller to stabilize the output voltage. In this solution, the DC-DC buck converter 17 is used to power the MCU control module during power-on. This circuit uses a TMI3252 chip, which can achieve a 5V input and 2.5V output voltage reduction. After the MCU is powered on, by disabling the chip's control pin, it automatically switches to other power supply circuits, achieving self-regulation of the MCU power supply voltage. This application does not limit the specific circuit form of the DC-DC step-down circuit 17, as long as it can achieve the target voltage output. Existing DC-DC step-down circuits can also be directly selected. This application does not impose any restrictions.
[0051] The second-stage power supply architecture uses an LDO regulator circuit 18, meaning that the LDO regulator circuit 18 is included in several power supply circuits. The LDO regulator circuit 18 includes a low-dropout linear regulator, which can stably output DC voltage when the input-output voltage difference is extremely low. In this solution, the LDO regulator circuit 18 uses an AMS1117 chip for fixed voltage regulation, enabling a 3.3V system voltage to be provided from a 5V input. The LDO regulator circuit 18 is used to power various test channels and can also power the USB communication module 11. This application does not limit the specific circuit form of the LDO regulator circuit 18, as long as it can achieve the target voltage output; existing LDO regulator circuits can also be directly selected, and this application does not impose any restrictions.
[0052] The third-level power supply architecture uses a programmable power supply. To enable the test system to accommodate FLASH chips with more test voltages, more power supply circuits could be used, but this would undoubtedly increase the number and size of components. Therefore, this application uses a programmable power supply, meaning that at least one programmable power supply is included among several power supply circuits. A programmable power supply is a power supply whose functions or parameters can be controlled by computer software, such as setting the output voltage and maximum output current; exceeding these values will prevent normal power supply. The programmable power supply in this solution is used to power each test channel.
[0053] The programmable power supply includes a digital-to-analog converter circuit 191 and an amplifier circuit 192. The digital-to-analog converter circuit 191 is connected to the MCU control module 10 and is used to adjust the voltage output of the programmable power supply according to the control instructions of the MCU control module. For example, after amplification by the amplifier circuit 192, an adjustable voltage of 0-5V can be output to adapt to the testing of different FLASH chips. This application does not limit the specific circuit form of the programmable power supply, as long as it can achieve the target adjustable voltage output. For example, in one example, the programmable power supply also includes a FET-type follower 193 to achieve high-precision voltage output; existing programmable power supplies can also be directly selected, and this application does not impose any restrictions.
[0054] In one embodiment, based on the foregoing embodiments, the multi-channel FLASH testing device of this application further includes: a robustness testing module 16, which is connected to each test channel and is used to receive control commands from the MCU control module 10 to perform robustness testing on the FLASH chip under test. For example, in one example, this solution can achieve power sequence control by designing a high-speed, high-precision power supply system and adding a MOS switch to realize the power-on and power-off tests of various FLASH chips; or, in another example, this solution can output noise through a designing high-speed, high-precision power supply system, and achieve robustness testing by adding interference signals to the FLASH chip through analog switch control. Through power sequence control and signal interference injection, complete reliability testing can be achieved. This solution, by integrating the robustness testing module, can improve the system integration and realize multiple testing functions, making the testing more comprehensive. Furthermore, this application does not limit the specific form of the robustness testing module 16 and can directly use existing robustness testing modules.
[0055] In one embodiment, based on the foregoing embodiments, this application provides a multi-channel FLASH testing system, including a host computer and the multi-channel FLASH testing device of the foregoing embodiments. The host computer is communicatively connected to the multi-channel FLASH testing device and is used to send test instructions to the multi-channel FLASH testing device and receive test data sent by the multi-channel FLASH testing device.
[0056] The technical concept of this multi-channel FLASH testing system is the same as that of the multi-channel FLASH testing device in the aforementioned embodiments, and will not be described in detail here.
[0057] In one embodiment, based on the foregoing embodiments, this application also provides a FLASH memory, which is obtained after being tested by the multi-channel FLASH testing device of the foregoing embodiments.
[0058] The multi-channel FLASH testing device, system, and FLASH memory provided by this utility model have at least the following technical advantages:
[0059] 1) This application expands the testing interface to enable testing of FLASH chips with different interface types, thus broadening the testing scope;
[0060] 2) The test channel of this application can adapt to different test speeds, thus being compatible with different interface types;
[0061] 3) This application sets up multiple power supply circuits in parallel, which can be selected by the MCU control module and voltage switching switch, so that the test voltage can be adjusted according to the different FLASH chips under test, thereby taking into account chips with multiple voltage specifications.
[0062] 4) This application improves the system's integration and enables various testing functions by integrating a robustness testing module, making the testing more comprehensive;
[0063] 5) This application can support multi-channel parallel testing, thereby improving testing efficiency, supporting batch automated testing, and completing comprehensive testing of FLASH chips with multiple voltages and multiple interfaces in a single test.
[0064] It should be noted that the above embodiments can be freely combined as needed. The above description is only a preferred embodiment of this utility model. It should be pointed out that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this utility model, and these improvements and modifications should also be considered within the protection scope of this utility model.
Claims
1. A multi-channel FLASH testing device, characterized in that, include: MCU control module; Several test channels are used to load the FLASH chip under test, and the test channels include at least one first test channel directly connected to the MCU control module, and at least one second test channel connected to the MCU control module through a level conversion circuit; Several power supply circuits are connected in parallel. The MCU control module is connected to each power supply circuit through a voltage switching switch to switch the test voltage of each test channel.
2. The multi-channel FLASH testing device according to claim 1, characterized in that, The test channel consists of two channels. The first test channel is used to adapt to the FLASH chip under test with the OSPI interface, and the second test channel is used to adapt to the FLASH chip under test with the standard SPI interface.
3. The multi-channel FLASH testing device according to claim 1, characterized in that, The plurality of power supply circuits include a DC-DC buck converter circuit, which is used to supply power to the MCU control module when powered on.
4. The multi-channel FLASH testing device according to claim 1, characterized in that, The power supply circuits include an LDO voltage regulator circuit, which is used to supply power to each of the test channels.
5. The multi-channel FLASH testing device according to claim 1, characterized in that, The plurality of power supply circuits include a programmable power supply, which is used to power each of the test channels; The programmable power supply includes a digital-to-analog converter circuit and an amplifier circuit. The digital-to-analog converter circuit is connected to the MCU control module and is used to adjust the voltage output of the programmable power supply according to the control instructions of the MCU control module.
6. The multi-channel FLASH testing device according to claim 1, characterized in that, The voltage switching switch is a MOS switch.
7. The multi-channel FLASH testing device according to claim 1, characterized in that, The MCU control module is connected to the host computer via a USB communication module, and is used to receive test commands sent by the host computer and send test data to the host computer.
8. The multi-channel FLASH testing device according to any one of claims 1-7, characterized in that, Also includes: A robustness testing module, connected to each of the test channels, is used to receive control commands from the MCU control module to perform robustness testing on the FLASH chip under test.
9. A multi-channel FLASH testing system, characterized in that, Includes a host computer and the multi-channel FLASH testing device according to any one of claims 1-8. The host computer is communicatively connected to the multi-channel FLASH testing device and is used to send test commands to the multi-channel FLASH testing device and receive test data sent by the multi-channel FLASH testing device.
10. A FLASH memory, characterized in that, The test is performed using the multi-channel FLASH test apparatus according to any one of claims 1-8.
