Movatterモバイル変換


[0]ホーム

URL:


CN101826046A - Computer startup debugging method - Google Patents

Computer startup debugging method
Download PDF

Info

Publication number
CN101826046A
CN101826046ACN200910118917ACN200910118917ACN101826046ACN 101826046 ACN101826046 ACN 101826046ACN 200910118917 ACN200910118917 ACN 200910118917ACN 200910118917 ACN200910118917 ACN 200910118917ACN 101826046 ACN101826046 ACN 101826046A
Authority
CN
China
Prior art keywords
signal
post
computer
debugging method
code
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.)
Granted
Application number
CN200910118917A
Other languages
Chinese (zh)
Other versions
CN101826046B (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 CorpfiledCriticalWistron Corp
Priority to CN2009101189170ApriorityCriticalpatent/CN101826046B/en
Publication of CN101826046ApublicationCriticalpatent/CN101826046A/en
Application grantedgrantedCritical
Publication of CN101826046BpublicationCriticalpatent/CN101826046B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

The invention relates to a computer boot debugging method. Specifically, the computer boot debugging method comprises the following steps: starting to execute a power-on self test; executing a plurality of function tests of the power-on self-test one by one, wherein when the plurality of function tests of the power-on self-test are executed one by one, codes corresponding to each executed function test are stored into a memory; when the power-on self-test generates an interrupt, a user inputs a guess signal through an input device; and obtaining at least one stored code stored in the memory according to the guess signal. The invention can judge the fault reason of the computer according to the power-on self-test code or the device information corresponding to the power-on self-test code on the premise of not additionally adding seven-segment LED captions or inserting a debugging 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 ofstep 180 and thestep 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 ofcomputer 100 comprises following steps:
Instep 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 bystep 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 bystep 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 instep 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 ofstep 180 and thestep 190 of Fig. 1.Instep 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:
Instep 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 thestep 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 bystep 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 ofcomputer 200 comprises following steps:
Instep 210, begin to carry out a start selftest (step 210).Then, instep 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)

Translated fromChinese
1.一种计算机开机除错方法,包括以下步骤:1. A computer startup debugging method, comprising the following steps:开始执行一开机自我测试;Start to execute a power-on self-test;逐一执行所述开机自我测试的多个功能测试,其中在逐一执行所述开机自我测试的所述这些功能测试时,先将所执行的各功能测试对应的代码储存至一存储器;Executing a plurality of functional tests of the POST one by one, wherein when executing the functional tests of the POST one by one, first storing the codes corresponding to the executed functional tests in a memory;在所述开机自我测试产生中断时,待使用者通过一输入装置输入一猜测信号;以及Waiting for the user to input a guessing signal through an input device when the POST is interrupted; and根据所述猜测信号取得已储存于所述存储器的至少一已储存代码。At least one stored code stored in the memory is obtained according to the guessing signal.2.如权利要求1所述的计算机开机除错方法,其中根据所述猜测信号取得所述至少一已储存代码的步骤包括:2. The computer startup debugging method according to claim 1, wherein the step of obtaining the at least one stored code according to the guessing signal comprises:藉由二元搜寻法比对所述猜测信号以及所述至少一已储存代码,以取得所述至少一已储存代码。The guessing signal and the at least one stored code are compared by a binary search method to obtain the at least one stored code.3.如权利要求1所述的计算机开机除错方法,还包括:3. The computer startup error debugging method as claimed in claim 1, further comprising:在使用者所输入的所述猜测信号对应所述至少一已储存代码时,发出一提示声音,以提示使用者所输入的所述猜测信号对应所述至少一已储存代码。When the guessing signal input by the user corresponds to the at least one stored code, a prompt sound is emitted to remind the user that the guessing signal input corresponds to the at least one stored code.4.如权利要求1所述的计算机开机除错方法,还包括:4. The computer startup error debugging method as claimed in claim 1, further comprising:在使用者所输入的所述猜测信号对应所述至少一已储存代码时,产生一提示灯信号,以提示使用者所输入的所述猜测信号对应所述至少一已储存代码。When the guessing signal input by the user corresponds to the at least one stored code, a prompt light signal is generated to remind the user that the guessing signal input by the user corresponds to the at least one stored code.5.如权利要求1所述的计算机开机除错方法,其中在所述开机自我测试的所述这些功能测试中的一个未通过时,令所述开机自我测试产生中断。5. The computer POST debugging method as claimed in claim 1, wherein when one of the functional tests of the POST fails, the POST is interrupted.6.如权利要求1所述的计算机开机除错方法,其中在所述开机自我测试的所述这些功能测试中的一个检测到一装置不正常时,令所述开机自我测试产生中断。6. The computer POST debugging method as claimed in claim 1, wherein when one of the functional tests of the POST detects that a device is abnormal, the POST is interrupted.7.如权利要求1所述的计算机开机除错方法,其中在所述开机自我测试的所述这些功能测试中的一个的执行时间超过一延迟上限时,令所述开机自我测试产生中断。7. The computer boot debugging method as claimed in claim 1, wherein when the execution time of one of the functional tests of the POST exceeds a delay limit, the POST is interrupted.8.如权利要求1所述的计算机开机除错方法,其中在从所述输入装置收到一中断信号时,令所述开机自我测试产生中断。8. The computer boot debugging method as claimed in claim 1, wherein the POST is interrupted when an interrupt signal is received from the input device.9.如权利要求1所述的计算机开机除错方法,还包括:9. The computer startup error debugging method as claimed in claim 1, further comprising:在所述至少一已储存代码的数量为多个时,先从所述输入装置接收一选择信号以选择所述至少一已储存代码中的一个,再待使用者通过所述输入装置输入所述猜测信号,然后根据所述猜测信号取得所选择的所述已储存代码。When the number of the at least one stored code is multiple, first receive a selection signal from the input device to select one of the at least one stored code, and then wait for the user to input the code through the input device. guessing a signal, and then obtaining the selected stored code based on the guessing signal.10.如权利要求1所述的计算机开机除错方法,其中所述这些功能测试对应的代码以及所述至少一已储存代码为开机自我测试码。10 . The computer boot-up debugging method according to claim 1 , wherein the codes corresponding to the functional tests and the at least one stored code are POST codes. 11 .
CN2009101189170A2009-03-062009-03-06 Computer startup debugging methodExpired - Fee RelatedCN101826046B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN2009101189170ACN101826046B (en)2009-03-062009-03-06 Computer startup debugging method

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN2009101189170ACN101826046B (en)2009-03-062009-03-06 Computer startup debugging method

