A system startup jig, method and test equipment
By designing a system startup fixture, using the information receiving interface and the MCU to simulate the startup information of the hot key, it automatically triggers the motherboard to enter the operating system interface, solving the problems of low test efficiency and high cost in the existing technology, and achieving fast and seamless testing. Manually intervened testing process.
Patent Information
- Application Number
- CN202210153146.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-18
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-02-18
AI Technical Summary
In the existing technology, functional testing of server motherboards requires testers to manually trigger hot keys to enter the operating system interface, and the window time is short, resulting in low testing efficiency and high cost, especially during batch testing.
Design a system startup fixture, including an information receiving interface, a protocol conversion module and an MCU. By receiving serial port information and simulating the startup information of the hot key key position, it automatically sends it to the USB interface of the motherboard to replace the tester's manual triggering of the hot key. Make sure to enter the operating system interface within the window time.
It achieves quick entry into the operating system interface without manual intervention, avoids the problem of missing window time, and significantly saves testing time and costs.
Smart Images

Figure CN114579377B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of server hardware, and in particular to a system startup jig, method and testing equipment. Background Art
[0002] Currently, functional testing is an important part of server motherboard production. To achieve this, the tester must manually trigger the hotkey to enter the system operation interface, and then call up and start the corresponding test program in the operating system interface. For example, the hotkey corresponding to the BIOS of a certain motherboard is F11. After the motherboard is turned on, the tester can manually press F11 to enter the operating system interface.
[0003] However, the window time during the motherboard startup process that allows hotkey intervention is very short. Once the window time is missed, the motherboard needs to be restarted to enter the window time again. The existence of the window time makes the conditions for testers to manually enter the operating system interface more stringent. For batch testing of multiple motherboards, the test efficiency is low, and the time cost and labor cost are high.
[0004] Therefore, how to provide a solution to the above technical problems is a problem that those skilled in the art need to solve. Summary of the invention
[0005] In view of this, the purpose of the present invention is to provide a system startup jig, method and test equipment to enter the operating system interface more quickly. The specific scheme is as follows:
[0006] A system startup fixture, applied to a mainboard, comprising:
[0007] An information receiving interface, used to connect to the configuration interface of the mainboard and receive serial port information of the configuration interface;
[0008] A first protocol conversion module connected to the information receiving interface, used for converting the serial port information of RS232 protocol into UART protocol;
[0009] The MCU connected to the first protocol conversion module is used to send out startup information of simulating the hot key position after receiving the serial port information;
[0010] A first USB interface, one end of which is connected to the MCU and the other end of which is connected to the second USB interface of the mainboard, is used to send the startup information to the second USB interface.
[0011] Preferably, the system startup jig further includes:
[0012] a second protocol conversion module connected to both the first USB interface and the MCU, and configured to convert the configuration information received by the first USB from a USB protocol to a UART protocol;
[0013] The MCU is also used to configure internal programs according to the configuration information.
[0014] Preferably, the system startup fixture further includes a USB hub chip, and the first USB interface is connected to the MCU and the second protocol conversion module respectively through the USB hub chip;
[0015] When the MCU sends the analog information of the USB protocol, the USB hub chip is used to conduct the communication path between the MCU and the first USB interface, and to shut down the communication path between the first USB interface and the second protocol conversion module;
[0016] When the first USB interface receives the configuration information, the USB hub chip is used to open a communication path between the first USB interface and the second protocol conversion module, and to close a communication path between the MCU and the first USB interface.
[0017] Preferably, the MCU is also used for:
[0018] After receiving the serial port information, the hot key position corresponding to the mainboard is determined according to the serial port information.
[0019] Preferably, the startup information is specifically startup information corresponding to simulating one or more preset hot key positions.
[0020] Preferably, the MCU is specifically used for:
[0021] After receiving the serial port information, the startup information is continuously sent until a preset character string appears in the serial port information, and then the startup information is stopped.
[0022] Preferably, the first USB interface is specifically used for:
[0023] The startup information is sent to the second USB interface to enable the mainboard to enter the interface after the hot key position is triggered.
[0024] Accordingly, the present application also discloses a testing device, comprising:
[0025] Functional test fixture;
[0026] A system startup fixture as described in any of the above items.
[0027] Accordingly, the present application also discloses a system startup method, which is applied to the MCU in the system startup fixture as described in any one of the above items, comprising:
[0028] After receiving the serial port information sent by the configuration interface of the mainboard and converted into the UART protocol, the startup information of the simulated hot key position is sent out, so that the second USB interface of the mainboard receives the startup information.
[0029] Preferably, the system startup method further includes:
[0030] When a preset character string appears in the serial port information, the sending of the startup information is stopped.
[0031] The present application discloses a system startup fixture, which is applied to a mainboard, including: an information receiving interface, which is used to connect to the configuration interface of the mainboard and receive the serial port information of the configuration interface; a first protocol conversion module connected to the information receiving interface, which is used to convert the serial port information of the RS232 protocol into the UART protocol; an MCU connected to the first protocol conversion module, which is used to send out startup information of a simulated hot key position after receiving the serial port information; a first USB interface connected to the MCU at one end and to the second USB interface of the mainboard at the other end, which is used to send out the startup information to the second USB interface. When the serial port information of the configuration interface is received through the information receiving interface, the present application sends out startup information of a simulated hot key position to the second USB interface through the first USB interface, and the mainboard will automatically respond to the startup information to enter the interface corresponding to the hot key position, thereby replacing the conventional tester to achieve the purpose of triggering the hot key within the window time, and the tester is not required in the entire triggering process, and there is no problem of missing the window time, which can greatly save the test time and test cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0033] Figure 1 A structural distribution diagram of a system startup fixture in an embodiment of the present invention;
[0034] Figure 2 This is a structural distribution diagram of another system startup fixture in an embodiment of the present invention. DETAILED DESCRIPTION
[0035] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0036] The window time during the motherboard startup process that allows hotkey intervention is very short. Once the window time is missed, the motherboard needs to be restarted to enter the window time again. The existence of the window time makes the conditions for testers to manually enter the operating system interface more stringent. For batch testing of multiple motherboards, the test efficiency is low, and the time cost and labor cost are high.
[0037] When the present application receives serial port information of the configuration interface through the information receiving interface, it sends startup information of the simulated hot key position to the second USB interface through the first USB interface. The mainboard will automatically respond to the startup information to enter the interface corresponding to the hot key position, thereby replacing the conventional tester to achieve the purpose of triggering the hot key within the window time. No tester is required in the entire triggering process, and there is no problem of missing the window time, which can greatly save test time and test costs.
[0038] The embodiment of the present invention discloses a system startup jig, which is applied to a mainboard, see Figure 1 As shown, including:
[0039] Information receiving interface 1, used to connect to the configuration interface of the mainboard and receive serial port information of the configuration interface;
[0040] A first protocol conversion module 2 connected to the information receiving interface 1, used for converting serial port information of RS232 protocol into UART protocol;
[0041] The MCU 3 connected to the first protocol conversion module 2 is used to send out startup information of simulating the hot key position after receiving the serial port information;
[0042] The first USB interface 4 , one end of which is connected to the MCU 3 and the other end of which is connected to the second USB interface of the mainboard, is used to send startup information to the second USB interface.
[0043] Specifically, the configuration interface for sending serial port information of the motherboard is generally a console interface, and the corresponding information receiving interface 1 is generally an RJ45 interface. If the type of the motherboard is different, the configuration interface and the information receiving interface 1 can also select the interface corresponding to the motherboard. The connection between the RJ45 interface 1 and the console interface is generally realized through a console cable, that is, a COM port to RJ45 cable, and the connection between the first USB interface 4 and the second USB interface is generally realized through a USB cable.
[0044] Among them, the whole information transmission process is specifically as follows: the configuration interface sends serial port information, which is received by the information receiving interface 1 and transmitted to the first conversion protocol module 2. It can be understood that if the information receiving interface 1 does not receive the serial port information, it means that the configuration interface does not send the serial port information. At this time, the mainboard is not turned on. The first conversion protocol module 2 converts the original RS232 protocol serial port information into the UART protocol and sends it to the MCU 3. After receiving the serial port information, the MCU 3 sends a startup message, which is sent to the second USB interface through the first USB interface 4. Since the startup information itself is information simulating the hot key position, for the mainboard, it actually means that the second USB interface has received a key position trigger information corresponding to the hot key position. The mainboard will respond to the trigger information according to the action logic corresponding to the key position trigger information in the internal preset program. For example, when the hot key trigger function of the host entering the system operation interface is implemented by the system startup fixture in this embodiment, the first USB interface 4 is specifically used to: send a startup message to the second USB interface so that the mainboard enters the interface after the hot key position is triggered. Further, after entering the interface, the host can call the U disk system for subsequent operations.
[0045] MCU 3 simulates the hotkey positions to generate startup information. The hotkey positions here may be one or more hotkey positions preset in the internal program of MCU 3, or may be hotkey positions determined by analyzing the current serial port information. That is, in some specific embodiments, MCU 3 is also used to: after receiving the serial port information, determine the hotkey positions corresponding to the mainboard according to the serial port information, or in some specific embodiments, the startup information is specifically startup information corresponding to simulating one or more preset hotkey positions.
[0046] For example, when the hotkey positions of a certain motherboard are known, a system startup fixture with corresponding hotkey positions preset in the internal program of MCU 3 can be selected; or when the reliable range of the hotkey positions of a certain motherboard is known, a system startup fixture with all hotkey positions corresponding to the reliable range preset in the internal program of MCU 3 can be selected; or, when the hotkey positions of the motherboard are completely unknown, a system startup fixture with the internal program of MCU 3 that can determine the hotkey positions connected to the motherboard based on the current serial port information analysis can be selected.
[0047] Furthermore, considering that there is usually a window time for the actual motherboard to receive the startup information, the window time is short, and it is impossible to wait for the motherboard to feedback whether the startup information is responded to, and it is difficult to verify one by one whether a certain hot key position corresponds to the current motherboard. Therefore, MCU 3 generally sends the startup information continuously, especially the startup information corresponding to multiple hot key positions is continuously sent to the motherboard in the form of an information string to avoid the hot key position that can trigger the motherboard missing the window time. During the process, the configuration interface of the motherboard keeps sending serial port information to the information receiving interface 1, and MCU 3 can continuously check the serial port information. If the preset string corresponding to "the motherboard has responded to the hot key position" appears in the serial port information, the system startup fixture has completed the hot key trigger function and can stop sending the startup information. Therefore, MCU 3 is specifically used for:
[0048] After receiving the serial port information, the startup information is continuously sent until a preset character string appears in the serial port information, and then the startup information is stopped.
[0049] After stopping sending the startup information, the system startup fixture has completed the hotkey trigger function and will enter the standby state, or execute other work content issued by the mainboard, which will not be repeated here.
[0050] The present application discloses a system startup fixture, which is applied to a mainboard, including: an information receiving interface, which is used to connect to the configuration interface of the mainboard and receive the serial port information of the configuration interface; a first protocol conversion module connected to the information receiving interface, which is used to convert the serial port information of the RS232 protocol into the UART protocol; an MCU connected to the first protocol conversion module, which is used to send out startup information of a simulated hot key position after receiving the serial port information; a first USB interface connected to the MCU at one end and to the second USB interface of the mainboard at the other end, which is used to send out the startup information to the second USB interface. When the serial port information of the configuration interface is received through the information receiving interface, the present application sends out startup information of a simulated hot key position to the second USB interface through the first USB interface, and the mainboard will automatically respond to the startup information to enter the interface corresponding to the hot key position, thereby replacing the conventional tester to achieve the purpose of triggering the hot key within the window time, and the tester is not required in the entire triggering process, and there is no problem of missing the window time, which can greatly save the test time and test cost.
[0051] The embodiment of the present invention discloses a specific system startup fixture. Compared with the previous embodiment, this embodiment further explains and optimizes the technical solution. Figure 2 As shown, the system startup fixture also includes:
[0052] A second protocol conversion module 5 connected to both the first USB interface 4 and the MCU 3, used to convert the configuration information received by the first USB from the USB protocol to the UART protocol;
[0053] The MCU 3 is also used to configure the internal program according to the configuration information.
[0054] Furthermore, the system startup fixture further includes a USB hub chip 6, and the first USB interface 4 is connected to the MCU 3 and the second protocol conversion module 5 respectively through the USB hub chip 6;
[0055] When the MCU 3 sends out analog information of the USB protocol, the USB hub chip 6 is used to conduct the communication path between the MCU 3 and the first USB interface 4, and to shut down the communication path between the first USB interface 4 and the second protocol conversion module 5;
[0056] When the first USB interface 4 receives the configuration information, the USB hub chip 6 is used to open the communication path between the first USB interface 4 and the second protocol conversion module 5 , and close the communication path between the MCU 3 and the first USB interface 4 .
[0057] It can be understood that in order to improve the scope of application of the system startup fixture, a configuration path for configuring the internal program of MCU 3 is set in this embodiment: from the first USB interface 4 to MCU 3 through the second protocol conversion module 5. It can be understood that the hotkey triggering working phase and the configuration phase of the system startup fixture should be performed in time. Furthermore, in order to avoid conflicts between the configuration phase and the working phase of MCU 3, a USB hub chip 6 is added in this embodiment to realize switching of different communication paths, thereby completing the task execution of MCU 3 at different stages.
[0058] Accordingly, the present application also discloses a testing device, including:
[0059] Functional Circuit Test (FCT) fixture;
[0060] The system starting fixture described in any of the above embodiments.
[0061] Among them, the specific technical details of the system startup fixture can be referred to the relevant description in the above embodiment, and will not be repeated here.
[0062] Among them, the testing equipment in this embodiment has the same technical effects as those in the above embodiments, which will not be repeated here.
[0063] Accordingly, the present application also discloses a system startup method, which is applied to the MCU in the system startup fixture as described in any one of the above items, comprising:
[0064] After receiving the serial port information sent by the configuration interface of the mainboard and converted into the UART protocol, the startup information of the simulated hot key position is sent out, so that the second USB interface of the mainboard receives the startup information.
[0065] In some specific embodiments, the system startup method further includes:
[0066] When a preset character string appears in the serial port information, the sending of the startup information is stopped.
[0067] Among them, the specific technical details of the system startup fixture can be referred to the relevant description in the above embodiment, and will not be repeated here.
[0068] Among them, the system startup method in this embodiment has the same technical effect as in the above embodiment, and will not be repeated here.
[0069] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0070] The above is a detailed introduction to a system startup fixture, method and test equipment provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A system startup jig, characterized in that: Applied to motherboards, including: An information receiving interface, used to connect to the configuration interface of the mainboard and receive serial port information of the configuration interface; A first protocol conversion module connected to the information receiving interface, used for converting the serial port information of RS232 protocol into UART protocol; The MCU connected to the first protocol conversion module is used to send out startup information of simulating the hot key position after receiving the serial port information; A first USB interface having one end connected to the MCU and the other end connected to the second USB interface of the mainboard, and used for sending the startup information to the second USB interface; Also includes: a second protocol conversion module connected to both the first USB interface and the MCU, and configured to convert the configuration information received by the first USB from a USB protocol to a UART protocol; The MCU is also used to configure an internal program according to the configuration information; It also includes a USB hub chip, through which the first USB interface is connected to the MCU and the second protocol conversion module respectively; When the MCU sends out analog information of the USB protocol, the USB hub chip is used to conduct the communication path between the MCU and the first USB interface, and to shut down the communication path between the first USB interface and the second protocol conversion module; When the first USB interface receives the configuration information, the USB hub chip is used to open a communication path between the first USB interface and the second protocol conversion module, and to close a communication path between the MCU and the first USB interface.
2. The system startup jig according to claim 1, characterized in that: The MCU is also used for: After receiving the serial port information, the hot key position corresponding to the mainboard is determined according to the serial port information.
3. The system startup jig according to claim 1, characterized in that: The startup information is specifically startup information corresponding to simulating one or more preset hot key positions.
4. The system startup jig according to any one of claims 1 to 3, characterized in that: The MCU is specifically used for: After receiving the serial port information, the startup information is continuously sent until a preset character string appears in the serial port information, and then the startup information is stopped.
5. The system startup jig according to claim 4, characterized in that: The first USB interface is specifically used for: The startup information is sent to the second USB interface to enable the mainboard to enter the interface after the hot key position is triggered.
6. A testing device, characterized in that: include: Functional test fixture; The system starting fixture according to any one of claims 1 to 5.
7. A system startup method, characterized in that: The MCU used in the system startup fixture according to any one of claims 1 to 5 comprises: After receiving the serial port information sent by the configuration interface of the mainboard and converted into the UART protocol, sending the startup information of the simulated hot key position so that the second USB interface of the mainboard receives the startup information; After receiving the configuration information received by the first USB interface and converted into the UART protocol, the internal program is configured according to the configuration information.
8. The system startup method according to claim 7, characterized in that: Also includes: When a preset character string appears in the serial port information, the sending of the startup information is stopped.
