TW201624294A - Computer system and method for detecting internal computer status - Google Patents
Computer system and method for detecting internal computer status Download PDFInfo
- Publication number
- TW201624294A TW201624294A TW103144117A TW103144117A TW201624294A TW 201624294 A TW201624294 A TW 201624294A TW 103144117 A TW103144117 A TW 103144117A TW 103144117 A TW103144117 A TW 103144117A TW 201624294 A TW201624294 A TW 201624294A
- Authority
- TW
- Taiwan
- Prior art keywords
- computer system
- fault
- computer
- output pins
- light
- Prior art date
Links
Landscapes
- Debugging And Monitoring (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
本發明提供一種可檢測電腦內部狀態之電腦系統與方法,特別是關於一種利用連接於通用輸入輸出(GPIO)腳位的發光二極體模組來檢測電腦內部狀態之電腦系統與方法。 The present invention provides a computer system and method for detecting an internal state of a computer, and more particularly to a computer system and method for detecting an internal state of a computer by using a light emitting diode module connected to a general purpose input/output (GPIO) pin.
在電腦開機程序中,係由主機板上的一唯讀記憶體,其存放有一基本輸入輸出系統(Basic Input/Output System,BIOS)。上述BIOS包含了許多電腦輸出入的基本程式,且負責在電腦系統開機時進行軟硬體的初始設定和測試,以確保電腦系統中的軟硬體可以正常工作。而在確認電腦系統中的軟硬體均正常運作之後,接著電腦系統的中央處理器就會開始讀取儲存於硬碟中的開機作業系統資料,以載入電腦系統中各個軟硬體的控制與運算。然而,若在上述開機程序中有發生硬體設定異常或是軟體運算錯誤等問題時,電腦系統會無法順利地啟動,甚至會產生當機的現象。此時,使用者會利用設置在電腦系統外部,或者設置在主機板上的除錯卡,來進行電腦開機檢測,以輔助使用者順利地找出問題所在,進而排除開機錯誤。 In the computer boot program, it is a read-only memory on the motherboard, which stores a Basic Input/Output System (BIOS). The above BIOS contains a lot of basic programs for computer input and output, and is responsible for initial setting and testing of software and hardware when the computer system is turned on to ensure that the software and hardware in the computer system can work normally. After confirming that the software and hardware in the computer system are all working normally, the central processing unit of the computer system will start to read the boot operating system data stored in the hard disk to load the control of each software and hardware in the computer system. And operation. However, if there is a problem such as a hardware setting abnormality or a software operation error in the above startup program, the computer system may not be successfully started, and even a crash may occur. At this time, the user will use the debug card set outside the computer system or set on the motherboard to perform the boot detection of the computer, so as to assist the user to find out the problem smoothly and eliminate the boot error.
然而,此種作法不僅需要另外設置除錯卡且需將除錯卡安裝在電腦系統中。倘若有多台電腦系統需進行開機程序除錯,則必須在每個電腦系統中反覆地插入與移除除錯卡,或者在每 個電腦系統之主機板上分別設置一個除錯卡,來進行開機程序除錯,不但耗時且需要花費很多成本,其實屬不便。 However, this method requires not only the addition of a debug card but also the installation of the debug card in the computer system. If there are multiple computer systems that need to be debugged by the boot process, you must repeatedly insert and remove the debug card in each computer system, or Setting a debug card on the motherboard of a computer system to debug the boot program is not only time-consuming but also costly, which is inconvenient.
有鑑於此,本發明之主要目的係在於提供一種可檢測電腦內部狀態之電腦系統與方法,其不需要另外設置除錯卡,但確可以提供使用者在電腦系統開機時進行程序的除錯,且得知問題所在,進而排除開機錯誤。 In view of this, the main object of the present invention is to provide a computer system and method for detecting the internal state of a computer, which does not need to additionally set a debugging card, but can provide a user to debug the program when the computer system is powered on. And know the problem, and then eliminate the boot error.
本發明提供了一種可檢測電腦內部狀態之電腦系統,且於啟動電腦系統時一基本輸入輸出系統(Basic Input/Output System,BIOS)檢測電腦系統是否有一故障原因。上述電腦系統包括一唯讀記憶體、一晶片組(chipset)與一發光二極體模組。唯讀記憶體儲存有基本輸入輸出系統;以及晶片組電連接唯讀記憶體。晶片組具有複數個通用輸入輸出(General Purpose Input/Output,GPIO)腳位,且在多個通用輸入輸出腳位之中設定有複數個故障輸出腳位。而發光二極體模組電連接上述多個故障輸出腳位。其中,當晶片組透過基本輸入輸出系統檢測電腦系統有故障原因時,晶片組會經由基本輸入輸出系統於每個開機自我檢測(Power-On Self-Test,POST)階段產生相對應的開機自我檢測碼至多個通用輸入輸出腳位,並採用程式化模組以多個通用輸入輸出腳位所連接的發光二極體模組來呈現開機自我檢測碼。 The invention provides a computer system capable of detecting the internal state of a computer, and a basic input/output system (BIOS) detects whether the computer system has a fault cause when the computer system is started. The computer system includes a read-only memory, a chipset and a light-emitting diode module. The read-only memory stores a basic input/output system; and the chipset is electrically connected to the read-only memory. The chipset has a plurality of general purpose input/output (GPIO) pins, and a plurality of fault output pins are set among the plurality of general-purpose input and output pins. The LED module is electrically connected to the plurality of fault output pins. Wherein, when the chipset detects the fault of the computer system through the basic input/output system, the chipset generates a corresponding boot self-test in each of the Power-On Self-Test (POST) stages via the basic input/output system. The code is connected to a plurality of general-purpose input and output pins, and the booting module is used to display the boot self-detection code by using the LED module connected with the plurality of general-purpose input and output pins.
在本發明其中一個實施例中,上述發光二極體模組可具有複數個發光二極體,且多個發光二極體可採用一七段顯示器的形式排列,藉以顯示上述開機自我檢測碼。 In one embodiment of the present invention, the light emitting diode module may have a plurality of light emitting diodes, and the plurality of light emitting diodes may be arranged in a form of a seven-segment display to display the boot self-detection code.
本發明提供了一種可檢測電腦內部狀態之方法,適用於一電腦系統。上述電腦系統包括儲存有一基本輸入輸出系統之一唯讀記憶體、具有複數個通用輸入輸出腳位之一晶片組以及一 發光二極體模組,且晶片組電連接唯讀記憶體與發光二極體模組。上述可檢測電腦內部狀態之方法包括:(A)當啟動電腦系統時,在多個通用輸入輸出腳位之中設定複數個故障輸出腳位;(B)透過基本輸入輸出系統檢測電腦系統是否有一故障原因;(C)若是,根據上述故障原因產生一開機自我檢測碼;以及(D)將開機自我檢測碼透過上述多個故障輸出腳位傳送至發光二極體模組。 The invention provides a method for detecting the internal state of a computer, which is suitable for a computer system. The computer system includes a read-only memory that stores a basic input/output system, a chip set having a plurality of general-purpose input and output pins, and a The LED module is electrically connected to the read-only memory and the LED module. The above method for detecting the internal state of the computer includes: (A) setting a plurality of fault output pins among the plurality of general-purpose input and output pins when starting the computer system; (B) detecting whether the computer system has a through the basic input/output system The cause of the failure; (C) if yes, generating a boot self-detection code according to the above-mentioned fault cause; and (D) transmitting the boot self-detection code to the light-emitting diode module through the plurality of fault output pin positions.
綜合以上所述,本發明實施例所提供的可檢測電腦內部狀態之電腦系統與方法,其根據儲存在唯讀記憶體之BIOS來檢測電腦系統是否有故障原因。且當電腦系統有故障原因時,透過晶片組上的多個GPIO腳位作為故障輸出腳位來傳送代表故障原因的POST碼至發光二極體模組,使得代表故障原因的POST碼可以顯示在多個發光二極體之中。此外,上述發光二極體可採用七段顯示器的形式來顯示上述開機自我檢測碼,以提高開機自我檢測碼的可解讀性。據此,電腦系統不需要另外設置除錯卡,且可提供使用者在電腦系統開機時進行程序的除錯。而使用者可透過發光二極體模組輕易地得知問題所在,以排除開機錯誤,進而可提高使用上的便利性。 In summary, the computer system and method for detecting the internal state of a computer provided by the embodiment of the present invention detect the fault of the computer system according to the BIOS stored in the read-only memory. And when the computer system has a fault reason, the POST code representing the cause of the fault is transmitted to the LED module through the plurality of GPIO pins on the chipset as the fault output pin, so that the POST code representing the cause of the fault can be displayed. Among the multiple light-emitting diodes. In addition, the above-mentioned light-emitting diode can display the above-mentioned boot self-detection code in the form of a seven-segment display to improve the interpretability of the boot self-detection code. Accordingly, the computer system does not need to additionally set a debug card, and can provide a user to debug the program when the computer system is powered on. The user can easily know the problem through the LED module to eliminate the startup error, thereby improving the convenience of use.
為使能更進一步瞭解本發明之特徵及技術內容,請參閱以下有關本發明之詳細說明與附圖,但是此等說明與所附圖式僅係用來說明本發明,而非對本發明的權利範圍作任何的限制。 The detailed description of the present invention and the accompanying drawings are to be understood by the claims The scope is subject to any restrictions.
100‧‧‧電腦系統 100‧‧‧ computer system
110‧‧‧晶片組 110‧‧‧chipset
112‧‧‧GPIO腳位 112‧‧‧GPIO pin
120‧‧‧唯讀記憶體 120‧‧‧Read-only memory
130‧‧‧發光二極體模組 130‧‧‧Lighting diode module
S210、S220、S230、S240‧‧‧步驟 S210, S220, S230, S240‧‧‧ steps
S310、S320、S330、S340‧‧‧步驟 S310, S320, S330, S340‧‧‧ steps
圖1是本發明一實施例之可檢測電腦內部狀態之電腦系統示意圖。 1 is a schematic diagram of a computer system capable of detecting an internal state of a computer according to an embodiment of the present invention.
圖2是本發明一實施例之可檢測電腦內部狀態之方法流程圖。 2 is a flow chart of a method for detecting an internal state of a computer according to an embodiment of the present invention.
圖3是本發明另一實施例之可檢測電腦內部狀態之方法流 程圖。 3 is a flow chart of a method for detecting an internal state of a computer according to another embodiment of the present invention; Cheng Tu.
在下文中,將藉由圖式說明本發明之各種例示實施例來詳細描述本發明。然而,本發明概念可能以許多不同形式來體現,且不應解釋為限於本文中所闡述之例示性實施例。此外,在圖式中相同參考數字可用以表示類似的元件。 In the following, the invention will be described in detail by way of illustration of various exemplary embodiments of the invention. However, the inventive concept may be embodied in many different forms and should not be construed as being limited to the illustrative embodiments set forth herein. In addition, the same reference numerals may be used in the drawings to represent similar elements.
首先,請參考圖1,其顯示本發明一實施例之可檢測電腦內部狀態之電腦系統示意圖。電腦系統100為設置在主機板(未繪於圖式中)上。而主機板可應用於桌上型電腦(Desktop Computer)、筆記型電腦(Laptop Computer)、伺服器、數位個人助理及行動電話等電子裝置上。電腦系統100包括一晶片組(chipset)110、一唯讀記憶體120與一發光二極體模組130,以於啟動電腦系統100時透過一基本輸入輸出系統(Basic Input/Output System,BIOS)來檢測電腦系統100是否有一故障原因。而需注意的是,本實施例所述之電腦系統100亦包括其他構件,例如中央處理器(CPU)、電源供應模組、或其他輸出入介面等構件,而於本實施例僅顯示與本發明相關之部分。在本實施例中,電腦系統較佳為一x86架構的電腦系統,而電腦系統亦可為ARM架構或其他架構的電腦系統,本發明對此不作限制。 First, please refer to FIG. 1, which shows a schematic diagram of a computer system capable of detecting the internal state of a computer according to an embodiment of the present invention. The computer system 100 is disposed on a motherboard (not shown). The motherboard can be applied to electronic devices such as desktop computers, laptop computers, servers, digital assistants, and mobile phones. The computer system 100 includes a chipset 110, a read-only memory 120 and a light-emitting diode module 130 for transmitting a basic input/output system (BIOS) when the computer system 100 is booted. To detect whether the computer system 100 has a cause of failure. It should be noted that the computer system 100 described in this embodiment also includes other components, such as a central processing unit (CPU), a power supply module, or other components such as an input/output interface, and only the present embodiment is shown in this embodiment. The relevant part of the invention. In this embodiment, the computer system is preferably a computer system of an x86 architecture, and the computer system may also be an ARM architecture or a computer system of other architectures, which is not limited by the present invention.
唯讀記憶體120儲存有基本輸入輸出系統。晶片組110連接唯讀記憶體120,且具有複數個通用輸入輸出(General Purpose Input/Output,GPIO)腳位。在本實施例中,唯讀記憶體120為快閃記憶體(flash memory)。晶片組110為由南橋晶片(south bridge)與北橋晶片(north bridge)組成或單獨採用南橋晶片,以據此控制整個主機板上的各個元件。此外,BIOS包含許多電腦系統100之輸出入介面(例如顯示器或鍵盤)的基本控制碼,並負責在 啟動電腦系統100(即在電子裝置電源開機)後,進行開機自我測試(Power-On Self-Test,POST)工作,以檢測電腦系統100是否有故障原因。在此需說明的是,由於BIOS為一般電腦系統上必要且熟知之韌體。故以下將不對其功能及架構作詳細地說明,且此處僅說明與本發明相關之部分。 The read-only memory 120 stores a basic input/output system. The chipset 110 is connected to the read-only memory 120 and has a plurality of general purpose input/output (GPIO) pins. In this embodiment, the read-only memory 120 is a flash memory. The wafer set 110 consists of a south bridge and a north bridge or a south bridge wafer to control the various components on the entire motherboard. In addition, the BIOS contains a number of basic control codes for the input and output interfaces of the computer system 100 (such as a display or a keyboard), and is responsible for After the computer system 100 is started (that is, after the electronic device is powered on), a Power-On Self-Test (POST) operation is performed to detect whether the computer system 100 has a malfunction. It should be noted here that the BIOS is a necessary and well-known firmware on a general computer system. Therefore, the function and architecture thereof will not be described in detail below, and only the parts related to the present invention will be described herein.
因此,在啟動電腦系統100時,晶片組110將透過BIOS在GPIO腳位112之中設定複數個故障輸出腳位,以作為輸出故障原因之用。舉例來說,晶片組110中的GPIO腳位112具有128個腳位。當啟動電腦系統100時,晶片組110遂將設定第1-16個GPIO腳位112為故障輸出腳位,來作為輸出故障原因之用。 Therefore, when the computer system 100 is booted, the chipset 110 will set a plurality of fault output pins in the GPIO pin 112 through the BIOS as an output failure cause. For example, GPIO pin 112 in chipset 110 has 128 pins. When the computer system 100 is booted, the chipset 110 will set the 1-16th GPIO pin 112 as the fault output pin as the cause of the output failure.
發光二極體模組130電連接於上述多個故障輸出腳位。當BIOS檢測到電腦系統100有該故障原因時,晶片組110會經由基本輸入輸出系統產生相對應的POST碼,並將POST碼透過故障輸出腳位(如上述例子中的第1-16個GPIO腳位)傳送至發光二極體模組130。更進一步來說,唯讀記憶體120更儲存有複數個錯誤訊息,例如,BIOS的嗶聲代碼、埠80h-POST代碼資訊、POST代碼資訊、及一般POST序列資訊等BIOS相關資訊。而上述多個錯誤訊息之中係定義有故障原因,使得晶片組110根據儲存在唯讀記憶體120中的錯誤訊息來產生POST碼。 The LED module 130 is electrically connected to the plurality of fault output pins. When the BIOS detects that the computer system 100 has the cause of the failure, the chipset 110 generates a corresponding POST code via the basic input/output system and passes the POST code through the fault output pin (such as the 1-16th GPIO in the above example). The pin is transmitted to the LED module 130. Furthermore, the read-only memory 120 further stores a plurality of error messages, such as BIOS sound codes, 埠80h-POST code information, POST code information, and general POST sequence information. Among the plurality of error messages, a fault cause is defined, so that the chipset 110 generates a POST code according to an error message stored in the read-only memory 120.
接著,晶片組110將進一步透過BIOS解析各階段POST碼,並以一七段顯示器的形式,透過上述所定義的故障輸出腳位分別傳送POST碼至發光二極體模組130中的複數個發光二極體,藉此顯示代表故障原因之POST碼在發光二極體模組130中。而在本實施例中,由於發光二極體模組130中的多個發光二極體為以七段顯示器的形式排列。故使用者可以輕易得知POST碼所代表的錯誤原因。 Then, the chipset 110 further parses the POST codes of each stage through the BIOS, and transmits the POST codes to the plurality of LEDs in the LED module 130 through the above-mentioned defined fault output pins in the form of a seven-segment display. The diode, thereby displaying the POST code representing the cause of the malfunction, is in the light emitting diode module 130. In this embodiment, the plurality of light emitting diodes in the LED module 130 are arranged in the form of a seven-segment display. Therefore, the user can easily know the cause of the error represented by the POST code.
以x86架構的電腦系統100來作說明,POST碼係由兩個16進位碼組成。而為了在發光二極體模組130中顯示具有兩個16 進位碼的POST碼,晶片組110將在啟動電腦系統100時設定16個GPIO腳位112為故障輸出腳位(例如第1-16個GPIO腳位112),且16個故障輸出腳位對應到兩個16進位碼。意即8個故障輸出腳位對應到第一個16進位碼,以及其他8個故障輸出腳位對應到第二個16進位碼,使得電連接在16個GPIO腳位的發光二極體(即16個發光二極體)可以七段顯示器的形式排列,並據此顯示兩個16進位碼的POST碼,以供使用者可以輕易得知POST碼所代表的錯誤原因。 The computer system 100 of the x86 architecture is used to illustrate that the POST code consists of two 16-bit code. In order to display in the LED module 130, there are two 16 The POST code of the carry code, the chipset 110 will set 16 GPIO pins 112 as fault output pins (for example, 1-16th GPIO pins 112) when the computer system 100 is started, and 16 fault output pins correspond to Two 16-bit code. That is, 8 fault output pins correspond to the first 16-bit code, and the other 8 fault output pins correspond to the second 16-bit code, so that the LEDs are electrically connected to the 16 GPIO pins (ie, The 16 LEDs can be arranged in the form of a seven-segment display, and the POST codes of the two 16-digit codes are displayed accordingly, so that the user can easily know the cause of the error represented by the POST code.
由上述的實施例,本發明可以歸納出一種可檢測電腦內部狀態之方法,適用於上述實施例所述之電腦系統100。請參考圖2並同時參考圖1。圖2顯示本發明一實施例之可檢測電腦內部狀態之方法流程圖。首先,於啟動電腦系統100時,晶片組110在GPIO腳位112之中設定複數個故障輸出腳位,以作為輸出故障原因之用(步驟S210)。 From the above embodiments, the present invention can be summarized as a method for detecting the internal state of a computer, which is applicable to the computer system 100 described in the above embodiment. Please refer to FIG. 2 and refer to FIG. 1 at the same time. 2 is a flow chart showing a method of detecting an internal state of a computer according to an embodiment of the present invention. First, when the computer system 100 is booted, the chipset 110 sets a plurality of fault output pins among the GPIO pins 112 for use as an output failure cause (step S210).
接下來,晶片組110將透過儲存在唯讀記憶體120中的BIOS來檢測電腦系統100是否有故障原因(步驟S220)。若BIOS沒有檢測到電腦系統100的故障原因,其表示確認電腦系統中的軟硬體均正常運作。晶片組110將不會透過GPIO腳位112中的故障輸出腳位輸出任何資料至發光二極體模組130中對應的發光二極體(步驟S240)。接著,電腦系統100的中央處理器(未繪於圖式)就會開始讀取儲存於硬碟(未繪於圖式)中的開機作業系統資料,以載入電腦系統100中各個軟硬體的控制與運算。 Next, the chipset 110 will detect whether the computer system 100 has a cause of failure through the BIOS stored in the read-only memory 120 (step S220). If the BIOS does not detect the cause of the failure of the computer system 100, it indicates that the software and hardware in the computer system are operating normally. The chip set 110 will not output any data to the corresponding light-emitting diodes in the LED module 130 through the fault output pin in the GPIO pin 112 (step S240). Then, the central processing unit (not shown in the figure) of the computer system 100 starts to read the boot operating system data stored in the hard disk (not shown in the drawing) to load the various software and hardware in the computer system 100. Control and operation.
反之,若BIOS有檢測到電腦系統100的故障原因,其表示開機程序中有發生硬體設定異常或是軟體運算錯誤等問題,使得電腦系統100無法順利啟動。晶片組110將透過BIOS產生一POST碼,並將POST碼透過GPIO腳位112中的故障輸出腳位傳送POST碼至發光二極體模組130中對應的發光二極體,以供使用者根據POST碼而排除開機錯誤(步驟S230)。 On the other hand, if the BIOS detects the cause of the failure of the computer system 100, it indicates that there is a problem such as a hardware setting abnormality or a software operation error in the startup program, so that the computer system 100 cannot be successfully started. The chipset 110 will generate a POST code through the BIOS, and transmit the POST code to the corresponding LED in the LED module 130 through the fault output pin in the GPIO pin 112 for the user to The POST code is used to exclude the boot error (step S230).
更進一步來說,晶片組110將根據儲存在唯讀記憶體錯誤訊息來產生POST碼。而晶片組110將透過BIOS進一步解析POST碼,並以一七段顯示器的形式透過上述所定義的故障輸出腳位分別傳送POST碼至發光二極體模組130中的複數個發光二極體,以顯示代表故障原因之POST碼在發光二極體模組130中。而由於發光二極體模組130中的多個發光二極體為以七段顯示器的形式排列。故使用者可以輕易得知POST碼所代表的錯誤原因。 Further, the chipset 110 will generate a POST code based on the read-only memory error message. The chipset 110 further parses the POST code through the BIOS, and transmits the POST code to the plurality of LEDs in the LED module 130 through the defined fault output pin in the form of a seven-segment display. The POST code representing the cause of the malfunction is displayed in the LED module 130. The plurality of light-emitting diodes in the LED module 130 are arranged in the form of a seven-segment display. Therefore, the user can easily know the cause of the error represented by the POST code.
此外,在電腦系統100的架構下亦可利用除錯卡來進行開機程序除錯,以供使用者可以根據實際狀況選擇其中一種方式來檢測電腦系統100中的電腦內部狀態,其具體實施方式如下。請參考圖3並同時參考圖1,圖3顯示本發明另一實施例之可檢測電腦內部狀態之方法流程圖。首先,於啟動電腦系統100時,晶片組110在GPIO腳位112之中設定複數個故障輸出腳位,並設定外設互聯標準/個人電腦介面(Personal Computer Interface,PCI)介面,以啟用(enable)GPIO腳位112中的故障輸出腳位與PCI介面(步驟S310)。 In addition, in the architecture of the computer system 100, the debugging of the booting program can also be performed by using the debugging card, so that the user can select one of the ways to detect the internal state of the computer in the computer system 100 according to the actual situation, and the specific implementation manner is as follows: . Please refer to FIG. 3 and also to FIG. 1. FIG. 3 is a flow chart showing a method for detecting the internal state of a computer according to another embodiment of the present invention. First, when the computer system 100 is started, the chipset 110 sets a plurality of fault output pins in the GPIO pin 112, and sets a peripheral computer interface (Personal Computer Interface, PCI) interface to enable (enable). The faulty output pin in the GPIO pin 112 is connected to the PCI interface (step S310).
接下來,電腦系統100將進一步判斷是否由外部除錯卡來檢測電腦系統100是否有一故障原因(步驟S320)。在此步驟中,可利用BIOS韌體介面來傳送外部控制訊號至電腦系統100中,使得電腦系統100可以根據外部控制訊號來判斷是否由外部除錯卡來檢測電腦系統100是否有一故障原因。而亦可以其他方式來告知電腦系統100選擇其中一種來檢測電腦系統100中的電腦內部狀態,本發明對此不作限制。 Next, the computer system 100 will further determine whether the external debug card is used to detect whether the computer system 100 has a cause of failure (step S320). In this step, the BIOS firmware interface can be used to transmit the external control signal to the computer system 100, so that the computer system 100 can determine whether the computer system 100 has a fault cause by the external debug signal according to the external control signal. In other ways, the computer system 100 can be instructed to select one of them to detect the internal state of the computer in the computer system 100, which is not limited by the present invention.
若電腦系統100判斷為由外部除錯卡來檢測電腦系統100是否有故障原因,其判斷方式將如同習知的外部除錯卡設置在電腦系統100外部或者設置在主機板上,來進行電腦開機檢測,以供使用者排除開機錯誤(步驟S330)。 If the computer system 100 determines that the external debugging card is used to detect whether the computer system 100 has a fault cause, the judgment mode will be set as the external external debugging card is set outside the computer system 100 or set on the motherboard to start the computer. The detection is performed for the user to troubleshoot the power-on error (step S330).
反之,若電腦系統100判斷不為由外部除錯卡來檢測電腦系統100是否有故障原因,其判斷方式將於晶片組110檢測電腦系統100是否有故障原因(步驟S340)。而有關晶片組110檢測電腦系統100是否有故障原因的實施方式已詳述於圖2之方法流程圖,故在此不再贅述。 On the other hand, if the computer system 100 determines that the computer system 100 is not detecting the cause of the failure by the external debugging card, the determination mode will determine whether the computer system 100 has a fault cause (step S340). The implementation manner of the chipset 110 detecting whether the computer system 100 has a fault is detailed in the method flowchart of FIG. 2, and therefore will not be described herein.
綜上所述,本發明實施例所提供的可檢測電腦內部狀態之電腦系統與方法,其根據儲存在唯讀記憶體中的BIOS來檢測電腦系統是否有故障原因。且當電腦系統有故障原因時,透過晶片組上的多個GPIO腳位作為故障輸出腳位來傳送代表故障原因的POST碼至發光二極體模組,使得代表故障原因的POST碼可以顯示在多個發光二極體之中。此外,上述發光二極體可以七段顯示器的形式來顯示開機自我檢測碼,以提高開機自我檢測碼的可解讀性。據此,電腦系統不需要另外設置除錯卡,且可提供使用者在電腦系統開機時進行程序的除錯,與透過發光二極體模組輕易地得知問題所在,以排除開機錯誤,進而可提高使用上的便利性。 In summary, the computer system and method for detecting the internal state of a computer provided by the embodiment of the present invention detects whether the computer system has a fault cause according to a BIOS stored in the read-only memory. And when the computer system has a fault reason, the POST code representing the cause of the fault is transmitted to the LED module through the plurality of GPIO pins on the chipset as the fault output pin, so that the POST code representing the cause of the fault can be displayed. Among the multiple light-emitting diodes. In addition, the above-mentioned light-emitting diode can display the boot self-detection code in the form of a seven-segment display to improve the interpretability of the boot self-detection code. Accordingly, the computer system does not need to additionally set a debugging card, and can provide a user to debug the program when the computer system is turned on, and easily know the problem through the LED module to eliminate the startup error, and then It can improve the convenience of use.
以上所述僅為本發明之實施例,其並非用以侷限本發明之專利範圍。 The above description is only an embodiment of the present invention, and is not intended to limit the scope of the invention.
100‧‧‧電腦系統 100‧‧‧ computer system
110‧‧‧晶片組 110‧‧‧chipset
112‧‧‧GPIO腳位 112‧‧‧GPIO pin
120‧‧‧唯讀記憶體 120‧‧‧Read-only memory
130‧‧‧發光二極體模組 130‧‧‧Lighting diode module
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW103144117A TW201624294A (en) | 2014-12-17 | 2014-12-17 | Computer system and method for detecting internal computer status |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW103144117A TW201624294A (en) | 2014-12-17 | 2014-12-17 | Computer system and method for detecting internal computer status |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| TW201624294A true TW201624294A (en) | 2016-07-01 |
Family
ID=56984736
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW103144117A TW201624294A (en) | 2014-12-17 | 2014-12-17 | Computer system and method for detecting internal computer status |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TW201624294A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11567843B2 (en) * | 2019-12-27 | 2023-01-31 | Quanta Computer Inc. | Method and system for indicating BIOS POST status from a chassis identifying LED |
-
2014
- 2014-12-17 TW TW103144117A patent/TW201624294A/en unknown
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11567843B2 (en) * | 2019-12-27 | 2023-01-31 | Quanta Computer Inc. | Method and system for indicating BIOS POST status from a chassis identifying LED |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9514846B2 (en) | Memory module status indication | |
| US9680712B2 (en) | Hardware management and control of computer components through physical layout diagrams | |
| TWI685735B (en) | Method of displaying bios messages in the early stages of power-on self-test of computer system | |
| US8954629B2 (en) | Adapter and debugging method using the same | |
| CN101593139A (en) | Main board fault diagnosis device and its diagnosis method | |
| US20070234132A1 (en) | System and method for indicating errors of a motherboard | |
| CN102331959A (en) | Server system | |
| CN106250279B (en) | debugging method and device thereof | |
| CN104679626A (en) | System and method for debugging and detecting BIOS (Basic Input / Output System) | |
| CN106708675A (en) | Method for detecting faults before starting of computers | |
| CN104794042A (en) | Computer detecting system and method | |
| TW201624294A (en) | Computer system and method for detecting internal computer status | |
| CN105786658A (en) | Computer system and method capable of detecting internal state of computer | |
| CN111045899B (en) | Method for displaying BIOS information in early stage of computer system startup self-check | |
| TW201527965A (en) | System and method for detecting a BIOS test process of a computer | |
| CN101408860A (en) | Monitoring device and monitoring method thereof | |
| CN101826046B (en) | Computer startup debugging method | |
| US10025683B2 (en) | Information processing device and computer-readable recording medium | |
| CN101359292A (en) | Computer system and control method | |
| CN102243601B (en) | Debugging system and related method for detecting and controlling the state of computer host | |
| CN110321171B (en) | Startup detection device, system and method | |
| TW201839544A (en) | Debug device | |
| CN112835758A (en) | A method and terminal device for self-starting and running of test software | |
| KR101032680B1 (en) | Apparatus and method for displaying a failure status of a PC motherboard using LEDs | |
| TW201115331A (en) | Self testing method and system for computing apparatus |