[go: up one dir, main page]

TWI533122B - Boot detecting circuit, computer system and boot detecting method thereof - Google Patents

Boot detecting circuit, computer system and boot detecting method thereof Download PDF

Info

Publication number
TWI533122B
TWI533122B TW101100411A TW101100411A TWI533122B TW I533122 B TWI533122 B TW I533122B TW 101100411 A TW101100411 A TW 101100411A TW 101100411 A TW101100411 A TW 101100411A TW I533122 B TWI533122 B TW I533122B
Authority
TW
Taiwan
Prior art keywords
boot
code
computer system
display device
basic input
Prior art date
Application number
TW101100411A
Other languages
Chinese (zh)
Other versions
TW201329702A (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 TW101100411A priority Critical patent/TWI533122B/en
Priority to CN201210013841.7A priority patent/CN103197996B/en
Publication of TW201329702A publication Critical patent/TW201329702A/en
Application granted granted Critical
Publication of TWI533122B publication Critical patent/TWI533122B/en

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Description

開機檢測電路、電腦系統以及其開機檢測方法Boot detection circuit, computer system and its boot detection method

本發明係有關於一種開機檢測電路,且特別有關於一種電腦系統之開機檢測電路。The invention relates to a boot detection circuit, and in particular to a boot detection circuit of a computer system.

目前,大部分電腦系統用來執行開機程序的基本輸入輸出系統(basic input/output system,BIOS)程式碼係儲存在電腦系統的記憶體中。當電腦系統被啟動時,中央處理器會先根據基本輸入輸出系統程式碼來執行開機自我測試(Power on self test,POST),以檢查每個基礎設備(主機板、顯示卡)是否正常,然後再進行後續程序。基本輸入輸出系統程式碼係用來管理系統日期、顯示模式、軟碟驅動裝置、硬碟類型、周邊設備(例如通訊埠、列印埠等)、以及隨機存取記憶體(Random Access Memory,RAM)和快取記憶體(Cache Memory)等的配置。因此,基本輸入輸出系統程式碼為電腦系統開機時重要的啟動程式。At present, the basic input/output system (BIOS) code used by most computer systems to execute the boot program is stored in the memory of the computer system. When the computer system is started, the central processor first performs a Power on self test (POST) according to the basic input and output system code to check whether each basic device (the motherboard, the display card) is normal, and then Follow the procedure. The basic input/output system code is used to manage the system date, display mode, floppy disk drive, hard disk type, peripheral devices (such as communication ports, printers, etc.), and random access memory (Random Access Memory, RAM). ) and configuration of cache memory (Cache Memory). Therefore, the basic input/output system code is an important startup program for the computer system to boot.

然而,當電腦系統被啟動時,若有部分元件的操作電壓不正常,例如用來儲存基本輸入輸出系統程式碼之記憶體或是中央處理器的操作電壓,則電腦系統無法執行開機自我測試。此時,需要分別對電腦系統內的元件進行偵測,才能找出異常處。However, when the computer system is started, if some components operate abnormally, such as the memory used to store the basic I/O system code or the operating voltage of the central processor, the computer system cannot perform the boot self-test. At this point, you need to detect the components in the computer system separately to find out the anomalies.

因此,需要一種開機檢測電路,其能在電腦系統執行開機自我測試之前,對電腦系統的初始狀態進行檢測並顯示對應之系統健康碼(system healthy code,SHC)。Therefore, there is a need for a boot detection circuit that detects the initial state of the computer system and displays a corresponding system health code (SHC) before the computer system performs the boot self test.

本發明提供一種開機檢測電路,適用於一電腦系統。上述開機檢測電路包括一顯示裝置以及耦接於上述顯示裝置之一控制器。在上述電腦系統根據一基本輸入輸出系統碼來執行一開機自我測試程序之前,上述控制器提供一系統健康碼至上述顯示裝置,其中上述系統健康碼係用以表示上述電腦系統內元件的操作電壓是否正常。The invention provides a boot detection circuit suitable for use in a computer system. The boot detection circuit includes a display device and a controller coupled to the display device. Before the computer system executes a boot self-test program according to a basic input/output system code, the controller provides a system health code to the display device, wherein the system health code is used to indicate an operating voltage of components in the computer system. Is it normal?

再者,本發明提供一種電腦系統。上述電腦系統包括:一中央處理器;一記憶體;一周邊裝置控制中心;以及一開機檢測電路,耦接於上述中央處理器、上述記憶體以及上述周邊裝置控制中心。上述開機檢測電路執行一開機檢測程序,並在完成上述開機檢測程序之後,提供一重置信號至上述中央處理器,以便上述中央處理器根據一基本輸入輸出系統碼執行一開機自我測試程序。Furthermore, the present invention provides a computer system. The computer system includes: a central processing unit; a memory; a peripheral device control center; and a power-on detection circuit coupled to the central processing unit, the memory, and the peripheral device control center. The boot detection circuit executes a boot detection process, and after completing the boot detection process, provides a reset signal to the central processor, so that the central processor executes a boot self test procedure according to a basic input/output system code.

