Switching circuit, mainboard and electronic equipment

By designing a switching circuit and a spare BIOS socket, a simple and efficient BIOS chip repair was achieved, solving the problems of cumbersome complexity and low security and reliability in existing technologies, and improving the security and reliability of the repair.

CN224020254UActive Publication Date: 2026-03-20LOONGSON TECH CORP
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-04-03
Publication Date
2026-03-20

AI Technical Summary

Technical Problem

Existing BIOS chip repair methods are cumbersome, complex, and have low security and reliability, requiring highly technical online debugging interfaces and specialized tools.

Method used

Design a switching circuit including a first BIOS chip, a second BIOS chip, a switch, and a spare BIOS socket. The switch and spare BIOS socket enable simple switching of the BIOS chips, and the second BIOS chip is used as a repair tool to avoid hardware damage.

Benefits of technology

It enables simple and efficient repair of BIOS chips, reduces technical requirements, and improves the safety and reliability of the repair process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224020254U_ABST
    Figure CN224020254U_ABST
Patent Text Reader

Abstract

The utility model provides a switching circuit, a mainboard and electronic equipment. The switching circuit comprises a first BIOS (Basic Input / Output System) chip, a second BIOS chip, a change-over switch and a standby BIOS socket, the change-over switch comprises a first input pin, a second input pin, a first output pin and a second output pin; the standby BIOS socket comprises a first universal pin corresponding to a second chip selection pin of the second BIOS chip and a second universal pin corresponding to a second write protection pin of the second BIOS chip; the first output pin is electrically connected with a first chip selection pin of the first BIOS chip, the second output pin is electrically connected with the first universal pin, and the second universal pin is electrically connected with the second input pin; and when the standby BIOS socket is connected to the second BIOS chip, the second universal pin is configured to be in a low-level state from a high-level state. According to the embodiment of the utility model, when the BIOS chip is repaired, hardware is not easy to damage, and the BIOS chip repairing device is simpler and more efficient.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The utility model relates to computer field especially, it is a kind of switching circuit, mainboard and electronic equipment. BACKGROUND

[0002] On the mainboard of computer and other electronic equipment, BIOS (Basic Input Output System, basic input output system) chip usually adopts SMT (Surface Mount Technology, surface mount technology) process and is welded and fixed on circuit board.When the firmware program in BIOS chip is damaged, some manufacturers re-write correct data into BIOS chip through online debugging interface, however, this repair method, on the one hand, needs processor to support debugging interface and support BIOS data update function, on the other hand, also requires operating personnel to rely on special debugger and corresponding software. Overall, this repair method is high in technical requirement, and a simple, efficient and safe and reliable repair scheme is urgently needed. SUMMARY

[0003] In view of the above problem, a switching circuit, mainboard and electronic equipment are provided to overcome the above problems or at least partially solve the above problems, to solve the problem that current main BIOS chip repair method is complicated and low in safety and reliability.

[0004] To solve the above problems, in the first aspect, the utility model embodiment discloses a switching circuit, comprising: first BIOS chip, second BIOS chip, switching switch and spare BIOS socket;

[0005] The switching switch includes first input pin, second input pin, first output pin and second output pin;

[0006] The spare BIOS socket includes: the first general pin corresponding to the second chip select pin of the second BIOS chip, the second general pin corresponding to the second write protection pin of the second BIOS chip;

[0007] The first output pin is electrically connected with the first chip select pin of the first BIOS chip, the second output pin is electrically connected with the first general pin, and the second general pin is electrically connected with the second input pin;

[0008] When the spare BIOS socket is connected with the second BIOS chip, the second general pin is configured from high level state to low level state.

[0009] Optionally, the first BIOS chip further comprises a first write protection pin; the first write protection pin is electrically connected with a first pull-up resistor, and is configured as a disabled state through the first pull-up resistor.

[0010] Optionally, the second BIOS chip further comprises a ground pin, and the second write protection pin and the ground pin are electrically connected through a pull-down resistor; the second write protection pin is configured as an enabled state through the pull-down resistor.

