CN116719734A - Debugging method, baseboard management controller and server - Google Patents

Debugging method, baseboard management controller and server Download PDF

Info

Publication number
CN116719734A
CN116719734A CN202310731974.6A CN202310731974A CN116719734A CN 116719734 A CN116719734 A CN 116719734A CN 202310731974 A CN202310731974 A CN 202310731974A CN 116719734 A CN116719734 A CN 116719734A
Authority
CN
China
Prior art keywords
serial port
switch key
pressed
uid switch
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310731974.6A
Other languages
Chinese (zh)
Inventor
刘建成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Tong Tai Yi Information Technology Co ltd
Original Assignee
Shenzhen Tong Tai Yi Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Tong Tai Yi Information Technology Co ltd filed Critical Shenzhen Tong Tai Yi Information Technology Co ltd
Priority to CN202310731974.6A priority Critical patent/CN116719734A/en
Publication of CN116719734A publication Critical patent/CN116719734A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3648Software debugging using additional hardware
    • G06F11/3656Software debugging using additional hardware using a specific debug interface
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0002Serial port, e.g. RS232C
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Mathematical Physics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The disclosure provides a debugging method, a baseboard management controller and a server, and relates to the technical field of computers. The method is applied to a programmable logic chip in a server, and comprises the following steps: monitoring whether a UID switch key is pressed or not, and if the UID switch key is not pressed, maintaining a default system serial port function by an external serial port of a server; if the UID switch key is pressed, starting timing according to a first preset time, and detecting the pressing number of the pressed UID switch key in the first preset time; judging whether the number of times of pressing exceeds a first preset number of times, if the number of times of pressing exceeds the first preset number of times, changing the external serial port function of the control server into the debugging serial port function of the baseboard management controller, and if the number of times of pressing does not exceed the first preset number of times, clearing the number of times of pressing, and keeping the default serial port function of the system of the external serial port of the server unchanged.

Description

Debugging method, baseboard management controller and server
Technical Field
The application relates to the technical field of computers, in particular to a debugging method, a baseboard management controller and a server.
Background
BMC stands for baseboard management controller (Baseboard Management Controller), which is a self-contained microcontroller embedded in a server, computer motherboard or other computing device, and the main function of BMC is to monitor, manage and control hardware resources to provide the ability to remotely manage and maintain the server; BMC has been very popular in server industry, and because of the multiple functions and different functions required in different industry applications, the debugging serial port provided by the BMC chip is needed to realize debugging, rapid positioning and analysis of codes in the process of function development and debugging.
When the BMC needs to be debugged, the BMC can be connected with an external host by using a wired or wireless connection mode, wherein the general wireless mode is that an SSH remote function integrated by a software system of the BMC is connected with the external host, but in practical application, the SSH remote function is disabled due to safety consideration, and the SSH remote function depends on a network, and if an abnormality occurs in the network, the function may be disabled; the existing method is to provide an independent BMC debugging interface on the main board, and debug the board through an external UART serial port line during single board debugging; when the problem is required to be debugged and analyzed due to the abnormality in the whole machine test process, the whole machine needs to be opened, even part of plug-in cards need to be removed to connect external UART serial lines, the operation is very inconvenient, and meanwhile, certain probability analysis is difficult to copy after power failure, and the problem analysis is likely to be impossible to be carried out due to the fact that the phenomenon is not seen after the case opening and the card removing.
The applicant of the present application has found that the prior art has at least the following technical problems:
in the prior art, when the BMC needs to be debugged in a wired connection mode, the technical problems that the chassis is inconvenient to open, the plug-in card is disassembled, and the BMC is debugged and abnormal is rapid and difficult to locate under the condition of power failure exist.
Disclosure of Invention
The application aims to provide a debugging method, a baseboard management controller and a server, which are used for solving the problems in the background art: in the prior art, when the BMC needs to be debugged in a wired connection mode, the technical problems that the chassis is inconvenient to open, the plug-in card is disassembled, and the BMC is debugged and abnormal is rapid and difficult to locate under the condition of power failure exist.
To achieve the above object, according to one aspect of the present disclosure, there is provided a debugging method applied to a programmable logic chip in a server, the method comprising:
monitor whether the UID switch key is pressed,
if the UID switch key is not pressed, the external serial port of the server keeps the default system serial port function;
if the UID switch key is pressed, starting timing according to a first preset time, and detecting the pressing number of the pressed UID switch key in the first preset time;
judging whether the pressed sub-value exceeds a first preset sub-value,
if the number of times of pressing exceeds the first preset number of times, the external serial port function of the control server is changed into the debugging serial port function of the baseboard management controller,
and if the number of times of pressing value does not exceed the first preset number of times, resetting the number of times of pressing value, and keeping the default system serial port function of the external serial port of the server unchanged.
In one possible implementation manner, if the number of times of pressing exceeds a first preset number of times, after the external serial port function of the control server is changed to the debug serial port function of the baseboard management controller, the method further includes:
monitoring whether a UID switch key is pressed;
if the UID switch key is not pressed, the external serial port of the server keeps the debugging serial port function of the baseboard management controller;
if the UID switch key is pressed, starting timing according to a second preset time, and detecting the pressing number of the pressed UID switch key in the second preset time;
judging whether the pressed sub-value exceeds a second preset sub-value,
if the pressed sub-value exceeds the second preset sub-value, the external serial port function of the control server is changed into a default system serial port function,
and if the number of times of pressing does not exceed the second preset number of times, resetting the number of times of pressing, and keeping the debugging serial port function of the baseboard management controller of the external serial port of the server unchanged.
In one possible implementation manner, the step of detecting the number of times the UID switch key is pressed within a first preset time further includes:
after starting timing according to a first preset time, judging whether the first preset time is overtime;
if not, monitoring whether the UID switch key is continuously pressed,
if the UID switch key is continuously pressed, detecting the pressing number of the UID switch key pressed in a first preset time,
if the UID switch key is not continuously pressed, the external serial port of the server keeps the default system serial port function;
if the time is overtime, the timing is cleared, and the external serial port of the server maintains the default serial port function of the system.
In one possible implementation, the method further includes:
if the UID switch key is not pressed, the UID switch key indicator lamp is kept in an initial state;
if the UID switch key is pressed, the UID switch key indicator lamp enters a change state; after starting timing according to a first preset time, judging whether the first preset time is overtime;
if not, monitoring whether the UID switch key is continuously pressed,
if the UID switch key is continuously pressed, detecting the pressing number of the UID switch key pressed in a first preset time,
if the UID switch key is not continuously pressed, the UID switch key indicator lamp keeps a changed state;
and if the time is overtime, the timing is cleared, and the UID switch key indicator lamp is switched to an original state.
In one possible implementation, the initial state of the UID switch key indicator is a non-lighted state, and the changed state of the UID switch key indicator is a lighted state.
In one possible implementation manner, the step of maintaining the default system serial port function by the external serial port of the server specifically includes: and the serial port of the system is gated and output into the buffer through the switch in the programmable logic chip.
In one possible implementation manner, the step of changing the external serial port function of the control server to the debug serial port of the baseboard management controller specifically includes: and gating and outputting the debugging serial port of the baseboard management controller to the buffer through an internal switch of the programmable logic chip.
According to another aspect of the embodiments of the present disclosure, there is provided a baseboard management controller, where the baseboard management controller is provided with a system serial port and a baseboard management controller debugging serial port, where the system serial port and the baseboard management controller debugging serial port are both used for connecting with a programmable logic chip, and the programmable logic chip is used for implementing the debugging method described in any one of the possible implementation manners.
According to another aspect of the embodiments of the present disclosure, there is provided a server including a programmable logic chip having at least one program code stored therein, the at least one program code being loaded and executed by the programmable logic chip to implement the debugging method as described in any one of the possible implementations above.
In one possible implementation manner, the server further includes a baseboard management controller, a buffer, a UID switch key and an external serial port, where the baseboard management controller is provided with a system serial port and a baseboard management controller debugging serial port, the system serial port and the baseboard management controller debugging serial port are both connected with the programmable logic chip, the external serial port is connected with the buffer, and the buffer and the UID switch key are respectively connected with the programmable logic chip.
The above technical solutions in the embodiments of the present application at least have one or more of the following technical effects:
the debugging method provided by the embodiment of the application is applied to a programmable logic chip in a server, and comprises the following steps: monitoring whether a UID switch key is pressed or not, and if the UID switch key is not pressed, maintaining a default system serial port function by an external serial port of a server; if the UID switch key is pressed, starting timing according to a first preset time, and detecting the pressing number of the pressed UID switch key in the first preset time; judging whether the number of times of pressing is larger than a first preset number of times, if the number of times of pressing is larger than the first preset number of times, changing the external serial port function of the control server into the debugging serial port function of the baseboard management controller, and if the number of times of pressing is not larger than the first preset number of times, clearing the number of times of pressing, keeping the default system serial port function of the external serial port of the server unchanged.
The foregoing description is only an overview of the present application, and is intended to be implemented in accordance with the teachings of the present application in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present application more readily apparent.
Drawings
FIG. 1 is a flowchart of a debug method provided in accordance with an exemplary embodiment;
FIG. 2 is a flow chart of enabling a baseboard management controller to debug a serial port function in a debug method according to an example embodiment;
FIG. 3 is a flow chart of enabling system serial functions in a debug method according to an exemplary embodiment;
fig. 4 is a schematic diagram of a server structure connection according to an exemplary embodiment.
Reference numerals illustrate: 100. a baseboard management controller; 200. a programmable logic chip; 300. a buffer; 400. an external serial port; 500. a UID switch key; 600. and a server.
Detailed Description
For the purposes of clarity, technical solutions and advantages of the present disclosure, the following further details the embodiments of the present disclosure with reference to the accompanying drawings.
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
Fig. 1 is a flowchart of a debugging method according to an exemplary embodiment, where the method is applied to a programmable logic chip in a server, as shown in fig. 1, and the method includes:
in step S100, it is monitored whether the UID switch key is pressed, and if not, the process goes to step S110, and if yes, the process goes to step S120.
In step S110, the server external serial port maintains a default system serial port function.
In step S120, timing is started according to the first preset time, and the number of times the UID switch key is pressed in the first preset time is detected.
In step S200, it is determined whether the pressed sub-value exceeds a first preset sub-value, if not, the process goes to step S210, and if yes, the process goes to step S220.
In step S210, the number of times of pressing is cleared, and the default serial port function of the external serial port of the server is kept unchanged.
In step S220, the control server external serial port function is changed to the baseboard management controller debug serial port function.
It will be appreciated that the programmable logic chip (Complex Programmable Logic Device) is a digital integrated circuit that can be used to implement various logic functions and control circuits, is a programmable hardware device that can be reconfigured and programmed according to specific design requirements, and that the UID switch key is a Unique Identifier (UID) switch key on a server or other device, typically used for server management and identification purposes, and is a physical button or switch, typically located on the front panel or other easily accessible location of the server.
Specifically, in the normal use process of the server, the programmable logic chip always detects whether the UID switch key is pressed or not in the running process of the server, if the UID switch key is not pressed, the serial port link keeps the current status unchanged, namely, keeps the default serial port function unchanged, if the UID switch key is pressed, the programmable logic chip starts an internal timer and a counter for counting according to a first preset time and a first preset time value, for example, the first preset time may be 3 seconds, the first preset time value may be 5 times, the first preset time and the first preset time value may be freely changed, and the method is not limited herein; in the 3 second timing stage, if the UID switch key is detected to be continuously pressed and the times are more than 5 times, changing the external serial port function of the server into a debugging serial port of the baseboard management controller; if the timing exceeds 3 seconds and the number of key presses is less than 5 times, the count is cleared, the external serial port of the server still keeps the default serial port function unchanged, the serial port of the system and the debugging serial port of the baseboard management controller are switched by adopting the combination of a programmable logic chip and a UID switch which are commonly used by the server, and the physical interfaces of the serial port of the system and the debugging serial port of the baseboard management controller are shared, so that a chassis is not required to be opened for debugging the baseboard management controller, and the technical problems that in the prior art, when the BMC is required to be debugged in a wired connection mode, the chassis is inconvenient to open, the plug card is disassembled, and the BMC is difficult to debug and abnormal fast and difficult to position under the condition of power failure are solved.
In one possible implementation, referring to fig. 2, in step S120, the step of detecting a pressing number of the UID switch key pressed within a first preset time further includes:
after starting timing according to a first preset time, judging whether the first preset time is overtime;
if not, monitoring whether the UID switch key is continuously pressed,
if the UID switch key is continuously pressed, detecting the pressing number of the UID switch key pressed in a first preset time,
if the UID switch key is not continuously pressed, the external serial port of the server keeps the default system serial port function;
if the time is overtime, the timing is cleared, and the external serial port of the server keeps the default system serial port function:
further, referring to fig. 2, the method may further include:
if the UID switch key is not pressed, the UID switch key indicator lamp is kept in an initial state;
if the UID switch key is pressed, the UID switch key indicator lamp enters a change state;
after starting timing according to a first preset time, judging whether the first preset time is overtime;
if not, monitoring whether the UID switch key is continuously pressed,
if the UID switch key is continuously pressed, detecting the pressing number of the UID switch key pressed in a first preset time,
if the UID switch key is not continuously pressed, the UID switch key indicator lamp keeps a changed state;
and if the time is overtime, the timing is cleared, and the UID switch key indicator lamp is switched to an original state.
Specifically, the initial state of the UID switch key indicator is a non-lighted state, the changed state of the UID switch key indicator is a lighted state, the UID switch key is usually used for lighting the UID switch key indicator of the server for equipment identification in the normal use process of the server, the programmable logic chip can always detect whether the UID switch key indicator is pressed down in the operation process of the server, if the UID switch key is not pressed down, the UID switch key indicator keeps the initial state, i.e. the UID switch key indicator is in a turned-off state, if the UID switch key is pressed down, the UID switch key indicator enters the changed state, i.e. the UID switch key indicator is lighted, the programmable logic chip starts an internal timer and a counter for performing timing counting according to a first preset time and a first preset time value, for example, the first preset time value can be 3 seconds, the first preset time value can be 5 times, the first preset time and the first preset time value can be freely changed, and the first preset time value can not be limited; in the 3 second timing stage, if the UID switch key is detected to be continuously pressed and the times exceed 5 times, changing the external serial port function of the server into a debugging serial port of the baseboard management controller, and if the UID switch key is detected not to be continuously pressed, keeping a lighting state of the UID switch key indicator lamp; if the time exceeds 3 seconds, the UID switch key indicator lamp is switched to a non-bright state.
In one possible implementation, referring to fig. 3, after the external serial port function of the control server is changed to the baseboard management controller debug serial port function according to step S220, the method further includes:
monitoring whether a UID switch key is pressed;
if the UID switch key is not pressed, the external serial port of the server keeps the debugging serial port function of the baseboard management controller;
if the UID switch key is pressed, starting timing according to a second preset time, and detecting the pressing number of the pressed UID switch key in the second preset time;
judging whether the pressed sub-value exceeds a second preset sub-value,
if the pressed sub-value exceeds the second preset sub-value, the external serial port function of the control server is changed into a default system serial port function,
and if the number of times of pressing does not exceed the second preset number of times, resetting the number of times of pressing, and keeping the debugging serial port function of the baseboard management controller of the external serial port of the server unchanged.
Specifically, after the baseboard management controller completes debugging, in order that the baseboard management controller works normally and is not mishandled by a person, the debugging function can be turned off, and by pressing a UID switch key, the programmable logic chip starts an internal timer and a counter for counting according to a second preset time and a second preset time value, for example, the second preset time may be 3 seconds, the second preset time value may be 5 times, the second preset time and the second preset time value may be freely changed, and the method is not limited herein; in the 3 second timing stage, if the UID switch key is detected to be continuously pressed and the times exceed 5 times, changing the external serial port function of the server into a default system serial port function, and closing the debugging function at the moment; if the timing exceeds 3 seconds and the number of key presses is less than 5, the count is cleared, and the external serial port of the server still keeps the debugging serial port function of the baseboard management controller unchanged.
In a possible implementation manner, the step of maintaining the default system serial port function by the external serial port of the server specifically includes: the serial port of the system is gated and output to a buffer through a switch in the programmable logic chip; the step of changing the external serial port function of the control server to the debugging serial port of the baseboard management controller specifically comprises the following steps: and gating and outputting the debugging serial port of the baseboard management controller to the buffer through an internal switch of the programmable logic chip.
Specifically, the Buffer is used for connecting an external serial port of the server and a programmable logic chip and ensuring correct conversion and reliable transmission of signals, and the Buffer can adopt an RS-232Buffer, wherein the RS-232Buffer (RS-232 Buffer) is a circuit or chip for enhancing and managing the signal level of RS-232 serial port communication, and RS-232 is a common serial port communication standard for data transmission between a computer and external equipment.
Further, the system serial port is gated and output to the buffer through the internal switch of the programmable logic chip, or the baseboard management controller debugging serial port is gated and output to the buffer through the internal switch of the programmable logic chip, which means that the signal path of the system serial port or the baseboard management controller debugging serial port directly bypasses other processing or forwarding circuits, is gated and directly output to the RS-232buffer, under the configuration, the data of the system serial port or the baseboard management controller debugging serial port will not be directly transmitted to the RS-232buffer through any other processing, the RS-232buffer converts the logic level of the system serial port or the baseboard management controller debugging serial port into the level conforming to the RS-232 standard, so that the external serial port of the server communicates with other RS-232 compatible devices, the effect of switching the external serial port of the server between the system serial port function and the debugging serial port function of the baseboard management controller can be realized through the programmable logic chip, the purpose of the connection configuration is to facilitate the debugging and the fault elimination of the baseboard management controller, the baseboard management controller can be monitored and debugged in real time by directly outputting the debugging serial port signal of the baseboard management controller to the RS-232buffer, the debugging information and the output of the baseboard management controller can be checked on the external terminal equipment through the serial port line connected with the RS-232buffer, the debugging log and the error information of the baseboard management controller can be quickly obtained by directly outputting to the RS-232buffer so as to perform the fault elimination and analysis, in addition, the debugging serial port of the baseboard management controller can be gated and output to the RS-232buffer through the internal switch of the programmable logic chip, the default serial port function of the system is still available and will not affect the end user.
Referring to fig. 4, the present disclosure further provides a baseboard management controller 100, where the baseboard management controller 100 is provided with a system serial port UART1 and a baseboard management controller debugging serial port UART5, and the system serial port UART1 and the baseboard management controller debugging serial port UART5 are both used for being connected with a programmable logic chip 200, and the programmable logic chip 200 is used for executing the operations executed in the above debugging method.
Referring to fig. 4, the present disclosure also provides a server 600, comprising: the device comprises a baseboard management controller 100, a programmable logic chip 200, a buffer 300, a UID switch button 500 and an external serial port 400, wherein at least one program code is stored in the programmable logic chip 200, the at least one program code is loaded and executed by the programmable logic chip 200 to execute the operation executed in the debugging method, the baseboard management controller 100 is provided with a system serial port UART1 and a baseboard management controller debugging serial port UART5, the system serial port UART1 and the baseboard management controller debugging serial port UART5 are connected with the programmable logic chip 200, the external serial port 400 is connected with the buffer 300, and the buffer 300 and the UID switch button 500 are respectively connected with the programmable logic chip 200.
The present application is not described in detail in the present application, and is well known to those skilled in the art.
It will be evident to those skilled in the art that the application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.

Claims (10)

1. A method of debugging, the method being applied to a programmable logic chip in a server, the method comprising:
monitor whether the UID switch key is pressed,
if the UID switch key is not pressed, the external serial port of the server keeps the default system serial port function;
if the UID switch key is pressed, starting timing according to a first preset time, and detecting the pressing number of the pressed UID switch key in the first preset time;
judging whether the pressed sub-value exceeds a first preset sub-value,
if the number of times of pressing exceeds the first preset number of times, the external serial port function of the control server is changed into the debugging serial port function of the baseboard management controller,
and if the number of times of pressing value does not exceed the first preset number of times, resetting the number of times of pressing value, and keeping the default system serial port function of the external serial port of the server unchanged.
2. The debugging method according to claim 1, wherein if the number of times of pressing exceeds a first preset number of times, the external serial port function of the control server is changed to the debug serial port function of the baseboard management controller, further comprising:
monitoring whether a UID switch key is pressed;
if the UID switch key is not pressed, the external serial port of the server keeps the debugging serial port function of the baseboard management controller;
if the UID switch key is pressed, starting timing according to a second preset time, and detecting the pressing number of the pressed UID switch key in the second preset time;
judging whether the pressed sub-value exceeds a second preset sub-value,
if the pressed sub-value exceeds the second preset sub-value, the external serial port function of the control server is changed into a default system serial port function,
and if the number of times of pressing does not exceed the second preset number of times, resetting the number of times of pressing, and keeping the debugging serial port function of the baseboard management controller of the external serial port of the server unchanged.
3. The debugging method of claim 1, wherein detecting the number of presses of the UID switch key within a first predetermined time further comprises:
after starting timing according to a first preset time, judging whether the first preset time is overtime;
if not, monitoring whether the UID switch key is continuously pressed,
if the UID switch key is continuously pressed, detecting the pressing number of the UID switch key pressed in a first preset time,
if the UID switch key is not continuously pressed, the external serial port of the server keeps the default system serial port function;
if the time is overtime, the timing is cleared, and the external serial port of the server maintains the default serial port function of the system.
4. A method of commissioning according to any one of claims 3, further comprising:
if the UID switch key is not pressed, the UID switch key indicator lamp is kept in an initial state;
if the UID switch key is pressed, the UID switch key indicator lamp enters a change state;
after starting timing according to a first preset time, judging whether the first preset time is overtime;
if not, monitoring whether the UID switch key is continuously pressed,
if the UID switch key is continuously pressed, detecting the pressing number of the UID switch key pressed in a first preset time,
if the UID switch key is not continuously pressed, the UID switch key indicator lamp keeps a changed state;
and if the time is overtime, the timing is cleared, and the UID switch key indicator lamp is switched to an original state.
5. The debugging method of claim 4, wherein the initial state of the UID switch key indicator is a non-lighted state and the altered state of the UID switch key indicator is a lighted state.
6. The debugging method according to claim 1, wherein the step of maintaining the default system serial port function by the external serial port of the server specifically comprises: and the serial port of the system is gated and output into the buffer through the switch in the programmable logic chip.
7. The debugging method according to claim 1, wherein the step of changing the external serial port function of the control server to the serial port debugging by the baseboard management controller comprises: and gating and outputting the debugging serial port of the baseboard management controller to the buffer through an internal switch of the programmable logic chip.
8. A baseboard management controller, characterized in that the baseboard management controller is provided with a system serial port and a baseboard management controller debugging serial port, both the system serial port and the baseboard management controller debugging serial port are used for being connected with a programmable logic chip, and the programmable logic chip is used for realizing a debugging method according to any one of claims 1-7.
9. A server comprising a programmable logic chip having at least one program code stored therein, the at least one program code being loaded and executed by the programmable logic chip to implement a method of debugging as claimed in any one of claims 1-7.
10. The server of claim 9, further comprising a baseboard management controller, a buffer, a UID switch key, and an external serial port, wherein the baseboard management controller is provided with a system serial port and a baseboard management controller debug serial port, the system serial port and the baseboard management controller debug serial port are both connected with the programmable logic chip, the external serial port is connected with the buffer, and the buffer and the UID switch key are respectively connected with the programmable logic chip.
CN202310731974.6A 2023-06-19 2023-06-19 Debugging method, baseboard management controller and server Pending CN116719734A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310731974.6A CN116719734A (en) 2023-06-19 2023-06-19 Debugging method, baseboard management controller and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310731974.6A CN116719734A (en) 2023-06-19 2023-06-19 Debugging method, baseboard management controller and server

Publications (1)

Publication Number Publication Date
CN116719734A true CN116719734A (en) 2023-09-08

Family

ID=87865821

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310731974.6A Pending CN116719734A (en) 2023-06-19 2023-06-19 Debugging method, baseboard management controller and server

Country Status (1)

Country Link
CN (1) CN116719734A (en)

Similar Documents

Publication Publication Date Title
US20150127814A1 (en) Monitoring Server Method
CN111339010B (en) PCIE (peripheral component interface express) equipment hot plug identification method, system and related components
CN107070731B (en) Master-slave arbitration method and system
CN101286129A (en) Embedded systems debugging
US10860404B2 (en) Server and debugging method therefor
CN104502832A (en) Automatic tester and testing method based on hand-held POS machine mainboard
CN106407059A (en) Server node testing system and method
CN106803792A (en) Data transfer equipment, electric equipment and electric equipment fault diagnosis system
CN102768561B (en) Design method for twinbridge piece mainboard redundancy
CN112100016A (en) SOC diagnosis method and system under system abnormal scene
CN114003445A (en) I2C monitoring function test method, system, terminal and storage medium of BMC
CN106557408A (en) A kind of computer fault alarm system and method
CN113609051A (en) Hot plug method, system, device and computer storage medium for expansion board
CN112526898B (en) Serial port line plug detection circuit and embedded equipment
CN116719734A (en) Debugging method, baseboard management controller and server
CN116775376A (en) Method, system, device and storage medium for processing NVMe disk link failure
CN116627729A (en) External connection cable, external connection cable in-place detection device, startup self-checking method and system
CN116137603A (en) Link fault detection method and device, storage medium and electronic device
CN100539716C (en) The method that a kind of main and standby boards is monitored and switched automatically
US20030023843A1 (en) Remote processor intelligent reset apparatus and method
CN115098342A (en) System log collection method, system, terminal and storage medium
CN113434354B (en) Bus exception handling method and device, electronic equipment and readable storage medium
CN110955565A (en) Server and error detection method thereof
CN110247833B (en) Communication control method, device, sub-equipment and communication system
CN117609145B (en) Serial port protection circuit, switch, server, protection method and related components

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination