Voltage testing device and voltage testing method for CPU

The disclosure provides a voltage testing device and a method. A voltage testing device includes a PCB, a computer, and a detecting chip. The PCB includes a CPU socket, a signal producing chip, and a voltage regulator. The computer sets predetermined data. The detecting chip is inserted in the CPU socket. The detecting chip includes a reading module, a converting module, a sending module, and a control module. The signal producing chip sends a start-up signal to the control module. The converting module converts the predetermined data to SVID data. The sending module sends the SVID data to the voltage regulator. The voltage regulator sends a CPU voltage to the CPU socket. The voltage value testing device calculates a value of the CPU voltage to determine if the value of the CPU voltage associates with a voltage corresponding to the predetermined data.

BACKGROUND

1. Technical Field

The present disclosure generally relates to a voltage testing device and a voltage testing method for a central processing unit (CPU).

2. Description of Related Art

A CPU of a server sends a subsystem vendor ID (SVID) data to a voltage regulator when the server is powered on. The voltage regulator sends a voltage to the inner core of the CPU to supply power for the inner core according to the SVID data. However, when there is something wrong with the voltage regulator there may be high value voltage sent to the inner core that burns out the CPU.

DETAILED DESCRIPTION

FIG. 1shows a voltage testing device according to one embodiment. The voltage testing device includes a printed circuit board10. The printed circuit board10includes a CPU socket11, a signal producing chip13connected to the CPU socket11, and a voltage regulator15connected to the CPU socket11. The voltage testing device further includes a detecting chip30inserted in the CPU socket11and a computer50connected to the detecting chip30. The voltage testing device further includes a voltage value testing device70for calculating the voltage value of the voltage output from the voltage regulator15to the CPU socket11. In one embodiment, the signal producing chip13is a south bridge chip, and the voltage testing device70is an oscillograph.

The detecting chip30includes a reading module31connected to the computer50, a converting module33connected to the reading module31, a sending module35connected to the converting module33, a control module37connected to the reading module31, a first universal asynchronous receiver/transmitter (UART)39connected to the reading module31. The sending module35is connected to the voltage regulator15.

The computer50includes a second UART51, a setting module53, a main control module55, and a display module57. The second UART51is connected to the first UART39. The setting module53is configured to set predetermined data. In the illustrated embodiment, the predetermined data is 8 bit binary data, such as 10000001.

The signal producing chip13of the printed circuit board10sends a start-up signal to the control module37when the printed circuit board10is triggered to be powered on. The control module37of the detecting chip30controls the reading module31to read the predetermined data of the computer50and sends the predetermined data to the converting module33. The converting module33converts the predetermined data to SVID data according to the SVID bus protocol and sends the SVID data to the voltage regulator15. The voltage regulator15sends a CPU voltage to the CPU socket11according to the SVID data. The control module37of the detecting chip30sends a failure signal to the main control module55of the computer50if the detecting chip30does not receive the CPU voltage. The main control module55sends the failure signal to the display module57. The voltage value testing device70calculates the value of the CPU voltage. If the value of the CPU voltage associates with the voltage corresponding to the predetermined data, the detecting chip30can be replaced with a CPU for the server to be powered on normally. If not, the CPU voltage is determined to be abnormal.

FIG. 2shows that a voltage testing method includes following steps.

S201, the setting module53of the computer50sets a predetermined data.

S202, the signal producing chip13sends a start-up signal to the control module37of the detecting chip30when the printed circuit board10is triggered to power on.

S203, the control module37controls the reading module31to read the predetermined data of the computer50and sends the predetermined data to the converting module33.

S204, the converting module33converts the predetermined data to SVID data according to the SVID bus protocol and sends the SVID data to the voltage regulator15.

S205, the voltage regulator15sends a CPU voltage to the CPU socket11according to the SVID data.

S206, the control module37sends a failure signal to the main control module55of the computer50if the detecting chip30does not receive the CPU voltage and the main control module55sends to the failure signal to the display module57to display.

S207, the voltage value testing device70calculates the value of the CPU voltage to determine if the value of the CPU voltage associates with the voltage corresponding to the predetermined data.