再者,本發明提供一種開機檢測方法,適用於一電腦系統,其中上述電腦系統包括一開機檢測電路。上述開機檢測方法包括:藉由上述開機檢測電路之一控制器來執行一開機檢測程序,並經由上述開機檢測電路之一顯示裝置來顯示對應於上述開機檢測程序之結果的一系統健康碼;以及在完成上述開機檢測程序之後,藉由上述控制器來提供一重置信號至上述電腦系統的一中央處理器,以便上述中央處理器根據一基本輸入輸出系統碼來執行一開機自我測試程序。上述系統健康碼係用以表示上述電腦系統內元件的操作電壓是否正常。Furthermore, the present invention provides a boot detection method suitable for use in a computer system, wherein the computer system includes a boot detection circuit. The booting detection method includes: performing a boot detection process by one of the controllers of the boot detection circuit, and displaying a system health code corresponding to the result of the boot detection procedure via one of the boot detection circuits; and After completing the boot detection procedure, a reset signal is provided to the central processing unit of the computer system by the controller, so that the central processor executes a boot self-test program according to a basic input/output system code. The system health code is used to indicate whether the operating voltage of the components in the computer system is normal.

為讓本發明之上述和其他目的、特徵、和優點能更明顯易懂,下文特舉出較佳實施例,並配合所附圖式,作詳細說明如下:The above and other objects, features and advantages of the present invention will become more <RTIgt;

實施例:Example:

第1圖係顯示根據本發明一實施例所述之電腦系統100。電腦系統100包括電源管理模組110、開機檢測電路120、中央處理器130、記憶體140(例如動態隨機存取記憶體(Dynamic random access memory,DRAM))、周邊裝置控制中心(Platform Controller Hub,PCH)150、電源供應器180以及快閃記憶體190。電源供應器180會根據直流電源DC或是交流電源AC而產生待機電源PSB以及輸入電源Pin。電源管理模組110會根據輸入電源Pin而產生不同電壓位準的操作電壓至電腦系統100內的各元件。舉例來說,電源管理模組110可根據輸入電源Pin而分別產生中央處理器130、記憶體140以及周邊裝置控制中心150的操作電壓CPU_PWR、MEM_PWR與PCH_PWR,其可以是相同電壓位準或是不同電壓位準。開機檢測電路120包括控制器160以及顯示裝置170。控制器160會在中央處理器130執行一開機自我測試程序之前,先執行一開機檢測程序並提供對應之系統健康碼SHC至顯示裝置170,以顯示電腦系統100的開機檢測狀況。當控制器160成功地完成開機檢測程序之後,控制器160會提供重置信號CPU_RESET_N至中央處理器130,以便通知中央處理器130可進行開機自我測試程序。接著,周邊裝置控制中心150會將儲存在快閃記憶體190之基本輸入輸出系統碼BIOS傳送至中央處理器130。在中央處理器130執行開機自我測試程序的期間,控制器160會將來自中央處理器130的開機自我測試碼POST傳送至顯示裝置170,以顯示對應之結果。1 shows a computer system 100 in accordance with an embodiment of the present invention. The computer system 100 includes a power management module 110, a power-on detection circuit 120, a central processing unit 130, a memory 140 (such as a dynamic random access memory (DRAM)), and a peripheral device control center (Platform Controller Hub, PCH) 150, power supply 180, and flash memory 190. The power supply 180 generates a standby power P SB and an input power P in according to the DC power source DC or the AC power source AC. The power management module 110 generates operating voltages of different voltage levels to various components within the computer system 100 according to the input power source P in . For example, the power management module 110 can generate the operating voltages CPU_PWR, MEM_PWR, and PCH_PWR of the central processing unit 130, the memory 140, and the peripheral device control center 150 according to the input power source P in , which may be the same voltage level or Different voltage levels. The power-on detection circuit 120 includes a controller 160 and a display device 170. The controller 160 executes a boot detection procedure and provides a corresponding system health code SHC to the display device 170 to display the boot detection status of the computer system 100 before the central processor 130 executes a boot self test procedure. After the controller 160 successfully completes the power-on detection procedure, the controller 160 provides a reset signal CPU_RESET_N to the central processing unit 130 to notify the central processing unit 130 that the power-on self-test procedure can be performed. Next, the peripheral device control center 150 transmits the BIOS of the basic input/output system code stored in the flash memory 190 to the central processing unit 130. During execution of the power-on self-test procedure by the central processor 130, the controller 160 transmits a power-on self test code POST from the central processor 130 to the display device 170 to display the corresponding result.

第2圖係顯示根據本發明一實施例所述之開機檢測方法,適用於包括開機檢測電路(例如第1圖的開機檢測電路)之電腦系統。首先,開機檢測電路內的一控制器會執行開機檢測程序,並透過一顯示裝置來顯示對應於開機檢測程序之結果的系統健康碼(步驟S210)。接著,在完成開機檢測程序之後,開機檢測電路內的控制器會提供重置信號CPU_RESET_N至電腦系統的中央處理器,以便中央處理器能根據基本輸入輸出系統碼來執行開機自我測試程序(步驟S220),以便完成開機程序。同時地,開機檢測電路內的控制器會將來自中央處理器之開機自我測試碼傳送至顯示裝置,以進行顯示。2 is a diagram showing a power-on detection method according to an embodiment of the present invention, which is applicable to a computer system including a power-on detection circuit (for example, the power-on detection circuit of FIG. 1). First, a controller in the power-on detection circuit executes a power-on detection program and displays a system health code corresponding to the result of the power-on detection program through a display device (step S210). Then, after the boot detection process is completed, the controller in the boot detection circuit provides a reset signal CPU_RESET_N to the central processing unit of the computer system, so that the central processing unit can execute the boot self test procedure according to the basic input and output system code (step S220). ) in order to complete the boot process. Simultaneously, the controller in the power-on detection circuit transmits the power-on self-test code from the central processing unit to the display device for display.

第3A與3B圖係顯示根據本發明一實施例所述之執行開機檢測程序之流程圖。同時參考第1圖及第3A與3B圖,首先,控制器160會判斷待機電源PSB是否正常(步驟S302)。若否,則控制器160會提供系統健康碼SHC1至顯示器170並結束開機檢測程序(步驟S304)。若待機電源PSB為正常,則控制器160會判斷即時時脈CLK是否正常(步驟S306),其中即時時脈CLK為32.768赫茲之時脈信號。若否,則控制器160會提供系統健康碼SHC2至顯示器170並結束開機檢測程序(步驟S308)。若即時時脈CLK正常,則控制器160會判斷儲存在快閃記憶體190之基本輸入輸出系統碼BIOS是否正常(步驟S307)。若否,則控制器160會提供系統健康碼SHC10至顯示器170,並結束開機檢測程序(步驟S309)。若基本輸入輸出系統碼BIOS正常,則控制器160會提供系統健康碼SHC3至顯示器170(步驟S310)。接著,控制器160會偵測到電腦系統的電源開關被使用者按壓(步驟S312)。接著,控制器160會判斷休眠控制信號SLP_S3是否正常(步驟S314),其中休眠控制信號SLP_S3係由控制器160提供至電源管理模組110,用以致能電源管理模組110來產生電腦系統100所需的不同操作電壓。若否,則控制器160會提供系統健康碼SHC4至顯示器170,並結束開機檢測程序(步驟S316)。若休眠控制信號SLP_3為正常,則控制器160會進一步判斷電源管理模組110所產生之不同電壓位準的操作電壓是否正常(步驟S318)。若否,則控制器160會提供對應之系統健康碼SHC5至顯示器170,並結束開機檢測程序(步驟S320)。舉例來說,當12、5、3.3、1.5與1.2伏特之操作電壓不正常時,控制器160會分別提供系統健康碼SHC5_1、SHC5_2、SHC5_3、SHC5_4、SHC5_5至顯示器170。若電源管理模組110所產生之不同電壓位準的操作電壓皆正常,則控制器160會進一步判斷控制信號CPU_PWRGD是否正常(步驟S322)。若否,則控制器160會提供系統健康碼SHC6至顯示器170,並結束開機檢測程序(步驟S324)。若控制信號CPU_PWRGD為正常,則控制器160會提供控制信號CPU_PWRGD至中央處理器130,以便通知中央處理器130的電源已準備好了。接著,控制器160會進一步判斷控制信號MEM_PWRGD是否正常(步驟S326)。若否,則控制器160會提供系統健康碼SHC7至顯示器170,並結束開機檢測程序(步驟S328)。若控制信號MEM_PWRGD為正常,則控制器160會提供控制信號MEM_PWRGD至中央處理器130,以便通知記憶體140的電源已準備好了。接著,控制器160會進一步判斷控制信號SYS_PWRGD是否正常(步驟S330)。若否,則控制器160會提供系統健康碼SHC8至顯示器170,並結束開機檢測程序(步驟S332)。若控制信號SYS_PWRGD為正常,則控制器160會提供控制信號SYS_PWRGD至周邊裝置控制中心150,以便通知全部的電源已準備好了。接著,控制器160會進一步判斷重置信號CPU_RESET_N是否正常(步驟S334)。若否,則控制器160會提供系統健康碼SHC9至顯示器170,並結束開機檢測程序(步驟S336)。若重置信號CPU_RESET_N為正常,則控制器160會提供重置信號CPU_RESET_N至中央處理器130,以便初始化中央處理器130,使得中央處理器130會根據基本輸入輸出系統程式碼來執行開機自我測試程序,並產生對應之開機自我測試碼POST。接著,控制器160會將來自中央處理器130的開機自我測試碼POST傳送至顯示裝置170,以顯示對應之結果(步驟S338)。若開機自我測試程序正常,則電腦系統100會完成開機程序。3A and 3B are flowcharts showing execution of a power-on detection procedure according to an embodiment of the present invention. Referring to FIG. 1 and FIGS. 3A and 3B simultaneously, first, the controller 160 determines whether the standby power source P SB is normal (step S302). If not, the controller 160 provides the system health code SHC 1 to the display 170 and ends the power-on detection procedure (step S304). If the standby power P SB is normal, the controller 160 determines whether the instant clock CLK is normal (step S306), wherein the instant clock CLK is a clock signal of 32.768 Hz. If not, the controller 160 provides the system health code SHC 2 to the display 170 and ends the power-on detection procedure (step S308). If the instant clock CLK is normal, the controller 160 determines whether the BIOS of the basic input/output system code stored in the flash memory 190 is normal (step S307). If not, the controller 160 provides the system health code SHC 10 to the display 170 and ends the power-on detection procedure (step S309). If the basic input/output system code BIOS is normal, the controller 160 provides the system health code SHC 3 to the display 170 (step S310). Next, the controller 160 detects that the power switch of the computer system is pressed by the user (step S312). Then, the controller 160 determines whether the sleep control signal SLP_S3 is normal (step S314), wherein the sleep control signal SLP_S3 is provided by the controller 160 to the power management module 110 for enabling the power management module 110 to generate the computer system 100. Different operating voltages required. If not, the controller 160 provides the system health code SHC 4 to the display 170 and ends the power-on detection procedure (step S316). If the sleep control signal SLP_3 is normal, the controller 160 further determines whether the operating voltage of the different voltage levels generated by the power management module 110 is normal (step S318). If not, the controller 160 provides the corresponding system health code SHC 5 to the display 170, and ends the power-on detection procedure (step S320). For example, when 12,5,3.3,1.5 1.2 volts operating voltage is not normal, the controller 160 can provide system health are code SHC 5_1, SHC 5_2, SHC 5_3 , SHC 5_4, SHC 5_5 to the display 170. If the operating voltages of different voltage levels generated by the power management module 110 are normal, the controller 160 further determines whether the control signal CPU_PWRGD is normal (step S322). If not, the controller 160 provides the system health code SHC 6 to the display 170 and ends the power-on detection procedure (step S324). If the control signal CPU_PWRGD is normal, the controller 160 provides a control signal CPU_PWRGD to the central processor 130 to notify the central processor 130 that the power is ready. Next, the controller 160 further determines whether the control signal MEM_PWRGD is normal (step S326). If not, the controller 160 provides the system health code SHC 7 to the display 170 and ends the power-on detection procedure (step S328). If the control signal MEM_PWRGD is normal, the controller 160 provides a control signal MEM_PWRGD to the central processor 130 to notify the memory 140 that the power is ready. Next, the controller 160 further determines whether the control signal SYS_PWRGD is normal (step S330). If not, the controller 160 provides the system health code SHC 8 to the display 170 and ends the power-on detection procedure (step S332). If the control signal SYS_PWRGD is normal, the controller 160 provides a control signal SYS_PWRGD to the peripheral device control center 150 to notify that all of the power is ready. Next, the controller 160 further determines whether the reset signal CPU_RESET_N is normal (step S334). If not, the controller 160 provides the system health code SHC 9 to the display 170 and ends the power-on detection procedure (step S336). If the reset signal CPU_RESET_N is normal, the controller 160 provides a reset signal CPU_RESET_N to the central processing unit 130 to initialize the central processing unit 130, so that the central processing unit 130 executes the boot self-test program according to the basic input/output system code. And generate the corresponding boot self test code POST. Next, the controller 160 transmits the power-on self test code POST from the central processing unit 130 to the display device 170 to display the corresponding result (step S338). If the boot self test procedure is normal, the computer system 100 will complete the boot process.

