Firmware programming method, apparatus and system, mainboard, device, and storage medium

By switching the first line switch of the motherboard, the online burning of the memory of the substrate management controller is realized, solving the problem of high time and labor costs during the maintenance process, reducing maintenance costs and improving efficiency.

WO2025103003A1PCT designated stage expired Publication Date: 2025-05-22INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/122313
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-11-16
Filing Date
2024-09-29
Publication Date
2025-05-22

AI Technical Summary

Technical Problem

When the memory components of the substrate management controller cannot be burned online, the time and labor costs during the maintenance process are too high.

Method used

By switching the first line conversion switch of the motherboard, the communication transmission interface and the substrate management controller memory are connected, and the substrate management controller memory is directly burned through the communication transmission interface, avoiding the disassembly of the memory components.

Benefits of technology

The time and labor cost of repairing the memory of the substrate management controller is reduced, and online burning is realized, and maintenance efficiency is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024122313_22052025_PF_FP_ABST
    Figure CN2024122313_22052025_PF_FP_ABST
Patent Text Reader

Abstract

The present application discloses a firmware programming method, comprising: switching a first line change-over switch of a mainboard to communicate a communication transmission interface of the mainboard with a baseboard management controller memory of the mainboard, wherein the first line change-over switch is used for switching the baseboard management controller memory to communicate with a baseboard management controller or the communication transmission interface; programming a firmware file into the baseboard management controller memory by means of the communication transmission interface and the first line change-over switch; and switching the first line change-over switch to communicate the baseboard management controller with the baseboard management controller memory, so that the baseboard management controller calls the firmware file in the baseboard management controller memory. The baseboard management controller memory can be programmed directly by means of the communication transmission interface of the baseboard management controller, avoiding dismounting of the baseboard management controller memory, and reducing to a certain extent the time cost and labor cost of maintaining the baseboard management controller memory.
Need to check novelty before this filing date? Find Prior Art

Description

Firmware burning method, mainboard, device, equipment, system and storage medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on November 16, 2023, with application number 202311531841.0, and application name “A firmware burning method, motherboard, device, equipment, system and storage medium”, all contents of which are incorporated by reference into this application. Technical Field

[0003] The present application belongs to the field of data communication technology, and specifically relates to a firmware burning method, a mainboard, an apparatus, a device, a system and a storage medium. Background Art

[0004] With the increasing demand for server management and maintenance, baseboard management controllers (BMCs) have been increasingly used in servers. In the later stages of server product development and after server mass production, the baseboard management controller, the server's basic input and output system (BIOS), and complex programmable logic device (CPLD) are all burned online using the firmware burning function within the BMC web interface. If the BMC firmware is damaged or the upgrade fails and cannot be rolled back, the baseboard management controller will not function properly, thus affecting the normal operation of the server.

[0005] In the related art, the main method of completing the baseboard management controller (BMC) programming is to remove the BMC memory component from the motherboard, then use a programming tool to complete the programming, and then re-solder the programmed memory component back to the motherboard to complete the repair.

[0006] However, in the above method, disassembling the memory components and re-soldering them consumes high time and labor costs.

[0007] Summary of the Invention

[0008] The purpose of the embodiments of the present application is to provide a firmware burning method, motherboard, device, equipment, system and storage medium, which can solve the problem of high maintenance time cost and labor cost when the baseboard management controller memory component cannot be burned online in the related art.

[0009] In a first aspect, some embodiments of the present application provide a firmware burning method, the method comprising:

[0010] Switching a first line transfer switch of the mainboard to connect the communication transmission interface of the mainboard with the baseboard management controller memory of the mainboard; wherein the first line transfer switch is used to switch between connecting the baseboard management controller memory to the baseboard management controller and connecting the baseboard management controller memory to the communication transmission interface;

[0011] Burning the firmware file into the memory of the baseboard management controller through the communication transmission interface and the first line transfer switch;

[0012] The first line transfer switch is switched to connect the baseboard management controller and the baseboard management controller memory, so that the baseboard management controller calls the firmware file in the baseboard management controller memory.

[0013] In some embodiments, a second line switch is provided on the connection line between the communication transmission interface and the baseboard management controller memory, and switching the first line switch of the mainboard to connect the communication transmission interface of the mainboard and the baseboard management controller memory of the mainboard includes:

[0014] Switching the second circuit transfer switch of the mainboard to connect the communication transmission interface with the first circuit transfer switch; wherein the second circuit transfer switch is used to switch the communication transmission interface to connect with the baseboard management controller, or the communication transmission interface to connect with the first circuit transfer switch;

[0015] The first circuit transfer switch is switched to connect the baseboard management controller memory with the second circuit transfer switch; wherein the first circuit transfer switch is used to switch the baseboard management controller memory to connect with the baseboard management controller, or the baseboard management controller memory to connect with the second circuit transfer switch.

[0016] In some embodiments, a second line switch is provided on the connection line between the communication transmission interface and the baseboard management controller memory, and switching the first line switch to connect the baseboard management controller and the baseboard management controller memory includes:

[0017] Switching the second line transfer switch to connect the communication transmission interface and the baseboard management controller; wherein the second line transfer switch is used to switch the communication transmission interface to connect to the baseboard management controller, or the communication transmission interface to connect to the first line transfer switch;

[0018] The first circuit transfer switch is switched to connect the baseboard management controller memory and the baseboard management controller; wherein the first circuit transfer switch is used to switch the baseboard management controller memory to connect to the baseboard management controller, or the baseboard management controller memory to connect to the second circuit transfer switch.

[0019] In some embodiments, the method further comprises:

[0020] Turn off the first switch corresponding to the first power supply; wherein the first power supply and the first switch are located on the mainboard, and the first power supply is used to supply power to the baseboard management controller and the baseboard management controller memory through the first switch;

[0021] Turn on the second switch; wherein the second switch is used for an external power source to supply power to the baseboard management controller memory through the communication transmission interface.

[0022] In some embodiments, the method further comprises:

[0023] When the first circuit transfer switch is connected to the baseboard management controller memory and the second circuit transfer switch, a first indication signal is sent to the baseboard management controller; wherein the first indication signal is used to light up a corresponding red indicator light of the baseboard management controller.

[0024] In some embodiments, sending a first indication signal to a baseboard management controller includes:

[0025] Acquiring the connectivity status of the second line transfer switch;

[0026] When the connection state indicates that the second line transfer switch is connected to the communication transmission interface and the first line transfer switch, a first indication signal is sent to the baseboard management controller.

[0027] In some embodiments, switching the first line switch to connect the baseboard management controller and the baseboard management controller memory includes:

[0028] Switching the first line transfer switch to connect the baseboard management controller and the baseboard management controller memory;

[0029] A second indication signal is sent to the baseboard management controller, wherein the second indication signal is used to turn off a corresponding red indicator light of the baseboard management controller.

[0030] In some embodiments, burning the firmware file into the memory of the baseboard management controller via the communication transmission interface and the first line transfer switch includes:

[0031] Displaying first switching information of the first line transfer switch; wherein the first switching information is used to prompt the user to connect the firmware file burner to the communication transmission interface;

[0032] When the burner is connected to the communication transmission interface, the firmware file is burned into the memory of the baseboard management controller through the communication transmission interface and the first line conversion switch.

[0033] In some embodiments, burning the firmware file into the memory of the baseboard management controller via the communication transmission interface and the first line transfer switch includes:

[0034] Convert the format of the firmware file to obtain the burning file corresponding to the firmware file;

[0035] The burning file is burned into the memory of the baseboard management controller through the communication transmission interface and the first line conversion switch.

[0036] In a second aspect, some embodiments of the present application provide a mainboard, comprising:

[0037] Baseboard management controller memory, first line transfer switch, communication transmission interface, baseboard management controller;

[0038] The first line switch is used to connect the communication transmission interface, the baseboard management controller and the baseboard management controller memory.

[0039] In some embodiments, the mainboard further comprises:

[0040] The second line transfer switch; wherein the three terminals of the second line transfer switch are respectively connected to the communication transmission interface, the first line transfer switch and the baseboard management controller.

[0041] In some embodiments, the mainboard further comprises:

[0042] a first switch, a second switch, and a first power supply;

[0043] The first switch is connected to the first power supply, the baseboard management controller and the baseboard management controller memory;

[0044] The second switch is connected to the communication transmission interface and the baseboard management controller.

[0045] In a third aspect, some embodiments of the present application provide a firmware burning device, the device comprising:

[0046] A first switching module is configured to switch a first line switch of the mainboard to connect the communication transmission interface of the mainboard with the baseboard management controller memory of the mainboard; wherein the first line switch is configured to switch the baseboard management controller memory to connect with the baseboard management controller, or the baseboard management controller memory to connect with the communication transmission interface;

[0047] A burning module, used for burning the firmware file into the memory of the baseboard management controller through the communication transmission interface and the first line conversion switch;

[0048] The second switching module is used to switch the first line transfer switch to connect the baseboard management controller and the baseboard management controller memory, so that the baseboard management controller calls the firmware file in the baseboard management controller memory.

[0049] In some embodiments, a second line switch is provided on the connection line between the communication transmission interface and the baseboard management controller memory, and the first switching module includes:

[0050] A first switching submodule is configured to switch the second circuit transfer switch of the mainboard to connect the communication transmission interface with the first circuit transfer switch; wherein the second circuit transfer switch is configured to switch the communication transmission interface to connect with the baseboard management controller, or to connect the communication transmission interface to the first circuit transfer switch;

[0051] The second switching submodule is used to switch the first circuit transfer switch to connect the baseboard management controller memory to the second circuit transfer switch; wherein the first circuit transfer switch is used to switch the baseboard management controller memory to connect to the baseboard management controller, or the baseboard management controller memory to connect to the second circuit transfer switch.

[0052] In some embodiments, a second line switch is provided on the connection line between the communication transmission interface and the baseboard management controller memory, and the second switching module includes:

[0053] A third switching submodule is configured to switch the second line transfer switch to connect the communication transmission interface and the baseboard management controller; wherein the second line transfer switch is configured to switch the communication transmission interface to connect to the baseboard management controller, or the communication transmission interface to connect to the first line transfer switch;

[0054] The fourth switching submodule is used to switch the first line transfer switch to connect the baseboard management controller memory and the baseboard management controller; wherein the first line transfer switch is used to switch the baseboard management controller memory to connect to the baseboard management controller, or the baseboard management controller memory to connect to the second line transfer switch.

[0055] In some embodiments, the apparatus further comprises:

[0056] A shutdown module, configured to shut down a first switch corresponding to a first power source; wherein the first power source and the first switch are located on the mainboard, and the first power source is configured to supply power to the baseboard management controller and the baseboard management controller memory via the first switch;

[0057] The conduction module is used to conduct the second switch; wherein the second switch is used for an external power source to supply power to the baseboard management controller memory through the communication transmission interface.

[0058] In some embodiments, the apparatus further comprises:

[0059] The first sending module is used to send a first indication signal to the baseboard management controller when the first line transfer switch is connected to the baseboard management controller memory and the second line transfer switch; wherein the first indication signal is used to light up a red indicator light corresponding to the baseboard management controller.

[0060] In some embodiments, the first sending module includes:

[0061] An acquisition submodule, configured to acquire the connectivity status of the second line transfer switch;

[0062] The first sending submodule is configured to send a first indication signal to the baseboard management controller when the connection state indicates that the second line transfer switch is connected to the communication transmission interface and the first line transfer switch.

[0063] In some embodiments, the second switching module includes:

[0064] a fifth switching submodule, configured to switch the first line transfer switch to connect the baseboard management controller and the baseboard management controller memory;

[0065] The second sending submodule sends a second indication signal to the baseboard management controller; wherein the second indication signal is used to turn off a corresponding red indicator light of the baseboard management controller.

[0066] In some embodiments, the burning module includes:

[0067] A display submodule, configured to display first switching information of the first line transfer switch; wherein the first switching information is used to prompt a user to connect a firmware file burner to the communication transmission interface;

[0068] The first burning submodule is used to burn the firmware file into the memory of the baseboard management controller through the communication transmission interface and the first line conversion switch when the burner is connected to the communication transmission interface.

[0069] In some embodiments, the burning module includes:

[0070] The format conversion submodule is used to convert the format of the firmware file to obtain the burning file corresponding to the firmware file;

[0071] The second burning submodule is used to burn the burning file into the memory of the baseboard management controller through the communication transmission interface and the first line conversion switch.

[0072] In a fourth aspect, the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, any of the above firmware burning methods is implemented.

[0073] In a fifth aspect, some embodiments of the present application provide a firmware burning system, the system including a terminal device and any of the above mainboards, the terminal device including a processor and a memory, the memory storing programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, a firmware burning method as any of the above items is implemented on the mainboard.

[0074] In a sixth aspect, some embodiments of the present application provide a non-volatile readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, a firmware burning method as described in any one of the above items is implemented.

[0075] Some embodiments of the present application provide a firmware burning method, including: switching a first line conversion switch of a mainboard to connect a communication transmission interface of the mainboard and a baseboard management controller memory of the mainboard; wherein the first line conversion switch is used to switch the baseboard management controller memory to connect to the baseboard management controller, or the baseboard management controller memory to connect to the communication transmission interface, burning the firmware file into the baseboard management controller memory through the communication transmission interface and the first line conversion switch, switching the first line conversion switch to connect the baseboard management controller and the baseboard management controller memory, so that the baseboard management controller calls the firmware file in the baseboard management controller memory, and the baseboard management controller memory can be burned directly through the communication transmission interface of the baseboard management controller, avoiding the disassembly of the baseboard management controller memory, and reducing the time cost and labor cost of repairing the baseboard management controller memory to a certain extent. BRIEF DESCRIPTION OF THE DRAWINGS

[0076] FIG1 is a flowchart of a firmware burning method provided by some embodiments of the present application;

[0077] FIG2 is a flowchart of another firmware burning method provided by some embodiments of the present application;

[0078] FIG3 is a schematic diagram of the component structure of a firmware burning method provided in some embodiments of the present application;

[0079] FIG4 is a schematic diagram of the hardware structure of a mainboard provided in some embodiments of the present application;

[0080] FIG5 is a schematic diagram of a mainboard structure corresponding to a firmware burning method provided in some embodiments of the present application;

[0081] FIG6 is a logic block diagram of a firmware burning device provided in some embodiments of the present application;

[0082] FIG7 is a schematic structural diagram of an electronic device provided in some embodiments of the present application. DETAILED DESCRIPTION

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

[0084] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.

[0085] The following describes in detail the firmware burning method provided by some embodiments of the present application through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0086] 1 , which shows a flowchart of a firmware burning method provided by some embodiments of the present application, the firmware burning method can be run on a terminal device such as a computer or a burner. The method may specifically include the following steps:

[0087] Step 101, switch the first line conversion switch of the mainboard to connect the communication transmission interface of the mainboard and the baseboard management controller memory of the mainboard; wherein the first line conversion switch is used to switch the baseboard management controller memory to connect to the baseboard management controller, or the baseboard management controller memory to connect to the communication transmission interface.

[0088] In some embodiments of the present application, a baseboard management controller (BMC) may be equipped with a BMC memory component, which can store programming files or firmware files, enabling the BMC to implement the functions specified by the programming files or firmware files. The BMC can communicate with external devices via a communication transmission interface. For example, it can transmit log files to an external device or respond to instructions from the external device to operate a server device connected to the BMC. Typically, programming files or firmware files are transferred to the BMC memory component by burning them into the BMC memory component to function. Burning involves transmitting target data in the form of programming signals to a programmable device using specialized software and hardware. These programming signals can change the electronic state within the programmable device, thereby writing or modifying specific data. During the burning process, programming firmware or software tools typically interact with the target device. The programming firmware or software tool converts the target data into specific programming signals and transmits them to the target device via a communication interface. Upon receiving the programming signals, the target device writes the data into its internal storage unit according to the instructions in the signals, thereby updating or modifying the data. Different burning technologies and programming interfaces have different operating principles. In some embodiments of the present application, the communication transmission interface can be an RS232 DB9 female interface with pins 1 to 9, and the programming interface can be a serial peripheral interface (SPI) with five transmission lines. The five transmission lines of the serial peripheral interface can be soldered to pins 1 to 5 of the DB9 female interface. The correspondence between RS232 pins and serial peripheral interface transmission lines is shown in the following table:

[0089] Table 1 RS232 and SPI pin correspondence

[0090] In some embodiments of the present application, in order to prevent confusion and errors in the original communication function of the RS232 interface and the burning function of the serial peripheral interface, an SPI bus and a first line conversion switch can be added between the RS232 interface as the communication transmission interface and the baseboard management controller memory, wherein the first line conversion switch is used to switch the baseboard management controller memory to connect to the baseboard management controller, or the baseboard management controller memory to connect to the communication transmission interface. When the baseboard management controller memory is connected to the baseboard management controller, the baseboard management controller can access the firmware file or programming file in the baseboard management controller memory to run various functions of the baseboard management controller; when the baseboard management controller memory is connected to the communication transmission interface, the communication line between the baseboard management controller and the baseboard management controller memory is cut off, and the firmware file can be burned into the baseboard management controller memory from the communication transmission interface through the SPI bus.

[0091] In some embodiments of the present application, the first terminal can switch the first line switch to connect the communication transmission interface and the baseboard management controller memory. When the first line switch is switched to connect the communication transmission interface and the baseboard management controller memory, the connection between the baseboard management controller and the baseboard management controller memory can also be disconnected. In addition, the communication transmission interface can be other integrated interfaces besides RS232, such as RS485 type interfaces, etc., which are not limited in the embodiments of the present application.

[0092] Step 102: Burn the firmware file into the memory of the baseboard management controller via the communication transmission interface and the first line switch.

[0093] In some embodiments of the present application, after switching the first line conversion switch so that the baseboard management controller memory and the communication transmission interface are in a connected state, the firmware file for burning can be burned into the baseboard management controller memory through the communication transmission interface, the first line conversion switch and the corresponding transmission line through a burning tool.

[0094] Step 103 : Switching the first line switch to connect the baseboard management controller and the baseboard management controller memory, so that the baseboard management controller calls the firmware file in the baseboard management controller memory.

[0095] In some embodiments of the present application, according to the embodiment of step 101, after programming is completed, the baseboard management controller and the baseboard management controller memory may be in a disconnected state. At this time, the first line transfer switch may be switched to connect the baseboard management controller and the baseboard management controller memory. While switching the first line transfer switch to connect the baseboard management controller and the baseboard management controller memory, the connection between the baseboard management controller memory and the communication transmission interface may be disconnected. After restoring the connection between the baseboard management controller memory and the baseboard management controller, the baseboard management controller may call the firmware file in the baseboard management controller memory, thereby realizing various functions of the baseboard management controller.

[0096] In some embodiments of the present application, the communication transmission interface of the mainboard and the baseboard management controller memory of the mainboard are connected by switching the first line conversion switch of the mainboard; wherein, the first line conversion switch is used to switch the baseboard management controller memory to connect to the baseboard management controller, or the baseboard management controller memory to connect to the communication transmission interface, and the firmware file is burned into the baseboard management controller memory through the communication transmission interface and the first line conversion switch. The first line conversion switch is switched to connect the baseboard management controller and the baseboard management controller memory, so that the baseboard management controller calls the firmware file in the baseboard management controller memory. The baseboard management controller memory can be burned directly through the communication transmission interface of the baseboard management controller, avoiding the disassembly of the baseboard management controller memory, and reducing the time cost and labor cost of repairing the baseboard management controller memory to a certain extent.

[0097] 2 is a flowchart of another firmware burning method provided by some embodiments of the present application. The method may specifically include the following steps:

[0098] Step 201: Switch the first line switch of the mainboard to connect the communication transmission interface of the mainboard and the baseboard management controller memory of the mainboard; wherein the first line switch is used to switch the baseboard management controller memory to connect to the baseboard management controller, or the baseboard management controller memory to connect to the communication transmission interface.

[0099] In some embodiments of the present application, the implementation content of this step can refer to the embodiment content of step 101 and will not be repeated here.

[0100] In some embodiments, step 201 may include the following sub-steps:

[0101] Sub-step 2011, switching the second line transfer switch of the mainboard to connect the communication transmission interface and the first line transfer switch; wherein the second line transfer switch is used to switch the communication transmission interface to connect to the baseboard management controller, or the communication transmission interface to connect to the first line transfer switch.

[0102] In some embodiments of the present application, there may be a second line transfer switch on the transmission line between the first line transfer switch and the communication transmission interface, and the second line transfer switch can be used to switch the communication transmission interface to connect to the baseboard management controller, or the communication transmission interface to connect to the first line transfer switch, that is, a second line transfer switch can be set on the transmission line between the communication transmission interface and the baseboard management controller, and a transmission line can be established between the first line transfer switch and the second line transfer switch, so that the baseboard management controller memory can be connected to the communication transmission interface through the first line transfer switch and the second line transfer switch. During normal use of the baseboard management controller, the second line transfer switch can connect the communication transmission interface and the baseboard management controller so that the baseboard management controller can communicate with external devices. In some embodiments of the present application, the second line transfer switch can be switched so that the communication transmission interface and the first line transfer switch can be connected and the connection between the communication transmission interface and the baseboard management controller can be disconnected.

[0103] In sub-step 2012, the first circuit transfer switch is switched to connect the BMC memory to the second circuit transfer switch. The first circuit transfer switch is used to switch the BMC memory to connect to the BMC, or the BMC memory to connect to the second circuit transfer switch.

[0104] In some embodiments of the present application, the first circuit transfer switch is used to switch the connection between the baseboard management controller memory and the baseboard management controller, or the connection between the baseboard management controller memory and the second circuit transfer switch. In some embodiments of the present application, the first circuit transfer switch can be switched to connect the baseboard management controller memory and the second circuit transfer switch and disconnect the baseboard management controller and the baseboard management controller memory.

[0105] In some embodiments of the present application, after switching the second line conversion switch in sub-step 2011 and switching the first line conversion switch in sub-step 2012, the communication transmission interface and the baseboard management controller memory can be connected, so that the baseboard management controller memory can communicate directly with the external device.

[0106] For example, as shown in Figure 3, Figure 3 is a schematic diagram of the component structure of a firmware burning method provided by some embodiments of the present application. In Figure 3, the solid line can be a signal transmission line, and the dotted line can be a power supply line. The terminal device can be directly connected to the communication transmission interface, and the first line conversion switch and the second line conversion switch can be controlled through the communication transmission interface. When the second line conversion switch connects the communication transmission interface and the baseboard management controller, or the first line conversion switch connects the baseboard management controller memory and the baseboard management controller, the baseboard management controller memory cannot be directly connected to the communication transmission interface, nor can it communicate directly with the terminal device through the communication transmission interface. Only when the second line conversion switch connects the communication transmission interface and the first line conversion switch, and the first line conversion switch connects the baseboard management controller memory and the second line conversion switch, can the baseboard management controller communicate directly with the terminal device through the communication transmission interface.

[0107] In some embodiments of the present application, the second line conversion switch of the mainboard is switched to connect the communication transmission interface and the first line conversion switch; wherein, the second line conversion switch is used to switch the communication transmission interface to connect to the baseboard management controller, or the communication transmission interface is connected to the first line conversion switch, and the first line conversion switch is switched to connect the baseboard management controller memory and the second line conversion switch; wherein, the first line conversion switch is used to switch the baseboard management controller memory to connect to the baseboard management controller, or the baseboard management controller memory is connected to the second line conversion switch, so that the baseboard management controller memory can be connected to the communication transmission interface through the first line conversion switch and the second line conversion switch, and the connection between the baseboard management controller memory and the communication transmission interface and the baseboard management controller is disconnected, thereby avoiding logical confusion and errors that may occur during the burning process, and improving the reliability and security of the firmware burning method.

[0108] Step 202 , turning off a first switch corresponding to a first power source; wherein the first power source and the first switch are located on a mainboard, and the first power source is used to supply power to a baseboard management controller and a baseboard management controller memory through the first switch.

[0109] In some embodiments of the present application, a first switch can connect a first power supply, a baseboard management controller, and a baseboard management controller memory. When the first switch is connected, the first power supply can supply power to the baseboard management controller and the baseboard management controller memory. The first power supply can be a DC regulated power supply, and the voltage value can be adjusted according to the rated voltage of the baseboard management controller. When the baseboard management controller memory is connected to the communication transmission interface, the first switch can be turned off to stop the first power supply from supplying power to the baseboard management controller memory and the baseboard management controller.

[0110] Step 203 , turning on the second switch; wherein the second switch is used to supply power to the baseboard management controller memory from an external power source via the communication transmission interface.

[0111] In some embodiments of the present application, a terminal device connected to the communication transmission interface can be equipped with an external power supply, which can supply power to the baseboard management controller memory via a second switch. The second switch can be turned on to allow the external power supply on the terminal device to supply power to the baseboard management controller memory via the communication transmission interface. After power is supplied to the baseboard management controller memory, the terminal device can recognize the baseboard management controller memory.

[0112] Continuing with the above example, in FIG3 , the terminal device may control the first switch to be disconnected, and then control the second switch to be connected, so that the terminal device can supply power to the baseboard management controller memory.

[0113] In some embodiments of the present application, by turning off the first switch corresponding to the first power supply, wherein the first power supply is used to supply power to the baseboard management controller and the baseboard management controller memory through the first switch, and turning on the second switch, wherein the second switch is used for the external power supply to supply power to the baseboard management controller memory through the communication transmission interface, the power supply of the system can be replaced before the firmware file is burned, thereby avoiding the power supply hidden dangers of the internal power supply of the system and improving the availability and stability of the firmware burning method.

[0114] Step 204 : When the first circuit transfer switch is connected to the BMC memory and the second circuit transfer switch, a first indication signal is sent to the BMC; wherein the first indication signal is used to light up a corresponding red indicator light of the BMC.

[0115] In some embodiments of the present application, a red indicator light may be provided on the baseboard management controller. When the first line transfer switch is connected to the baseboard management controller memory and the second line transfer switch, a first indication signal may be sent to the baseboard management controller to light up the red indicator light on the baseboard management controller.

[0116] In some embodiments, step 204 may include the following sub-steps:

[0117] Sub-step 2041: Acquire the connectivity status of the second line transfer switch.

[0118] In some embodiments of the present application, when the first line transfer switch is connected to the baseboard management controller memory and the second line transfer switch, the connection status of the second line transfer switch can be obtained to determine whether the second line transfer switch is in a state of connecting to the communication transmission interface and the baseboard management controller or in a state of connecting to the communication transmission interface and the first line transfer switch.

[0119] Sub-step 2042 : When the connection state indicates that the second line transfer switch is connected to the communication transmission interface and the first line transfer switch, a first indication signal is sent to the baseboard management controller.

[0120] In some embodiments of the present application, when the second line transfer switch is in a state of connecting the communication transmission interface and the first line transfer switch, a first indication signal may be sent to the baseboard management controller, thereby lighting up a red indicator light.

[0121] In some embodiments of the present application, by obtaining the connectivity status of the second line conversion switch, and when the connectivity status indicates that the second line conversion switch is connected to the communication transmission interface and the first line conversion switch, a first indication signal is sent to the baseboard management controller. When the baseboard management controller memory is directly connected to the communication transmission interface through the first line conversion switch and the second line conversion switch, the corresponding indicator light can be lit, thereby further improving the practicality of the firmware burning method.

[0122] In some embodiments of the present application, a first indication signal is sent to the baseboard management controller when the first line conversion switch is connected to the baseboard management controller memory and the second line conversion switch, wherein the first indication signal is used to light up a red indicator light corresponding to the baseboard management controller. The corresponding indicator light can be lit when the baseboard management controller is directly connected to the communication transmission interface, thereby improving the practicality of the firmware burning method.

[0123] Step 205 : Burn the firmware file into the memory of the baseboard management controller via the communication transmission interface and the first line switch.

[0124] In some embodiments of the present application, the implementation content of this step can refer to the embodiment content of step 102 and will not be repeated here.

[0125] In some embodiments, step 205 may include the following sub-steps:

[0126] Sub-step 2051: displaying first switching information of the first line transfer switch; wherein the first switching information is used to prompt the user to connect the firmware file burner to the communication transmission interface.

[0127] In some embodiments of the present application, when the first line transfer switch is switched to a state connecting the baseboard management controller memory and the communication transmission interface, first switching information of the first line transfer switch can be generated and displayed to show the user the connection state after the first line transfer switch is switched and prompt the user to connect the burner to the communication transmission interface.

[0128] Sub-step 2052: When the burner is connected to the communication transmission interface, the firmware file is burned into the memory of the baseboard management controller through the communication transmission interface and the first line conversion switch.

[0129] In some embodiments of the present application, after the user connects the burner to the communication transmission interface, the user can use the burner to burn the firmware file into the baseboard management controller memory through the communication transmission interface and the first line conversion switch.

[0130] In some embodiments of the present application, the first switching information of the first line transfer switch is displayed; wherein, the first switching information is used to prompt the user to connect the burner of the firmware file to the communication transmission interface. When the burner is connected to the communication transmission interface, the firmware file is burned into the baseboard management controller memory through the communication transmission interface and the first line transfer switch, and the user can be prompted to connect the burner for burning, thereby improving the usability of the firmware burning method.

[0131] Sub-step 2053: convert the format of the firmware file to obtain a burning file corresponding to the firmware file.

[0132] In some embodiments of the present application, the firmware file may be a program file formed based on a certain programming language, used to drive a baseboard management controller, or to upgrade the driver of the baseboard management controller. Typically, the code in such a firmware file cannot be directly recognized by a machine and needs to undergo format conversion to be converted into a burn file that can be directly recognized by the machine. In some embodiments of the present application, if the format of the firmware file does not match the format of a burn file that can be recognized by the machine, the firmware file may be format converted to obtain a burn file that corresponds to the firmware file and can be directly recognized by the machine.

[0133] For example, if the firmware file format is ".c", you can first convert the ".c" format file into a program file format that can be directly recognized and called by the hardware device, such as a ".hex" format file. The file obtained after the format conversion is the burning file.

[0134] Sub-step 2054 , burning the burning file into the memory of the baseboard management controller via the communication transmission interface and the first line conversion switch.

[0135] In some embodiments of the present application, after the firmware file completes format conversion and obtains the burning file, the burning file can be burned into the baseboard management controller memory through the communication transmission interface and the first line conversion switch through a terminal device or burner connected to the communication transmission interface.

[0136] In some embodiments of the present application, by converting the format of the firmware file to obtain a burning file corresponding to the firmware file, and burning the burning file into the baseboard management controller memory through the communication transmission interface and the first line conversion switch, the firmware file can be converted into a burning file that can be directly recognized by the hardware device, thereby improving the availability of the firmware file.

[0137] Step 206 : Switch the first line switch to connect the baseboard management controller and the baseboard management controller memory, so that the baseboard management controller calls the firmware file in the baseboard management controller memory.

[0138] In some embodiments of the present application, the implementation content of this step can refer to the embodiment content of step 103 and will not be repeated here.

[0139] In some embodiments, step 206 may include the following sub-steps:

[0140] Sub-step 2061: Switch the second line transfer switch to connect the communication transmission interface and the baseboard management controller; wherein the second line transfer switch is used to switch the communication transmission interface to connect to the baseboard management controller, or the communication transmission interface to connect to the first line transfer switch.

[0141] In some embodiments of the present application, the connection relationship of the second circuit transfer switch can be the same as the connection relationship of the second circuit transfer switch in step 2011. The connection relationship of the second circuit transfer switch can refer to the embodiment of step 2011. After the burning is completed, the second circuit transfer switch can be switched to reconnect the communication transmission interface and the baseboard management controller, thereby restoring communication between the baseboard management controller and the external device.

[0142] In sub-step 2062, the first circuit transfer switch is switched to connect the BMC memory and the BMC; wherein the first circuit transfer switch is used to switch the BMC memory to connect to the BMC, or the BMC memory to connect to the second circuit transfer switch.

[0143] In some embodiments of the present application, the connection relationship of the first circuit transfer switch can be the same as the connection relationship of the first circuit transfer switch in step 2012. For related details, refer to the embodiment of step 2012. After the second circuit transfer switch is switched, the first circuit transfer switch can be switched to connect the baseboard management controller memory and the baseboard management controller, thereby restoring communication between the baseboard management controller and the baseboard management controller memory.

