1. Technical Field
The present disclosure relates to an electronic device testing system and method.
2. Description of Related Art
After an electronic device, such as a server computer, is manufactured, operators have to test whether signals generated by the electronic device conforms to predetermined values. However, operators have to utilize test tools, such as an oscilloscope and an analyzing apparatus, to test the signals, which is inconvenient.
Therefore, there is room for improvement within the art.
Many aspects of the embodiments can be better understood with references to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the embodiments. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
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.”
The PLD 100 includes a clock module 10, a controller 20, a Dynamic Random Access Memory (DRAM) 30, and a read/write control module 40. The clock module 10 is connected to a crystal oscillator for generating clock signals for the PLD 100. The controller 20 includes a Universal Asynchronous Receiver/Transmitter (UART) interface 22 connected to the computer 300. The controller 20 is connected to the DRAM 30 via a first data bus 60a and a first address bus 60b. The DRAM 30 is connected to the read/write control module 40 via a second data bus 60c and a second address bus 60d. The controller 20 is connected to the read/write control module 40 via a first connection 60e and a second connection 60f. The controller 20 can send a read enable signal to the read/write control module 40 via the second connection 60f. The read/write control module 40 reads signals from the electronic device 200 after receiving the read enable signal. The read/write control module 40 can send a notification signal to the controller 20 via the first connection 60e when the read/write control module 40 has written data into the DRAM 30. An indicating lamp 50 is connected to the PLD 100 to indicate whether the PLD 100 detects any error signal.
When the testing system is working, the controller 20 sends the read enable signal to the read/write control module 40. The read/write control module 40 reads signals generated by the electronic device 200. The read/write control module 40 writes information of the signals into the DRAM 30 and sends the notification signal to the controller 20. The controller 20 analyzes whether there is an error in the information written in the DRAM 30. If there is an error, the controller 20 sends the error information to the computer 300 and switches on the indicating lamp 50. The computer 300 analyzes the error information and indicates the reason for the error. If there is not any error, the controller 20 switches off the indicating lamp 50.
In block S01, the PLD 100 is initiated.
In block S02, the read/write control module 40 receives signals generated by the electronic device 200.
In block S03, the read/write control module 40 writes information of the signals generated by the electronic device 200 into the DRAM 30.
In block S04, the controller 20 reads the information written in the DRAM 30.
In block S05, the controller 20 determines whether there is an error in the information. If there is no error, go to block S06; if there is an error in the signals generated by the electronic device 200, go to block S07.
In block S06, the indicating lamp 50 is powered off to indicate there is no error detected by the PLD 100.
In block S07, the error information is locked up by the controller 20.
In block S08, the indicating lamp 50 is powered on to indicate one or more errors are detected by the PLD 100.
In block S09, the controller 20 sends the error information to the computer 300.
In block S10, the computer 300 analyzes the error information and indicates the reason of the error information.
While the present disclosure has been illustrated by the description of preferred embodiments thereof, and while the preferred embodiments have been described in considerable detail, it is not intended to restrict or in any way limit the scope of the appended claims to such details. Additional advantages and modifications within the spirit and scope of the present disclosure will readily appear to those skilled in the art. Therefore, the present disclosure is not limited to the specific details and illustrative examples shown and described.
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, any 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 |
---|---|---|---|
2012105304042 | Dec 2012 | CN | national |