[0011] Optionally, the pull-down resistor is fixed on a surface of the second BIOS chip which is opposite to the pin direction.

[0012] Optionally, the BIOS switching circuit further comprises a processor; the processor is electrically connected with the first input pin to send a chip select signal of switching BIOS chips to the switching switch.

[0013] Optionally, the second input pin is electrically connected with a second pull-up resistor; the second input pin is configured as a high level state through the second pull-up resistor to control the first input pin and the first output pin, or the second input pin and the second output pin to be turned on.

[0014] Optionally, the first BIOS chip and the second BIOS chip are both SPI_Flash.

[0015] Optionally, the switching switch is a switching chip supporting SPI protocol.

[0016] In a second aspect, the utility model discloses a kind of mainboards, and the mainboard includes the switching circuit of the first aspect of the utility model.

[0017] In a third aspect, the utility model discloses a kind of electronic devices, and the electronic device includes the switching circuit of the first aspect of the utility model or the mainboard of the second aspect of the utility model.

[0018] The utility model embodiment includes the following advantages:

[0019] The switching circuit of the utility model embodiment, by setting switching switch, and using the insertion behavior of second BIOS chip to trigger switching switch to execute the switching of first BIOS chip to second BIOS chip, to realize the repair of BIOS chip, this switching control mode is realized by spare BIOS socket insertion, not easy to cause the damage of hardware, more simple and efficient. BRIEF DESCRIPTION OF DRAWINGS

[0020] Figure 1 It is the principle schematic diagram of the first BIOS switching circuit of the utility model;

[0021] Figure 2 is the second BIOS switching circuit principle diagram of the utility model;

[0022] Figure 3 is the second BIOS chip diagram of the utility model.

[0023] Mark explanation:

[0024] The first BIOS chip-10, the second BIOS chip-11, the switching switch-12, the spare BIOS socket-13, the first pull-up resistor-14, the second pull-up resistor-15, the processor-16, the first chip select pin-101, the first write protection pin-102, the second chip select pin-111, the second write protection pin-112, the ground pin-113, the first input pin-121, the second input pin-122, the first output pin-123, the second output pin-124, the first general pin-131, the second general pin-132. Specific implementation

[0025] In order to make the above purpose, features and advantages of the utility model more obvious and easy to understand, the utility model is further explained in detail below with the drawings and specific implementation.

[0026] Refer to Figure 1 The utility model embodiment provides a switching circuit, which includes the first BIOS chip 10, the second BIOS chip 11, the switching switch 12 and the spare BIOS socket 13.

[0027] The first BIOS chip 10 and the second BIOS chip 11 are main BIOS chip and spare BIOS chip respectively, and each has firmware program burned.In the first BIOS chip 10 normal work, the second BIOS chip 11 does not need to be inserted on the spare BIOS socket 13.When the firmware program in the first BIOS chip 10 inside breaks down and appears abnormality and leads to the mainboard of circuit to be unable normal start, can insert the second BIOS chip 11 to the spare BIOS socket 13, and then trigger switching switch 12 to select through the second BIOS chip 11 to complete the start process of mainboard.Therefore, the second BIOS chip 11 in the utility model embodiment is equivalent to a special BIOS firmware program repair update tool, and through the insertion connection with the spare BIOS socket 13, the firmware repair of main BIOS chip can be realized.

[0028] Specifically, combining the diagram of Figure 1 The first BIOS chip 10 includes the first chip select pin 101, and the first chip select pin 101 is electrically connected with the first output pin 123 of the switching switch 12, so as to respond to the start of the mainboard through the chip select signal under the control of the first input pin 121.

[0029] The second BIOS chip 11 includes a second chip select pin 111 and a second write protection pin 112, wherein the second write protection pin 112 is configured to be in an enabled state, at which time the write protection function of the second BIOS chip 11 as a backup BIOS chip is enabled, and after the write protection function is enabled, it prohibits writing data, thereby preventing the firmware program in the second BIOS chip 11 from being modified.

[0030] As shown in Figure 1 The switching switch 12 includes a first input pin 121, a second input pin 122, a first output pin 123, and a second output pin 124. Under the control of the second input pin 122, the first input pin 121 can be selectively connected with the first output pin 123 or the second output pin 124, thereby forming two different signal paths of “first input pin 121 - first output pin 123 - first chip select pin 101” and “first input pin 121 - second output pin 124 - first general-purpose pin 131”, respectively, and the two signal paths can be switched by the control of the second input pin 122.

[0031] In addition, the backup BIOS socket 13 for inserting the second BIOS chip 11 has a pin structure corresponding to the number and position of the second BIOS chip 11, specifically, it can include a first general-purpose pin 131 corresponding to the second chip select pin 111 of the second BIOS chip 11, and a second general-purpose pin 132 corresponding to the second write protection pin 112 of the second BIOS chip 11. For the switching switch 12, the first output pin 123 of the output end is electrically connected with the first chip select pin 101, and the second output pin 124 is electrically connected with the first general-purpose pin 132, and the second input pin 122 of the input end is electrically connected with the second general-purpose pin 132 of the backup BIOS socket 13.

[0032] When the first BIOS chip 10 is normally functional, the backup BIOS socket 13 is in an idle vacancy state, and the second BIOS chip 11 does not need to be inserted with the backup BIOS socket 13, at this time, the second input pin 122 is configured to be in a high level state, and accordingly, the second input pin 122 controls the switching switch 12 to make the first input pin 121 and the first output pin 123 conductive, thereby forming a signal path to keep the first BIOS chip 10 in a working state.

[0033] If the first BIOS chip 10 malfunctions, the second BIOS chip 11 is inserted into the spare BIOS socket 13 by after-sales maintenance personnel or consumers. Since the second write protection pin 112 is configured to be enabled, and the second write protection pin 112 can also control the electrically connected switch 12 through the second general-purpose pin 132 of the spare BIOS socket 13, that is, control the electrically connected second input pin 122, the signal corresponding to the enabled state can cause the default high level on the second input pin 122 to flip to a low level signal, thereby causing the switch 12 to switch the signal, controlling the first input pin 121 and the second output pin 124 to conduct, and disconnecting the first input pin 121 and the first output pin 123, thereby switching the malfunctioning first BIOS chip 10 to the replaced second BIOS chip 11. That is, the second chip select pin 111 of the second BIOS chip 11 is connected through the first general-purpose pin of the spare BIOS socket 13, so that the second BIOS chip 11 in the spare BIOS socket 13 replaces the first BIOS chip 10 to control the motherboard boot.

[0034] Therefore, in this embodiment of the present invention, by setting a switching switch 12 and using the insertion behavior of the second BIOS chip 11 to trigger the switching switch 12, the switching from the first BIOS chip 10 to the second BIOS chip 11 is executed. This switching control method is simpler and more convenient, and is less likely to cause hardware damage, making it safer and more reliable.

[0035] Optionally, such as Figure 2 As shown, in one embodiment of the present invention, the first BIOS chip 10 further includes a first write protection pin 102. The first write protection pin 102 is configured to be disabled. At this time, the write protection function of the first BIOS chip 10, which is the main BIOS chip, is turned off, and data can be written to it, thereby realizing the update and repair of its internal firmware program.

[0036] Specifically, the first write protection pin 102 of the first BIOS chip 10 is electrically connected to one end of the first pull-up resistor 14, and the other end of the first pull-up resistor 14 is connected to the power supply VCC. Thus, the level of the first write protection pin 102 is forced to a high level. Under the action of this high level, the write protection function of the first BIOS chip 10 is disabled, and its firmware program can be refreshed and overwritten for subsequent repair.

[0037] Optionally, such as Figure 3As shown, in an embodiment of the utility model, the second BIOS chip 11 further comprises a grounding pin 113, the structure of the second BIOS chip 11 is reformed in the embodiment of the utility model, and the grounding pin 113 exposed outside is connected with a pull-down resistor 15 in series, and the pull-down resistor 15 is also connected with the second write protection pin 112 in series. It is also to be explained that the spare BIOS socket 13 has another grounding pin corresponding to the grounding pin 113, which is connected with the common ground of the BIOS switching circuit. Thus, when the second BIOS chip 11 is inserted into the spare BIOS socket 13, the second write protection pin 112 corresponding to the electric connection is automatically forced to be low in level because the grounding pin 113 is grounded through the spare BIOS socket 13, and under the action of the low level, the write protection function of the second BIOS chip 11 is in the enabled state, so that the firmware program cannot be modified, and the reliability as a repair tool can be ensured.

[0038] Optionally, in an embodiment of the utility model, for the second BIOS chip 11 reformed as mentioned above, the connected pull-down resistor 14 can be fixed on the surface of the second BIOS chip 11 away from the pin direction. Thus, the interference and collision of the pull-down resistor 14 and the spare BIOS socket 13 when the second BIOS chip 11 is inserted can be prevented.

[0039] Optionally, as shown, Figure 1 In an embodiment of the utility model, the switching circuit further comprises a processor 16, the processor 16 is electrically connected with the first input pin 121 of the switching switch 12 to send the chip selection signal of the switching BIOS chip to the switching switch 12. The processor 16 can be MCU or CPU, etc., when the processor 16 can be selected to be conducted with the first output pin 123 or the second output pin 124 through the first input pin 121, so that the switching between the first BIOS chip 10 and the second BIOS chip 11 is realized.

[0040] When the second BIOS chip 11 is inserted into the spare BIOS socket 13, the BIOS chip of the circuit on the mainboard is switched to the second BIOS chip 11, and the mainboard is controlled by the second BIOS chip 11. After the electronic equipment is normally started, the correct data in the second BIOS chip 11 is copied to the memory, then because the first write protection pin 102 of the first BIOS chip 10 is in the disabled state, the data writing process of the first BIOS chip 10 can be normally carried out, then the processor 16 is switched back to the first BIOS chip 10 through the switching switch 12, and the correct data is written back to the first BIOS chip 10, thus the process of the data recovery of the fault BIOS chip is completed.

[0041] After the electronic device is powered off, removing the second BIOS chip 11 allows the motherboard to boot normally via the first BIOS chip 10 upon restarting. Furthermore, when the first BIOS chip 10 is blank, the process of burning and copying firmware into it is similar and will not be elaborated further here.

[0042] Optionally, such as Figure 2 As shown, in one embodiment of this utility model, the second input pin 122 is electrically connected to one end of the second pull-up resistor 15, and the other end of the second pull-up resistor 15 is connected to the power supply VCC. Thus, the level of the second input pin 122 is initially configured to be high, so as to control the first input pin 121 to connect with the first output pin 123, forming a signal path of "first input pin 121 - first output pin 123 - first chip select pin 101", so that the first BIOS chip 10 controls the motherboard to start. When the second BIOS chip 11 is installed in the spare BIOS socket 13, the level of the second input pin 122 will be forcibly pulled low, so that the first input pin 121 is connected with the second output pin 124, triggering the switch 12 to perform switching behavior, forming a signal path of "first input pin 121 - second output pin 124 - first general-purpose pin 131", so that the second BIOS chip 11 controls the motherboard to start.

[0043] Optionally, in one embodiment of the present invention, the aforementioned first BIOS chip 10 and second BIOS chip 11 are both SPI_Flash. According to the SPI (Serial Peripheral Interface) protocol, the main BIOS chip and the backup BIOS chip can be easily distinguished and defined to realize the backup and repair function.

[0044] Optionally, in one embodiment of this invention, the aforementioned switch 12 is a switching chip that supports the SPI protocol. For example, such a switching chip can be an SPI two-to-one device such as MAX7800 or TLC5940. Using these switching chips can simplify the wiring of the SPI system and save interface resources of various hardware components.

[0045] This utility model embodiment also discloses a motherboard, which includes the switching circuit disclosed in the foregoing embodiments of this utility model.

[0046] In this embodiment of the invention, the aforementioned switching circuit can also be integrated into the motherboard of the electronic device, making the motherboard's operation safer and more stable.

[0047] This utility model embodiment also discloses an electronic device, which includes the switching circuit or motherboard disclosed in the foregoing embodiments of this utility model.

[0048] When the above-mentioned switching circuit is applied to electronic devices such as home computers, industrial control computers or various embedded devices, it helps to reduce the risk of computer operation.

[0049] Each of the embodiments in the specification is described in a progressive manner, and each embodiment focuses on the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.

[0050] Those skilled in the art should understand that although the preferred embodiments of the utility model have been described, those skilled in the art can make other changes and modifications to the embodiments once they know the basic creative concept. Therefore, the appended claims are intended to include the preferred embodiments and all changes and modifications falling within the scope of the utility model.

[0051] Finally, it should also be noted that in this paper, relationship terms such as first and second 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 the entities or operations. Moreover, the terms "include", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or terminal device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or terminal device. Without more limitations, the element defined by the statement "including a" does not exclude the presence of other identical elements in the process, method, article or terminal device including the element.

[0052] The above provides a kind of switching circuit, mainboard and electronic equipment provided by the utility model, are introduced in detail, specific examples are applied in this paper to the principle and implementation mode of the utility model are described, the above embodiment is only for helping to understand the method of the utility model and its core idea;At the same time, for the general technical personnel of the field, according to the idea of the utility model, there will be changes in specific implementation mode and application range, as described above, the content of the specification should not be understood as the limitation of the utility model.

Claims

1. A switching circuit, characterized in that, include: First BIOS chip, second BIOS chip, switch, and spare BIOS socket; The switching switch includes: a first input pin, a second input pin, a first output pin, and a second output pin; The spare BIOS socket includes: a first general-purpose pin corresponding to the second chip select pin of the second BIOS chip, and a second general-purpose pin corresponding to the second write-protect pin of the second BIOS chip; The first output pin is electrically connected to the first chip select pin of the first BIOS chip, the second output pin is electrically connected to the first general-purpose pin, and the second general-purpose pin is electrically connected to the second input pin; When the second BIOS chip is connected to the spare BIOS socket, the second general-purpose pin is configured from a high-level state to a low-level state.

2. The switching circuit according to claim 1, characterized in that, The first BIOS chip further includes a first write protection pin; the first write protection pin is electrically connected to a first pull-up resistor and is configured to be disabled through the first pull-up resistor.

3. The switching circuit according to claim 1, characterized in that, The second BIOS chip also includes a ground pin, and the second write protection pin and the ground pin are electrically connected through a pull-down resistor; the second write protection pin is configured to be enabled through the pull-down resistor.

4. The switching circuit according to claim 3, characterized in that, The pull-down resistor is fixed on the surface of the second BIOS chip opposite to the orientation of the pin.

5. The switching circuit according to claim 1, characterized in that, The BIOS switching circuit further includes a processor; the processor is electrically connected to the first input pin to send a chip select signal for switching the BIOS chip to the switching switch.

6. The switching circuit according to claim 1, characterized in that, The second input pin is electrically connected to the second pull-up resistor; the second input pin is configured to a high level through the second pull-up resistor to control the first input pin to be connected to the first output pin, or to the second output pin.

7. The switching circuit according to any one of claims 1 to 6, characterized in that, Both the first BIOS chip and the second BIOS chip are SPI_Flash.

8. The switching circuit according to claim 7, characterized in that, The switch is a switching chip that supports the SPI protocol.

9. A motherboard, characterized in that, The motherboard includes the switching circuit as described in any one of claims 1 to 8.

10. An electronic device, characterized in that, The electronic device includes the switching circuit according to any one of claims 1 to 8 or the motherboard according to claim 9.