[0144] For example, in the hardware structure shown in FIG3 , the second line switch can be switched to connect the communication transmission interface and the baseboard management controller, and the first line transfer switch can be switched to connect the baseboard management controller and the baseboard management controller memory. In this way, the second line transfer switch and the first line transfer switch are in a disconnected state, and the terminal device can directly access the baseboard management controller through the communication transmission interface, but cannot directly access the baseboard management controller memory through the communication transmission interface.

[0145] In some embodiments of the present application, the second line conversion switch is switched to connect the communication transmission interface and the baseboard management controller, wherein the second line conversion switch is used to switch the communication transmission interface to connect to the baseboard management controller, or the communication transmission interface is connected to the first line conversion switch, and the first line conversion switch is switched to connect the baseboard management controller memory and the baseboard management controller, wherein the first line conversion switch is used to switch the baseboard management controller memory to connect to the baseboard management controller, or the baseboard management controller memory is connected to the second line conversion switch. After the burning is completed, the second line conversion switch and the first line conversion switch can be switched, so that the normal communication of the baseboard management controller can be restored, thereby improving the practicality of the firmware burning method.

[0146] Step 207 : When the baseboard management controller and the baseboard management controller memory are connected, send a second indication signal to the baseboard management controller; wherein the second indication signal is used to turn off a red indicator light corresponding to the baseboard management controller.

[0147] In some embodiments of the present application, when the first line transfer switch connects the baseboard management controller and the baseboard management controller memory, a second indication signal may be sent to the baseboard management controller, wherein the second indication signal may be used to turn off a corresponding red indicator light of the baseboard management controller.

[0148] In some embodiments of the present application, by sending a second indication signal to the baseboard management controller when the baseboard management controller and the baseboard management controller memory are connected, wherein the second indication signal is used to turn off the red indicator light corresponding to the baseboard management controller, the connectivity status of the first line switching switch can be confirmed by the red indicator light being turned off, thereby improving the practicality of the firmware burning method.

[0149] In some embodiments of the present application, another firmware burning method may be provided. First, a computer may be connected to a communication transmission interface, and then a burning tool may be run on the computer. The burning tool may identify each piece of hardware connected to the computer and may control each piece of hardware to perform various actions. The burning tool may control the second line transfer switch to connect the communication transmission interface to the first line transfer switch, and may control the first line transfer switch to connect the baseboard management controller memory to the second line transfer switch. The burning tool may then identify the baseboard management controller memory, including the identifier and memory size corresponding to the memory. The burning tool may then erase the existing data in the baseboard management controller memory and perform formatting. After formatting, the firmware file is burned into the baseboard management controller memory, completing the burning. After successful burning, the burning tool may control the first and second line transfer switches to return to their initial states, thereby disconnecting the baseboard management controller memory. In this way, the baseboard management controller memory can be burned without disassembling the baseboard management controller memory.

[0150] 4 , which is a schematic diagram of the structure of a mainboard provided in some embodiments of the present application, the mainboard includes:

[0151] Baseboard management controller memory, first line transfer switch, communication transmission interface, baseboard management controller;

[0152] The first line switch is used to connect the communication transmission interface, the baseboard management controller and the baseboard management controller memory.

[0153] The mainboard provided in some embodiments of the present application can apply the firmware burning method of the embodiments of steps 101 to 103, switch the first line conversion switch, so that the communication transmission interface and the baseboard management controller memory can be connected, and then the baseboard management controller memory can be burned through the terminal device. After the burning is completed, the first line conversion switch can be switched to connect the baseboard management controller and the baseboard management controller memory.

[0154] In some embodiments, the mainboard further comprises:

[0155] The second line transfer switch; wherein the three terminals of the second line transfer switch are respectively connected to the communication transmission interface, the first line transfer switch and the baseboard management controller.

[0156] In some embodiments, the mainboard further comprises:

[0157] a first switch, a second switch, and a first power supply;

[0158] The first switch is connected to the first power supply, the baseboard management controller and the baseboard management controller memory;

[0159] The second switch is connected to the communication transmission interface and the baseboard management controller.

[0160] In summary, some embodiments of the present application provide a motherboard, including a baseboard management controller memory, a first line conversion switch, a communication transmission interface, and a baseboard management controller, which can implement the various processes implemented by the method embodiments of Figures 1 to 2. To avoid repetition, they will not be repeated here.

[0161] Referring to FIG5 , FIG5 is a schematic diagram of a mainboard structure corresponding to a firmware burning method provided by some embodiments of the present application. In the figure, the RS232 interface can be welded to the SPI bus, the CPLD can be connected to the BMC, line transfer switch 1, line transfer switch 2, indicator light 1, indicator light 2, indicator light 3, switch 1 and switch 2, and the CPLD can communicate with the BMC via the system serial port and the BMC serial port. Under normal conditions, indicator light 1 is always on, and indicator lights 2 and 3 are off. When it is necessary to burn the BMC memory, an external device can send a burning indication signal to the CPLD via the RS232 interface via the UART line. The CPLD can respond to the burning indication signal and switch line transfer switch 1 via the control signal 1 line so that the BMC memory is connected to line transfer switch 2 via the SPI bus. At this time, indicator light 1 can be turned off and indicator light 2 can be turned on. Then, the RS232 interface can be connected to line transfer switch 1 via the SPI bus by switching line transfer switch 2 via the control signal 2 line. At this time, indicator light 2 can be turned off and indicator light 3 can be turned on, indicating that the switching of line transfer switch 1 and line transfer switch 2 is complete and burning can be performed. The CPLD can also disconnect switch 1 via power control line 1 and connect switch 2 via power control line 2, switching the system from the primary power source to the external power source. When programming is complete, the CPLD controls switch 1 and switch 2 to restore their initial states, turning indicator 3 off and indicator 1 on. Furthermore, the CPLD can disconnect switch 2 and connect switch 1, switching the system from the external device to the primary power source again. This completes the BMC memory programming process.

[0162] 6 , which is a logic block diagram of a firmware burning device provided in some embodiments of the present application, the firmware burning device 600 includes:

[0163] A first switching module 601 is configured to switch a first line switch of the mainboard to connect the communication transmission interface of the mainboard with the baseboard management controller memory of the mainboard; wherein the first line switch is configured to switch the baseboard management controller memory to connect with the baseboard management controller, or the baseboard management controller memory to connect with the communication transmission interface;

[0164] The burning module 602 is used to burn the firmware file into the memory of the baseboard management controller through the communication transmission interface and the first line conversion switch;

[0165] The second switching module 603 is configured to switch the first line transfer switch to connect the baseboard management controller and the baseboard management controller memory, so that the baseboard management controller calls the firmware file in the baseboard management controller memory.

[0166] In some embodiments, a second line switch is provided on the connection line between the communication transmission interface and the baseboard management controller memory, and the first switching module 601 includes:

[0167] A first switching submodule is configured to switch the second circuit transfer switch of the mainboard to connect the communication transmission interface with the first circuit transfer switch; wherein the second circuit transfer switch is configured to switch the communication transmission interface to connect with the baseboard management controller, or to connect the communication transmission interface to the first circuit transfer switch;

[0168] The second switching submodule is used to switch the first circuit transfer switch to connect the baseboard management controller memory to the second circuit transfer switch; wherein the first circuit transfer switch is used to switch the baseboard management controller memory to connect to the baseboard management controller, or the baseboard management controller memory to connect to the second circuit transfer switch.

[0169] In some embodiments, a second line switch is provided on the communication line between the communication transmission interface and the baseboard management controller memory, and the second switching module 603 includes:

[0170] A third switching submodule is configured to switch the second line transfer switch to connect the communication transmission interface and the baseboard management controller; wherein the second line transfer switch is configured to switch the communication transmission interface to connect to the baseboard management controller, or the communication transmission interface to connect to the first line transfer switch;

[0171] The fourth switching submodule is used to switch the first line transfer switch to connect the baseboard management controller memory and the baseboard management controller; wherein the first line transfer switch is used to switch the baseboard management controller memory to connect to the baseboard management controller, or the baseboard management controller memory to connect to the second line transfer switch.

[0172] In some embodiments, the apparatus 600 further includes:

[0173] A shutdown module, configured to shut down a first switch corresponding to a first power source; wherein the first power source and the first switch are located on the mainboard, and the first power source is configured to supply power to the baseboard management controller and the baseboard management controller memory via the first switch;

[0174] The conduction module is used to conduct the second switch; wherein the second switch is used for an external power source to supply power to the baseboard management controller memory through the communication transmission interface.

[0175] In some embodiments, the apparatus 600 further includes:

[0176] The first sending module is used to send a first indication signal to the baseboard management controller when the first line transfer switch is connected to the baseboard management controller memory and the second line transfer switch; wherein the first indication signal is used to light up a red indicator light corresponding to the baseboard management controller.

[0177] In some embodiments, the first sending module includes:

[0178] An acquisition submodule, configured to acquire the connectivity status of the second line transfer switch;

[0179] The first sending submodule is configured to send a first indication signal to the baseboard management controller when the connection state indicates that the second line transfer switch is connected to the communication transmission interface and the first line transfer switch.

[0180] In some embodiments, the second switching module 603 includes:

[0181] a fifth switching submodule, configured to switch the first line transfer switch to connect the baseboard management controller and the baseboard management controller memory;

[0182] The second sending submodule sends a second indication signal to the baseboard management controller; wherein the second indication signal is used to turn off a corresponding red indicator light of the baseboard management controller.

[0183] In some embodiments, the burning module 602 includes:

[0184] A display submodule, configured to display first switching information of the first line transfer switch; wherein the first switching information is used to prompt a user to connect a firmware file burner to the communication transmission interface;

[0185] The first burning submodule is used to burn the firmware file into the memory of the baseboard management controller through the communication transmission interface and the first line conversion switch when the burner is connected to the communication transmission interface.

[0186] In some embodiments, the burning module 602 includes:

[0187] The format conversion submodule is used to convert the format of the firmware file to obtain the burning file corresponding to the firmware file;

[0188] The second burning submodule is used to burn the burning file into the memory of the baseboard management controller through the communication transmission interface and the first line conversion switch.

[0189] In summary, some embodiments of the present application provide a firmware burning device, including: a first switching module, used to switch the first line conversion switch of the mainboard to connect the communication transmission interface of the mainboard and the baseboard management controller memory of the mainboard; wherein, the first line conversion switch is used to switch the baseboard management controller memory to connect the baseboard management controller, or the baseboard management controller memory to connect the communication transmission interface; a burning module, used to burn the firmware file into the baseboard management controller memory through the communication transmission interface and the first line conversion switch; a second switching module, used to switch the first line conversion switch to connect the baseboard management controller and the baseboard management controller memory, so that the baseboard management controller calls the firmware file in the baseboard management controller memory, and the baseboard management controller memory can be burned directly through the communication transmission interface of the baseboard management controller, avoiding the disassembly of the baseboard management controller memory, and reducing the time cost and labor cost of repairing the baseboard management controller memory to a certain extent.

[0190] The firmware burning device in some embodiments of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a GPU BOX, a mobile phone, a tablet computer, a laptop computer, a palmtop computer, an in-vehicle electronic device, a mobile internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., and the embodiments of the present application are not specifically limited.

[0191] The firmware burning device in some embodiments of the present application may be a device having an operating system. The operating system may be an Android operating system, a Linux operating system, a Windows operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.

[0192] The firmware burning device provided in some embodiments of the present application can implement each process implemented in the method embodiments of Figures 1 to 2. To avoid repetition, they are not described here.

[0193] In some embodiments, as shown in Figure 7, some embodiments of the present application also provide an electronic device M00, including a processor M01 and a memory M02, and the memory M02 stores a program or instruction that can be run on the processor M01. When the program or instruction is executed by the processor M01, the various steps of the above-mentioned firmware burning method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0194] It should be noted that the electronic devices in some embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.

[0195] Some embodiments of the present application also provide a firmware burning system, which includes a terminal device and a motherboard as described above. The terminal device includes a processor and a memory. The memory stores programs or instructions that can be run on the processor. When the program or instruction is executed by the processor, the various steps of the above-mentioned firmware burning method embodiment are implemented on the mainboard, and the same technical effect can be achieved. To avoid repetition, they will not be repeated here.

[0196] Some embodiments of the present application also provide a non-volatile readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by the processor, the various processes of the above-mentioned firmware burning method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0197] The processor is the processor in the electronic device in the above embodiment. The non-volatile readable storage medium includes a computer non-volatile readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0198] Some embodiments of the present application provide a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the various processes of the above-mentioned firmware burning method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0199] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising 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, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0200] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the relevant technology, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.

[0201] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.

Claims

1. A firmware burning method, characterized in that: The method comprises: Switching a first line conversion switch of the mainboard to connect the communication transmission interface of the mainboard and the baseboard management controller memory of the mainboard; wherein the first line conversion switch is configured to switch the baseboard management controller memory to connect to the baseboard management controller of the mainboard, or the baseboard management controller memory to connect to the communication transmission interface; Burning the firmware file into the memory of the baseboard management controller through the communication transmission interface and the first line conversion switch; The first line conversion switch is switched to connect the baseboard management controller and the baseboard management controller memory, so that the baseboard management controller calls the firmware file in the baseboard management controller memory.

2. The method according to claim 1, characterized in that A second line conversion switch is provided on the connection line between the communication transmission interface and the baseboard management controller memory, and the first line conversion switch of the switching mainboard is switched to connect the communication transmission interface of the mainboard and the baseboard management controller memory of the mainboard, including: Switching the second line conversion switch of the mainboard to connect the communication transmission interface and the first line conversion switch; wherein the second line conversion switch is configured to switch the communication transmission interface to connect to the baseboard management controller, or the communication transmission interface to connect to the first line conversion switch; Switch the first line conversion switch to connect the baseboard management controller memory and the second line conversion switch; wherein the first line conversion switch is configured to switch the baseboard management controller memory to connect the baseboard management controller, or the baseboard management controller memory to connect the second line conversion switch.

3. The method according to claim 2, characterized in that The method further comprises: The second line conversion switch is switched to connect the communication transmission interface and the first line conversion switch, and the first line conversion switch is switched to connect the baseboard management controller memory and the second line conversion switch, so that the baseboard management controller memory communicates with an external device.

4. The method according to claim 1, characterized in that A second line conversion switch is provided on the connection line between the communication transmission interface and the baseboard management controller memory, and the switching of the first line conversion switch to connect the baseboard management controller and the baseboard management controller memory includes: Switching the second line conversion switch to connect the communication transmission interface and the baseboard management controller; wherein the second line conversion switch is configured to switch the communication transmission interface to connect to the baseboard management controller, or the communication transmission interface to connect to the first line conversion switch; Switch the first line conversion switch to connect the baseboard management controller memory and the baseboard management controller; wherein the first line conversion switch is configured to switch the baseboard management controller memory to connect the baseboard management controller, or the baseboard management controller memory to connect the second line conversion switch.

5. The method according to claim 4, characterized in that The method further comprises: The second line conversion switch is switched to connect the communication transmission interface and the baseboard management controller, so that the baseboard management controller communicates with an external device.

6. The method according to claim 2, characterized in that The method further comprises: Turning off a first switch corresponding to a first power supply; wherein the first power supply and the first switch are located on the mainboard, and the first power supply is configured to supply power to the baseboard management controller and the baseboard management controller memory through the first switch; The second switch of the mainboard is turned on; wherein the second switch is configured to connect an external power source to the communication The output interface supplies power to the baseboard management controller memory.

7. The method according to claim 6, characterized in that The method further comprises: The voltage value of the first power supply is adjusted according to the rated voltage of the baseboard management controller.

8. The method according to claim 2, characterized in that: The method further comprises: When the first line transfer switch is in connection with the baseboard management controller memory and the second line transfer switch, a first indication signal is sent to the baseboard management controller; wherein the first indication signal is configured to light up a red indicator light corresponding to the baseboard management controller.

9. The method according to claim 8, characterized in that The sending a first indication signal to the baseboard management controller includes: Acquiring a connectivity status of the second line transfer switch; When the connection state indicates that the second line conversion switch connects the communication transmission interface and the first line conversion switch, the first indication signal is sent to the baseboard management controller.

10. The method according to claim 1, characterized in that The method further comprises: When the baseboard management controller and the baseboard management controller are internally connected, a second indication signal is sent to the baseboard management controller; wherein the second indication signal is configured to turn off a red indicator light corresponding to the baseboard management controller.

11. The method according to claim 1, characterized in that: The step of burning the firmware file into the memory of the baseboard management controller via the communication transmission interface and the first line conversion switch comprises: Displaying first switching information of the first line conversion switch; wherein the first switching information is configured to prompt the user to connect the burner of the firmware file to the communication transmission interface; When the burner is connected to the communication transmission interface, the firmware file is burned into the memory of the baseboard management controller through the communication transmission interface and the first line conversion switch.

12. The method according to claim 11, characterized in that The displaying of the first switching information of the first line conversion switch includes: When the first line conversion switch is switched to connect the baseboard management controller memory and the communication transmission interface, the first switching information is generated and displayed.

13. The method according to claim 1, characterized in that The step of burning the firmware file into the memory of the baseboard management controller via the communication transmission interface and the first line conversion switch comprises: Convert the firmware file to a format that corresponds to the firmware file. The burning file is burned into the memory of the baseboard management controller through the communication transmission interface and the first line conversion switch.

14. A motherboard, characterized in that: The main board comprises: Baseboard management controller memory, first line conversion switch, communication transmission interface, baseboard management controller; The first line switch is configured to connect the communication transmission interface, the baseboard management controller and the baseboard management controller memory; The mainboard is configured to implement the firmware burning method of claim 1.

15. The mainboard according to claim 14, characterized in that: The main board also includes: A second line conversion switch; wherein the three terminals of the second line conversion switch are respectively connected to the communication transmission interface, the first line conversion switch and the baseboard management controller.

16. The mainboard according to claim 14, characterized in that: The mainboard also includes: A first switch, a second switch, and a first power supply; The first switch is connected to the first power supply, the baseboard management controller and the baseboard management controller memory; The second switch is connected to the communication transmission interface and the baseboard management controller.

17. A firmware burning device, characterized in that: The device comprises: A first switching module is configured to switch a first line conversion switch of the mainboard to connect the communication transmission interface of the mainboard and the baseboard management controller memory of the mainboard; wherein the first line conversion switch is configured to switch the baseboard management controller memory to connect the baseboard management controller, or the baseboard management controller memory to connect the communication transmission interface; A burning module, configured to burn the firmware file into the memory of the baseboard management controller through the communication transmission interface and the first line conversion switch; The second switching module is configured to switch the first line conversion switch to connect the baseboard management controller and the baseboard management controller memory, so that the baseboard management controller calls the firmware file in the baseboard management controller memory.

18. An electronic device, characterized in that: The electronic device includes a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the firmware burning method according to any one of claims 1 to 13 is implemented.

19. A firmware burning system, characterized in that: The system includes a terminal device and the mainboard described in claims 14 to 16, the terminal device includes a processor and a memory, the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the firmware burning method described in any one of claims 1 to 13 is implemented on the mainboard.

20. A non-volatile readable storage medium, characterized in that: The non-volatile readable storage medium stores programs or instructions, and when the programs or instructions are executed by a processor, the firmware burning method according to any one of claims 1 to 13 is implemented.

Citation Information

Patent Citations

  • Firmware recovery method, device and system, computer equipment and storage medium

    CN111949449A

  • CPLD file burning system and CPLD file burning method

    CN114443067A

  • Baseboard management controller firmware fault recovery method, system, device and medium

    CN115576747A

  • Chip burning control equipment, method and device, storage medium and electronic equipment

    CN116149681A

  • Firmware burning method, mainboard, device, equipment, system and storage medium

    CN117251183A