CN101826046B - Power-on debugging method of computer - Google Patents

Power-on debugging method of computer Download PDF

Info

Publication number
CN101826046B
CN101826046B CN2009101189170A CN200910118917A CN101826046B CN 101826046 B CN101826046 B CN 101826046B CN 2009101189170 A CN2009101189170 A CN 2009101189170A CN 200910118917 A CN200910118917 A CN 200910118917A CN 101826046 B CN101826046 B CN 101826046B
Authority
CN
China
Prior art keywords
signal
conjecture
power
code
computer
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.)
Expired - Fee Related
Application number
CN2009101189170A
Other languages
Chinese (zh)
Other versions
CN101826046A (en
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.)
Wistron Corp
Original Assignee
Wistron 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 Wistron Corp filed Critical Wistron Corp
Priority to CN2009101189170A priority Critical patent/CN101826046B/en
Publication of CN101826046A publication Critical patent/CN101826046A/en
Application granted granted Critical
Publication of CN101826046B publication Critical patent/CN101826046B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a power-on debugging method of a computer. Specifically, the power-on debugging method comprises the following steps: firstly executing a power-on self test; executing a plurality of functional tests of the power-on self test one by one, wherein at that time, the codes corresponding to the functional tests to be executed are stored in a memory in advance; when the power-on self test generates interrupt, using an input device to input a guess signal by a user; and obtaining at least one stored code in the memory according to the guess signal. By using the method of the invention, the failure cause of the computer can be judged according to the power-on self test code or the plant information corresponding to the power-on self test code under the premise of not adding additional seven-segment LED subtitles or inserting a debug card.

Description

Power-on debugging method of computer
Technical field
The present invention relates to a kind of debug method, and particularly relate to a kind of power-on debugging method of computer.
Background technology
Computing machine when start process, can be earlier by a Basic Input or Output System (BIOS) (Basic Input/Output System, BIOS) start shooting selftest (Power On Self-Test, POST).Wherein, POST is in order to carrying out a series of detection action to processor, display card, storer, disc driver, CD drive, chipset, keyboard and other computer peripheral devices, to detect whether operate as normal of each peripheral unit.
In the process of POST, BIOS can be in test during each hardware, deposits the start selftest sign indicating number (or being called POST Code information) of corresponding each hardware testing flow process in I/O port 80h (input/output port 80h) address.Thus, when detecting hardware fault, the user just can be by the start selftest sign indicating number that reads among the I/O port 80h, and judges the problem place of computing machine.
Prior art is to read start selftest sign indicating number from I/O port 80h, and shows by seven sections LED captions.Wherein, the selftest sign indicating number of generally starting shooting is to utilize hexadecimal two figure places.Therefore, need to install two groups of seven sections LED captions on the computing machine, with normal demonstration start selftest sign indicating number.For instance, when the computing machine operate as normal, can make the start selftest sign indicating number that shows " FF " on seven sections LED captions that are installed on the computing machine, to represent the computing machine operate as normal.
In addition, when this prior art is applied to notebook computer, only seven sections LED captions can be installed on the Debug Card (debug card), and by the slot that Debug Card is inserted in notebook computer, as Mini PCI-E (mini PCI-E) slot, and read start selftest sign indicating number.Yet general user can't buy Debug Card in addition.Therefore, when notebook computer broke down, the user only can send the notebook computer that breaks down back to former factory and detect, and can't judge the reason that it breaks down voluntarily.
Summary of the invention
Therefore, a purpose of the present invention is that a kind of computer booting debug (debug) method is being provided, and in order to allowing the user by input media input conjecture signal, and obtains start selftest sign indicating number or the pairing device information of start selftest sign indicating number.Thus, using the present invention can judge the failure cause of computing machine, and reach the effect of power-on debugging additionally not increasing by seven sections LED captions or inserting under the prerequisite of Debug Card.
According to one embodiment of the invention, a kind of power-on debugging method of computer comprises following steps: begin to carry out a start selftest.Carry out a plurality of functional tests of start selftest one by one, when carrying out a plurality of functional test of start selftest one by one, the code with each performed functional test correspondence is stored to a storer earlier.When the start selftest produced interruption, person to be used was by input media input one conjecture signal.And, obtain at least one code that stored that is stored in storer according to the conjecture signal.
The present invention can be not needing seven sections LED captions of extra increase or inserting under the prerequisite of Debug Card, according to start selftest sign indicating number or the pairing device information of start selftest sign indicating number, the failure cause of judgement computing machine.
Description of drawings
For above-mentioned and other purposes of the present invention, feature, advantage and embodiment can be become apparent, appended the description of the drawings is as follows:
Fig. 1 is the process flow diagram according to a kind of power-on debugging method of computer of an embodiment of the present invention.
Fig. 2 is an embodiment of step 180 and the step 190 of Fig. 1.
Fig. 3 is an embodiment who carries out present test procedure district (step 130) among Fig. 1.
Fig. 4 is the process flow diagram according to a kind of power-on debugging method of computer of another embodiment of the present invention.
The primary clustering symbol description:
100: power-on debugging method of computer
110~190: step
191~195: step
200: power-on debugging method of computer
210~260: step
Embodiment
Please refer to Fig. 1, it is the process flow diagram according to a kind of power-on debugging method of computer of an embodiment of the present invention.Power-on debugging method of computer allows the user by input media input conjecture signal, and obtains start selftest sign indicating number or the pairing device information of start selftest sign indicating number.Power-on debugging method of computer 100 comprises following steps:
In step 110, begin to carry out a start selftest.Wherein, the start selftest is in order to carrying out a series of detection action to the device on processor, display card, storer, disc driver, CD drive, chipset, keyboard and other computing machines of computing machine, whether respectively install operate as normal to detect.Each functional test all can be designated a start selftest sign indicating number (POST Code), and the definition of start selftest sign indicating number is looked each tame manufacturer and different.
Next, in the process of carrying out the start selftest, carry out a functional test (step 130) of start selftest, install with one on the detection computations machine.When execution functional test (step 130), the code with performed functional test correspondence is stored to a storer (step 120) earlier, and by carrying out functional test (step 130), normally whether the device that the arbitration functions test is detected (step 140) then.Wherein, storer can be nonvolatile RAM (non-volatile random access memory NVRAM) or the storer of other kinds, and can use the code of POST Code as the functional test correspondence.
At device that functional test detected just often, judge start selftest whether complete (step 150).Carry out still imperfect tense at the start selftest, then continue, carry out the next functional test of start selftest by step 120~step 140.Thus, can carry out a plurality of functional tests of start selftest one by one, and finish the device on the detection computations machine by step 120~step 150.Then, when the start selftest is complete, enter operating system (step 170).Wherein, at the start selftest when complete, promptly represent the device operate as normal all on the computing machine, and do not need to be stored in the code in the storer.Therefore, can remove the code that is stored in storer in that to enter operating system (step 170) preceding.
It is undesired to detect device in step 140, and make when functional test is not passed through that then order start selftest produces and interrupts (step 160), and person to be used passes through an input media, as keyboard, Touch Screen or other input medias, input one conjecture signal (step 180).Then, after the user imports the conjecture signal, can obtain at least one code (step 190) that stored that is stored in storer according to the conjecture signal.Wherein, when storing code, can send a cue at conjecture signal that the user imported, with its conjecture signal of being imported of prompting user corresponding to storing code.Cue can be the voice prompt that loudspeaker sent that utilizes computer-internal, or a warning light signal that utilizes the pilot lamp (as backlight module or other pilot lamp of power light, hard disk running pilot lamp, LCD screen) of computer-internal to be produced.
When the code of storage in storer is a plurality of, can receive one from input media earlier selects signal to select to have stored the code, person to be used again guesses signal (step 180) by the input media input, and obtains the selected code (step 190) that stored according to the conjecture signal.Thus, the user can learn each functional test of having carried out by selecting the different codes of storage.
Owing to generally use hexadecimal two figure places mostly,, can utilize POST Code as the code of each functional test correspondence and stored code therefore according to one embodiment of the invention in order to POST Code as the functional test code.Preceding person to be used by input media input one conjecture signal (step 180), can be binary eight digit number with the code conversion of representing with hexadecimal two figure places of storage.When using keyboard as input media, eight buttons of predeterminable keyboard produce different conjecture signals, and the conjecture signal that each button produced is corresponding to each figure place that stores code after changing.Wherein, when the pairing figure place of conjecture signal of input is " 1 ", then can send cue with the prompting user.For instance, the F1 on the predeterminable keyboard~F8 produces different conjecture signals.When the code of storage in the storer is " 1F ", can earlier hexadecimal two figure places " 1F " be converted to binary eight digit number " 00011111 ".Therefore, only there is corresponding figure place to be button F4, F5, F6, F7 and the F8 of " 1 " when touched, just can produces cue.In other words, person to be used presses button F4, F5, F6, F7 and F8 and imports when guessing signal (step 180), just can produce cue, has stored code with prompting user button F4, F5, F6, F7 and F8 correspondence.Next, can obtain the corresponding code of storage " 1F " (step 190) that has been stored in storer according to button F4, F5, F6, F7 and F8.Then, just can inquire about " 1F " corresponding functional test, and judge the reason of computer failure.
In addition, according to another embodiment of the present invention, can make the functional test of conjecture signal that input media produces corresponding to specific device.For instance, when using keyboard, can make conjecture signal that the button " c " on the keyboard produced corresponding to code in order to the functional test that detects CPU as input media.In other words, when person to be used presses button " c " input conjecture signal (step 180), just can produce cue, store code with prompting user's button " c " correspondence.Next, can obtain the corresponding code that stores that has been stored in storer according to button " c " and be code (step 190), thereby learn the CPU operation irregularity in order to the functional test that detects CPU.
In addition, can and store code, store code (step 190) to assist the user to obtain according to the conjecture signal by binary search method comparison conjecture signal.Please refer to Fig. 2, it is an embodiment of step 180 and the step 190 of Fig. 1.In step 180, person to be used is by input media input one conjecture signal (step 180).Then, after the user imported a conjecture signal (step 191), comparison was guessed signal and has been stored code (step 192).
At the conjecture signal when storing code, produce a representative greater than signal (step 193), guess that with the prompting user signal is greater than storing code.Then, continue person to be used by input media input one conjecture signal (step 180).Thus, the user can by representative greater than signal, learn the conjecture signal greater than storing code, thereby, store code to obtain at the less conjecture signal of next input value.
At the conjecture signal when storing code, produce a representative less than signal (step 194), guess that with the prompting user signal is less than storing code.Then, continue person to be used by input media input one conjecture signal (step 180).Thus, the user can by representative less than signal, learn the conjecture signal less than storing code, thereby, store code to obtain at the bigger conjecture signal of next input value.
When the conjecture signal equals to store code, produce a cue (step 195), guess that with the prompting user signal is corresponding to storing code.Thus,, can and store code, store code (step 190) to assist the user to obtain according to the conjecture signal by binary search method comparison conjecture signal by step 191~step 195.
Please refer to Fig. 3, it is an embodiment who carries out a functional test (step 130) of start selftest among Fig. 1.Cross when of a specified duration in the execution time of carrying out functional test (step 130), the device that promptly means functional test and detected may be undesired.Therefore, a functional test (step 130) of execution start selftest can comprise:
In step 131, continue to carry out the functional test of start selftest.Then, whether the execution time of arbitration functions test surpasses the delay upper limit (step 132).Surpass in execution time of functional test and to postpone in limited time, then arbitration functions test whether complete (step 133).When functional test is not complete as yet, then continue to carry out functional test (step 131).Yet when functional test was complete, normally whether the device that the arbitration functions test is detected (step 140).
Execution time in functional test prescribes a time limit above on postponing, and (step 160) interrupted in the generation of order start selftest.Then, just can obtain the corresponding at least one code that stored that has been stored in storer by the step 180 of Fig. 1 and step 190.Thus, unusual at the device that functional test detected, and when causing execution time of functional test long, can judge the reason of computer failure by step 160, step 180 and step 190.Yet, in other embodiments, if because of other reasons cause starting shooting selftest a functional test by the time, also can use the present invention and obtain start selftest sign indicating number or the pairing device information of start selftest sign indicating number, to judge the reason of computer failure.
Please refer to Fig. 4, it is the process flow diagram according to a kind of power-on debugging method of computer of another embodiment of the present invention.Power-on debugging method of computer allows the user send look-at-me interruption start selftest at any time by input media, then by input media input conjecture signal, and obtains start selftest sign indicating number or the pairing device information of selftest sign indicating number of starting shooting.Power-on debugging method of computer 200 comprises following steps:
In step 210, begin to carry out a start selftest (step 210).Then, in step 220, carry out a plurality of functional tests of start selftest one by one.Wherein when carrying out the functional test (step 220) of start selftest one by one, the code with each performed functional test correspondence is stored to a storer earlier.
When receiving a look-at-me (step 230) from an input media, order start selftest produces and interrupts (step 240).Wherein, the button on the input media can be preset as the interruption button, and make the user when pressing the interruption button, order start selftest produces and interrupts (step 240).
Next, person to be used is by input media, and as keyboard, Touch Screen or other input medias, input one conjecture signal (step 250) is to obtain the corresponding at least one code (step 260) that stored that has been stored in storer by the conjecture signal.Wherein, at conjecture signal that the user imported when storing code, can send a cue with its conjecture signal of being imported of prompting user corresponding to storing code.Cue can be the voice prompt that loudspeaker sent that utilizes computer-internal, or a warning light signal that utilizes the pilot lamp (as backlight module or other pilot lamp of power light, hard disk running pilot lamp, LCD screen) of computer-internal to be produced.
By the embodiment of the invention described above as can be known, use the present invention and have following advantage.The user can be by input media, and obtains start selftest sign indicating number or the pairing device information of start selftest sign indicating number.Then, can be not needing seven sections LED captions of extra increase or inserting under the prerequisite of Debug Card, according to start selftest sign indicating number or the pairing device information of start selftest sign indicating number, the failure cause of judgement computing machine.
Though the present invention with embodiment openly as above; yet it is not in order to limit the present invention; any those skilled in the art; without departing from the spirit and scope of the present invention; should be used for a variety of modifications and variations, so protection scope of the present invention is when looking being as the criterion that the appending claims scope defined.

Claims (10)

1. power-on debugging method of computer may further comprise the steps:
Begin to carry out a start selftest;
Carry out a plurality of functional tests of described start selftest one by one, wherein when described these functional tests of carrying out described start selftest one by one, the code with performed functional test correspondence is stored to a storer earlier;
When described start selftest produced interruption, person to be used was by input media input one conjecture signal; And
Obtain according to described conjecture signal and to be stored in one of described storer and to have stored code.
2. power-on debugging method of computer as claimed in claim 1, wherein obtain described one step that has stored code and comprise according to described conjecture signal:
Compare described conjecture signal and described by the binary search method and stored code, stored code to obtain described one;
Wherein, described binary search method produces the signal that a representative is greater than or less than for being greater than or less than described one when having stored code at described conjecture signal, continues to import another conjecture signal by described input media to point out described user; Equal described one when having stored code at described conjecture signal, produce a cue, stored code corresponding to described one to point out the described conjecture signal of described user.
3. power-on debugging method of computer as claimed in claim 1 also comprises:
When the described conjecture signal corresponding described that the user imported has stored code, send a voice prompt, stored code with the prompting described conjecture signal that the user was imported corresponding described.
4. power-on debugging method of computer as claimed in claim 1 also comprises:
When the described conjecture signal corresponding described that the user imported has stored code, produce a warning light signal, stored code with the prompting described conjecture signal that the user was imported corresponding described.
5. power-on debugging method of computer as claimed in claim 1 when wherein in described these functional tests of described start selftest does not pass through, makes described start selftest produce and interrupts.
6. power-on debugging method of computer as claimed in claim 1, wherein in described these functional tests of described start selftest detects a device when undesired, makes described start selftest produce and interrupts.
7. power-on debugging method of computer as claimed in claim 1, wherein one execution time in described these functional tests of described start selftest postpones in limited time above one, makes described start selftest produce and interrupts.
8. power-on debugging method of computer as claimed in claim 1 wherein when described input media is received a look-at-me, makes described start selftest produce and interrupts.
9. power-on debugging method of computer as claimed in claim 1 also comprises:
In the described quantity that has stored code when being a plurality of, receiving one from described input media earlier selects signal to select described of having stored the code, person to be used again imports described conjecture signal by described input media, obtains the selected described code that stored according to described conjecture signal then.
10. power-on debugging method of computer as claimed in claim 1, the code of wherein said functional test correspondence and described have stored code and have been start selftest sign indicating number.
CN2009101189170A 2009-03-06 2009-03-06 Power-on debugging method of computer Expired - Fee Related CN101826046B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101189170A CN101826046B (en) 2009-03-06 2009-03-06 Power-on debugging method of computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101189170A CN101826046B (en) 2009-03-06 2009-03-06 Power-on debugging method of computer

Publications (2)

Publication Number Publication Date
CN101826046A CN101826046A (en) 2010-09-08
CN101826046B true CN101826046B (en) 2011-12-14

Family

ID=42689970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101189170A Expired - Fee Related CN101826046B (en) 2009-03-06 2009-03-06 Power-on debugging method of computer

Country Status (1)

Country Link
CN (1) CN101826046B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI470420B (en) * 2011-04-27 2015-01-21 Wistron Corp Dubugging method and computer system using the smae
US10360121B2 (en) * 2015-06-09 2019-07-23 Quanta Computer Inc. Universal debug design
CN108874632A (en) * 2017-05-11 2018-11-23 精英电脑股份有限公司 The alarming method for power of computer system errors

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1362671A (en) * 2001-01-05 2002-08-07 英业达股份有限公司 BIOS tracing and debugging method
CN1368677A (en) * 2001-02-01 2002-09-11 宏碁电脑股份有限公司 Information processing system with debug function on initializing and its method
CN1889051A (en) * 2005-06-28 2007-01-03 联想(北京)有限公司 Method for realizing parts detection utilizing intelligent equipment firmware
CN1952910A (en) * 2005-10-20 2007-04-25 英业达股份有限公司 Back method and system of testing for bug by computer program
CN1991754A (en) * 2005-12-30 2007-07-04 英业达股份有限公司 Information displaying system and method
CN100342348C (en) * 2003-10-08 2007-10-10 威盛电子股份有限公司 Fault-eliminating device and its method
CN101082879A (en) * 2007-07-25 2007-12-05 威盛电子股份有限公司 Method and apparatus for obtaining scratch memory data
CN101089824A (en) * 2006-06-13 2007-12-19 英业达股份有限公司 Method for solving failure problem of self testing built-in central process unit
CN101303715A (en) * 2007-05-10 2008-11-12 英业达股份有限公司 Method for maintaining system safety

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1362671A (en) * 2001-01-05 2002-08-07 英业达股份有限公司 BIOS tracing and debugging method
CN1368677A (en) * 2001-02-01 2002-09-11 宏碁电脑股份有限公司 Information processing system with debug function on initializing and its method
CN100342348C (en) * 2003-10-08 2007-10-10 威盛电子股份有限公司 Fault-eliminating device and its method
CN1889051A (en) * 2005-06-28 2007-01-03 联想(北京)有限公司 Method for realizing parts detection utilizing intelligent equipment firmware
CN1952910A (en) * 2005-10-20 2007-04-25 英业达股份有限公司 Back method and system of testing for bug by computer program
CN1991754A (en) * 2005-12-30 2007-07-04 英业达股份有限公司 Information displaying system and method
CN101089824A (en) * 2006-06-13 2007-12-19 英业达股份有限公司 Method for solving failure problem of self testing built-in central process unit
CN101303715A (en) * 2007-05-10 2008-11-12 英业达股份有限公司 Method for maintaining system safety
CN101082879A (en) * 2007-07-25 2007-12-05 威盛电子股份有限公司 Method and apparatus for obtaining scratch memory data

Also Published As

Publication number Publication date
CN101826046A (en) 2010-09-08

Similar Documents

Publication Publication Date Title
CN101436154B (en) Startup and closedown test system and method of computer mainboard
CN100517262C (en) Master plate monitoring system and method
CN100375054C (en) Monitoring diagnosis device of computer main board failure
CN102521105B (en) Output method of power on self test information, virtual machine manager and processor
CN101738550B (en) Electronic device test device and test method
US20080141073A1 (en) BIOS debugging system and method
CN2932488Y (en) Fault detecting device
CN106547653B (en) Computer system fault state detection method, device and system
CN111274099A (en) Indicator lamp control method, system, equipment and medium of switch system
CN101826046B (en) Power-on debugging method of computer
CN100367226C (en) Method for realizing parts detection utilizing intelligent equipment firmware
CN101840371A (en) Method for fast displaying fault of computer
CN101206599B (en) Method for diagnosis and insulation of computer mainboard equipment
TWI391816B (en) Computer debug method
CN101727371A (en) Method for adding and running memory testing tool in BIOS
US20120259591A1 (en) Keyboard testing method
CN201285545Y (en) Starting-up monitoring apparatus for host board
CN1145104C (en) Test and processing method and device for accident stop of computer system
CN102053888A (en) Self-checking method and system for arithmetic device
CN111077401B (en) Keyboard testing method, device and storage medium
CN102023916B (en) Computer system detection method
CN115168119A (en) PCIE (peripheral component interface express) link detection method, device and medium for server
CN106326043A (en) USB based diagnosis device and method
CN101923503A (en) Method for regulating internal parameters of internal storage and computer system using same
CN107122276A (en) Running status output circuit and running status output intent

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20111214

Termination date: 20210306

CF01 Termination of patent right due to non-payment of annual fee