Publications (2)

Publication NumberPublication Date
CN101826046Atrue CN101826046A (en)2010-09-08
CN101826046B CN101826046B (en)2011-12-14

Family

ID=42689970

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN2009101189170AExpired - Fee RelatedCN101826046B (en)2009-03-062009-03-06 Computer startup debugging method

Country Status (1)

CountryLink
CN (1)CN101826046B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102760090A (en)*2011-04-272012-10-31纬创资通股份有限公司Debugging method and computer system
CN106250279A (en)*2015-06-092016-12-21广达电脑股份有限公司Debugging method and device thereof
CN108874632A (en)*2017-05-112018-11-23精英电脑股份有限公司Method for warning computer system error

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1162780C (en)*2001-01-052004-08-18英业达股份有限公司Tracing and debugging method for basic input output system
CN1244864C (en)*2001-02-012006-03-08宏碁电脑股份有限公司 Information processing system with power-on debugging function and method for power-on debugging
CN100342348C (en)*2003-10-082007-10-10威盛电子股份有限公司 A debugging device and method thereof
CN100367226C (en)*2005-06-282008-02-06联想(北京)有限公司 A method for realizing component detection by using firmware of intelligent equipment
CN100418067C (en)*2005-10-202008-09-10英业达股份有限公司Computer program debugging auxiliary method and system
CN1991754A (en)*2005-12-302007-07-04英业达股份有限公司 Information display system and method
CN101089824A (en)*2006-06-132007-12-19英业达股份有限公司 Method for solving the failure problem of built-in self-test of central processing unit
CN101303715B (en)*2007-05-102010-06-02英业达股份有限公司 Ways to Maintain System Security
CN100527094C (en)*2007-07-252009-08-12威盛电子股份有限公司Method and apparatus for capturing temporary memory data

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102760090A (en)*2011-04-272012-10-31纬创资通股份有限公司Debugging method and computer system
CN102760090B (en)*2011-04-272015-07-01纬创资通股份有限公司Debugging method and computer system
CN106250279A (en)*2015-06-092016-12-21广达电脑股份有限公司Debugging method and device thereof
CN106250279B (en)*2015-06-092019-07-05广达电脑股份有限公司debugging method and device thereof
CN108874632A (en)*2017-05-112018-11-23精英电脑股份有限公司Method for warning computer system error

Also Published As

Publication numberPublication date
CN101826046B (en)2011-12-14

Similar Documents

PublicationPublication DateTitle
CN101436154B (en)Computer motherboard startup and shutdown test system and method
CN107066362B (en)Method for automatically processing fault memory bank
CN102521105B (en)Output method of power on self test information, virtual machine manager and processor
US20080141073A1 (en)BIOS debugging system and method
US8909989B2 (en)Method for outputting power-on self test information, virtual machine manager, and processor
US20130268744A1 (en)Method for detecting hardware
US7350111B2 (en)Method of providing a real time solution to error occurred when computer is turned on
CN109344104A (en)Electronic equipment and method for transmitting signals
CN104679626A (en)System and method for debugging and detecting BIOS (Basic Input / Output System)
CN101206599B (en)Method for diagnosis and insulation of computer mainboard equipment
CN101826046A (en) Computer startup debugging method
US7213159B2 (en)Method for testing and verifying power management features of computer system
TWI391816B (en)Computer debug method
CN102541702A (en)Test method for automatically restarting mainboard and recording debug data and restarting device thereof
CN101661332A (en)Key processing method and computer system
CN101727371A (en)Method for adding and running memory testing tool in BIOS
CN1145104C (en)Method for detecting and processing unexpected stop of computer system
CN100367226C (en) A method for realizing component detection by using firmware of intelligent equipment
CN201285545Y (en)Starting-up monitoring apparatus for host board
CN1477511A (en)Device with BIOS updating and detecting functions
CN114416483B (en)Method, device, storage medium and equipment for monitoring running state of multi-processing unit
CN101923503A (en)Method for adjusting internal parameters of memory and computer system using same
CN102446107A (en)Starting method of computer system
CN102455922A (en)Computer starting sequence setting system and method
CN101183326A (en)Debugging system and method applied to basic input and output system

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20111214

Termination date:20210306

CF01Termination of patent right due to non-payment of annual fee

[8]ページ先頭

©2009-2025 Movatter.jp