KR20000061449A - Self testing method and apparatus in computer system - Google Patents

Self testing method and apparatus in computer system Download PDF

Info

Publication number
KR20000061449A
KR20000061449A KR1019990010498A KR19990010498A KR20000061449A KR 20000061449 A KR20000061449 A KR 20000061449A KR 1019990010498 A KR1019990010498 A KR 1019990010498A KR 19990010498 A KR19990010498 A KR 19990010498A KR 20000061449 A KR20000061449 A KR 20000061449A
Authority
KR
South Korea
Prior art keywords
test
test program
program
self
storage unit
Prior art date
Application number
KR1019990010498A
Other languages
Korean (ko)
Inventor
이형한
김경영
Original Assignee
윤종용
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 윤종용, 삼성전자 주식회사 filed Critical 윤종용
Priority to KR1019990010498A priority Critical patent/KR20000061449A/en
Publication of KR20000061449A publication Critical patent/KR20000061449A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2284Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by power-on test, e.g. power-on self test [POST]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2268Logging of test results

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Stored Programmes (AREA)

Abstract

PURPOSE: A device and method for self-testing in a computer system is provided to decide a status of a hardware by outputting a test result with various peripheral devices and to process the test program regardless of an OS(operating system) though the device having the OS is faulted by storing a built-in codes in an extended area of a ROM of the system BIOS. CONSTITUTION: After a power is supplied to a system(300), a BIOS code operating the system for the first time checks a test condition(302), decides a test-on or not(304), confirms a user's input, checks the input for operating the test program or not. If a requirement for testing is inputted, the BIOS sends a system control to the test program for testing(306) and operates the test program(308). If not, the system is normally operated by OS(310). Though a device having the OS is faulted, the test program tests the each component of hardware equipped in the computer. The test program is located in an extended area of a computer system BIOS and is separated from the OS.

Description

컴퓨터 시스템에서의 자가 진단 방법 및 그 장치{Self testing method and apparatus in computer system}Self testing method and apparatus in computer system

본 발명은 컴퓨터 시스템에 관한 것으로서, 특히 시스템 파워 온후에 시스템의 오류 및 기능을 진단할 수 있는 컴퓨터 시스템에서의 자가 진단 방법 및 그 장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to computer systems, and more particularly, to a self-diagnostic method and apparatus therefor in a computer system capable of diagnosing errors and functions of the system after system power-on.

종래에는 시스템에 고장이 발생할 경우 직접적인 문제의 원인을 파악하기가 어렵고, 파워 인가후 자가 진단(POST:Power On Self Test)을 수행할 때 사용자가 그 진행 사항을 비디오 카드에 대한 POST가 진행되기 전까지는 알 수 없다. 또한, 시스템의 각 기능별 POST가 진행중일 때 하드웨어의 오류가 발생하면 테스트가 더이상 진행되지 않고 시스템이 정지하므로, 문제의 원인을 파악하기 매우 어렵게 된다.In the past, it is difficult to determine the cause of the problem directly in case of a system failure, and when the user performs a POST (Power On Self Test) after the power on, the user does not know the progress until the POST to the video card is performed. Is unknown. In addition, if a hardware error occurs during the POST of each function of the system, the test stops and the system stops, making it very difficult to determine the cause of the problem.

이때, 시스템을 재부팅하거나 전원을 껐다 다시 켜는 간단한 방법으로 POST를 통해 시스템을 부팅하기 위한 사전 테스트를 실행하는 방법을 사용하고 있다. POST를 통해 시스템의 오류 및 고장 사항을 정확히 파악하기가 어려우며, 또한 POST 진행중에 오류 또는 고장이 검출되면 시스템이 정지됨에 따라 시스템의 고장 분석이 어렵고 테스트 결과를 저장하지 않으므로 문제의 원인을 알 수 없다.At this point, a simple method of rebooting or power cycling the system is to run a pre-test to boot the system via POST. It is difficult to pinpoint the system's errors and failures through POST, and if errors or failures are detected during the POST, the system is stopped as the system stops. .

도 1는 종래의 테스트 과정을 개략적으로 설명하기 위한 플로우챠트이다.1 is a flowchart for schematically illustrating a conventional test process.

먼저, 시스템 파워 온(제100단계) 이후에, 최초 수행되는 BIOS가 OS를 디스크로부터 메모리로 로딩하여 시스템 제어를 OS로 넘기기전까지 일련의 POST를 수행한다(제102단계). OS가 개시되어(제104단계) 동작되는 동안, 컴퓨터 시스템을 검증하는 테스트 프로그램을 실행시킬 수 있다(제106단계).First, after the system power-on (step 100), the first-ever BIOS performs a series of POSTs before loading the OS from the disk into memory and transferring system control to the OS (step 102). While the OS is started and operated (step 104), a test program for verifying the computer system can be executed (step 106).

컴퓨터 시스템을 검증하는 테스트 프로그램을 실행시키기 위해서는, 기본 요구조건인 OS가 디스크로부터 메모리로 로딩되어 제대로 작동되어야만 된다. 이러한 전제 조건은 OS가 포함되어 있는 디스크가 불량인 경우에는 시스템을 검증할 수 있는 기본 요구조건인 OS를 개시할 수 없다. 이에 따라, 시스템의 이상유무를 판단할 수 있는 테스트 프로그램 또한 수행시킬 수 없는 상태가 되므로, 컴퓨터 시스템에 내장된 각종 하드웨어 구성요소에 대한 테스트를 실행할 수 없다.In order to run a test program that verifies a computer system, the basic requirement is that the OS be loaded from disk into memory and run properly. These prerequisites cannot start the OS, which is a basic requirement to verify the system if the disk containing the OS is bad. As a result, the test program for determining whether there is an abnormality of the system is also unable to be executed, and thus it is not possible to execute tests for various hardware components built into the computer system.

도 2은 종래의 테스트 과정에서 테스트 결과 출력단계를 구체적으로 설명하기 위한 플로우챠트이다.2 is a flowchart for describing in detail a test result output step in a conventional test process.

먼저, 시스템 파워 온(제200단계) 이후에, 테스트 프로그램을 실행한다(제202단계). 그 다음에, 테스트 결과를 일반적으로 모니터에 디스플레이한다(제204단계). 이와 같이 종래의 컴퓨터 시스템에서의 테스트 프로그램은 테스트 결과를 일반적으로 모니터에 디스플레이하거나 저장매체인 디스크에 저장한다.First, after the system power-on (step 200), a test program is executed (step 202). Then, the test result is generally displayed on the monitor (step 204). As such, test programs in conventional computer systems typically display the test results on a monitor or store them on a disk, which is a storage medium.

컴퓨터 하드웨어를 진단하는 프로그램의 테스트 결과를 일반적으로 컴퓨터에 연결된 모니터에 디스플레이하거나 그 결과를 저장하는 형태로 설계되어 있으므로, 디스플레이 화면이 사용가능하지 못한 상태이거나 디스크가 고장인 경우에는 컴퓨터의 고장 원인을 파악하기가 거의 불가능한 상태이다.Since the test result of the program for diagnosing the computer hardware is generally displayed on the monitor connected to the computer or the result is stored, the result of the computer failure is displayed when the display screen is not available or the disk is broken. It is almost impossible to figure out.

이를 위해서 전문적인 서비스 기사가 다시 테스트 프로그램을 수행시키는 작읍을 해야하며, 이 또한 이전에 테스트시에 발생된 문제를 정확하게 파악할 수 없다. 간헐적인 고장인 경우에는 전문적인 서비스 기사들이 재테스트를 수행한다 하더라도 그 고장이 발생되지 않을 수 있다. 그러한 경우에는 고장원인에 대한 적절한 조치를 취할 수 없으므로, 조치 이후 또다시 고장이 발생할 수 있다.To do this, professional service technicians must run the test program again, which also cannot accurately identify problems that occurred during the previous test. In the case of an intermittent failure, the failure may not occur even if professional service personnel perform a retest. In such a case, proper measures for the cause of the failure cannot be taken, so failure may occur again after the action.

본 발명이 이루고자 하는 기술적 과제는, OS가 포함된 디바이스가 잘못되더라도 OS에 무관하게 테스트 프로그램을 실행시키는, 컴퓨터 시스템에서의 자가 진단 방법을 제공하는데 있다.SUMMARY OF THE INVENTION The present invention has been made in an effort to provide a self-diagnostic method in a computer system that executes a test program regardless of an OS even if a device including an OS is wrong.

본 발명이 이루고자 하는 다른 기술적 과제는, 테스트 결과를 다양한 디바이스로 출력함으로써 테스트 당시의 하드웨어 상태를 용이하게 파악할 수 있는, 컴퓨터 시스템에서의 자가 진단 방법을 제공하는데 있다.Another technical problem to be achieved by the present invention is to provide a self-diagnostic method in a computer system that can easily determine the hardware state at the time of the test by outputting the test results to various devices.

본 발명이 이루고자 하는 또다른 기술적 과제는, 시스템 BIOS의 ROM영역의 확장 영역에 내장형 진단코드를 저장하여 OS에 무관하게 테스트 프로그램을 실행시키고, 그 테스트 결과를 시스템 파워 오프상태에서 접근가능한 저장매체에 저장하는, 컴퓨터 시스템에서의 자가 진단 장치를 제공하는데 있다.Another technical problem to be solved by the present invention is to store a built-in diagnostic code in an extended area of a ROM area of a system BIOS to execute a test program regardless of the OS, and to store the test result in a storage medium accessible in a system power-off state. To provide a self-diagnostic apparatus in a computer system for storing.

도 1은 종래의 테스트 과정을 개략적으로 설명하기 위한 플로우챠트이다.1 is a flowchart for schematically illustrating a conventional test process.

도 2는 종래의 테스트 과정에서 테스트 결과 출력단계를 구체적으로 설명하기 위한 플로우챠트이다.2 is a flowchart for describing in detail a test result output step in a conventional test process.

도 3은 본 발명에 의한 자가 진단 방법을 개략적으로 설명하기 위한 플로우챠트이다.3 is a flowchart for schematically explaining a self-diagnosis method according to the present invention.

도 4는 본 발명에 의한 일 실시예에 따른 자가 진단 방법을 구체적으로 설명하기 위한 플로우챠트이다.4 is a flowchart for describing in detail a self-diagnosis method according to an embodiment of the present invention.

도 5는 본 발명에 의한 자가 진단 방법에서 테스트 결과 출력단계를 구체적으로 설명하기 위한 플로우챠트이다.5 is a flowchart for explaining in detail the test result output step in the self-diagnostic method according to the present invention.

도 6은 본 발명에 의한 컴퓨터 시스템에서의 자가 진단 장치의 블럭도이다.6 is a block diagram of a self-diagnosis apparatus in a computer system according to the present invention.

상기 과제를 위하여, 본 발명에 의한 컴퓨터 시스템에서의 자가 진단 방법은,For the above problem, the self-diagnostic method in the computer system according to the present invention,

(a) 시스템 파워 온 이후에, 처음 수행되는 시스템 바이오스 코드에서 사용자가 정상적인 시스템 부팅를 요구하는지 또는 소정의 테스트 프로그램 수행을 요구하는지에 대한 테스트 조건을 체크하는 단계, (b) 소정의 테스트 프로그램 수행 요구가 있으면, 시스템 제어를 테스트 프로그램의 진입점으로 넘기고 테스트 프로그램을 수행하는 단계 및 (c) 정상적인 시스템 부팅을 요구하면, 정상적으로 바이오스 코드를 수행하는 단계를 구비한다.(a) checking the test conditions for whether the user requires normal system booting or execution of a predetermined test program in the first system BIOS code to be performed after the system power-on, and (b) requests for performing the predetermined test program And if present, transfer control of the system to the entry point of the test program, perform the test program, and (c) normally perform the BIOS code if a normal system boot is required.

상기 다른 과제를 이루기 위하여, 본 발명에 의한 컴퓨터 시스템에서의 자가 진단 방법은,In order to achieve the above another object, the self-diagnostic method in the computer system according to the present invention,

(a) 시스템 파워 온 이후에, 처음 수행되는 시스템 바이오스 코드에서 사용자가 테스트 프로그램 수행을 요구하는 것으로 체크되면, 소정의 테스트 프로그램을 실행하는 단계, (b) 테스트 프로그램에 대한 테스트 결과를 비휘발성 메모리를 포함한 다양한 디바이스에 출력하는 단계 및 (c) 다양한 디바이스를 통해 테스트 결과를 확인하는 단계를 구비한다.(a) after the system is powered on, if it is checked in the system BIOS code that is first performed as requiring the user to perform a test program, executing a predetermined test program; (b) displaying the test result for the test program in a nonvolatile memory. Outputting to various devices including (c) and checking the test results through the various devices.

상기 또다른 과제를 이루기 위하여, 본 발명에 의한 컴퓨터 시스템에서의 자가 진단 장치는, 시스템의 파워온 이후에 테스트 프로그램 수행 여부를 체크하는 테스트 조건 체크부, 시스템 바이오스를 저장하는 메모리의 하위 영역에 테스트 프로그램에 대응한 진단 코드를 저장하는 테스트 프로그램 저장부, 테스트 조건 체크부에서 체크된 결과, 테스트 프로그램 수행 요구가 있으면 테스트 프로그램을 실행하는 테스트 실행부, 테스트 실행부에서 실행된 테스트 결과를 저장하는 테스트 결과 저장부, 시스템의 파워 온/오프에 상관없이 테스트 결과 저장부에 저장된 내용을 독출하는 독출부 및 테스트 결과 저장부와 독출부에 전원을 공급하는 보조 전원을 구비한다.In order to achieve the above object, the self-diagnostic apparatus for a computer system according to the present invention includes a test condition check unit for checking whether a test program is performed after the system is powered on, and a test in a lower region of a memory storing the system BIOS. A test program storage unit for storing the diagnostic code corresponding to the program, a result checked in the test condition check unit, a test execution unit for executing the test program when a test program execution request is requested, and a test for storing the test result executed in the test execution unit A result storage unit, a reading unit for reading the contents stored in the test result storage unit regardless of the power on / off of the system, and a test result storage unit and the auxiliary power supply for supplying power to the reading unit.

이하, 본 발명에 의한 컴퓨터 시스템에서의 자가 진단 방법 및 그 장치의 구성 및 동작을 첨부한 도면을 참조하여 다음과 같이 설명한다.Hereinafter, with reference to the accompanying drawings, the configuration and operation of the self-diagnostic method and the device in the computer system according to the present invention will be described as follows.

도 3은 본 발명에 의한 자가 진단 방법을 개략적으로 설명하기 위한 플로우챠트이다.3 is a flowchart for schematically explaining a self-diagnosis method according to the present invention.

먼저, 시스템 파워 온(제300단계) 이후에, 처음으로 수행되는 BIOS 코드에서 테스트 조건을 체크한다(제302단계). 테스트 온인가를 판단한다(제304단계). 테스트 조건으로 테스트를 요구하는 소정의 사용자 입력을 확인하여, 테스트 프로그램을 수행시키기 위한 입력이 들어왔는지를 체크한다. 즉, BIOS가 수행되는 부분의 초기화 코드에서 사용자가 정상 OS 부팅을 요구하는지 또는 테스트 프로그램을 수행하기를 원하는지를 체크한다. 또한, 컴퓨터 시스템에 내장되어 전기 소거식 피롬(EEPROM:Electrically Erasable Programmable ROM) 영역을 체크하여 테스트 프로그램의 수행 옵션이 있는지를 판단할 수 있다.First, after the system power-on (step 300), the test condition is checked in the first BIOS code (step 302). It is determined whether the test is on (step 304). A predetermined user input requesting a test as a test condition is checked to check whether an input for executing a test program is input. In other words, the initialization code of the part where the BIOS is executed is checked whether the user requires a normal OS boot or a test program. In addition, the electronic system may check an electrically erasable programmable ROM (EEPROM) region to determine whether there is an option of executing a test program.

테스트 수행 요구가 있으면, 시스템 제어를 테스트 프로그램이 수행될 수 있도록 테스트 프로그램의 진입점으로 넘긴다(제306단계). 테스트 프로그램을 수행한다(제308단계). OS가 포함되어 있는 디바이스가 불량이더라도 테스트 프로그램으로 컴퓨터에 내장된 하드웨어 구성요소들을 테스트할 수 있다. 한편, 제304단계에서 테스트 온상태가 아니면, 정상적으로 OS 부팅한다(제310단계).If there is a test execution request, the control passes to the entry point of the test program so that the test program can be performed (step 306). The test program is performed (step 308). Even if the device containing the OS is bad, the test program can test the hardware components built into the computer. On the other hand, if it is not in the test on state in step 304, the OS is booted normally (310).

전술한 본 발명에 의한 자가 진단 방법에서 테스트 프로그램은 컴퓨터 시스템 BIOS의 확장 영역에 존재하는 것이 바람직하며, OS에 독립적인 형태로 구성되어야 한다.In the above-described self-diagnostic method according to the present invention, the test program is preferably present in the extended area of the computer system BIOS and should be configured in an OS independent form.

도 4는 본 발명에 의한 일 실시예에 따른 자가 진단 방법을 구체적으로 설명하기 위한 플로우챠트이다.4 is a flowchart for describing in detail a self-diagnosis method according to an embodiment of the present invention.

먼저, 시스템 파워 온(제400단계) 이후에, 진단 프로그램 수행 인에이블인가를 판단한다(제402단계). 컴퓨터 시스템 BIOS를 저장하는 BIOS ROM의 하위 영역에 내장형 진단 코드를 저장해두고, 시스템 BIOS의 초기 코드에서 정상적인 시스템 BIOS를 수행할 것인지 내장형 진단 코드를 수행할 것인지를 시스템 보드내에 미리 설치된 테스트용 점퍼를 읽어 결정할 수 있다.First, after the system power on (operation 400), it is determined whether the diagnostic program execution is enabled (operation 402). Store the built-in diagnostic code in a subarea of the BIOS ROM that stores the computer system BIOS, and read the test jumper preinstalled on the system board to determine whether the system BIOS should perform normal system BIOS or internal diagnostic code from the initial code of the system BIOS. You can decide.

제402단계에서 진단 프로그램 수행 인에이블이면, 기본 테스트 항목을 수행한다(제404단계). 기본 테스트 항목으로서, 시스템을 부팅할때 VGA까지 수행할 수 있도록 하기 위한 기능을 테스트한다. 기본 테스트 항목이 수행될 때, VGA가 초기화되지 않은 상태이므로, POST 코드를 출력하거나 비퍼가 울리도록 하여 컴퓨터 사용자로 하여금 시스템이 동작중임을 알려줄 수 있다. 기본 테스트 항목이 수행되면, 기본 테스트 결과를 저장한다(제406단계). 저장매체로는 비휘발성 램(NVRAM:Non Volatile RAM)이 바람직하다.If the diagnostic program execution is enabled in operation 402, a basic test item is performed (operation 404). As a basic test item, it tests the function to be able to perform VGA when the system is booted. When the basic test item is performed, the VGA is not initialized, so it can output a POST code or let the beeper sound to let the computer user know that the system is running. When the basic test item is performed, the basic test result is stored (step 406). As a storage medium, non-volatile RAM (NVRAM) is preferable.

다음에, 상세 테스트 항목을 수행한다(제408단계). VGA가 성공적으로 테스트되어 모니터상에 테스트 상태가 나타날 수 있도록 한 다음, 매뉴얼 또는 배치 형태로 보다 강화된 테스트를 수행한다. 상세 테스트 항목이 수행될 때, 테스트 상태를 화면에 출력함으로써 컴퓨터 사용자로 하여금 시스템이 동작중임을 알려준다. 상세 테스트 항목이 수행되면, 상세 테스트 결과를 저장한다(제410단계). 마찬가지로 저장매체로는 NVRAM이 바람직하다.Next, a detailed test item is performed (step 408). After the VGA has been successfully tested and the test status appears on the monitor, perform the enhanced test in manual or batch form. When the detailed test item is performed, the test state is displayed on the screen to inform the computer user that the system is running. When the detailed test item is performed, the detailed test result is stored (step 410). Similarly, NVRAM is preferred as the storage medium.

한편, 제402단계에서 진단 프로그램 수행 인에이블이 아니면, 정상적인 시스템 BIOS 코드를 수행하고(제412단계), 정상적으로 OS 부팅한다(제414단계).If the diagnostic program execution is not enabled in operation 402, a normal system BIOS code is executed (operation 412), and the OS is booted normally (operation 414).

도 5는 본 발명에 의한 자가 진단 방법에서 테스트 결과 출력단계를 구체적으로 설명하기 위한 플로우챠트이다.5 is a flowchart for explaining in detail the test result output step in the self-diagnostic method according to the present invention.

먼저, 시스템 파워 온(제500단계) 이후에, 테스트 프로그램을 실행시킨다(제502단계). 하드웨어 고장을 진단하는 테스트 프로그램에 대한 테스트 결과를 CMOS/디스크/EEPROM/모니터/RS232를 통해 출력한다(제504단계). 비휘발성 메모리는 PC에서 제공되는 CMOS나 디스크 뿐만 아니라, 테스트 결과를 저장하는 용도로 설계된 EEPROM등을 이용할 수 있다. 이에 따라, 언제든지 테스트 프로그램이 수행된 시점의 하드웨어 상태를 알 수 있다.First, after the system power on (operation 500), the test program is executed (operation 502). The test result for the test program for diagnosing the hardware failure is output through the CMOS / disk / EEPROM / monitor / RS232 (step 504). Non-volatile memory can use not only CMOS or disk provided by PC, but also EEPROM designed to store test results. Accordingly, the hardware state at the time when the test program is executed can be known at any time.

도 6은 본 발명에 의한 컴퓨터 시스템에서의 자가 진단 장치의 블럭도로서, 테스트 조건 체크부(600), BIOS ROM(612) 및 내장형 진단 코드 저장부(614)를 포함한 저장부(600), 테스트 실행부(620), 테스트 결과 저장부(630), 독출부(640) 및 보조 전원(650)으로 구성된다.6 is a block diagram of a self-diagnostic apparatus in a computer system according to the present invention, which includes a test condition check unit 600, a BIOS ROM 612, and a built-in diagnostic code storage unit 614. The execution unit 620, the test result storage unit 630, the reading unit 640, and the auxiliary power source 650 are configured.

도 6을 참조하면, 시스템 BIOS를 저장하는 BIOS ROM(612)의 하위 영역에 진단 코드를 저장하는 내장형 진단 코드 저장부(614)가 별도로 마련되어 있다. 테스트 조건 체크부(600)는 시스템의 파워온 이후에 테스트 프로그램의 수행 여부를 체크한다. 테스트를 원하는 사용자 입력을 확인하여 테스트 프로그램을 수행시키기 위한 입력이 들어왔는지를 체크하거나, 시스템에 내장되어 있는 EEPROM 영역에 테스트 프로그램 수행 옵션이 있는지를 체크한다. 간단한 방법으로, 사용자가 시스템 보드내에 점퍼를 설치할 수 있도록 하고, 점퍼가 인에이블되어 있는가 그렇지 않은가를 판단하여 테스트 조건을 체크할 수 있다.Referring to FIG. 6, a built-in diagnostic code storage unit 614 for storing a diagnostic code is provided separately in a lower region of the BIOS ROM 612 that stores a system BIOS. The test condition check unit 600 checks whether the test program is performed after the system is powered on. Check the user input that you want to test to see if there is an input to run the test program, or check whether there is an option to run the test program in the EEPROM area built into the system. In a simple way, the user can install a jumper on the system board and check the test conditions by determining whether the jumper is enabled or not.

테스트 프로그램 수행 요구가 있으면, 테스트 조건 체크부(600)는 정상적인 시스템 BIOS가 수행되는 대신에 내장형 진단 코드 저장부(614)에 저장된 테스트 프로그램이 수행되도록 한다. 테스트 실행부(620)는 내장형 진단 코드 저장부(614)에 저장된 진단 코드를 읽어 테스트 프로그램을 실행한다. 테스트 결과 저장부(630)는 테스트 실행부(620)를 통해 실행된 테스트 결과를 저장한다. 여기서, 테스트 결과 저장부(630)는 NVRAM이 바람직하다.If there is a test program execution request, the test condition check unit 600 causes the test program stored in the embedded diagnostic code storage unit 614 to be executed instead of performing a normal system BIOS. The test execution unit 620 reads the diagnostic code stored in the built-in diagnostic code storage unit 614 and executes a test program. The test result storage unit 630 stores test results executed by the test execution unit 620. Here, the test result storage unit 630 is preferably NVRAM.

테스트 결과 저장부(630)에 저장된 테스트 결과를 보기 위해서는, 시스템 파워 온/오프에 상관없이 테스트 결과 저장부(630)를 액세스할 수 있는 독출부(640) 및 보조 전원(650)이 필요하다. 즉, 시스템이 정상적으로 부팅된 상태에서는 도스나 윈도우즈상에서 테스트 결과 저장부(630)에 저장된 내용을 읽어 확인할 수 있지만, 시스템에 고장이 발생할 경우에는 테스트 결과 저장부(630)에 저장된 내용을 별도의 전원 및 독출부를 이용하여 읽어야 한다. 이에 따라, 시스템이 부팅되지 않은 상태에서도 시스템의 고장 원인을 알 수 있다.In order to view the test results stored in the test result storage unit 630, a reader 640 and an auxiliary power source 650 that can access the test result storage unit 630 regardless of system power on / off are required. That is, in a state in which the system is normally booted, the contents stored in the test result storage unit 630 can be read and checked in DOS or Windows. However, when a system failure occurs, the contents stored in the test result storage unit 630 are separately supplied. And reading by reading. Accordingly, it is possible to know the cause of the system failure even when the system is not booted.

이상에서 설명한 바와 같이, 본 발명에 의한 컴퓨터 시스템에서의 자가 진단 방법 및 그 장치는, OS가 포함된 디바이스가 잘못되더라도 OS에 무관하게 테스트 프로그램을 실행시키며, 테스트 결과를 다양한 비휘발성 매체에 저장함으로써 테스트 당시의 하드웨어 상태를 파악할 수 있으며, 전문 서비스 기사나 시스템 고장을 진단하는 사람이 정확한 판단할 수 있는 이점이 있다.As described above, the self-diagnostic method and apparatus in the computer system according to the present invention execute the test program regardless of the OS even if the device including the OS is wrong, and store the test results in various nonvolatile media. You can see the hardware status at the time of testing and have the benefit of being able to make an accurate judgment by a professional service technician or someone who diagnoses a system failure.