第4圖係顯示根據本發明一實施例所述之開機檢測電路200。開機檢測電路200包括控制器210以及顯示裝置220。控制器210包括80埠解碼器230、偵測器240以及多工器250。80埠解碼器230係用以對來自中央處理器之開機自我測試碼POST進行解碼,而產生解碼資料POST_D至多工器250。偵測器240係用以執行開機檢測程序,以便對即時時脈CLK、操作電壓CPU_PWR、MEM_PWR與PCH_PWR以及待機電源PSB等信號進行偵測以及判斷,並產生休眠控制信號SLP_S3、控制信號CPU_PWRGD、MEM_PWRGD與SYS_PWRGD以及重置信號CPU_RESET_N。同時地,偵測器240會產生對應之系統健康碼SHC至多工器250。當執行開機檢測程序時,偵測器240會提供具有第一邏輯位準之重置信號CPU_RESET_N至多工器250。於是,多工器250會將偵測器240所提供之系統健康碼SHC傳送至顯示裝置220。當成功地完成開機檢測程序之後,偵測器240會提供具有第二邏輯位準之重置信號CPU_RESET_N至中央處理器,以便控制中央處理器來進行開機自我測試程序。同時地,偵測器240會提供具有第二邏輯位準之重置信號CPU_RESET_N至多工器250。於是,多工器250會將80埠解碼器230所提供之解碼資料POST_D傳送至顯示裝置220。在一實施例中,偵測器240更包括記憶體260,用以儲存先前之基本輸入輸出系統碼BIOS。此外,偵測器240更可提供一系統健康碼,用以表示記憶體260所儲存之基本輸入輸出系統碼BIOS是否相同於快閃記憶體所儲存之基本輸入輸出系統碼。舉例來說,在電腦系統的基本輸入輸出系統碼BIOS被更新之後,電腦系統會根據更新後的基本輸入輸出系統碼BIOS進行開機。當電腦系統第一次成功地開機之後,開機檢測電路200會從快閃記憶體中複製完整的基本輸入輸出系統碼BIOS或是部分的資訊(例如檢查總和(checksum))至記憶體260。於是,偵測器240便可確認快閃記憶體的基本輸入輸出系統碼BIOS是否正常,如第3A圖之步驟S307所描述。在此實施例中,顯示裝置220包括複數發光二極體。此外,系統健康碼SHC以及解碼資料POST_D具有各自的碼,分別用以控制對應之發光二極體。在一實施例中,控制器210係設置在複雜可程式邏輯裝置(Complex Programmable Logic Device,CPLD)。Figure 4 is a diagram showing a power-on detection circuit 200 in accordance with an embodiment of the present invention. The power-on detection circuit 200 includes a controller 210 and a display device 220. The controller 210 includes an 80 埠 decoder 230, a detector 240, and a multiplexer 250. The 80 埠 decoder 230 is configured to decode the boot self test code POST from the central processor to generate a decoded material POST_D to the multiplexer. 250. The detector 240 is configured to execute a power-on detection program to detect and determine signals such as the instantaneous clock CLK, the operating voltages CPU_PWR, MEM_PWR and PCH_PWR, and the standby power P SB , and generate a sleep control signal SLP_S3, a control signal CPU_PWRGD, MEM_PWRGD and SYS_PWRGD and reset signal CPU_RESET_N. Simultaneously, the detector 240 generates a corresponding system health code SHC to the multiplexer 250. When the power-on detection procedure is executed, the detector 240 provides a reset signal CPU_RESET_N to the multiplexer 250 having a first logic level. Then, the multiplexer 250 transmits the system health code SHC provided by the detector 240 to the display device 220. After successfully completing the boot detection process, the detector 240 provides a reset signal CPU_RESET_N with a second logic level to the central processor to control the central processor to perform the boot self test procedure. Simultaneously, the detector 240 provides a reset signal CPU_RESET_N to the multiplexer 250 having a second logic level. Then, the multiplexer 250 transmits the decoded material POST_D provided by the 80-inch decoder 230 to the display device 220. In one embodiment, the detector 240 further includes a memory 260 for storing the previous basic input/output system code BIOS. In addition, the detector 240 further provides a system health code for indicating whether the basic input/output system code BIOS stored in the memory 260 is the same as the basic input/output system code stored in the flash memory. For example, after the basic input/output system code BIOS of the computer system is updated, the computer system will boot according to the updated basic input/output system code BIOS. After the computer system is successfully powered on for the first time, the power-on detection circuit 200 copies the complete basic input/output system code BIOS or part of the information (for example, checksum) from the flash memory to the memory 260. Thus, the detector 240 can confirm whether the BIOS of the basic input/output system code of the flash memory is normal, as described in step S307 of FIG. 3A. In this embodiment, display device 220 includes a plurality of light emitting diodes. In addition, the system health code SHC and the decoded material POST_D have respective codes for respectively controlling the corresponding light-emitting diodes. In an embodiment, the controller 210 is disposed in a Complex Programmable Logic Device (CPLD).

根據本發明實施例,系統健康碼SHC以及開機自我測試碼POST可透過顯示裝置170進行顯示,使得使用者能在開機過程中得到開機檢測程序以及開機自我測試程序之結果。According to the embodiment of the present invention, the system health code SHC and the boot self-test code POST can be displayed through the display device 170, so that the user can obtain the boot detection program and the result of the boot self-test program during the boot process.

雖然本發明已以較佳實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中包括通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention has been disclosed in the above preferred embodiments, it is not intended to limit the invention, and it is intended that the invention may be modified and modified without departing from the spirit and scope of the invention. Therefore, the scope of the invention is defined by the scope of the appended claims.

100...電腦系統100. . . computer system

110...電源管理模組110. . . Power management module

120...開機檢測電路120. . . Boot detection circuit

130...中央處理器130. . . CPU

140...記憶體140. . . Memory

150...周邊裝置控制中心150. . . Peripheral device control center

160...控制器160. . . Controller

170...顯示裝置170. . . Display device

180...電源供應器180. . . Power Supplier

190...快閃記憶體190. . . Flash memory

AC...交流電源AC. . . AC power

BIOS...基本輸入輸出系統碼BIOS. . . Basic input and output system code

200...開機檢測電路200. . . Boot detection circuit

210...控制器210. . . Controller

220...顯示裝置220. . . Display device

230...80埠解碼器230. . . 80埠 decoder

240...偵測器240. . . Detector

250...多工器250. . . Multiplexer

260...記憶體260. . . Memory

CLK...即時時脈CLK. . . Instant clock

CPU_PWR、MEM_PWR、PCH_PWR...操作電壓CPU_PWR, MEM_PWR, PCH_PWR. . . Operating voltage

CPU_PWRGD、MEM_PWRGD、SYS_PWRGD...控制信號CPU_PWRGD, MEM_PWRGD, SYS_PWRGD. . . control signal

CPU_RESET_N...重置信號CPU_RESET_N. . . Reset signal

DC...直流電源DC. . . DC power supply

POST...開機自我測試碼POST. . . Boot self test code

POST_D...解碼資料POST_D. . . Decoding data

Pin...輸入電源P in . . . Input power

PSB...待機電源P SB . . . Standby power

SHC...系統健康碼SHC. . . System health code

SLP_S3...休眠控制信號SLP_S3. . . Sleep control signal

第1圖係顯示根據本發明一實施例所述之電腦系統;1 is a diagram showing a computer system according to an embodiment of the invention;

第2圖係顯示根據本發明一實施例所述之開機檢測方法,適用於包括開機檢測電路之電腦系統;2 is a diagram showing a boot detection method according to an embodiment of the present invention, which is applicable to a computer system including a boot detection circuit;

第3A與3B圖係顯示根據本發明一實施例所述之執行開機檢測程序之流程圖;以及3A and 3B are flowcharts showing execution of a boot detection procedure according to an embodiment of the present invention;

第4圖係顯示根據本發明一實施例所述之開機檢測電路。Figure 4 is a diagram showing a power-on detection circuit according to an embodiment of the present invention.

100...電腦系統100. . . computer system

110...電源管理模組110. . . Power management module

120...開機檢測電路120. . . Boot detection circuit

130...中央處理器130. . . CPU

140...記憶體140. . . Memory

150...周邊裝置控制中心150. . . Peripheral device control center

160...控制器160. . . Controller

170...顯示裝置170. . . Display device

180...電源供應器180. . . Power Supplier

190...快閃記憶體190. . . Flash memory

AC...交流電源AC. . . AC power

BIOS...基本輸入輸出系統碼BIOS. . . Basic input and output system code

CLK...即時時脈CLK. . . Instant clock

CPU_PWR、MEM_PWR、PCH_PWR...操作電壓CPU_PWR, MEM_PWR, PCH_PWR. . . Operating voltage

CPU_PWRGD、MEM_PWRGD、SYS_PWRGD...控制信號CPU_PWRGD, MEM_PWRGD, SYS_PWRGD. . . control signal

CPU_RESET_N...重置信號CPU_RESET_N. . . Reset signal

DC...直流電源DC. . . DC power supply

POST...開機自我測試碼POST. . . Boot self test code

Pin...輸入電源P in . . . Input power

PSB...待機電源P SB . . . Standby power

SLP_S3...休眠控制信號SLP_S3. . . Sleep control signal

Claims (20)

一種開機檢測電路,適用於一電腦系統,包括:一顯示裝置;以及一控制器,耦接於上述顯示裝置,用以在上述電腦系統根據一基本輸入輸出系統碼來執行一開機自我測試程序之前,提供一系統健康碼至上述顯示裝置,其中上述系統健康碼係用以表示上述電腦系統內元件的操作電壓以及即時時脈是否正常。 A boot detection circuit is applicable to a computer system, comprising: a display device; and a controller coupled to the display device for performing a boot self-test program according to a basic input/output system code of the computer system Providing a system health code to the display device, wherein the system health code is used to indicate whether an operating voltage of the component in the computer system and an instant clock are normal. 如申請專利範圍第1項所述之開機檢測電路,其中當上述電腦系統執行上述開機自我測試程序時,上述控制器提供對應於上述開機自我測試程序的一開機自我測試碼至上述顯示裝置。 The boot detection circuit of claim 1, wherein when the computer system executes the boot self test procedure, the controller provides a boot self test code corresponding to the boot self test program to the display device. 如申請專利範圍第2項所述之開機檢測電路,其中上述系統健康碼更用以表示上述電腦系統的待機電源是否正常,以及上述電腦系統內元件的即時時脈為32.768赫茲之時脈信號。 The boot detection circuit of claim 2, wherein the system health code is used to indicate whether the standby power of the computer system is normal, and the clock signal of the component in the computer system is 32.768 Hz. 如申請專利範圍第3項所述之開機檢測電路,其中上述電腦系統內元件的操作電壓係由上述電腦系統之一電源管理模組所產生之中央處理器、記憶體以及周邊裝置控制中心的操作電壓。 The boot detection circuit of claim 3, wherein the operating voltage of the component in the computer system is operated by a central processing unit, a memory, and a peripheral device control center generated by a power management module of the computer system. Voltage. 如申請專利範圍第4項所述之開機檢測電路,其中上述系統健康碼更用以表示上述中央處理器、記憶體以及周邊裝置控制中心的控制信號是否正常。 The boot detection circuit of claim 4, wherein the system health code is used to indicate whether the control signals of the central processing unit, the memory, and the peripheral device control center are normal. 如申請專利範圍第2項所述之開機檢測電路,其中上述控制器更儲存一先前之基本輸入輸出系統碼,以及 上述系統健康碼更用以表示所儲存之上述先前之基本輸入輸出系統碼是否相同於上述基本輸入輸出系統碼。 The boot detection circuit of claim 2, wherein the controller further stores a previous basic input/output system code, and The system health code is further used to indicate whether the stored previous basic input/output system code is the same as the basic input/output system code. 如申請專利範圍第2項所述之開機檢測電路,其中上述顯示裝置包括複數發光二極體。 The boot detection circuit of claim 2, wherein the display device comprises a plurality of light emitting diodes. 一種電腦系統,包括:一中央處理器;一記憶體;一周邊裝置控制中心;以及一開機檢測電路,耦接於上述中央處理器、上述記憶體以及上述周邊裝置控制中心,用以執行一開機檢測程序,以指示上述電腦系統之即時時脈是否正常,並在完成上述開機檢測程序之後,提供一重置信號至上述中央處理器,以便上述中央處理器根據一基本輸入輸出系統碼執行一開機自我測試程序。 A computer system comprising: a central processing unit; a memory; a peripheral device control center; and a boot detection circuit coupled to the central processor, the memory, and the peripheral device control center for performing a boot Detecting a program to indicate whether the instant clock of the computer system is normal, and after completing the boot detection procedure, providing a reset signal to the central processor, so that the central processor performs a boot according to a basic input/output system code Self-testing program. 如申請專利範圍第8項所述之電腦系統,其中上述開機檢測電路包括:一顯示裝置;以及一控制器,耦接於上述顯示裝置,用以提供對應於上述開機檢測程序之結果的一系統健康碼至上述顯示裝置。 The computer system of claim 8, wherein the boot detection circuit comprises: a display device; and a controller coupled to the display device for providing a system corresponding to the result of the boot detection process The health code is to the above display device. 如申請專利範圍第9項所述之電腦系統,其中上述系統健康碼係用以表示上述電腦系統的待機電源是否正常,以及上述電腦系統內元件的即時時脈為32.768赫茲之時脈信號。 The computer system of claim 9, wherein the system health code is used to indicate whether the standby power of the computer system is normal, and the instantaneous clock of the component in the computer system is a clock signal of 32.768 Hz. 如申請專利範圍第10項所述之電腦系統,其中上 述系統健康碼係更用以表示上述中央處理器、上述記憶體以及上述周邊裝置控制中心的操作電壓是否正常。 For example, the computer system described in claim 10, wherein The system health code system is further configured to indicate whether the operating voltages of the central processing unit, the memory, and the peripheral device control center are normal. 如申請專利範圍第11項所述之電腦系統,其中上述系統健康碼係更用以表示上述中央處理器、上述記憶體以及上述周邊裝置控制中心的控制信號是否正常。 The computer system of claim 11, wherein the system health code is used to indicate whether the control signals of the central processing unit, the memory, and the peripheral device control center are normal. 如申請專利範圍第11項所述之電腦系統,其中當上述中央處理器根據上述基本輸入輸出系統碼執行上述開機自我測試程序時,上述控制器更提供對應於上述開機自我測試程序的一開機自我測試碼至上述顯示裝置。 The computer system of claim 11, wherein when the central processor executes the boot self-test program according to the basic input/output system code, the controller further provides a boot self corresponding to the boot self-test program. Test the code to the above display device. 如申請專利範圍第13項所述之電腦系統,其中上述控制器更儲存一先前之基本輸入輸出系統碼,以及上述系統健康碼更用以表示所儲存之上述先前之基本輸入輸出系統碼是否相同於上述基本輸入輸出系統碼。 The computer system of claim 13, wherein the controller further stores a previous basic input/output system code, and the system health code is further used to indicate whether the stored previous basic input/output system code is the same. The above basic input and output system code. 如申請專利範圍第13項所述之電腦系統,其中上述顯示裝置包括複數發光二極體。 The computer system of claim 13, wherein the display device comprises a plurality of light emitting diodes. 一種開機檢測方法,適用於一電腦系統,其中上述電腦系統包括一開機檢測電路,上述開機檢測方法包括:藉由上述開機檢測電路之一控制器來執行一開機檢測程序,並經由上述開機檢測電路之一顯示裝置來顯示對應於上述開機檢測程序之結果的一系統健康碼;以及在完成上述開機檢測程序之後,藉由上述控制器來提供一重置信號至上述電腦系統的一中央處理器,以便上述中央處理器根據一基本輸入輸出系統碼來執行一開機自我測試程序; 其中上述系統健康碼係用以表示上述電腦系統內元件的操作電壓以及即時時脈是否正常。 A booting detection method is applicable to a computer system, wherein the computer system includes a boot detection circuit, and the boot detection method includes: performing a boot detection program by using one of the boot detection circuits, and performing the boot detection circuit a display device for displaying a system health code corresponding to the result of the boot detection process; and, after completing the boot detection process, providing a reset signal to a central processor of the computer system by the controller, So that the central processing unit executes a boot self-test program according to a basic input/output system code; The system health code is used to indicate whether the operating voltage of the components in the computer system and the instant clock are normal. 如申請專利範圍第16項所述之開機檢測方法,更包括:在執行上述開機自我測試程序時,藉由上述控制器來提供對應於上述開機自我測試程序的一開機自我測試碼至上述顯示裝置。 The booting detection method of claim 16, further comprising: providing a boot self test code corresponding to the boot self test program to the display device by using the controller when performing the boot self test procedure . 如申請專利範圍第17項所述之開機檢測方法,其中上述系統健康碼係更用以表示上述電腦系統的待機電源是否正常,以及上述電腦系統內元件的即時時脈為32.768赫茲之時脈信號。 The power-on detection method according to claim 17, wherein the system health code is used to indicate whether the standby power of the computer system is normal, and the clock signal of the component in the computer system is 32.768 Hz. . 如申請專利範圍第17項所述之開機檢測方法,其中上述控制器更儲存一先前之基本輸入輸出系統碼,以及上述系統健康碼更用以表示所儲存之上述先前之基本輸入輸出系統碼是否相同於上述基本輸入輸出系統碼。 The boot detection method of claim 17, wherein the controller further stores a previous basic input/output system code, and the system health code is further used to indicate whether the stored previous basic input/output system code is stored. Same as the above basic input and output system code. 如申請專利範圍第17項所述之開機檢測方法,其中上述顯示裝置包括複數發光二極體。The power-on detecting method according to claim 17, wherein the display device comprises a plurality of light-emitting diodes.
TW101100411A 2012-01-05 2012-01-05 Boot detecting circuit, computer system and boot detecting method thereof TWI533122B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW101100411A TWI533122B (en) 2012-01-05 2012-01-05 Boot detecting circuit, computer system and boot detecting method thereof
CN201210013841.7A CN103197996B (en) 2012-01-05 2012-01-17 Startup detection circuit, computer system and startup detection method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101100411A TWI533122B (en) 2012-01-05 2012-01-05 Boot detecting circuit, computer system and boot detecting method thereof

Publications (2)

Publication Number Publication Date
TW201329702A TW201329702A (en) 2013-07-16
TWI533122B true TWI533122B (en) 2016-05-11

Family

ID=48720580

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101100411A TWI533122B (en) 2012-01-05 2012-01-05 Boot detecting circuit, computer system and boot detecting method thereof

Country Status (2)

Country Link
CN (1) CN103197996B (en)
TW (1) TWI533122B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI615718B (en) * 2016-12-19 2018-02-21 英業達股份有限公司 Computer system

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI512457B (en) * 2014-03-18 2015-12-11 Micro Star Int Co Ltd Immediately inform abnormal information and eliminate abnormal state system and method thereof
CN104407689A (en) * 2014-11-14 2015-03-11 英业达科技有限公司 Calculator system and power-on method and updating method thereof
CN105786658A (en) * 2014-12-17 2016-07-20 环旭电子股份有限公司 Computer system and method capable of detecting internal computer state
CN105260275A (en) * 2015-10-27 2016-01-20 浪潮电子信息产业股份有限公司 Startup and shutdown testing method suitable for automatic configuration partition of high-end host
TWI566179B (en) * 2016-01-20 2017-01-11 神雲科技股份有限公司 Debug Message Outputting Method and Computer Program Product for BIOS
CN106528320B (en) * 2016-12-02 2019-07-09 英业达科技有限公司 Computer system
CN109783282B (en) * 2017-11-15 2022-06-28 纬联电子科技(中山)有限公司 Computer device and power supply abnormality detection method
TWI761668B (en) * 2019-03-22 2022-04-21 緯創資通股份有限公司 Computer system with self-test and debugging method thereof
US11126517B2 (en) * 2019-05-14 2021-09-21 Quanta Computer Inc. Method and system for communication channels to management controller

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1249579C (en) * 2002-11-18 2006-04-05 英业达股份有限公司 The method of loading the preset value of computer startup
CN100375054C (en) * 2004-09-23 2008-03-12 联想(北京)有限公司 Monitoring diagnosis device of computer main board failure
CN201285545Y (en) * 2008-09-23 2009-08-05 芯发威达电子(上海)有限公司 Starting-up monitoring apparatus for host board
CN101894057B (en) * 2009-05-18 2014-01-15 鸿富锦精密工业(深圳)有限公司 motherboard fault diagnosis card
CN201540533U (en) * 2009-11-16 2010-08-04 英业达股份有限公司 Computer system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI615718B (en) * 2016-12-19 2018-02-21 英業達股份有限公司 Computer system

Also Published As

Publication number Publication date
TW201329702A (en) 2013-07-16
CN103197996B (en) 2016-12-07
CN103197996A (en) 2013-07-10

Similar Documents

Publication Publication Date Title
TWI533122B (en) Boot detecting circuit, computer system and boot detecting method thereof
US9098305B2 (en) Computer system and bootup and shutdown method thereof
US8538720B2 (en) Cold boot test system and method for electronic devices
US10223217B2 (en) Information processing device, method for booting information processing device, and non-transitory recording medium
US11074148B2 (en) Method and system for visually displaying a bios message during a power-on self-test
WO2016101411A1 (en) Server display method and device
US9658863B2 (en) Information processing apparatus and control method therefor
US8935558B2 (en) Overclocking module, a computer system and a method for overclocking
JP2018077835A (en) System-on-chip integrity verification method and system
TWI534707B (en) Computer system, shutdown and boot method thereof
US8745368B2 (en) Notebook computer for performing part of power-on self-test according to proximity sensor before displaying image after power switch is triggered
CN112506745A (en) Memory temperature reading method and device and computer readable storage medium
US20070130480A1 (en) System and method for enabling fast power-on times when using a large operating system to control an instrumentation system
CN106708675A (en) Method for detecting faults before starting of computers
US7877631B2 (en) Detection of system battery errors
US11194684B2 (en) Information handling system and methods to detect power rail failures and test other components of a system motherboard
TWI475487B (en) Booting method and electronic device
CN101408860A (en) Monitoring device and monitoring method thereof
US20210278888A1 (en) Information Processing System And Information Processing Apparatus
CN111061603B (en) Motherboard capable of recording self-checking data, computer and recording method of self-checking data
KR101370331B1 (en) Computer system
JP5624963B2 (en) Information processing apparatus and program
CN108108273B (en) Motherboard and its computer system
CN111045899A (en) Method for displaying BIOS information in early stage of computer system power-on self-test
JP7054037B1 (en) Information processing equipment and programs