CN1760840A - Method for displaying debugging codes by using LED lamps on keyboard of computer - Google Patents

Method for displaying debugging codes by using LED lamps on keyboard of computer Download PDF

Info

Publication number
CN1760840A
CN1760840A CN 200410051778 CN200410051778A CN1760840A CN 1760840 A CN1760840 A CN 1760840A CN 200410051778 CN200410051778 CN 200410051778 CN 200410051778 A CN200410051778 A CN 200410051778A CN 1760840 A CN1760840 A CN 1760840A
Authority
CN
China
Prior art keywords
detecting code
error detecting
keyboard
computor
led lamp
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 200410051778
Other languages
Chinese (zh)
Inventor
蓝治能
孙守志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitac Computer Shunde Ltd
Shunda Computer Factory Co Ltd
Mitac International Corp
Original Assignee
Mitac Computer Shunde Ltd
Mitac International Corp
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 Mitac Computer Shunde Ltd, Mitac International Corp filed Critical Mitac Computer Shunde Ltd
Priority to CN 200410051778 priority Critical patent/CN1760840A/en
Publication of CN1760840A publication Critical patent/CN1760840A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

After power source of computer host is turned to on and passed to power on test phase, the method uses dark and light combination of LEDs on computer keyboard to display debugging codes to inform user the current debugging executive mode. The method includes following steps: first, building checklist of debugging codes; next, receiving error message of execution, then, generating control signal from error message of execution based on checklist of debugging codes; finally, receiving the control signal, and generating combination of LEDs corresponding to error message of execution based on the signal.

Description

Utilize the method for the LED lamp demonstration error detecting code on the computor-keyboard
Technical field
The present invention is a kind of method that shows error detecting code, particularly a kind of method of utilizing the LED lamp demonstration error detecting code on the computor-keyboard.
Background technology
BIOS (Basic Input Output System) is as the term suggests mean software the most basic in the system, the program of burning in flash ROM (Flash ROM) when dispatching from the factory for motherboard.Its basic functions is exactly the basic setting value that is used for remembering computer, the user's pattern that also can come initialization system by BIOS, and the correlation parameter of hardware simultaneously.When system's one start, the testing when BIOS can start shooting (Power On Self Test) is to determine the basic configuration of system component.
The debug interface of conventional P C framework is to transmit by ISA or PCI bus, is shown on LED or the seven joint displays through detecting sign indicating number after the decoding, perhaps uses serge sound and expresses.For example: DRAM is bad to be again and again long serge sound, SRAM is bad then to be three short fast serge sound, the VGA card is bad then to be eight fast weak points sound that gurgle, so that maintenance to be provided, purposes such as test, this interface is widely used in the engineering technical personnel of industry, yet today, industrial community was emphasized after sale service and the numerous and confused so-called after sale service center of setting up, the Ji is that the client solves the problem in all System Operations with efficiency of service easily and fast, if the debug interface of present main flow will be built on the product, allow the user can show the state representation of learning system's debug running by the information of user's end, carry out technical support via telephone so that circulate a notice of the technician fast, certainly will have problems thus, at first, the cost of hardware design and the cost of material will improve, because LED or seven joint displays all belong to the outfit that adds, on set specification, need planning again to produce, and required part increases, and Material Cost also can improve relatively; Moreover, above-mentioned debug interface display device is to be built within the casing of computer, when the user meets with obstacle and must utilize this interface to know the present debug state of system, need open the casing beginning of computer and can observe present error detecting code demonstration, so often cause the inconvenience in the use.
Summary of the invention
In view of this, the present invention proposes a kind of method of utilizing the LED lamp demonstration error detecting code on the computor-keyboard, when the host computer power-on and after, utilize the light and shade combination of the LED lamp on the computor-keyboard, to show error detecting code, to inform the present debug executing state of user through the start test phase.
The present invention's technical scheme is: when the host computer power-on and through a start test phase, the light and shade combination that utilizes the LED lamp on the computor-keyboard is to show an error detecting code, and the method step of this invention includes: set up an error detecting code table of comparisons; Receive an execution error information; At this error detecting code table of comparisons of this execution error information comparison, and produce a control signal; Reaching a cresset that receives this control signal and produce according to this corresponding to this execution error message makes up.
By the disclosed method of the present invention, the user need not buy more extra equipment and get final product the known state of knowing the present debug of system, moreover, also because of the display mode that is based upon on the keyboard, make user and engineering technical personnel all can observe the state that present system carries out debug easily.
Description of drawings
Utilize the LED lamp on the computor-keyboard to show that the method for error detecting code is described in further detail as follows below in conjunction with most preferred embodiment and accompanying drawing to of the present invention:
Fig. 1 utilizes the computer input interface to show the method flow diagram of error detecting code for the present invention discloses.
Embodiment
The present invention is a kind of method of utilizing the LED lamp demonstration error detecting code on the computor-keyboard.
Please refer to Fig. 1, illustrate that the present invention discloses the method flow diagram that the LED lamp that utilizes on the computor-keyboard shows error detecting code, when the host computer power-on and through BIOS start test phase, promptly carry out POST (the POWER ON SELF TEST) self test program of front end among the BIOS, wherein formed by the test procedure of many segments among the POST.Before it will enter this section test procedure, can earlier test program code (ERRORCODE) be put into CPU AL buffer, after again with the data in the CPU AL buffer, via I/O instruction (OUT 60H, AL) be sent to keyboard controller, inform the execution test mode that the user is present through the light and shade combination that just program code (ERROR CODE) is directly utilized the LED lamp on the computor-keyboard after the decoding to show error detecting code, thereon several LED matrix can be set, generally speaking it is three, be respectively number lockled, caps lock led, and scroll lock led, the status number that can show is calculated as: 2 n(n is the number of LED lamp) calculates according to this, and general LED lamp configuration can show that then eight kinds of different systems carry out the debug state, if the debug state that needs to show presents more kinds of situations, then need increase the number of LED lamp, also can be more than three; Wherein this method step comprises and at first sets up the error detecting code table of comparisons (step 100) and be stored in the Installed System Memory, and the error detecting code table of comparisons include several execution error information with and corresponding control signal, ought receive execution error information (step 200) then, the system that is is sent when boot program runs to the obstacle address informs execution error signal (ERROR CODE), be that BIOS can be with relative diagnosis of program sign indicating number via Port 60 outputs, again at the execution error information comparison error detecting code table of comparisons, and produce control signal (step 300), last keyboard controller reception control signal and the cresset that produces according to this corresponding to execution error information make up (step 400), also the unlatching by several different cressets or the combination of closing reach the purpose of display system executing state, as:
Num?lock?led---on
Caps?lock?led---off
Scroll?lock?led---on
The situation of low memory is represented in the combination of this cresset; In case BIOS encountered problems can't continue the time in wherein any stage, the combination of LED lamp is represented to rest on last combination, allow the user learn the problem place rapidly according to this code, reach the purpose of debug, if the user can't be got rid of at the demonstration situation of cresset, also can electricity be in harmony the technician to seek advice from solution.
The above person only is the present invention's preferred embodiment wherein, is not to be used for limiting practical range of the present invention; Be all, be all scope of patent protection of the present invention and contain according to equivalent variations and modification that the present invention did.

Claims (6)

1. method of utilizing LED lamp on the computor-keyboard to show error detecting code, when the host computer power-on and through a start test phase, the light and shade combination that utilizes the LED lamp on the computor-keyboard is characterized in that to show an error detecting code this method step includes:
Set up an error detecting code table of comparisons;
Receive an execution error information;
At this error detecting code table of comparisons of this execution error information comparison, and produce a control signal; And
A cresset that receives this control signal and produce according to this corresponding to this execution error message makes up.
2. utilize the method for the LED lamp demonstration error detecting code on the computor-keyboard according to claim 1, it is characterized in that: this error detecting code table of comparisons includes this execution error information and corresponding this control signal.
3. utilize the method for the LED lamp demonstration error detecting code on the computor-keyboard according to claim 1, it is characterized in that: the execution error information that system was sent when this execution error information met with obstacle for the test when boot program.
4. utilize the method for the LED lamp demonstration error detecting code on the computor-keyboard according to claim 1, it is characterized in that: this control signal reaches the keyboard controller of computer system in order to this corresponding this cresset combination of control.
5. utilize the method for the LED lamp demonstration error detecting code on the computor-keyboard according to claim 1, it is characterized in that: this cresset combination is made of a number lock led, a caps lock led and a scroll lockled.
6. utilize the method for the LED lamp demonstration error detecting code on the computor-keyboard according to claim 1, it is characterized in that: this cresset combination also comprises the LED that is positioned at the computer input interface more than three, in order to the execution error information that shows that system is sent when the test of boot program meets with obstacle.
CN 200410051778 2004-10-11 2004-10-11 Method for displaying debugging codes by using LED lamps on keyboard of computer Pending CN1760840A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200410051778 CN1760840A (en) 2004-10-11 2004-10-11 Method for displaying debugging codes by using LED lamps on keyboard of computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200410051778 CN1760840A (en) 2004-10-11 2004-10-11 Method for displaying debugging codes by using LED lamps on keyboard of computer

Publications (1)

Publication Number Publication Date
CN1760840A true CN1760840A (en) 2006-04-19

Family

ID=36706924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200410051778 Pending CN1760840A (en) 2004-10-11 2004-10-11 Method for displaying debugging codes by using LED lamps on keyboard of computer

Country Status (1)

Country Link
CN (1) CN1760840A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106980569A (en) * 2017-04-18 2017-07-25 深圳市同泰怡信息技术有限公司 A kind of method that utilization USB keyboard lamp represents BIOS POST progresses
CN108536565A (en) * 2018-01-04 2018-09-14 郑州云海信息技术有限公司 A kind of CPLD-FPGA versions, session information three condition display module implementation method
TWI807789B (en) * 2022-04-19 2023-07-01 和碩聯合科技股份有限公司 Abnormal display method and abnormal display device for motherboard

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106980569A (en) * 2017-04-18 2017-07-25 深圳市同泰怡信息技术有限公司 A kind of method that utilization USB keyboard lamp represents BIOS POST progresses
CN108536565A (en) * 2018-01-04 2018-09-14 郑州云海信息技术有限公司 A kind of CPLD-FPGA versions, session information three condition display module implementation method
TWI807789B (en) * 2022-04-19 2023-07-01 和碩聯合科技股份有限公司 Abnormal display method and abnormal display device for motherboard

Similar Documents

Publication Publication Date Title
CN100517262C (en) Master plate monitoring system and method
US20070168737A1 (en) Debugging device using an lpc interface capable of recovering functions of bios, and debugging method therefor
US20090100287A1 (en) Monitoring Apparatus and a Monitoring Method Thereof
CN104679626A (en) System and method for debugging and detecting BIOS (Basic Input / Output System)
CN106980569B (en) Method for representing BIOS POST progress by USB keyboard lamp
CN101840371A (en) Method for fast displaying fault of computer
CN1244864C (en) Information processing system with debug function on initializing and its method
US7213159B2 (en) Method for testing and verifying power management features of computer system
CN1760840A (en) Method for displaying debugging codes by using LED lamps on keyboard of computer
CN112654119B (en) LED drive test method, driver, system and electronic equipment
US7788557B2 (en) Baseboard testing interface and testing method thereof
US20070005150A1 (en) Remote testing system and method
CN212112452U (en) Debugging card
US8635502B2 (en) Debug card and method for diagnosing faults
TW201527965A (en) System and method for detecting a BIOS test process of a computer
US8762802B2 (en) Code checking method for a memory of a printed circuit board
US20070239976A1 (en) Message displaying system and method
CN114416128A (en) Lighting fixture, intelligent control method thereof, computer readable storage medium and equipment
CN103713917A (en) Startup method, hot key switching startup graphics device method and electronic device
CN105068835A (en) Mobile terminal and debugging information display method thereof
CN100373349C (en) Apparatus and method for calculatingtkip sbox value
CN1349165A (en) Method of utilizing LED in keyboard to display fault cause of computer hardware
CN221261644U (en) Debug card of X86 platform supporting LPC and ESPI double protocols
CN1381783A (en) Method for detecting and displaying errors of electronic package
CN201886462U (en) Diagnostic card

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication