Product identification information burning test system and method

By introducing PID test control module into the circuit test system, automatic switching and burning of online and offline modes is realized, solving the problems of test interference and not fully covered by the existing technology, and improving the accuracy and convenience of the test.

CN114860513BActive Publication Date: 2025-04-01SHANGHAI ULTIMATE POWER COMM TECH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110164457.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-05
Publication Date
2025-04-01
Estimated Expiration
2041-02-05

AI Technical Summary

Technical Problem

In the prior art, inserting an offline burner before testing will cause interference to the online test, and the test of the product identification information on the offline burner interface cannot be fully covered.

Method used

Provides a testing system for burning product identification information, including testing computers, programmable power supply and PID test control modules. Through the PID test control module, the online burning and offline burning of product identification information is realized. Through switching control, the two modes are automatically switched and burning, solving the problem of full coverage testing of the online offline interface power supply interface.

Benefits of technology

It realizes automatic switching and recording of product identification information, solves the interference problem and the problem of not fully covering the test, and improves the accuracy and convenience of the test.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114860513B_ABST
    Figure CN114860513B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a test system and method for burning product identification information, the system comprising: a test computer and a program-controlled power supply, and also a product identification information PID test control module, the test computer is connected to the PID test control module via a first control line, one end of the first control line is connected to the serial port of the test computer; the test computer and the program-controlled power supply are connected via a program-controlled connection line; the PID test control module is connected to the board interface of the board under test; the PID test control module is used to receive the signal / command sent by the test computer, and based on the signal / command control and the connection state of the board interface, realize online burning and offline burning of product identification information. The embodiment of the present application realizes the control of online burning and offline burning of product identification information by adding a PID test control module, and solves the full coverage test problem and interference problem of the online and offline interface power supply interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of circuit testing technology, and in particular to a testing system and method for burning product identification information. Background Art

[0002] Usually there is a chip on the circuit board that stores product identification information (PID). In order to meet the needs of PID burning, this chip will have a general hardware circuit design with online and offline modes: 1) In online mode, after the board is powered on, the PID can be burned through the processing chip on the board; 2) In offline mode, after the board is powered off, the PID can be burned through the Inter-Integrated Circuit bus (IIC bus, abbreviated as IIC) interface on the board through an offline burner.

[0003] For such an interface design, the existing test mode often misses some test contents. Figure 1 The following is a schematic diagram of the implementation of the existing test scheme. If the offline programmer is inserted before the test, the board will be interfered during the online test, causing the IIC interface to hang. If the offline programmer is inserted after the online test, the test will be more complicated. At the same time, the power supply signals inside the board and outside the board are not fully covered. The power supply inside the board and the offline programmer are always in the power supply state. In this way, during the test, the short circuit of the power supply line on one side will not be found, resulting in the problem of incomplete test coverage. Summary of the invention

[0004] The embodiments of the present application provide a product identification information burning test system and method, which are used to solve the defects in the prior art that an offline burner is inserted before testing, interfering with online testing, and the testing of the online and offline burning interface of product identification information cannot fully cover the defects.

[0005] In a first aspect, an embodiment of the present application provides a product identification information burning test system, including a test computer and a programmable power supply, characterized in that it also includes a product identification information PID test control module,

[0006] The test computer is connected to the PID test control module via a first control line, wherein one end of the first control line is connected to the serial port of the test computer;

[0007] The test computer and the programmable power supply are connected via a programmable connection line;

[0008] The PID test control module is connected to the board interface of the board under test;

[0009] The PID test control module is used to receive the signal / command sent by the test computer, and control the connection status with the board interface based on the signal / command to realize online burning and offline burning of product identification information.

[0010] Optionally, according to a product identification information burning test system of an embodiment of the present application, the PID test control module includes: a single chip microcomputer, a programmable logic device EPLD, a first relay and a second relay, wherein:

[0011] The single-chip microcomputer is connected to the test computer via a first control line and a serial port, the single-chip microcomputer is connected to the EPLD via an address data bus, the test computer is connected to a first relay via a serial port and a second control line, and the test computer is connected to the EPLD via a serial port and a third control line;

[0012] The single chip microcomputer is used to receive a signal / command for starting an offline state sent by the test computer through a serial port, and to notify the EPLD to configure the control pin of the second relay in a register working mode;

[0013] The single chip microcomputer is also used to simulate the IIC interface to perform offline burning of the PID after being connected to the IIC interface in the board interface through the first relay;

[0014] The EPLD is used to receive a notification of configuring the control pin of the second relay sent by the single-chip microcomputer, and configure the control pin of the second relay so that the second relay controls the power supply and write protection state of the EEPROM chip on the board under test through the board interface;

[0015] The first relay is used to control the state of the IIC interface;

[0016] The second relay is used to control the power supply and write protection status of the EEPROM chip through the board card interface.

[0017] Optionally, according to a product identification information burning test system of an embodiment of the present application, the interface signal corresponding to the board interface includes at least one of the following: a power signal PID_VCC2 of the EEPROM chip, a write protection signal PID_WP of the EEPROM chip, a first IIC interface signal PID_SCL of the EEPROM chip, and a second IIC interface signal PID_SDA of the EEPROM chip.

[0018] Optionally, according to a product identification information burning test system according to an embodiment of the present application, the first relay and the second relay each include two controllable switches therein.

[0019] Optionally, according to a product identification information burning test system of an embodiment of the present application, the test computer is further used to control the first relay and the second relay to be in an off state, and issue commands through script configuration;

[0020] The command is used to start the on-board processing chip on the tested board to download the burning file from the test computer and perform online PID burning.

[0021] In a second aspect, the embodiment of the present application further provides a test method for burning product identification information, including:

[0022] Initiate an offline state start signal / command to the single-chip microcomputer on the PID test control module through the serial port, so that the single-chip microcomputer notifies the EPLD on the PID test control module to configure the control pin of the second relay in the register working mode, and enables the second relay to control the power supply and write protection state of the EEPROM chip;

[0023] If the control state enters the offline mode, the program-controlled power supply is controlled to cut off the power supply to the board under test, and the board under test is powered by the PID test control module;

[0024] After the EEPROM chip on the board under test is powered on again, the first relay is controlled to connect the IIC interface in the board interface to the single-chip microcomputer, and the single-chip microcomputer simulates the IIC interface to perform offline burning of the PID.

[0025] Optionally, the product identification information burning test method according to an embodiment of the present application further includes:

[0026] Controlling the first relay and the second relay to be in an off state;

[0027] The test computer issues commands through script configuration to control the on-board processing chip on the board under test to download the burning file and perform online PID burning.

[0028] In a third aspect, an embodiment of the present application further provides a processor-readable storage medium, wherein the processor-readable storage medium stores a computer program, wherein the computer program is used to enable the processor to execute the steps of the test method for burning product identification information as described in the second aspect above.

[0029] The test system and method for burning product identification information provided in the embodiment of the present application realize the control of online burning and offline burning of product identification information by adding a PID test control module. Through switching control, the two modes are automatically switched to each other for burning, which solves the problem of full coverage test of the online and offline interface power supply interface, and can avoid the phenomenon of missing and uncovering some interface circuits. The offline burning device can be inserted into the environment before testing without plugging and unplugging. The standby state of the offline burner will not affect the burning of the PID by the processor in the online mode, thus solving the interference problem. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0031] Figure 1 It is a schematic diagram of the implementation of the existing test scheme;

[0032] Figure 2 A schematic diagram of the structure of a test system for burning product identification information provided in an embodiment of the present application;

[0033] Figure 3 A schematic diagram of the structure of the PID test control module provided in an embodiment of the present application;

[0034] Figure 4 A test method for burning product identification information provided in an embodiment of the present application. DETAILED DESCRIPTION

[0035] In the embodiments of the present application, the term "and / or" describes the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0036] In the embodiments of the present application, the term "plurality" refers to two or more than two, and other quantifiers are similar.

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

[0038] The existing test scheme for burning product identification information mainly adopts the following steps: after powering on the board, use the original function of the board to burn the PID through the processor in online mode; use the burner to read the PID information from the IIC interface of the board and compare the PID information. The interface full coverage test in both PID modes is achieved through two steps. This test mode has the following problems: the insertion of the offline burner before the test will interfere with the online test, and the test of the online and offline burning interface of the product identification information cannot be fully covered. In order to solve the above problems, the embodiment of the present application provides a test system for burning product identification information.

[0039] Figure 2 A schematic diagram of the structure of a test system for burning product identification information provided in an embodiment of the present application, such as Figure 2 As shown, the system includes: a test computer 201, a programmable power supply 202, and a product identification information PID test control module 203. The system is used to test the burning of product identification information of a board 204 under test.

[0040] The board 204 under test includes: an on-board processing chip 2041, an electrically erasable programmable ROM (Electrically Erasable Programmable Read Only Memory, EEPROM) chip 2042 and a board interface 2043. The connection relationship between the on-board processing chip 2041, the EEPROM chip 2042 and the board interface 2043 is as follows: Figure 2 shown.

[0041] The test computer 201 is connected to the product identification information PID test control module 203 via a first control line, wherein one end of the first control line is connected to the serial port of the test computer 201;

[0042] The test computer 201 and the programmable power supply 202 are connected via a programmable connection line;

[0043] The PID test control module 203 is connected to the board interface 2043 of the board 204 under test;

[0044] The PID test control module 203 is used to receive the signal / command sent by the test computer 201, and control the connection status with the board interface 2043 based on the signal / command to realize online burning and offline burning of product identification information.

[0045] The product identification information burning test system provided in the embodiment of the present application realizes the control of online burning and offline burning of product identification information by adding a PID test control module. Through switching control, the two modes of burning are automatically switched, which solves the problem of full coverage test of the online and offline interface power supply interface, and can avoid the phenomenon of missing and uncovering some interface circuits. The offline burning device can be inserted into the environment before testing without plugging and unplugging. The standby state of the offline burner will not affect the burning of the PID by the processor in the online mode, thus solving the interference problem.

[0046] Optionally, in order to realize the above functions of the PID test control module 203, as Figure 3 As shown, the PID test control module 203 further includes: a single chip microcomputer 2031, a programmable logic device EPLD 2032, a first relay J1 and a second relay J2, wherein:

[0047] The single-chip microcomputer 2031 is connected to the test computer 201 through the first control line and the serial port, the single-chip microcomputer 2031 is connected to the EPLD 2032 through the address data bus, the test computer 201 is connected to the first relay J1 through the serial port and the second control line, and the test computer 201 is connected to the EPLD 2032 through the serial port and the third control line;

[0048] The single chip microcomputer 2031 is used to receive the signal / command for starting the offline state sent by the test computer 201 through the serial port, and notify the EPLD 2032 to configure the control pin of the second relay J2 in the register working mode;

[0049] The single chip microcomputer 2031 is also used to simulate the IIC interface to perform offline burning of PID after being connected to the IIC interface in the board interface through the first relay J1;

[0050] It should be noted that the types of IIC interface signals include PID_SCL and PID_SDA.

[0051] The EPLD 2032 is used to receive the notification of configuring the control pin of the second relay J2 sent by the single-chip computer 2031, and configure the control pin of the second relay J2 so that the second relay J2 controls the power supply and write protection state of the EEPROM chip on the tested board through the board interface.

[0052] See also Figure 2 and Figure 3 The PID_VCC2 interface signal of the relay J2 is used to control the power state of the EEPROM chip 2042 , and the PID_WP interface signal of the relay J2 is used to control the write protection state of the EEPROM chip 2042 .

[0053] The first relay J1 is used to control the state of the IIC interface;

[0054] The second relay J2 is used to control the power supply and write protection status of the EEPROM chip 2042 through the board interface.

[0055] Optionally, the interface signal corresponding to the board interface 2043 includes at least one of the following: a power signal PID_VCC2 of the EEPROM chip, a write protection signal PID_WP of the EEPROM chip, a first IIC interface signal PID_SCL of the EEPROM chip, and a second IIC interface signal PID_SDA of the EEPROM chip.

[0056] Optionally, refer to Figure 3 The first relay and the second relay each include two controllable switches.

[0057] It can be understood that the first relay J1 controls the state of the IIC interface through two controllable switches.

[0058] For example, PID_SCL can be controlled to be connected to the single chip computer 2031 .

[0059] The second relay controls the power supply and write protection status of the EEPROM chip 2042 through two controllable switches.

[0060] For example, the D3V3 power supply and PID_VCC2 may be controlled to be connected.

[0061] Optionally, the product identification information burning test system provided in the embodiment of the present application can implement online mode testing, which is specifically implemented as follows:

[0062] The test computer 201 is also used to control the first relay J1 and the second relay J2 to be in an off state, and issue commands through script configuration;

[0063] The command is used to start the on-board processing chip 2041 on the tested board 204 to download the burning file from the test computer 201 to perform online PID burning.

[0064] The product identification information burning test system provided in the embodiment of the present application separates the online and offline interfaces through two relay PIDs to achieve full coverage testing of the two interfaces, adds a single-chip microcomputer and EPLD hardware design, thereby providing the possibility of cooperating with software design to realize automatic switching of the two interfaces, and the offline burning process can be automatically realized, and the online burning and offline burning of product identification information can be controlled. Through switching control, the two modes are automatically switched to burn, which solves the problem of full coverage testing of the online and offline interface power supply interfaces, and can avoid the phenomenon of missing and uncovering some interface circuits. The offline burning device can be inserted into the environment before testing without plugging and unplugging, and the standby state of the offline burner will not affect the burning of the PID by the processor in the online mode, thereby solving the interference problem.

[0065] Based on the above embodiment, another embodiment of the present application provides a method for testing product identification information burning, based on the test system for product identification information burning as described in the above embodiment, such as Figure 4 As shown, the method includes:

[0066] Step 400: Initiate an offline startup signal / command to the single-chip microcomputer on the PID test control module through the serial port, so that the single-chip microcomputer notifies the EPLD on the PID test control module to configure the control pin of the second relay in the register working mode, and enables the second relay to control the power supply and write protection state of the EEPROM chip;

[0067] Specifically, the test computer initiates an offline start signal / command to the single-chip microcomputer on the PID test control module through the serial port, so that the single-chip microcomputer notifies the EPLD on the PID test control module to configure the control pin of the second relay in the register working mode, and enables the second relay to control the power supply and write protection status of the EEPROM chip.

[0068] Step 401: If the control state enters the offline mode, the program-controlled power supply is controlled to cut off the power supply to the board under test, and the board under test is powered by the PID test control module;

[0069] If the control state enters the offline mode, the test computer controls the program-controlled power supply to cut off the power supply to the board under test, and supplies power to the board under test through the PID test control module.

[0070] Step 402: After the EEPROM chip on the board under test is powered on again, the first relay is controlled to connect the IIC interface in the board interface to the single-chip microcomputer, and the single-chip microcomputer simulates the IIC interface to perform offline burning of the PID.

[0071] After the EEPROM chip on the board under test resumes power supply, the test computer controls the first relay to connect the IIC interface in the board interface to the single-chip microcomputer, and the single-chip microcomputer simulates the IIC interface to perform offline burning of the PID.

[0072] The test method for burning product identification information provided in the embodiment of the present application is based on the design of the PID test control module hardware module. Through switching control, it can automatically switch between two modes for burning, and the interface is fully covered. The entire test process method after adding the hardware module can avoid various interference problems caused by inserting an offline burner, and has high reliability.

[0073] Optionally, the test method for burning product identification information further includes:

[0074] Controlling the first relay and the second relay to be in an off state;

[0075] The test computer issues commands through script configuration to control the on-board processing chip on the board under test to download the burning file and perform online PID burning.

[0076] Specifically, the test computer sends instructions in the form of a script through the serial port, first disconnects the switch inside the relay, so that all interface signals of the EEPROM are in a closed state. The test computer powers on the board under test, controls the on-board processing chip on the board under test to download the burning file, performs online PID burning, and covers the on-board interface.

[0077] Then, the test computer controls the board to power off, sends serial port commands to the microcontroller through the serial port, and the EPLD pin controls the enable pin of the relay to make all the interfaces of the PID connected. At the same time, the power supply of the PID is connected. Figure 3 Connect power supply D3V3 and PID_VCC2.

[0078] The test computer burns the offline file through the microcontroller IIC interface to achieve offline burning of PID.

[0079] The product identification information burning test method provided in the embodiment of the present application, with the assistance of hardware design, can automatically switch between online and offline modes by controlling the test steps through program design, and solve the separate testing of two power supplies, thereby eliminating the interference problem of the equipment.

[0080] On the other hand, an embodiment of the present application further provides a processor-readable storage medium, wherein the processor-readable storage medium stores a computer program, wherein the computer program is used to enable the processor to execute the test method for burning product identification information provided in the above embodiments, including:

[0081] Initiate an offline state start signal / command to the single-chip microcomputer on the PID test control module through the serial port, so that the single-chip microcomputer notifies the EPLD on the PID test control module to configure the control pin of the second relay in the register working mode, and enables the second relay to control the power supply and write protection state of the EEPROM chip;

[0082] If the control state enters the offline mode, the program-controlled power supply is controlled to cut off the power supply to the board under test, and the board under test is powered by the PID test control module;

[0083] After the EEPROM chip on the board under test is powered on again, the first relay is controlled to connect the IIC interface in the board interface to the single-chip microcomputer, and the single-chip microcomputer simulates the IIC interface to perform offline burning of the PID.

[0084] The processor-readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NANDFLASH), solid-state drive (SSD)), etc.

[0085] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.

[0086] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer executable instructions. These computer executable instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0087] These processor executable instructions may also be stored in a processor readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the processor readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0088] These processor-executable instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0089] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A product identification information burning test system, comprising a test computer and a programmable power supply, characterized in that: It also includes product identification information PID test control module, The test computer is connected to the PID test control module via a first control line, wherein one end of the first control line is connected to the serial port of the test computer; The test computer and the programmable power supply are connected via a programmable connection line; The PID test control module is connected to the board interface of the board under test; The PID test control module is used to receive the signal / command sent by the test computer, and control the connection status with the board interface based on the signal / command to realize online burning and offline burning of product identification information; The PID test control module includes: a single chip microcomputer, a programmable logic device EPLD, a first relay and a second relay, wherein: The single-chip microcomputer is connected to the test computer via a first control line and a serial port, the single-chip microcomputer is connected to the EPLD via an address data bus, the test computer is connected to a first relay via a serial port and a second control line, and the test computer is connected to the EPLD via a serial port and a third control line; The single chip microcomputer is used to receive a signal / command for starting an offline state sent by the test computer through a serial port, and to notify the EPLD to configure the control pin of the second relay in a register working mode; The single chip microcomputer is also used to simulate the IIC interface to perform offline burning of the PID after being connected to the IIC interface in the board interface through the first relay; The EPLD is used to receive a notification of configuring the control pin of the second relay sent by the single-chip microcomputer, and configure the control pin of the second relay so that the second relay controls the power supply and write protection state of the EEPROM chip on the board under test through the board interface; The first relay is used to control the state of the IIC interface; The second relay is used to control the power supply and write protection status of the EEPROM chip through the board card interface.

2. The product identification information burning test system according to claim 1, characterized in that: The interface signal corresponding to the board interface includes at least one of the following: a power signal PID_VCC2 of the EEPROM chip, a write protection signal PID_WP of the EEPROM chip, a first IIC interface signal PID_SCL of the EEPROM chip, and a second IIC interface signal PID_SDA of the EEPROM chip.

3. The product identification information burning test system according to claim 1, characterized in that: The first relay and the second relay each include two controllable switches therein.

4. The product identification information burning test system according to claim 1, characterized in that: The test computer is also used to control the first relay and the second relay to be in an off state, and issue commands through script configuration; The command is used to start the on-board processing chip on the tested board to download the burning file from the test computer and perform online PID burning.

5. A method for testing product identification information burning, based on the test system for testing product identification information burning as claimed in any one of claims 1 to 4, characterized in that: include: Initiate an offline state start signal / command to the single-chip microcomputer on the PID test control module through the serial port, so that the single-chip microcomputer notifies the EPLD on the PID test control module to configure the control pin of the second relay in the register working mode, and enables the second relay to control the power supply and write protection state of the EEPROM chip; If the control state enters the offline mode, the program-controlled power supply is controlled to cut off the power supply to the board under test, and the board under test is powered by the PID test control module; After the EEPROM chip on the board under test is powered on again, the first relay is controlled to connect the IIC interface in the board interface to the single-chip microcomputer, and the single-chip microcomputer simulates the IIC interface to perform offline burning of the PID.

6. The product identification information burning test method according to claim 5, characterized in that: Also includes: Controlling the first relay and the second relay to be in an off state; The test computer issues commands through script configuration to control the on-board processing chip on the board under test to download the burning file and perform online PID burning.

7. A processor-readable storage medium, characterized in that: The processor-readable storage medium stores a computer program, and the computer program is used to enable the processor to execute the product identification information burning test method according to any one of claims 5 to 6.

Citation Information

Patent Citations

  • Multi-channel chip burning method and system

    CN111857748A