1. Technical Field
The present disclosure relates to a system and method for monitoring power-on self-test (POST) codes generated by a motherboard.
2. Description of Related Art
After a motherboard is produced, a power cycling test is required. The power cycling test is performed for a predetermined number of test cycles. In one test cycle, the motherboard is powered on and then powered off. Almost immediately after the computer system is powered on, the basic input-output services (“BIOS”) firmware of the computer performs a series of brief tests on some of the fundamental hardware components of the computer such as the central processing unit (CPU), memory, display controller and keyboard controller. This series of tests is commonly known as the power-on self test (“POST”).
In a typical power cycling test system, a test circuit board is designed to execute the power cycling test on the motherboard. During the time the motherboard is undergoing the POST, the computer generates a plurality of POST codes. The test circuit board can display the POST codes one by one for indicating a current running state of the computer. However, the typical test system does not record all of the POST codes, and the same POST code may appear more than one time during POST. If errors occur and the motherboard is powered off during the POST, it's difficult to utilize the POST codes for locating the errors.
Therefore, a POST code monitoring system and method capable of recording all POST codes generated by a motherboard undergoing a power cycling test is desired.
The disclosure is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean at least one.
In general, the word “module,” as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language, such as, for example, Java, C, or assembly. One or more software instructions in the modules may be embedded in firmware, such as an EPROM. It will be appreciated that modules may comprise connected logic units, such as gates and flip-flops, and may comprise programmable units, such as programmable gate arrays or processors. The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of computer-readable medium or other computer storage device.
Referring to
Referring to
Referring to one embodiment shown in
The CPLD 22 includes a data extracting module 221, a parallel port 223, a PCI port 225, and a LPC port 227. One of the PCI port 225 and the LPC port 227 is connected to the DUT 30 for receiving data output from a PCI port or an LPC port of the DUT 30. The data output from the PCI port or the LPC port of the DUT 30 includes POST codes and other data. The data extracting module 221 is capable of extracting the POST codes from the data output from the DUT 30 and outputting the
POST codes from the parallel port 223 of the CPLD 22 to the USB FIFO controller 24.
The USB FIFO controller 24 includes a data converting module 241, a parallel port 243 connected to the parallel port 223 of the CPLD 22, and a USB port 245 connected to the USB port 18 of the recording device 10. The data converting module 241 is capable of converting the POST codes from a parallel format to a USB format. The USB port 245 sends the USB formatted POST codes to the recording device 10.
Referring to
In block S01, a power cycling test is performed on the DUT 30 for periodically powering on and powering off the DUT 30.
In block S02, the PCI or LPC port of the DUT 30 is connected to the monitoring circuit board 20 and outputs data including POST codes to the monitoring circuit board 20.
In block S03, the monitoring circuit board 20 receives the data output from the PCI or LPC port of the DUT 30.
In block S04, the data extracting module 221 extracts the POST codes from the data output from the DUT 30.
In block S05, the CPLD 22 of the monitoring circuit board 20 sends the POST codes in a parallel format to the USB FIFO controller 24 from its parallel port 223.
In block S06, the data converting module 241 of the USB FIFO controller 24 converts the POST codes from the parallel format to a USB format.
In block S07, the USB formatted POST codes are sent from the USB port 245 of the monitoring circuit board 20 to the recording device 10.
In block S08, the PSOT codes are saved in the storage module 12 of the recording device 10.
In block S09, the decoding module 14 of the recording device 10 decodes each of the POST codes into a detailed message.
In block S10, the display module 16 of the recording device 10 displays the detailed messages.
In one embodiment, the recording device 10 records all of the POST codes generated by the motherboard and displays the detailed messages of the POST codes.
If an error occurs and the motherboard is powered off during POST, the operator can easily utilize the POST codes to determine where the error occurred, which facilitates repairing the motherboard.
It is to be understood, however, that even though numerous characteristics and advantages have been set forth in the foregoing description of preferred embodiments, together with details of the structures and functions of the preferred embodiments, the disclosure is illustrative only, and changes may be made in detail, especially in matters of shape, size, and arrangement of parts within the principles of the invention to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
Depending on the embodiment, certain of the steps of methods described may be removed, others may be added, and the sequence of steps may be altered. It is also to be understood that the description and the claims drawn to a method may include some indication in reference to certain steps. However, the indication used is only to be viewed for identification purposes and not as a suggestion as to an order for the steps.
Number | Date | Country | Kind |
---|---|---|---|
200910312248.0 | Dec 2009 | CN | national |