CN101551766A - Device and method for displaying BIOS error detection code - Google Patents
Device and method for displaying BIOS error detection code Download PDFInfo
- Publication number
- CN101551766A CN101551766A CNA2008100900974A CN200810090097A CN101551766A CN 101551766 A CN101551766 A CN 101551766A CN A2008100900974 A CNA2008100900974 A CN A2008100900974A CN 200810090097 A CN200810090097 A CN 200810090097A CN 101551766 A CN101551766 A CN 101551766A
- Authority
- CN
- China
- Prior art keywords
- error detection
- detection code
- displaying
- connection port
- bios
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Power Sources (AREA)
Abstract
Description
技术领域 technical field
本发明涉及一种显示检错码的装置与方法,特别是涉及一种显示BIOS检错码的装置与方法。The invention relates to a device and method for displaying error detection codes, in particular to a device and method for displaying BIOS error detection codes.
背景技术 Background technique
计算机系统等装置于启动或重置(reset)时,基本输入输出系统(BasicInput Output System,BIOS)会针对硬件进行开机自我测试(power-on self-test,POST)。其中,开机自我测试乃是计算机系统为了能够正常运作,在操作系统加载之前,先测试各部份组件是否正常,或是否有特定装置未安装妥当所进行的测试动作。在进行开机自我测试后,如果计算机系统中有异常情况产生,便会产生所谓的检错码(POST code)。而通过检错码,即可得知哪一部分的硬件发生问题,进而修复该异常问题点。When a device such as a computer system is started or reset (reset), the Basic Input Output System (Basic Input Output System, BIOS) will perform a power-on self-test (POST) on the hardware. Wherein, the power-on self-test is a test action performed by the computer system to test whether each part of the components is normal or whether a specific device is not installed properly before the operating system is loaded in order to be able to operate normally. After the power-on self-test is performed, if there is an abnormal situation in the computer system, a so-called error detection code (POST code) will be generated. And through the error detection code, you can know which part of the hardware has a problem, and then fix the abnormal problem point.
早期检错码通过系统主芯片传送至PCI总线上,再由连接PCI总线的设备译码并显示该检错码。现今,检错码大多通过系统主芯片传送至低引脚计数(Low Pin Count,LPC)接口总线,再通过外部的检测设备接收并显示该检错码。The early error detection code is transmitted to the PCI bus through the main chip of the system, and then decoded and displayed by the device connected to the PCI bus. Nowadays, most of the error detection codes are transmitted to the low pin count (Low Pin Count, LPC) interface bus through the main chip of the system, and then the error detection codes are received and displayed by an external detection device.
通过低引脚计数接口传送检错码时,需要在计算机系统的主机板上预留一个连接端口,以提供检测设备连接并接收检错码。由于,低引脚计数接口具有7根信号线,因此必须占用7根引脚(pin)的空间。然而,科技日益进步,对于笔记本计算机来说,轻薄化的需求使得笔记本计算机中的空间变得相当宝贵。因此,将造成低引脚计数接口所须预留的连接端口,占用主机板太多的空间。When the error detection code is transmitted through the low pin count interface, a connection port needs to be reserved on the motherboard of the computer system to provide the detection device connection and receive the error detection code. Since the low pin count interface has 7 signal lines, it must occupy the space of 7 pins. However, as technology advances day by day, for notebook computers, the demand for thinner and lighter makes the space in the notebook computer very precious. Therefore, the reserved connection port for the low pin count interface will occupy too much space on the motherboard.
再者,传统技术上,为了将检测设备连接到主机板上的低引脚计数接口的连接端口,用以接收并显示检错码,必须将计算机的壳体拆开,才能完成上述连接。如此,在使用上十分不便,且增加了操作的困难。Furthermore, traditionally, in order to connect the detection device to the connection port of the low pin count interface on the mainboard to receive and display the error detection code, the casing of the computer must be disassembled to complete the connection. In this way, it is very inconvenient to use and increases the difficulty of operation.
因此,已知技术提出使用USB端口来传送检错码的方式。然而,USB接口必须经过计算机系统的初始化才能正常运作,造成在计算机系统初始化USB设备之前,USB接口将无法正常工作。如果此时计算机系统出现异常,则检错码将无法传送。Therefore, the known technology proposes a method of using the USB port to transmit the error detection code. However, the USB interface must be initialized by the computer system before it can work normally, so the USB interface will not work properly before the computer system initializes the USB device. If there is an abnormality in the computer system at this time, the error detection code will not be transmitted.
再者,已知技术亦提出利用笔记本计算机系统上的LED来显示检错码的方法。其做法为,使用笔记本计算机内建的LED,如键盘灯,电源灯,硬盘灯等,采用LED组合显示的方式,来表达相对应的检错码。然而此种方式,首先使用人员必须先知道LED灯变化时所代表的检错码,因此需要事先训练使用人员或使其查看对应表格,如此将增加时间成本。Furthermore, the known technology also proposes a method of using LEDs on the notebook computer system to display the error detection code. The method is to use the built-in LEDs of the notebook computer, such as keyboard lights, power lights, hard disk lights, etc., and use LED combination display to express the corresponding error detection code. However, in this way, firstly, the user must first know the error detection code represented by the change of the LED light, so it is necessary to train the user in advance or make him check the corresponding table, which will increase the time cost.
因此,如何解决计算机系统中显示BIOS检错码的问题,为一急待解决的议题。Therefore, how to solve the problem of displaying the BIOS error detection code in the computer system is an urgent issue to be solved.
发明内容 Contents of the invention
有鉴于此,本发明提出一种显示BIOS检错码的装置与方法。通过本发明所提出的装置或方法,不用像先前技术中的低引脚计数(LPC)接口,须占用多根的引脚计数,如此将可节省空间的配置。加上不需拆开计算机系统的外壳即可显示检错码,将大幅提升使用上的便利性。In view of this, the present invention proposes a device and method for displaying BIOS error detection codes. Through the device or method proposed by the present invention, unlike the low pin count (LPC) interface in the prior art, it is not necessary to occupy multiple pin counts, so that the configuration can save space. In addition, the error detection code can be displayed without dismantling the shell of the computer system, which greatly improves the convenience of use.
本发明提出一种显示BIOS检错码的装置,应用于一计算机系统,该显示BIOS检错码的装置包含:一基本输入输出系统(BIOS),用以产生检错码,且检错码由低引脚计数(LPC)接口所传送;一转换模块,接收检错码,并将检错码转换为系统管理总线(SMBus)格式;一输出模块,用以接收并输出由转换模块所传送的检错码,且输出模块为系统管理总线(SMBus)接口。The present invention proposes a device for displaying BIOS error detection codes, which is applied to a computer system. The device for displaying BIOS error detection codes includes: a basic input output system (BIOS) for generating error detection codes, and the error detection codes are determined by Transmitted by the low pin count (LPC) interface; a conversion module receives the error detection code and converts the error detection code into a system management bus (SMBus) format; an output module is used to receive and output the error detection code transmitted by the conversion module Error detection code, and the output module is a system management bus (SMBus) interface.
本发明还提出一种显示BIOS检错码的方法,包含下列步骤:由基本输入输出系统(BIOS)产生检错码;通过低引脚计数(LPC)接口传送检错码;转换检错码为系统管理总线(SMBus)格式;提供系统管理总线(SMBus)接口的输出模块,用以接收并输出检错码。The present invention also proposes a method for displaying a BIOS error detection code, comprising the steps of: generating an error detection code by the Basic Input Output System (BIOS); transmitting the error detection code through a low pin count (LPC) interface; converting the error detection code into System Management Bus (SMBus) format; an output module providing a System Management Bus (SMBus) interface for receiving and outputting error detection codes.
本发明的优选实施例及其功效,以下配合附图说明。Preferred embodiments of the present invention and their effects are described below with accompanying drawings.
附图说明 Description of drawings
图1:显示BIOS检错码的装置第一实施例示意图Fig. 1: The schematic diagram of the first embodiment of the device showing the BIOS error detection code
图2:显示BIOS检错码的装置第二实施例示意图Fig. 2: The schematic diagram of the second embodiment of the device showing the BIOS error detection code
图3A:显示BIOS检错码的装置第三实施例示意图Figure 3A: A schematic diagram of a third embodiment of a device displaying BIOS error detection codes
图3B:显示BIOS检错码的装置第四实施例示意图Figure 3B: a schematic diagram of a fourth embodiment of a device for displaying BIOS error detection codes
图4:显示BIOS检错码的方法流程图Figure 4: Flowchart of the method for displaying BIOS error detection codes
并且,上述附图中的附图标记说明如下:And, the reference numerals in the above-mentioned accompanying drawings are explained as follows:
10:基本输入输出系统10: Basic Input Output System
20:转换模块20: Conversion module
30:输出模块30: Output module
32:电池连接端口32: Battery connection port
34:系统管理总线连接端口34: System management bus connection port
40:检测模块40: detection module
50:显示模块50: display module
具体实施方式 Detailed ways
请参照图1,该图为显示BIOS检错码的装置的第一实施例示意图。本发明所提出的显示BIOS检错码的装置,应用于一计算机系统,包含:基本输入输出系统10、转换模块20、输出模块30。Please refer to FIG. 1 , which is a schematic diagram of a first embodiment of a device for displaying BIOS error detection codes. The device for displaying BIOS error detection code proposed by the present invention is applied to a computer system and includes: a basic input and
计算机系统上的基本输入输出系统(Basic Input Output System,BIOS)对硬件设备会进行检测和初始化动作,并依照检测程序运行的各阶段分别输出检错码(power-on self-test,POST Code)。接着BIOS会根据所在系统的硬件设备情况,将检错码送到某些系统总线或接口上。The Basic Input Output System (BIOS) on the computer system will detect and initialize the hardware device, and output the error detection code (power-on self-test, POST Code) according to each stage of the detection program operation . Then the BIOS will send the error detection code to some system buses or interfaces according to the hardware equipment of the system where it is located.
因此,本发明所提出的基本输入输出系统10(以下简称为BIOS),用以产生检错码,且检错码由低引脚计数(Low Pin Count,LPC)接口(以下简称为LPC接口)所传送。Therefore, the basic input output system 10 (hereinafter referred to as BIOS) proposed by the present invention is used to generate error detection codes, and the error detection codes are provided by a low pin count (Low Pin Count, LPC) interface (hereinafter referred to as LPC interface) sent.
BIOS所产生的检错码由LPC接口传送至转换模块20。当转换模块20接收检错码时,会将检错码由原来的LPC格式转换为系统管理总线(SMBus)格式(以下简称为SMBus格式)。其中,转换模块20可为一般计算机系统中内建的键盘控制器(Keyboard Controller,KBC)。键盘控制器具有多种功能,例如:控制键盘、控制屏幕亮度、控制触控板(touch pad)等,其中,键盘控制器本身即具有转换LPC格式为SMBus格式的功能。因此,本发明提出可利用键盘控制器作为转换模块20,而将检错码由LPC格式转换为SMBus格式。The error detection code generated by the BIOS is transmitted to the
输出模块30用以接收并输出由转换模块20所传送的检错码。由于,转换模块20已将检错码转换为SMBus格式,因此输出模块30的接口形式属于系统管理总线(SMBus)接口(以下简称为SMBus接口)。The
由于,SMBus接口只须预留2~3根引脚(当不预留接地信号时,为2根引脚;当预留接地信号时,为3根引脚),比LPC接口须预留7根引脚,大幅节省主机板所须预留的配置空间。Because, the SMBus interface only needs to reserve 2 to 3 pins (2 pins when the ground signal is not reserved; 3 pins when the ground signal is reserved), which is 7 pins reserved for the LPC interface. The root pin greatly saves the configuration space that the motherboard must reserve.
上述输出模块30可为笔记本计算机的电池连接端口(port)。其中,电池连接端口为笔记本计算机中原本即内建,且属于SMBus接口,原本的功能是用以传送电池电量等相关信号。由于,笔记本计算机的电池连接端口属于SMBus接口,因此利用笔记本计算机内建的电池连接端口作为本发明提出的输出模块30,如此不需增加额外的连接端口,也不需其它额外线路,因此不会占用主机板宝贵的空间。再者,通过电池连接端口接收并输出检错码,当外部装置需读取该检错码时,只须连接电池连接端口即可读取,不再像先前技术须拆解机壳,因此操作上十分便利。The above-mentioned
此外,输出模块30也可为额外预留的系统管理总线连接端口。此时,只须在主机板上预留一个2~3根引脚的空间即可,比起先前技术采用预留LPC接口的方式,本发明所提出的装置可将信号线减少至2~3根。如此,将可节省主机板上的配置空间,也使连接端口的摆放位置可以更为弹性化。In addition, the
请参照图2,为显示BIOS检错码的装置的第二实施例示意图。第二实施例中说明,输出模块30可同时包含笔记本计算机的电池连接端口32,以及额外预留的系统管理总线连接端口34的情形。在此情况之下,显示BIOS检错码的装置还包含:检测模块40。Please refer to FIG. 2 , which is a schematic diagram of a second embodiment of a device for displaying BIOS error detection codes. In the second embodiment, the
检测模块40检测笔记本计算机的电池是否连接电池连接端口,并产生检测信号。其中,检测信号可分别代表如下两种情形。当检测信号表示笔记本计算机的电池未连接电池连接端口32时,检错码便会由电池连接端口32接收并输出;相对的,当检测信号表示笔记本计算机的电池已连接电池连接端口32,检错码便会由系统管理总线连接端口34接收并输出。而图2中的虚线表示,依据检测模块40的检测信号,检错码可由电池连接端口32、系统管理总线连接端口34两者其中之一来接收并输出。The
上述计算机系统可为笔记本计算机或台式计算机。由于,台式计算机并未具有电池连接端口32,因此当应用于台式计算机时,输出模块30可采用额外预留的系统管理总线连接端口34。此时,转换模块20转换后的检错码便由系统管理总线连接端口34所接收并输出。The computer system mentioned above can be a notebook computer or a desktop computer. Since the desktop computer does not have the
请同时参照图3A及图3B,为显示BIOS检错码的装置的第三、四实施例示意图。这种情况下,还包含显示模块50。Please refer to FIG. 3A and FIG. 3B at the same time, which are schematic diagrams of the third and fourth embodiments of the device for displaying the BIOS error detection code. In this case, a
显示模块50用以连接输出模块30,并显示检错码。当使用人员须读取检错码,以了解计算机系统硬件设备的状况时,只须将显示模块50与输出模块30连接后,即可显示检错码。由于,与之连接的输出模块30可为电池连接端口32或系统管理总线连接端口34,且两者的接口形式同样属于SMBus接口,因此显示模块50必须具有SMBus接口的连接端口,而与其相连接。而图3B中虚线表示,由于检错码是依据检测信号,而由电池连接端口32、系统管理总线连接端口34两者其中之一来接收并输出,因此显示模块50可连接电池连接端口32、系统管理总线连接端口34两者其中之一,进而用以显示该检错码。The
请参照图4,该图所示为显示BIOS检错码的方法流程图,包含下列步骤。Please refer to FIG. 4 , which shows a flowchart of a method for displaying BIOS error detection codes, including the following steps.
步骤S10:由基本输入输出系统(BIOS)产生检错码。Step S10: Generate an error detection code by the basic input output system (BIOS).
步骤S20:通过低引脚计数(LPC)接口传送检错码。Step S20: Transmit the error detection code through the low pin count (LPC) interface.
步骤S30:转换检错码为系统管理总线(SMBus)格式。Step S30: converting the error detection code into a system management bus (SMBus) format.
步骤S40:提供系统管理总线(SMBus)接口的输出模块,用以接收并输出检错码。其中,输出模块可为笔记本计算机的电池连接端口(port),或额外预留的系统管理总线连接端口(port)。Step S40: providing an output module of a system management bus (SMBus) interface for receiving and outputting an error detection code. Wherein, the output module may be a battery connection port (port) of the notebook computer, or an additionally reserved system management bus connection port (port).
此外,输出模块也可同时包含笔记本计算机的电池连接端口,以及额外预留的系统管理总线连接端口。这种情况下,还包含下列步骤:检测笔记本计算机的电池是否连接电池连接端口,并产生检测信号。其中,当检测信号表示笔记本计算机的电池未连接电池连接端口时,检错码由电池连接端口接收并输出。相对的,当检测信号表示笔记本计算机的电池已连接电池连接端口时,检错码由系统管理总线连接端口接收并输出。In addition, the output module can also include the battery connection port of the notebook computer and an additional reserved system management bus connection port. In this case, the following steps are also included: detecting whether the battery of the notebook computer is connected to the battery connection port, and generating a detection signal. Wherein, when the detection signal indicates that the battery of the notebook computer is not connected to the battery connection port, the error detection code is received and output by the battery connection port. In contrast, when the detection signal indicates that the battery of the notebook computer has been connected to the battery connection port, the error detection code is received and output by the system management bus connection port.
再者,为了使检错码可供使用人员读取,可包含下列步骤:提供显示模块连接输出模块;显示检错码。如此,使用人员即可通过显示模块读取检错码。Furthermore, in order to make the error detection code readable by the user, the following steps may be included: providing a display module connected to the output module; displaying the error detection code. In this way, the user can read the error detection code through the display module.
虽然本发明的技术内容已经以优选实施例公开如上,然而其并非用以限定本发明,任何本领域技术人员,在不脱离本发明的精神所作的改动与润饰,都应涵盖在本发明的范围内,因此本发明的保护范围当以后附的权利要求的内容为准。Although the technical content of the present invention has been disclosed above with preferred embodiments, it is not intended to limit the present invention. Any changes and modifications made by those skilled in the art without departing from the spirit of the present invention should be covered by the scope of the present invention Therefore, the protection scope of the present invention should be determined by the content of the appended claims.
Claims (19)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2008100900974A CN101551766A (en) | 2008-04-02 | 2008-04-02 | Device and method for displaying BIOS error detection code |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2008100900974A CN101551766A (en) | 2008-04-02 | 2008-04-02 | Device and method for displaying BIOS error detection code |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101551766A true CN101551766A (en) | 2009-10-07 |
Family
ID=41156015
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2008100900974A Pending CN101551766A (en) | 2008-04-02 | 2008-04-02 | Device and method for displaying BIOS error detection code |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101551766A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103176759A (en) * | 2011-12-20 | 2013-06-26 | 鸿富锦精密工业(深圳)有限公司 | BIOS POST code display system and BIOS POST code display method |
CN104035844A (en) * | 2013-03-04 | 2014-09-10 | 联想(北京)有限公司 | Fault testing method and electronic device |
CN106326043A (en) * | 2015-06-23 | 2017-01-11 | 联想(北京)有限公司 | USB based diagnosis device and method |
CN110199290A (en) * | 2017-02-01 | 2019-09-03 | 惠普发展公司,有限责任合伙企业 | It is detected using the intrusion of ambient light sensor and super input/output circuitry |
CN113391939A (en) * | 2021-06-11 | 2021-09-14 | 深圳市同泰怡信息技术有限公司 | Method, device and computer equipment for recording basic input and output system information |
-
2008
- 2008-04-02 CN CNA2008100900974A patent/CN101551766A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103176759A (en) * | 2011-12-20 | 2013-06-26 | 鸿富锦精密工业(深圳)有限公司 | BIOS POST code display system and BIOS POST code display method |
CN104035844A (en) * | 2013-03-04 | 2014-09-10 | 联想(北京)有限公司 | Fault testing method and electronic device |
CN106326043A (en) * | 2015-06-23 | 2017-01-11 | 联想(北京)有限公司 | USB based diagnosis device and method |
CN110199290A (en) * | 2017-02-01 | 2019-09-03 | 惠普发展公司,有限责任合伙企业 | It is detected using the intrusion of ambient light sensor and super input/output circuitry |
CN110199290B (en) * | 2017-02-01 | 2024-03-22 | 惠普发展公司,有限责任合伙企业 | Intrusion detection system utilizing ambient light sensor and super input/output circuitry |
CN113391939A (en) * | 2021-06-11 | 2021-09-14 | 深圳市同泰怡信息技术有限公司 | Method, device and computer equipment for recording basic input and output system information |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI453596B (en) | Device and method for outputting bios post code | |
CN102402477B (en) | Chip with computer system environment information monitoring module and computer system | |
US8707103B2 (en) | Debugging apparatus for computer system and method thereof | |
US9858238B2 (en) | Dual mode USB and serial console port | |
US7382148B2 (en) | System and method for testing an LED and a connector thereof | |
US11199890B2 (en) | Peripheral device expansion card system | |
US8060733B2 (en) | Apparatus for displaying BIOS POST code and method thereof | |
CN101551766A (en) | Device and method for displaying BIOS error detection code | |
US7836237B2 (en) | Changeable CPU module apparatus for a computer | |
CN102479148A (en) | Monitoring system and method for input and output port states of peripheral components | |
CN102237125A (en) | Hard disk indicator lamp control system | |
CN101739320A (en) | Error detection device and method for server | |
CN106250279A (en) | Debugging method and device thereof | |
US7912044B2 (en) | Expandable structure for peripheral storage device | |
CN101377753A (en) | Accessory testing device and accessory testing method | |
US20120124253A1 (en) | Switch circuit and method for switching input/output port and electronic device using the same | |
CN1368677A (en) | Information processing system with power-on debugging function and method for power-on debugging | |
CN104484305B (en) | Server debugging analysis interface device | |
CN101661411A (en) | Device and method for outputting BIOS error detection code | |
TWI396969B (en) | Error detecting apparatus of server and error detecting method thereof | |
CN102479129B (en) | Detection device for the state of peripheral components | |
US20090089003A1 (en) | Accessory-testing device and method therefor | |
US9237065B2 (en) | Chip and computer system | |
US12045148B2 (en) | Verification system of basic input output system and verification method thereof | |
TWI221551B (en) | Operation status display method and system for electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Open date: 20091007 |