Claims (5)

컴퓨터 시스템에서의 자가 진단 방법에 있어서,In a self-diagnostic method in a computer system, (a) 시스템 파워 온 이후에, 처음 수행되는 시스템 바이오스 코드에서 사용자가 정상적인 시스템 부팅를 요구하는지 또는 소정의 테스트 프로그램 수행을 요구하는지에 대한 테스트 조건을 체크하는 단계;(a) after system power-on, checking test conditions in the first system BIOS code to be executed whether the user requires normal system booting or execution of a predetermined test program; (b) 소정의 테스트 프로그램 수행 요구가 있으면, 시스템 제어를 상기 테스트 프로그램의 진입점으로 넘기고 상기 테스트 프로그램을 수행하는 단계; 및(b) passing a system control to an entry point of the test program and executing the test program if a predetermined test program execution request is requested; And (c) 정상적인 시스템 부팅을 요구하면, 정상적으로 상기 바이오스 코드를 수행하는 단계를 구비하는 것을 특징으로 하는 자가 진단 방법.and (c) if the normal system booting is required, executing the BIOS code normally. 제1항에 있어서, 상기 (b) 단계는,According to claim 1, wherein step (b), (b1) 시스템의 부팅시에 그래픽 카드까지 수행할 수 있도록 하기 위한 기능을 테스트하는 기본 테스트 항목을 수행하는 단계;(b1) performing a basic test item for testing a function for performing a graphics card upon booting of the system; (b2) 상기 (b2)에서 수행된 테스트 결과를 비휘발성 메모리에 저장하는 단계;(b2) storing the test results performed in (b2) in a nonvolatile memory; (b3) 그래픽 카드가 성공적으로 테스트되어 모니터상에 테스트 상태가 나타날 수 있도록 한 다음, 매뉴얼 또는 배치 형태로 보다 강화된 테스트 항목을 수행하는 단계; 및(b3) allowing the graphics card to be successfully tested so that the test status may appear on the monitor, and then performing more advanced test items in the form of a manual or batch; And (b4) 상기 (b3)에서 수행된 테스트 결과를 상기 비휘발성 메모리에 저장하는 단계를 구비하는 것을 특징으로 하는 자가 진단 방법.and (b4) storing the test results performed in the step (b3) in the nonvolatile memory. 컴퓨터 시스템에서의 자가 진단 방법에 있어서,In a self-diagnostic method in a computer system, (a) 시스템 파워 온 이후에, 처음 수행되는 시스템 바이오스 코드에서 사용자가 테스트 프로그램 수행을 요구하는 것으로 체크되면, 소정의 테스트 프로그램을 실행하는 단계;(a) after the system is powered on, executing a test program if it is checked in the system BIOS code that is first performed as requiring the user to perform a test program; (b) 상기 테스트 프로그램에 대한 테스트 결과를 비휘발성 메모리를 포함한 다양한 디바이스에 출력하는 단계; 및(b) outputting a test result for the test program to various devices including a nonvolatile memory; And (c) 상기 다양한 디바이스를 통해 테스트 결과를 확인하는 단계를 구비하는 것을 특징으로 하는 자가 진단 방법.(c) verifying a test result through the various devices. 컴퓨터 시스템에서의 자가 진단 장치에 있어서,A self diagnostic apparatus in a computer system, 시스템의 파워온 이후에 테스트 프로그램 수행 여부를 체크하는 테스트 조건 체크부;A test condition check unit which checks whether a test program is performed after the system is powered on; 시스템 바이오스를 저장하는 메모리의 하위 영역에 테스트 프로그램에 대응한 진단 코드를 저장하는 테스트 프로그램 저장부;A test program storage unit which stores a diagnostic code corresponding to the test program in a lower region of the memory storing the system BIOS; 상기 테스트 조건 체크부에서 체크된 결과, 테스트 프로그램 수행 요구가 있으면 상기 테스트 프로그램을 실행하는 테스트 실행부;A test execution unit that executes the test program if a test program execution request is found as a result of the check in the test condition check unit; 상기 테스트 실행부에서 실행된 테스트 결과를 저장하는 테스트 결과 저장부;A test result storage unit for storing a test result executed by the test execution unit; 시스템의 파워 온/오프에 상관없이 상기 테스트 결과 저장부에 저장된 내용을 독출하는 독출부; 및A reading unit for reading contents stored in the test result storage unit regardless of power on / off of the system; And 상기 테스트 결과 저장부와 상기 독출부에 전원을 공급하는 보조 전원을 구비하는 것을 특징으로 하는 자가 진단 장치.And an auxiliary power supply for supplying power to the test result storage unit and the reading unit. 제4항에 있어서, 상기 테스트 결과 저장부는,The method of claim 4, wherein the test result storage unit, 비휘발성 메모리인 것을 특징으로 하는 특징으로 하는 자가 진단 장치.A self-diagnostic device, characterized in that it is a nonvolatile memory.
KR1019990010498A 1999-03-26 1999-03-26 Self testing method and apparatus in computer system KR20000061449A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990010498A KR20000061449A (en) 1999-03-26 1999-03-26 Self testing method and apparatus in computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990010498A KR20000061449A (en) 1999-03-26 1999-03-26 Self testing method and apparatus in computer system

Publications (1)

Publication Number Publication Date
KR20000061449A true KR20000061449A (en) 2000-10-16

Family

ID=19577862

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990010498A KR20000061449A (en) 1999-03-26 1999-03-26 Self testing method and apparatus in computer system

Country Status (1)

Country Link
KR (1) KR20000061449A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030021592A (en) * 2001-09-07 2003-03-15 엘지이노텍 주식회사 Controller operating state verification system
WO2006086302A1 (en) * 2005-02-07 2006-08-17 Transmeta Corporation Method and system for validating a computer system
WO2011123101A1 (en) * 2010-03-31 2011-10-06 Hewlett-Packard Development Company, L.P. Testing an electronic device
KR101494000B1 (en) * 2007-10-11 2015-02-16 엘지전자 주식회사 Method and system for power-on self testing after system off, and booting method the same

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030021592A (en) * 2001-09-07 2003-03-15 엘지이노텍 주식회사 Controller operating state verification system
WO2006086302A1 (en) * 2005-02-07 2006-08-17 Transmeta Corporation Method and system for validating a computer system
US7793347B2 (en) 2005-02-07 2010-09-07 Rozas Guillermo J Method and system for validating a computer system
KR101494000B1 (en) * 2007-10-11 2015-02-16 엘지전자 주식회사 Method and system for power-on self testing after system off, and booting method the same
WO2011123101A1 (en) * 2010-03-31 2011-10-06 Hewlett-Packard Development Company, L.P. Testing an electronic device

Similar Documents

Publication Publication Date Title
US5463766A (en) System and method for loading diagnostics routines from disk
US6003130A (en) Apparatus for selecting, detecting and/or reprogramming system bios in a computer system
US5509120A (en) Method and system for detecting computer viruses during power on self test
US6842865B2 (en) Method and system for testing microprocessor based boards in a manufacturing environment
US7613952B2 (en) Method for facilitating BIOS testing
US5634137A (en) Method and apparatus for updating system configuration based on open/closed state of computer housing cover
US6449735B1 (en) Method and apparatus for providing improved diagnostic functions in a computer system
KR910009009B1 (en) In-place diagnosable electronic circuit board
TWI470420B (en) Dubugging method and computer system using the smae
US20070234132A1 (en) System and method for indicating errors of a motherboard
US8161322B2 (en) Methods and apparatus to initiate a BIOS recovery
US6006344A (en) Keyboard controlled diagnostic system
JPH07200051A (en) System and method for self-diagnosis of electronic control apparatus
US20090204856A1 (en) Self-service terminal
CN106547653B (en) Computer system fault state detection method, device and system
US20020095625A1 (en) Identifying field replaceable units responsible for faults detected with processor timeouts utilizing IPL boot progress indicator status
US6625728B1 (en) Method and apparatus for locating and displaying a defective component in a data processing system during a system startup using location and progress codes associated with the component
KR20000061449A (en) Self testing method and apparatus in computer system
TWI436203B (en) Testing method for automatically rebooting a motherboard and recording related debug information and rebooting device thereof
US20050257095A1 (en) Apparatus and method for detecting and indicating faults on a motherboard
KR20090016286A (en) Computer system and method for booting control the same
KR100519389B1 (en) Method and apparatus for diagnosing computer system
US7139954B1 (en) Method and apparatus for testing a computing device with memory using test program code
TWI775360B (en) Storage device for recording status of hardware component of computer system and computer implementation method thereof
JP3001470B2 (en) Boot failure detection system for personal computer

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination