[go: up one dir, main page]

TWI734357B - Mainboard and assisting test method of thereof - Google Patents

Mainboard and assisting test method of thereof Download PDF

Info

Publication number
TWI734357B
TWI734357B TW109102171A TW109102171A TWI734357B TW I734357 B TWI734357 B TW I734357B TW 109102171 A TW109102171 A TW 109102171A TW 109102171 A TW109102171 A TW 109102171A TW I734357 B TWI734357 B TW I734357B
Authority
TW
Taiwan
Prior art keywords
motherboard
programmable logic
command
complex programmable
power conversion
Prior art date
Application number
TW109102171A
Other languages
Chinese (zh)
Other versions
TW202129497A (en
Inventor
劉健飛
Original Assignee
英業達股份有限公司
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 英業達股份有限公司 filed Critical 英業達股份有限公司
Priority to TW109102171A priority Critical patent/TWI734357B/en
Application granted granted Critical
Publication of TWI734357B publication Critical patent/TWI734357B/en
Publication of TW202129497A publication Critical patent/TW202129497A/en

Links

Images

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

An assisting test method of a mainboard, comprises powering the mainboard, sending a first command configured to shut down a predetermined power conversion unit to a complex programmable logic device (CPLD) by a baseboard management controller (BMC), and shutting down the predetermined power conversion unit by the BMC based on the first command, so that the mainboard enters a first testing condition of simulating the mainboard with a timeout power-on condition after the mainboard is booted. Or, booting the mainboard, sending a second command configured to shut down the predetermined power conversion unit to the CPLD by the BMC, and shutting down the predetermined power conversion unit by the BMC based on the second command, so that the mainboard enters a second testing condition of simulating the mainboard with an abnormal discharging condition.

Description

主機板及輔助測試主機板的方法 Motherboard and method for auxiliary testing of the motherboard

本發明係關於一種主機板測試的技術領域,特別係關於一種主機板及輔助測試主機板的方法。 The present invention relates to the technical field of main board testing, and particularly relates to a main board and a method for auxiliary testing of the main board.

在複雜可程式邏輯單元進行主機板的通電超時的第一測試狀態或主機板異常放電的第二測試狀態的檢測時,按照通常的測試方法是使用導線將電源轉換單元的輸出端焊接到負載機,通過負載機觸發電源轉換單元的過電流保護來觸發電源轉換單元的異常狀態。若電源轉換單元的過電流點本身就很大(>10A),那麼使用前面所說導線焊接的測試方法需要焊接很粗的導線以承受大電流(>10A),導致測試上的不便。然而,即使是小電流電源的測試也需要每測一次就焊一次導線,降低了測試效率。 When the complex programmable logic unit performs the detection of the first test state of the mainboard power-on timeout or the second test state of the mainboard abnormal discharge, the usual test method is to use a wire to solder the output terminal of the power conversion unit to the load The load machine triggers the overcurrent protection of the power conversion unit to trigger the abnormal state of the power conversion unit. If the overcurrent point of the power conversion unit itself is very large (>10A), then using the aforementioned wire welding test method requires welding a very thick wire to withstand the large current (>10A), which will cause inconvenience in testing. However, even the test of a small current power supply needs to weld the wire once every test, which reduces the test efficiency.

因此,仍需要一個方法能夠解決在進行主機板通電超時或主機板異常放電的輔助測試時,需要承受主機板焊接導線的風險的問題。 Therefore, there is still a need for a method to solve the problem of the need to bear the risk of welding wires on the motherboard when performing auxiliary tests of the motherboard power-on overtime or the motherboard abnormal discharge.

鑒於上述,本發明提供一種以滿足上述需求的主機板及輔助測試主機板的方法,用於解決現有技術中進行主機板上通電時或主機板異常放電的輔助測試時需要承受主機板焊接導線的風險的問題。 In view of the above, the present invention provides a motherboard and a method for auxiliary testing of the motherboard to meet the above requirements, which are used to solve the problem of the motherboard welding wire when the motherboard is powered on or the motherboard is abnormally discharged in the auxiliary test in the prior art. The question of risk.

依據本發明一實施例的輔助測試主機板的方法,適用於一主機板,其中該主機板包含一基板管理控制單元、一複雜可程式邏輯單元及至少一電源轉換單元,該方法包含:通電該主機板;以該基板管理控制單元向該複雜可程式邏輯單元發送用於關閉預設的該電源轉換單元的一第一指令;以及以該複雜可程式邏輯單元基於該第一指令關閉預設的該電源轉 換單元,使該主機板在啟動後進入模擬該主機板通電超時的一第一測試狀態,或啟動該主機板;以該基板管理控制單元向該複雜可程式邏輯單元發送用於關閉預設的該電源轉換單元的一第二指令;以及以該複雜可程式邏輯單元基於該第二指令關閉預設的該電源轉換單元,使該主機板進入模擬該主機板異常放電的一第二測試狀態。 The method for auxiliary testing of a motherboard according to an embodiment of the present invention is applicable to a motherboard, wherein the motherboard includes a baseboard management control unit, a complex programmable logic unit and at least one power conversion unit, and the method includes: powering on the Motherboard; using the baseboard management control unit to send a first command for turning off the preset power conversion unit to the complex programmable logic unit; and using the complex programmable logic unit to turn off the preset based on the first command The power switch Replace the unit to make the motherboard enter a first test state that simulates the power-on timeout of the motherboard after startup, or activate the motherboard; use the baseboard management control unit to send to the complex programmable logic unit to turn off the preset A second command of the power conversion unit; and using the complex programmable logic unit to turn off the preset power conversion unit based on the second command, so that the motherboard enters a second test state that simulates abnormal discharge of the motherboard .

於本發明的一實施例中,該基板管理控制單元經由一智能平台管理介面(Intelligent Platform Management Interface,IPMI)向該複雜可程式邏輯單元發送該第一指令或該第二指令。 In an embodiment of the present invention, the baseboard management control unit sends the first command or the second command to the complex programmable logic unit via an Intelligent Platform Management Interface (IPMI).

於本發明的一實施例中,該複雜可程式邏輯單元經由一I2C接口接收該第一指令或該第二指令。 In an embodiment of the present invention, the complex programmable logic unit receives the first command or the second command via an I2C interface.

於本發明的一實施例中,其中該複雜可程式邏輯單元包含一暫存器,該基板管理控制單元向該暫存器發送該第一指令或該第二指令,以使該暫存器向該電源轉換單元發送該第一指令或該第二指令。 In an embodiment of the present invention, the complex programmable logic unit includes a register, and the baseboard management control unit sends the first command or the second command to the register, so that the register sends the register to the register. The power conversion unit sends the first instruction or the second instruction.

於本發明的一實施例中,該基板管理控制單元讀取該複雜可程式邏輯單元的一日誌,以判斷故障的該電源轉換單元是否是基於該第一指令或該第二指令關閉預設的該電源轉換單元。 In an embodiment of the present invention, the baseboard management control unit reads a log of the complex programmable logic unit to determine whether the failed power conversion unit is shut down based on the first command or the second command. The power conversion unit.

依據本發明一實施例的主機板,包含:一基板管理控制單元;一複雜可程式邏輯單元;以及一電源轉換單元,其中該基板管理控制單元用以依據接收的一用戶指令執行該主機板通電超時的一異常工作狀態模擬,或該主機板在開機情況下的一異常放電模擬;該基板管理控制單元用以在該主機板通電後,向該複雜可程式邏輯單元發送用於關閉預設的該電源轉換單元的一第一指令;該複雜可程式邏輯單元用於基於該第一指令關閉預設的該電源轉換單元,使該主機板啟動後進入模擬該主機板通電超時的一第一測試狀態;該基板管理控制單元用以在該主機板通電,且該主機板啟動後,向該複雜可程式邏輯單元發送用於關閉預設的該電源轉換單元的一第二指令;該複雜可程式邏輯單元用於基於該第二指令關閉預設的該電源 轉換單元,使該主機板進入模擬該主機板異常放電的一第二測試狀態。 A motherboard according to an embodiment of the present invention includes: a baseboard management control unit; a complex programmable logic unit; and a power conversion unit, wherein the baseboard management control unit is used to execute the motherboard power-on according to a received user instruction A simulation of an abnormal working state over time, or a simulation of an abnormal discharge of the motherboard when the motherboard is turned on; the baseboard management control unit is used to send the complex programmable logic unit to the complex programmable logic unit for turning off the preset after the motherboard is powered on A first command of the power conversion unit; the complex programmable logic unit is used to turn off the preset power conversion unit based on the first command, so that the motherboard enters a first command that simulates the power-on timeout of the motherboard after booting A test state; the baseboard management control unit is used to send a second command to the complex programmable logic unit for turning off the preset power conversion unit after the motherboard is powered on and the motherboard is activated; the complex The programmable logic unit is used to turn off the preset power supply based on the second command The conversion unit makes the main board enter a second test state that simulates the abnormal discharge of the main board.

於本發明的一實施例中,該基板管理控制單元用以經由一智能平台管理介面(Intelligent Platform Management Interface,IPMI)向該複雜可程式邏輯單元發送該第一指令或該第二指令。 In an embodiment of the present invention, the baseboard management control unit is used to send the first command or the second command to the complex programmable logic unit via an Intelligent Platform Management Interface (IPMI).

於本發明的一實施例中,該複雜可程式邏輯單元經由一I2C接口接收該第一指令或該第二指令。 In an embodiment of the present invention, the complex programmable logic unit receives the first command or the second command via an I2C interface.

於本發明的一實施例中,其中該複雜可程式邏輯單元包含一暫存器,該基板管理控制單元向該暫存器發送該第一指令或該第二指令,以使該暫存器向該電源轉換單元發送該第一指令或該第二指令。 In an embodiment of the present invention, the complex programmable logic unit includes a register, and the baseboard management control unit sends the first command or the second command to the register, so that the register sends the register to the register. The power conversion unit sends the first instruction or the second instruction.

於本發明的一實施例中,該基板管理控制單元讀取該複雜可程式邏輯單元的一日誌,以判斷故障的該電源轉換單元是否是基於該第一指令或該第二指令關閉預設的該電源轉換單元。 In an embodiment of the present invention, the baseboard management control unit reads a log of the complex programmable logic unit to determine whether the failed power conversion unit is shut down based on the first command or the second command. The power conversion unit.

綜上所述,本發明的一種主機板及輔助測試主機板的方法,具有以下有益效果:避免了在進行主機板通電超時或主機板異常放電的輔助測試時焊接導線的風險,亦避免了測試時對主機板的破壞,節省了測試資源,並提升了測試效率及可靠性。 In summary, the main board and the method for auxiliary testing of the main board of the present invention have the following beneficial effects: it avoids the risk of welding wires during auxiliary tests of main board power-on overtime or abnormal main board discharge, and also avoids The damage to the motherboard during testing saves testing resources and improves testing efficiency and reliability.

以上之關於本揭露內容之說明及以下之實施方式之說明係用以示範與解釋本發明之精神與原理,並且提供本發明之專利申請範圍更進一步之解釋。 The above description of the disclosure and the following description of the embodiments are used to demonstrate and explain the spirit and principle of the present invention, and to provide a further explanation of the scope of the patent application of the present invention.

21:基板管理控制單元 21: baseboard management control unit

22:複雜可程式邏輯單元 22: Complex programmable logic unit

23:電源轉換單元 23: power conversion unit

圖1係依據本發明一實施例所繪示的輔助測試主機板的方法的流程圖。 FIG. 1 is a flowchart of a method for assisting in testing a motherboard according to an embodiment of the present invention.

圖2係依據本發明一實施例所繪示的主機板的方塊圖。 FIG. 2 is a block diagram of a motherboard according to an embodiment of the invention.

以下在實施方式中詳細敘述本發明之詳細特徵以及優點,其 內容足以使任何熟習相關技藝者了解本發明之技術內容並據以實施,且根據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。以下之實施例係進一步詳細說明本發明之觀點,但非以任何觀點限制本發明之範疇。 The detailed features and advantages of the present invention are described in detail in the following embodiments. The content is sufficient to enable anyone familiar with the relevant art to understand the technical content of the present invention and implement it accordingly. According to the content disclosed in this specification, the scope of patent application and the drawings, anyone familiar with the relevant art can easily understand the related purpose of the present invention and advantage. The following examples further illustrate the viewpoints of the present invention in detail, but do not limit the scope of the present invention by any viewpoint.

需要說明的是,以下實施例中所提供的圖示僅以示意方式說明本發明的基本構想,故圖式中僅顯示與本發明中有關的組件而非按照實際實施時的元件數目、形狀及尺寸繪製,其實際實施時各元件的型態、數量及比例可為一種隨意的變更,且其元件設置型態也可能更為複雜。 It should be noted that the illustrations provided in the following embodiments only illustrate the basic idea of the present invention in a schematic manner, so the figures only show the components related to the present invention instead of the number, shape and number of elements in the actual implementation. For the size drawing, the type, quantity, and ratio of each component can be changed at will during actual implementation, and the component setting type may also be more complicated.

本發明的主機板及輔助測試主機板的方法,避免了主機板通電超時或主機板異常放電的輔助測試時焊接導線的風險,避免了測試時對主機板的破壞,節省了測試資源,並提升了測試效率及可靠性。 The main board and the method for auxiliary testing the main board of the present invention avoid the risk of welding wires during auxiliary test of main board power-on overtime or abnormal discharge of main board, avoid damage to main board during test, save test resources, and Improve test efficiency and reliability.

如圖1所示,於一實施例中,本發明的輔助測試主機板的方法,主機板包含基板管理控制單元、複雜可程式邏輯單元和至少一電源轉換單元。基板管理控制單元與複雜可程式邏輯單元連接,複雜可程式邏輯單元與至少一電源轉換單元連接。輔助測試主機板的方法包含以下步驟: As shown in FIG. 1, in one embodiment, in the method for auxiliary testing of a motherboard of the present invention, the motherboard includes a baseboard management control unit, a complex programmable logic unit and at least one power conversion unit. The substrate management control unit is connected with the complex programmable logic unit, and the complex programmable logic unit is connected with at least one power conversion unit. The method to assist in testing the motherboard includes the following steps:

步驟S11:通電主機板。 Step S11: Power on the main board.

具體而言,所述通電主機板即為將主機板以交流電導通。 Specifically, the power-on main board is to connect the main board with alternating current.

步驟S12:依據接收的使用者指令進行主機板通電超時的異常工作狀態模擬,或者主機板在開機情況下的異常放電模擬。 Step S12: According to the received user instruction, the abnormal working state simulation of the mainboard power-on timeout, or the abnormal discharge simulation of the mainboard when the mainboard is turned on is performed.

具體而言,所述主機板的基板管理控制單元依據接收的使用者指令進行主機板通電超時的異常工作狀態模擬,或者主機板在開機情況下的異常放電模擬。 Specifically, the baseboard management and control unit of the main board performs an abnormal working state simulation of the main board power-on timeout or an abnormal discharge simulation when the main board is turned on according to the received user instruction.

當依據接收的使用者指令進行主機板通電超時的異常工作狀態模擬時,所述的基板管理控制單元向複雜可程式邏輯單元發送用於關閉預設的電源轉換單元的第一指令;所述複雜可程式邏輯單元基於所述的第一指令關閉所述的預設的電源轉換單元,使所述的主機板在啟動後進入 模擬主機板通電超時的第一測試狀態(步驟S141);包含以下步驟: When the abnormal working state simulation of the mainboard power-on timeout is performed according to the received user instruction, the baseboard management control unit sends a first instruction for turning off the preset power conversion unit to the complex programmable logic unit; The complex programmable logic unit turns off the default power conversion unit based on the first instruction, so that the motherboard enters after booting The first test state of simulating the power-on timeout of the motherboard (step S141); including the following steps:

S131:以基板管理控制單元向複雜可程式邏輯單元發送用於關閉預設的電源轉換單元的第一指令。 S131: Use the baseboard management control unit to send a first instruction for turning off the preset power conversion unit to the complex programmable logic unit.

具體而言,基板管理控制單元為BMC(Baseboard Management Controller)。所述基板管理控制單元向複雜可程式邏輯單元發送用於關閉預設的電源轉換單元的第一指令。所述複雜可程式邏輯單元為CPLD(Complex Programmable Logic Device)。具體而言,所述基板管理控制單元通過智能平台管理介面(Intelligent Platform Management Interface,IPMI)向複雜可程式邏輯單元發送所述的第一指令。所述的IPMI平台管理介面為IPMItool,IPMItool是一種可用在Linux系統下的指令的IPMI平台管理介面,其支援IPMI1.5版本(最新的版本為IPMI 2.0),藉由它可以實現取得感測器的資訊、顯示系統日誌內容、網路遠端開關機等功能。具體而言,所述複雜可程式邏輯單元經由I2C介面接收所述基板管理控制單元發送的第一指令。所述具有I2C介面的設備經由I2C匯流排進行通訊。 Specifically, the baseboard management control unit is a BMC (Baseboard Management Controller). The substrate management control unit sends a first instruction for turning off the preset power conversion unit to the complex programmable logic unit. The complex programmable logic unit is CPLD (Complex Programmable Logic Device). Specifically, the baseboard management control unit sends the first instruction to the complex programmable logic unit through an intelligent platform management interface (IPMI). The IPMI platform management interface is IPMItool. IPMItool is an IPMI platform management interface for commands that can be used in Linux systems. It supports IPMI 1.5 version (the latest version is IPMI 2.0), and it can be used to obtain sensors. Information, display system log content, network remote switch machine and other functions. Specifically, the complex programmable logic unit receives the first instruction sent by the baseboard management control unit via an I2C interface. The device with the I2C interface communicates via the I2C bus.

步驟S141:以所述複雜可程式邏輯單元基於所述第一指令關閉所述預設的電源轉換單元,使所述主機板開啟後進入模擬主機板通電超時的第一測試狀態。 Step S141: using the complex programmable logic unit to turn off the preset power conversion unit based on the first instruction, so that the motherboard enters a first test state that simulates a power-on timeout of the motherboard after the motherboard is turned on.

具體地,所述複雜可程式邏輯單元包含暫存器,所述基板管理控制單元向所述暫存器發送所述第一指令,以使所述暫存器向所述電源轉換單元發送所述第一指令。所述複雜可程式邏輯單元基於所述第一指令關閉所述預設的電源轉換單元,使主機板啟動後進入模擬主機板通電超時的第一測試狀態。具體地,所述複雜可程式邏輯單元基於所述第一指令使所述預設的電源轉換單元使能關閉訊號。接著,使所述主機板啟動,如此便進入了模擬主機板通電超時的第一測試狀態。據此避免了在進行主機板通電超時測試時需要的焊接導線的風險,亦避免了測試時對主機板的破壞, 節省了測試資源,並提升了測試效率及可靠性。 Specifically, the complex programmable logic unit includes a register, and the baseboard management control unit sends the first instruction to the register so that the register sends the register to the power conversion unit The first instruction. The complex programmable logic unit turns off the preset power conversion unit based on the first instruction, so that the motherboard enters a first test state that simulates the power-on timeout of the motherboard after startup. Specifically, the complex programmable logic unit enables the preset power conversion unit to enable a shutdown signal based on the first instruction. Then, the host board is started, and thus enters the first test state that simulates the power-on timeout of the host board. Accordingly, the risk of soldering wires required during the overtime test of the motherboard power on is avoided, and the damage to the motherboard during the test is also avoided. It saves test resources and improves test efficiency and reliability.

具體地,所述基板管理控制單元藉由讀取所述複雜可程式邏輯單元的日誌以判斷故障的電源轉換單元是否是基於所述第一指令關閉所述預設的電源轉換單元。 Specifically, the substrate management control unit reads the log of the complex programmable logic unit to determine whether the failed power conversion unit shuts down the preset power conversion unit based on the first instruction.

當依據接收的使用者指令進行主機板開機情況下的異常放電模擬時,啟動所述主機板;所述基板管理控制單元向複雜可程式邏輯單元發送用於關閉預設的電源轉換單元的第二指令;所述複雜可程式邏輯單元基於所述第二指令關閉所述預設的電源轉換單元,使所述主機板進入模擬主機板異常放電的第二測試狀態。包含以下步驟: When performing abnormal discharge simulation when the motherboard is turned on according to the received user instruction, the motherboard is activated; the baseboard management control unit sends to the complex programmable logic unit a second for turning off the preset power conversion unit Instruction; the complex programmable logic unit turns off the preset power conversion unit based on the second instruction, so that the motherboard enters a second test state that simulates abnormal discharge of the motherboard. It includes the following steps:

步驟S132:啟動主機板。 Step S132: Start the main board.

具體地,即為所述主機板在通電的情況下開機。 Specifically, the main board is turned on when the power is on.

步驟S142:以所述基板管理控制單元向複雜可程式邏輯單元發送用於關閉預設的電源轉換單元的第二指令。 Step S142: Use the baseboard management control unit to send a second instruction for turning off the preset power conversion unit to the complex programmable logic unit.

具體而言,基板管理控制單元為BMC(Baseboard Management Controller)。所述基板管理控制單元向複雜可程式邏輯單元發送用於關閉預設的電源轉換單元的第二指令。所述複雜可程式邏輯單元為CPLD(Complex Programmable Logic Device)。具體而言,所述基板管理控制單元通過智能平台管理介面(Intelligent Platform Management Interface,IPMI)向複雜可程式邏輯單元發送所述的第一指令。所述的IPMI平台管理介面為IPMItool,IPMItool是一種可用在Linux系統下的指令的IPMI平台管理介面,其支援IPMI1.5版本(最新的版本為IPMI 2.0),藉由它可以實現取得感測器的資訊、顯示系統日誌內容、網路遠端開關機等功能。具體而言,所述複雜可程式邏輯單元經由I2C介面接收所述基板管理控制單元發送的第二指令。所述具有I2C介面的設備經由I2C匯流排進行通訊。 Specifically, the baseboard management control unit is a BMC (Baseboard Management Controller). The substrate management control unit sends a second instruction for turning off the preset power conversion unit to the complex programmable logic unit. The complex programmable logic unit is CPLD (Complex Programmable Logic Device). Specifically, the baseboard management control unit sends the first instruction to the complex programmable logic unit through an intelligent platform management interface (IPMI). The IPMI platform management interface is IPMItool. IPMItool is an IPMI platform management interface for commands that can be used in Linux systems. It supports IPMI 1.5 version (the latest version is IPMI 2.0), and it can be used to obtain sensors. Information, display system log content, network remote switch machine and other functions. Specifically, the complex programmable logic unit receives the second instruction sent by the baseboard management control unit via an I2C interface. The device with the I2C interface communicates via the I2C bus.

步驟S152:以所述複雜可程式邏輯單元基於所述的第二指 令關閉所述的預設的電源轉換單元,使所述的主機板進入模擬主機板異常放電的第二測試狀態。 Step S152: Use the complex programmable logic unit based on the second finger The predetermined power conversion unit is turned off, so that the motherboard enters the second test state that simulates the abnormal discharge of the motherboard.

具體地,所述複雜可程式邏輯單元包含暫存器,所述基板管理控制單元向所述暫存器發送所述第二指令,以使所述暫存器向所述電源轉換單元發送所述第二指令。所述複雜可程式邏輯單元基於所述第二指令關閉所述預設的電源轉換單元,使主機板啟動後進入模擬主機板異常放電的第二測試狀態。具體地,所述複雜可程式邏輯單元基於所述第二指令使所述預設的電源轉換單元使能關閉訊號。如此便進入了模擬主機板異常放電的第二測試狀態。據此避免了在進行主機板通電超時或主機板異常放電的輔助測試時焊接導線的風險,亦避免了測試時對主機板的破壞,節省了測試資源,並提升了測試效率及可靠性。 Specifically, the complex programmable logic unit includes a register, and the baseboard management control unit sends the second instruction to the register, so that the register sends the register to the power conversion unit The second instruction. The complex programmable logic unit turns off the preset power conversion unit based on the second instruction, so that the motherboard enters a second test state that simulates abnormal discharge of the motherboard after startup. Specifically, the complex programmable logic unit enables the predetermined power conversion unit to enable a shutdown signal based on the second instruction. In this way, the second test state that simulates the abnormal discharge of the motherboard is entered. Accordingly, the risk of welding wires during the auxiliary test of the mainboard power-on overtime or abnormal discharge of the mainboard is avoided, damage to the mainboard during the test is also avoided, test resources are saved, and the test efficiency and reliability are improved.

具體地,所述基板管理控制單元藉由讀取所述複雜可程式邏輯單元的日誌以判斷故障的電源轉換單元是否是基於所述第二指令關閉所述預設的電源轉換單元。即判定所述故障的電源轉換單元即為所述預設的電源轉換單元。 Specifically, the baseboard management control unit reads the log of the complex programmable logic unit to determine whether the failed power conversion unit shuts down the preset power conversion unit based on the second instruction. That is, the power conversion unit that determines the failure is the preset power conversion unit.

如圖2所示,於一實施例中,本發明的主機板包含基板管理控制單元21、複雜可程式邏輯單元22及至少一電源轉換單元23。 As shown in FIG. 2, in one embodiment, the motherboard of the present invention includes a baseboard management control unit 21, a complex programmable logic unit 22 and at least one power conversion unit 23.

基板管理控制單元21用於依據接收的使用者指令進行主機板通電超時的異常工作狀態模擬,或者主機板在開機情況下的異常放電模擬。 The baseboard management control unit 21 is used for simulating the abnormal working state of the mainboard power-on timeout or the abnormal discharge simulation when the mainboard is turned on according to the received user instruction.

當所述主機板用於依據接收的使用者指令進行主機板通電超時的異常工作狀態模擬時,基板管理控制單元21向複雜可程式邏輯單元22發送用於關閉預設的電源轉換單元23的第一指令;複雜可程式邏輯單元22基於第一指令關閉預設的電源轉換單元23,使主機板在啟動後進入模擬主機板通電超時的第一測試狀態。 When the motherboard is used to simulate the abnormal working state of the motherboard power-on timeout according to the received user instruction, the baseboard management control unit 21 sends to the complex programmable logic unit 22 a command for turning off the preset power conversion unit 23 The first instruction; the complex programmable logic unit 22 turns off the preset power conversion unit 23 based on the first instruction, so that the motherboard enters the first test state that simulates the power-on timeout of the motherboard after startup.

具體而言,基板管理控制單元21為BMC(Baseboard Management Controller)。基板管理控制單元21向複雜可程式邏輯單元22發送用於關閉預設的電源轉換單元23的第一指令。複雜可程式邏輯單元22為CPLD(Complex Programmable Logic Device)。具體而言,基板管理控制單元21通過智能平台管理介面(Intelligent Platform Management Interface,IPMI)向複雜可程式邏輯單元22發送所述的第一指令。所述的IPMI平台管理介面為IPMItool,IPMItool是一種可用在Linux系統下的指令的IPMI平台管理介面,其支援IPMI1.5版本(最新的版本為IPMI 2.0),藉由它可以實現取得感測器的資訊、顯示系統日誌內容、網路遠端開關機等功能。具體而言,複雜可程式邏輯單元22經由I2C介面接收基板管理控制單元21發送的第一指令。所述具有I2C介面的設備經由I2C匯流排進行通訊。 Specifically, the baseboard management control unit 21 is a BMC (Baseboard Management Controller). The baseboard management control unit 21 sends a first instruction for turning off the preset power conversion unit 23 to the complex programmable logic unit 22. The complex programmable logic unit 22 is a CPLD (Complex Programmable Logic Device). Specifically, the baseboard management control unit 21 sends the first command to the complex programmable logic unit 22 through an Intelligent Platform Management Interface (IPMI). The IPMI platform management interface is IPMItool. IPMItool is an IPMI platform management interface for commands that can be used in Linux systems. It supports IPMI 1.5 version (the latest version is IPMI 2.0), and it can be used to obtain sensors. Information, display system log content, network remote switch machine and other functions. Specifically, the complex programmable logic unit 22 receives the first command sent by the baseboard management control unit 21 via the I2C interface. The device with the I2C interface communicates via the I2C bus.

複雜可程式邏輯單元22包含暫存器,基板管理控制單元21向暫存器發送第一指令,以使所述暫存器向電源轉換單元23發送所述第一指令。複雜可程式邏輯單元22基於第一指令關閉預設的電源轉換單元23,使主機板啟動後進入模擬主機板通電超時的第一測試狀態。具體地,複雜可程式邏輯單元22基於所述第一指令使預設的電源轉換單元23使能關閉訊號。接著,使主機板啟動,如此便進入了模擬主機板通電超時的第一測試狀態。據此避免了進行主機板通電超時測試需要的焊接導線的風險,避免了測試對於主機板的破壞,節省了測試資源,提升了測試效率和可靠性。 The complex programmable logic unit 22 includes a register, and the baseboard management control unit 21 sends a first command to the register, so that the register sends the first command to the power conversion unit 23. The complex programmable logic unit 22 turns off the preset power conversion unit 23 based on the first command, so that the motherboard enters the first test state that simulates the power-on timeout of the motherboard after the motherboard is started. Specifically, the complex programmable logic unit 22 enables the preset power conversion unit 23 to enable the shutdown signal based on the first instruction. Then, the mainboard is started, so that it enters the first test state that simulates the power-on timeout of the mainboard. Accordingly, the risk of welding wires required for the overtime test of the mainboard power-on is avoided, the damage to the mainboard by the test is avoided, the test resources are saved, and the test efficiency and reliability are improved.

具體地,基板管理控制單元21藉由讀取複雜可程式邏輯單元22的日誌判斷故障的電源轉換單元23是否是基於所述第一指令關閉預設的電源轉換單元23。 Specifically, the baseboard management control unit 21 determines whether the failed power conversion unit 23 shuts down the preset power conversion unit 23 based on the first instruction by reading the log of the complex programmable logic unit 22.

具體地,基板管理控制單元21用於在主機板通電,且主機板啟動後,向複雜可程式邏輯單元22發送用於關閉預設的電源轉換單元的第二指令;複雜可程式邏輯單元22用於基於所述第二指令關閉預設的電源轉換單元23,使主機板進入模擬主機板異常放電的第二測試狀態。 Specifically, the baseboard management control unit 21 is used to send a second command for turning off the preset power conversion unit to the complex programmable logic unit 22 after the motherboard is powered on and the motherboard is started; the complex programmable logic unit 22 uses The preset power conversion unit 23 is turned off based on the second instruction, so that the motherboard enters the second test state simulating abnormal discharge of the motherboard.

具體而言,基板管理控制單元21用於在主機板通電後,且主機板在通電的情況下啟動。具體而言,基板管理控制單元21為BMC(Baseboard Management Controller)。基板管理控制單元21向複雜可程式邏輯單元22發送用於關閉預設的電源轉換單元23的第二指令。複雜可程式邏輯單元22為CPLD(Complex Programmable Logic Device)。具體而言,基板管理控制單元21通過智能平台管理介面(Intelligent Platform Management Interface,IPMI)向複雜可程式邏輯單元22發送所述的第二指令。所述的IPMI平台管理介面為IPMItool,IPMItool是一種可用在Linux系統下的指令的IPMI平台管理介面,其支援IPMI1.5版本(最新的版本為IPMI 2.0),藉由它可以實現取得感測器的資訊、顯示系統日誌內容、網路遠端開關機等功能。具體而言,複雜可程式邏輯單元22經由I2C介面接收基板管理控制單元21發送的第二指令。所述具有I2C介面的設備經由I2C匯流排進行通訊。 Specifically, the baseboard management control unit 21 is used to start after the main board is powered on, and the main board is powered on. Specifically, the baseboard management control unit 21 is a BMC (Baseboard Management Controller). The baseboard management control unit 21 sends a second instruction for turning off the preset power conversion unit 23 to the complex programmable logic unit 22. The complex programmable logic unit 22 is a CPLD (Complex Programmable Logic Device). Specifically, the baseboard management control unit 21 sends the second instruction to the complex programmable logic unit 22 through an intelligent platform management interface (IPMI). The IPMI platform management interface is IPMItool. IPMItool is an IPMI platform management interface for commands that can be used in Linux systems. It supports IPMI 1.5 version (the latest version is IPMI 2.0), and it can be used to obtain sensors. Information, display system log content, network remote switch machine and other functions. Specifically, the complex programmable logic unit 22 receives the second command sent by the baseboard management control unit 21 via the I2C interface. The device with the I2C interface communicates via the I2C bus.

具體地,複雜可程式邏輯單元22包含暫存器,基板管理控制單元21向暫存器發送第二指令,以使所述暫存器向電源轉換單元23發送所述第二指令。複雜可程式邏輯單元22基於第二指令關閉預設的電源轉換單元23,使主機板啟動後進入模擬主機板異常放電時的第二測試狀態。具體地,複雜可程式邏輯單元22基於所述第二指令使預設的電源轉換單元23使能關閉訊號。如此便進入了模擬主機板異常放電的第二測試狀態。據此避免了進行主機板通電超時測試需要的焊接導線的風險,避免了測試對於主機板的破壞,節省了測試資源,提升了測試效率和可靠性。 Specifically, the complex programmable logic unit 22 includes a register, and the baseboard management control unit 21 sends a second instruction to the register, so that the register sends the second instruction to the power conversion unit 23. The complex programmable logic unit 22 turns off the preset power conversion unit 23 based on the second command, so that the motherboard enters the second test state that simulates the abnormal discharge of the motherboard after startup. Specifically, the complex programmable logic unit 22 enables the preset power conversion unit 23 to enable the shutdown signal based on the second instruction. In this way, the second test state that simulates the abnormal discharge of the motherboard is entered. Accordingly, the risk of welding wires required for the overtime test of the mainboard power-on is avoided, the damage to the mainboard by the test is avoided, the test resources are saved, and the test efficiency and reliability are improved.

具體地,基板管理控制單元21藉由讀取複雜可程式邏輯單元22的日誌判斷故障的電源轉換單元23是否是基於所述第二指令關閉預設的電源轉換單元23。即判定所述故障的電源轉換單元23即為所述預設的電源轉換單元23。 Specifically, the baseboard management control unit 21 determines whether the failed power conversion unit 23 turns off the preset power conversion unit 23 based on the second instruction by reading the log of the complex programmable logic unit 22. That is, the power conversion unit 23 that determines the failure is the preset power conversion unit 23.

需要說明的是,基板管理控制單元21、複雜可程式邏輯單 元22和至少一電源轉換單元23的結構和原理與上述輔助測試主機板的方法中的步驟一一對應,故在此不再贅述。 It should be noted that the baseboard management control unit 21, complex programmable logic unit The structure and principle of the element 22 and the at least one power conversion unit 23 correspond to the steps in the above-mentioned method for auxiliary testing of the motherboard, so they will not be repeated here.

綜上所述,依據本發明的一或多個實施例的輔助測試主機板的方法及主機板,避免了進行主機板通電超時測試需要的焊接導線的風險,避免了測試對於主機板的破壞,節省了測試資源,提升了測試效率和可靠性。依據本發明的一或多個實施例的輔助測試主機板的方法及主機板,避免了進行主機板異常放電測試需要的焊接導線的風險,避免了測試對於主機板的破壞,節省了測試資源,提升了測試效率和可靠性。據此,本發明有效地克服了現有技術中的種種缺點而具高度產業利用價值。 In summary, according to the method for auxiliary testing of the motherboard and the motherboard according to one or more embodiments of the present invention, the risk of welding wires required for the motherboard power-on overtime test is avoided, and the damage to the motherboard by the test is avoided. , It saves test resources and improves test efficiency and reliability. According to one or more embodiments of the present invention, the method for auxiliary testing of the motherboard and the motherboard avoids the risk of welding wires required for the abnormal discharge test of the motherboard, avoids the damage to the motherboard by the test, and saves test resources. Improve test efficiency and reliability. Accordingly, the present invention effectively overcomes various shortcomings in the prior art and has a high industrial value.

雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明。在不脫離本發明之精神和範圍內,所為之更動與潤飾,均屬本發明之專利保護範圍。關於本發明所界定之保護範圍請參考所附之申請專利範圍。 Although the present invention is disclosed in the foregoing embodiments, it is not intended to limit the present invention. All changes and modifications made without departing from the spirit and scope of the present invention fall within the scope of the patent protection of the present invention. For the scope of protection defined by the present invention, please refer to the attached scope of patent application.

Claims (10)

一種輔助測試主機板的方法,適用於一主機板,其中該主機板包含一基板管理控制單元、一複雜可程式邏輯單元及至少一電源轉換單元,該方法包含:通電該主機板;以該基板管理控制單元向該複雜可程式邏輯單元發送用於關閉預設的該電源轉換單元的一第一指令;以及以該複雜可程式邏輯單元基於該第一指令關閉預設的該電源轉換單元,使該主機板在啟動後進入模擬該主機板通電超時的一第一測試狀態;或啟動該主機板;以該基板管理控制單元向該複雜可程式邏輯單元發送用於關閉預設的該電源轉換單元的一第二指令;以及以該複雜可程式邏輯單元基於該第二指令關閉預設的該電源轉換單元,使該主機板進入模擬該主機板異常放電的一第二測試狀態。 A method for auxiliary testing of a motherboard is applicable to a motherboard, wherein the motherboard includes a substrate management control unit, a complex programmable logic unit and at least one power conversion unit. The method includes: powering on the motherboard; using the substrate The management control unit sends to the complex programmable logic unit a first command for turning off the preset power conversion unit; and uses the complex programmable logic unit to turn off the preset power conversion unit based on the first command, so that After starting, the motherboard enters a first test state that simulates the power-on timeout of the motherboard; or activates the motherboard; the baseboard management control unit sends the complex programmable logic unit to the complex programmable logic unit to turn off the preset power conversion A second command of the unit; and using the complex programmable logic unit to turn off the preset power conversion unit based on the second command, so that the motherboard enters a second test state that simulates abnormal discharge of the motherboard. 如請求項1所述的主機板輔助測試方法,其中以該基板管理控制單元向該複雜可程式邏輯單元發送用於關閉預設的該電源轉換單元的該第一指令或該第二指令包含:以該基 板管理控制單元經由一智能平台管理介面(Intelligent Platform Management Interface,IPMI)向該複雜可程式邏輯單元發送該第一指令或該第二指令。 The motherboard auxiliary test method according to claim 1, wherein the first instruction or the second instruction for turning off the preset power conversion unit by the baseboard management control unit to the complex programmable logic unit includes: Based on this The board management control unit sends the first instruction or the second instruction to the complex programmable logic unit via an Intelligent Platform Management Interface (IPMI). 如請求項1所述的主機板輔助測試方法,其中以該基板管理控制單元向該複雜可程式邏輯單元發送用於關閉預設的該電源轉換單元的該第一指令或該第二指令包含:以該複雜可程式邏輯單元經由一I2C接口接收該第一指令或該第二指令。 The motherboard auxiliary test method according to claim 1, wherein the first instruction or the second instruction for turning off the preset power conversion unit by the baseboard management control unit to the complex programmable logic unit includes: The complex programmable logic unit receives the first command or the second command via an I2C interface. 如請求項1所述的主機板輔助測試方法,其中該複雜可程式邏輯單元包含一暫存器,以該基板管理控制單元向該複雜可程式邏輯單元發送用於關閉預設的該電源轉換單元的該第一指令或該第二指令包含:以該基板管理控制單元向該暫存器發送該第一指令或該第二指令,以使該暫存器向該電源轉換單元發送該第一指令或該第二指令。 The auxiliary test method for a motherboard according to claim 1, wherein the complex programmable logic unit includes a register, and the baseboard management control unit sends the complex programmable logic unit to turn off the preset power conversion unit The first command or the second command includes: sending the first command or the second command to the register by the baseboard management control unit, so that the register sends the first command to the power conversion unit Or this second instruction. 如請求項1所述的主機板輔助測試方法,以該基板管理控制單元讀取該複雜可程式邏輯單元的一日誌,以判斷故障的該電源轉換單元是否是基於該第一指令或該第二指令關閉預設的該電源轉換單元。 According to the auxiliary test method of the motherboard of claim 1, a log of the complex programmable logic unit is read by the baseboard management control unit to determine whether the failed power conversion unit is based on the first command or the second command. Instruct to turn off the preset power conversion unit. 一種主機板,包含: 一基板管理控制單元;一複雜可程式邏輯單元;以及一電源轉換單元,其中該基板管理控制單元用以依據接收的一用戶指令執行該主機板通電超時的一異常工作狀態模擬,或該主機板在開機情況下的一異常放電模擬;該基板管理控制單元用以在該主機板通電後,向該複雜可程式邏輯單元發送用於關閉預設的該電源轉換單元的一第一指令;該複雜可程式邏輯單元用於基於該第一指令關閉預設的該電源轉換單元,使該主機板啟動後進入模擬該主機板通電超時的一第一測試狀態;該基板管理控制單元用以在該主機板通電,且該主機板啟動後,向該複雜可程式邏輯單元發送用於關閉預設的該電源轉換單元的一第二指令;該複雜可程式邏輯單元用於基於該第二指令關閉預設的該電源轉換單元,使該主機板進入模擬該主機板異常放電的一第二測試狀態。 A motherboard that includes: A baseboard management control unit; a complex programmable logic unit; and a power conversion unit, wherein the baseboard management control unit is used to execute an abnormal working state simulation of the motherboard power-on timeout according to a received user instruction, or the host An abnormal discharge simulation when the board is turned on; the baseboard management control unit is used to send a first command for turning off the preset power conversion unit to the complex programmable logic unit after the motherboard is powered on; the The complex programmable logic unit is used to turn off the preset power conversion unit based on the first command, so that the motherboard enters a first test state that simulates the power-on timeout of the motherboard after startup; the baseboard management control unit is used for After the motherboard is powered on, and the motherboard is activated, it sends a second instruction for turning off the preset power conversion unit to the complex programmable logic unit; the complex programmable logic unit is used for turning off based on the second instruction The preset power conversion unit causes the motherboard to enter a second test state simulating abnormal discharge of the motherboard. 如請求項6所述的主機板,該基板管理控制單元用以經由一智能平台管理介面(Intelligent Platform Management Interface,IPMI)向該複雜可程式邏輯單元發送該第一指令或該第二指令。 According to the motherboard of claim 6, the baseboard management control unit is used for via an intelligent platform management interface (Intelligent Platform Management Interface). Management Interface (IPMI) sends the first command or the second command to the complex programmable logic unit. 如請求項6所述的主機板,該複雜可程式邏輯單元經由一I2C接口接收該第一指令或該第二指令。 According to the motherboard of claim 6, the complex programmable logic unit receives the first command or the second command via an I2C interface. 如請求項6所述的主機板,其中該複雜可程式邏輯單元包含一暫存器,該基板管理控制單元向該暫存器發送該第一指令或該第二指令,以使該暫存器向該電源轉換單元發送該第一指令或該第二指令。 The motherboard according to claim 6, wherein the complex programmable logic unit includes a register, and the baseboard management control unit sends the first command or the second command to the register so that the register Send the first instruction or the second instruction to the power conversion unit. 如請求項6所述的主機板,該基板管理控制單元讀取該複雜可程式邏輯單元的一日誌,以判斷故障的該電源轉換單元是否是基於該第一指令或該第二指令關閉預設的該電源轉換單元。 For the motherboard according to claim 6, the baseboard management control unit reads a log of the complex programmable logic unit to determine whether the failed power conversion unit is shut down based on the first command or the second command. Of the power conversion unit.
TW109102171A 2020-01-21 2020-01-21 Mainboard and assisting test method of thereof TWI734357B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW109102171A TWI734357B (en) 2020-01-21 2020-01-21 Mainboard and assisting test method of thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109102171A TWI734357B (en) 2020-01-21 2020-01-21 Mainboard and assisting test method of thereof

Publications (2)

Publication Number Publication Date
TWI734357B true TWI734357B (en) 2021-07-21
TW202129497A TW202129497A (en) 2021-08-01

Family

ID=77911274

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109102171A TWI734357B (en) 2020-01-21 2020-01-21 Mainboard and assisting test method of thereof

Country Status (1)

Country Link
TW (1) TWI734357B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201531847A (en) * 2014-01-13 2015-08-16 Hon Hai Prec Ind Co Ltd Test device
CN107943637A (en) * 2017-12-07 2018-04-20 郑州云海信息技术有限公司 A kind of mains cycle test device and method based on IPMI platforms
CN207337386U (en) * 2017-08-18 2018-05-08 郑州云海信息技术有限公司 A kind of server master board test device
CN108536568A (en) * 2018-04-11 2018-09-14 英业达科技有限公司 A kind of server system and mainboard
TW201931117A (en) * 2018-01-12 2019-08-01 廣達電腦股份有限公司 Method for remote system recovery

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201531847A (en) * 2014-01-13 2015-08-16 Hon Hai Prec Ind Co Ltd Test device
CN207337386U (en) * 2017-08-18 2018-05-08 郑州云海信息技术有限公司 A kind of server master board test device
CN107943637A (en) * 2017-12-07 2018-04-20 郑州云海信息技术有限公司 A kind of mains cycle test device and method based on IPMI platforms
TW201931117A (en) * 2018-01-12 2019-08-01 廣達電腦股份有限公司 Method for remote system recovery
CN108536568A (en) * 2018-04-11 2018-09-14 英业达科技有限公司 A kind of server system and mainboard

Also Published As

Publication number Publication date
TW202129497A (en) 2021-08-01

Similar Documents

Publication Publication Date Title
CN112948157B (en) Server fault location method, device, system and computer-readable storage medium
TWI633487B (en) Method and computer system for automatically recovering the bios image file
CN104777888A (en) Reduced energy consumption in a computer system through software and hardware coordinated control of multiple power supplies
CN110515802A (en) A monitoring method, system and related components for server startup failure
CN113064757B (en) A server firmware self-recovery system and server
CN111752776A (en) A method and system for cyclic power-on and power-off test of a server
CN105389525A (en) Management method and system for blade server
TW201944239A (en) Server and method for restoring a baseboard management controller automatically
CN111831498B (en) Method, device and equipment for power failure test
US8495353B2 (en) Method and circuit for resetting register
CN109933179A (en) A kind of server intelligent boot control method, device and equipment
TWI734357B (en) Mainboard and assisting test method of thereof
CN101739315A (en) System and method for automatically starting backup firmware
CN119201522A (en) A method, system, device and medium for indicating abnormal power supply timing during server startup
WO2024103802A1 (en) Automatic cmos clearing control method and automatic cmos clearing circuit
CN116820857A (en) A memory chip protection system, method, equipment and medium
CN111176921A (en) Method for auxiliary testing of mainboard and mainboard
CN101408860A (en) Monitoring device and monitoring method thereof
TWI720615B (en) Computer device and shutdown and reboot controlling method thereof
CN115795568A (en) Liquid cooling server liquid leakage protection method, device, equipment and storage medium
CN111273927A (en) Method and system for on-line upgrading of server power firmware
CN114647293B (en) Power-down protection method, device, power monitoring component and server
TWI857498B (en) Usb slave device and power quality detection method thereof
CN108108273B (en) Motherboard and its computer system
TW202018507A (en) A host boot detection method and its system