CN102103536A - Board test device and method - Google Patents
Board test device and method Download PDFInfo
- Publication number
- CN102103536A CN102103536A CN2009103118432A CN200910311843A CN102103536A CN 102103536 A CN102103536 A CN 102103536A CN 2009103118432 A CN2009103118432 A CN 2009103118432A CN 200910311843 A CN200910311843 A CN 200910311843A CN 102103536 A CN102103536 A CN 102103536A
- Authority
- CN
- China
- Prior art keywords
- test
- port
- central server
- microcontroller
- integrated circuit
- 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
Links
Images
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种测试装置及方法,特别涉及一种用于测试板卡的测试装置及方法。The invention relates to a testing device and method, in particular to a testing device and method for testing boards.
背景技术Background technique
板卡是计算机内的主板及其扩展卡,如显卡、声卡、网卡等的统称。板卡是计算机的主要组成组件,它提供了指挥数据传输的南桥、北桥芯片组、总线、外围装置数据传输接口等。板卡的稳定性以及集成功能是板卡品质的重要决定因素,因此,需要对板卡进行稳定性、兼容性及各参数性能的测试。一般的方法是将待测的板卡安装于一测试计算机中,经由测试计算机执行相关的测试程序以取得测试结果,并将该测试结果通过网络传输给中央服务器,以此判断该待测板卡是否符合性能要求。The board is the general term for the motherboard and its expansion cards in the computer, such as graphics cards, sound cards, network cards, etc. The board is the main component of the computer. It provides the south bridge, north bridge chipset, bus, peripheral device data transmission interface, etc. to direct data transmission. The stability and integrated functions of the board are important determinants of the quality of the board. Therefore, it is necessary to test the stability, compatibility and performance of each parameter of the board. The general method is to install the board to be tested in a test computer, execute the relevant test program through the test computer to obtain the test result, and transmit the test result to the central server through the network, so as to judge the board to be tested Whether the performance requirements are met.
传统的测试方法中每个测试台需要占用一台计算机以用来对待测板卡进行测试及将测试结果传输给中央服务器,导致测试设备费用高。In the traditional test method, each test bench needs to occupy a computer to test the board to be tested and transmit the test results to the central server, resulting in high cost of test equipment.
发明内容Contents of the invention
鉴于以上内容,有必要提供一种测试成本低的板卡测试装置及方法。In view of the above, it is necessary to provide a board testing device and method with low testing cost.
一种板卡测试装置,用于测试一待测板卡的SPI总线信号及IIC总线信号,所述板卡测试装置包括:A kind of board test device, for testing the SPI bus signal and the IIC bus signal of a board card to be tested, described board test device comprises:
一SPI总线端口,用于连接所述待测板卡的SPI总线端口,以接收所述待测板卡输出的SPI总线信号;An SPI bus port, for connecting the SPI bus port of the board to be tested, to receive the SPI bus signal output by the board to be tested;
一IIC总线端口,用于连接所述待测板卡的IIC总线端口,以接收所述待测板卡输出的IIC总线信号;An IIC bus port, for connecting the IIC bus port of the board to be tested, to receive the IIC bus signal output by the board to be tested;
一信号转换器,用于连接所述IIC总线端口,以将所述IIC总线端口接收到的IIC总线信号转换为数字信号并通过所述IIC总线端口输出;A signal converter, used to connect the IIC bus port, so as to convert the IIC bus signal received by the IIC bus port into a digital signal and output it through the IIC bus port;
一串行接口,用于连接一扫描设备,以将所述扫描设备扫描获得的待测板卡的序列号信息输出;A serial interface for connecting a scanning device, so as to output the serial number information of the board to be tested obtained by scanning the scanning device;
一网络芯片;a network chip;
一网络端口,用于连接所述网络芯片及与一中央服务器的网络端口通信;a network port for connecting the network chip and communicating with a network port of a central server;
一开关,用于开启或关闭所述板卡测试装置;a switch, used to turn on or off the board test device;
一显示屏,用于将测试过程中的提示信息进行显示;及a display screen for displaying prompt information during the test; and
一微控制器通过所述网络端口接收所述中央服务器存储的所述板卡测试装置的设定IP地址,并判断接收到的IP地址是否与自己的IP地址一致,若一致则通过所述显示屏显示连接正常信息,所述微控制器通过所述SPI总线端口接收所述待测板卡输出的SPI总线信号,所述微控制器通过所述IIC总线端口接收经所述信号转换器转换后的所述待测板卡输出的IIC总线信号,所述微控制器将接收到的SPI总线信号及IIC总线信号经内部测试程序处理后通过所述网络端口发送给所述中央服务器,以使所述中央服务器对待测板卡的测试结果进行记录并显示。A microcontroller receives the set IP address of the board test device stored by the central server through the network port, and judges whether the received IP address is consistent with its own IP address, and if consistent, passes the display The screen displays the connection normal information, the microcontroller receives the SPI bus signal output by the board card to be tested through the SPI bus port, and the microcontroller receives the signal converted by the signal converter through the IIC bus port. The IIC bus signal output by the board to be tested, the microcontroller sends the received SPI bus signal and IIC bus signal to the central server through the network port after being processed by the internal test program, so that all The central server records and displays the test results of the boards to be tested.
一种板卡测试方法,用于测试一待测板卡,包括以下步骤:A board testing method, used for testing a board to be tested, comprising the following steps:
S1:一微控制器接收一中央服务器存储的所述板卡测试装置的设定IP地址,并判断接收到的IP地址是否与自己的IP地址一致,若不一致,执行S2,若一致,执行S3;S1: A microcontroller receives the set IP address of the board test device stored in a central server, and judges whether the received IP address is consistent with its own IP address, if not, execute S2, if consistent, execute S3 ;
S2:显示连接失败信息;S2: display connection failure information;
S3:显示连接正常信息;S3: display the normal connection information;
S4:显示输入序列号信息;S4: display the input serial number information;
S5:扫描待测板卡的序列号并将所述序列号发送给所述微控制器,以使所述微控制器将所述序列号发送给所述中央服务器;S5: scanning the serial number of the board to be tested and sending the serial number to the microcontroller, so that the microcontroller sends the serial number to the central server;
S6:所述中央服务器将接收到的序列号与内部存储的序列号进行比对,若不一致,执行S7,若一致,执行S9;S6: The central server compares the received serial number with the internally stored serial number, if inconsistent, execute S7, and if identical, execute S9;
S7:向所述微控制器发送序列号错误信息;S7: sending serial number error information to the microcontroller;
S8:显示序列号错误信息;S8: display serial number error information;
S9:向所述微控制器发送测试指令;S9: sending a test instruction to the microcontroller;
S10:接收所述待测板卡输出的SPI总线信号及接收经一信号转换器转换后的待测板卡输出的IIC总线信号,将接收到的SPI总线信号及经转换后的IIC总线信号经过所述微控制器的内部测试程序处理后发送给所述中央服务器;S10: receiving the SPI bus signal output by the board to be tested and receiving the IIC bus signal output by the board to be tested converted by a signal converter, passing the received SPI bus signal and the converted IIC bus signal through The internal test program of the microcontroller is processed and sent to the central server;
S11:根据处理结果判断测试是否通过,若没有通过,执行S12,若通过,执行S13;S11: Determine whether the test is passed according to the processing result, if not, execute S12, if passed, execute S13;
S12:向所述中央服务器发送测试项目代码和测试失败信息代码,记录测试项目代码和测试失败信息代码;S12: Send the test item code and the test failure information code to the central server, and record the test item code and the test failure information code;
S13:向所述中央服务器发送测试项目代码和测试通过信息代码,记录测试项目代码和测试通过信息代码;S13: Send the test item code and the test pass information code to the central server, and record the test item code and the test pass information code;
S14:判断所述待测板卡的所有测试项目是否通过,若没有通过,返回S9,若通过,执行S15;及S14: Determine whether all the test items of the board to be tested are passed, if not, return to S9, if passed, execute S15; and
S15:向所述中央服务器发送测试结束信息代码,记录并显示所有测试通过结果。S15: Send the test end information code to the central server, record and display all test passing results.
相较现有技术,所述板卡测试装置及测试方法通过所述微控制器将接收到的所述待测板卡输出的SPI及IIC总线信号经过内部测试程序处理后通过所述网络端口发送给中央服务器,以使所述中央服务器对所述待测板卡的测试结果进行记录并将其显示给测试人员。所述板卡测试装置及测试方法操作简单,可以取代计算机对待测板卡进行测试,降低了测试设备的成本。Compared with the prior art, the board test device and test method send the received SPI and IIC bus signals output by the board to be tested through the internal test program through the network port through the microcontroller. to the central server, so that the central server records the test results of the boards to be tested and displays them to testers. The board card testing device and testing method are simple to operate, can replace a computer to test the board card to be tested, and reduce the cost of testing equipment.
附图说明Description of drawings
下面参照附图结合具体实施方式对本发明作进一步的说明。The present invention will be further described below in conjunction with specific embodiments with reference to the accompanying drawings.
图1是本发明板卡测试装置较佳实施方式与一待测板卡、一中央服务器及一扫描设备相连后的方框图。Fig. 1 is a block diagram of a preferred embodiment of the board card testing device of the present invention after it is connected with a board card to be tested, a central server and a scanning device.
图2A-2B是本发明板卡测试方法的较佳实施方式的流程图。2A-2B are flow charts of a preferred embodiment of the board testing method of the present invention.
主要元件符号说明Description of main component symbols
具体实施方式Detailed ways
请参考图1,本发明板卡测试装置100用于测试一待测板卡400的串行外围设备接口(Serial Peripheral Interface,SPI)总线信号及两线式串行总线(Inter-IntegratedCircuit,IIC)总线信号。所述板卡测试装置100的较佳实施方式包括一微控制器110、一SPI总线端口120、一IIC总线端口130、一信号转换器140、一串行端口150、一网络芯片160、一网络端口170、一开关180及一显示屏190。所述微控制器110连接所述SPI总线端口120、IIC总线端口130、串行端口150、网络芯片160、开关180及显示屏190,所述信号转换器140连接所述IIC总线端口130,所述网络端口170连接所述网络芯片160,还用于通过一网络线连接一中央服务器200的网络端口210,所述SPI总线端口120及IIC总线端口130分别用于连接所述待测板卡400的SPI总线端口410及IIC总线端口420,所述串行端口150用于连接一扫描设备300。其他实施方式中,所述板卡测试装置100与中央服务器200之间的通信也可以采用无线网络进行通信。Please refer to Fig. 1, board
所述板卡测试装置100通过所述网络芯片160与所述中央服务器200进行通信。通过所述开关180开启所述板卡测试装置100(即开启所述微控制器110)。所述微控制器110通过所述网络芯片160及网络端口170接收所述中央服务器200存储的所述板卡测试装置100的设定IP地址,并判断接收到的IP地址是否与自己的IP地址一致,若一致,所述板卡测试装置100与所述中央服务器200连接正常,所述微控制器110通过串行端口150接收所述扫描设备300扫描获得的待测板卡400的序列号信息,以将所述待测板卡400的序列号信息通过所述网络端口170发送给中央服务器200,所述SPI总线端口120及IIC总线端口130用于接收所述待测板卡400输出的SPI总线信号及IIC总线信号,所述信号转换器140用于将所述IIC总线端口130接收到的IIC总线信号转换为数字信号后通过所述IIC总线端口130提供给所述微控制器110,所述微控制器110将接收到的SPI及IIC总线信号经过内部测试程序处理后通过所述网络端口170发送给所述中央服务器200,以使其对待测板卡400的测试结果进行记录并将其显示给测试人员。所述显示屏190将测试过程中的提示信息,如“连接失败”,显示给测试人员,以使其可以监控整个测试过程。The
本实施方式中,所述开关180为按钮开关,设置于所述板卡测试装置100的表面上,所述微控制器110的型号为P89V664,其包括一内部存储器,以用于存储测试程序,在其他实施方式中,也可以采用外置存储设备(如移动硬盘等),且其通过一接口(如USB端口)与所述微控制器110连接。所述网络芯片160的型号为RTL8019AS,所述串行端口150的型号为MAX3232CDWR,所述信号转换器140为一64位数字输入输出信号转换器,其型号为PCA9555PW。In this embodiment, the
所述待测板卡400还包括其他元件(图未示),其中其它元件为现有一般的板卡(如电脑主板)所包含的元件,如中央处理器(Center Processing Unit,CPU)、内存等。The board to be tested 400 also includes other components (not shown), wherein other components are components included in existing general boards (such as computer motherboards), such as central processing unit (Center Processing Unit, CPU), memory wait.
请参考图2,本发明板卡测试方法的较佳实施方式包括以下步骤:Please refer to Fig. 2, the preferred embodiment of board card test method of the present invention comprises the following steps:
步骤S1:将所述板卡测试装置100通过所述网络端口170连接到所述中央服务器200,并开启所述中央服务器200及所述板卡测试装置100。Step S1 : Connect the
步骤S2:所述微控制器110通过所述网络端口170接收所述中央服务器200存储的所述板卡测试装置100的设定IP地址,并判断接收到的IP地址是否与自己的IP地址一致,若不一致,执行步骤S3,若一致,执行步骤S4。Step S2: The
步骤S3:所述微控制器110通过所述显示屏190显示连接失败信息,如在显示屏190上显示“连接失败”。Step S3: The
步骤S4:所述微控制器110通过所述显示屏190显示连接正常信息,如在显示屏190上显示“连接正常,可以测试”。Step S4: The
步骤S5:将待测板卡400与所述板卡测试装置100连接,即将待测板卡400的SPI总线端口120及IIC总线端口130分别对应连接到所述待测板卡400的SPI总线端口410及IIC总线端口420。Step S5: Connect the
步骤S6:所述微控制器110通过所述显示屏190显示输入序列号信息,如“扫描待测板卡序列号”。Step S6: The
步骤S7:通过所述扫描设备300扫描待测板卡400的序列号并通过所述串行端口150将所述序列号发送给所述微控制器110,所述微控制器110通过所述网络端口170将所述序列号发送给所述中央服务器200。Step S7: Scan the serial number of the
步骤S8:所述中央服务器200将从所述板卡测试装置100接收到的序列号与其内部存储的序列号进行比对,若不一致,执行步骤S9,若一致,执行步骤S11。Step S8: The
步骤S9:所述中央服务器200通过所述网络端口170向所述微控制器110发送序列号错误信息。Step S9: The
步骤S10:所述微控制器110通过所述显示屏190显示序列号错误信息,如在显示屏190显示“扫描待测板卡序列号错误”。Step S10 : the
步骤S11:所述中央服务器200通过所述网络端口170向所述板卡测试装置100发送测试指令,如在显示屏190显示“开始测试”。Step S11 : the
步骤S12:所述待测板卡400输出的SPI总线信号通过所述SPI总线端口120输出给所述微控制器110,所述待测板卡400输出的IIC总线信号通过所述IIC总线端口130传送给所述信号转换器140并经所述信号转换器140转换为数字信号后再通过所述IIC总线端口130输出给所述微控制器110,所述微控制器110将接收到的信号经过内部测试程序处理后通过所述网络端口170发送给所述中央服务器200。Step S12: The SPI bus signal output by the
步骤S13:所述微控制器110根据处理结果判断测试是否通过,若没有通过,执行步骤S14,若通过,执行步骤S15。Step S13: The
步骤S14:所述微控制器110通过所述网络端口170向所述中央服务器200发送测试项目代码和测试失败信息代码,所述中央服务器200记录测试项目代码和测试失败信息代码。Step S14: the
步骤S15:所述微控制器110通过所述网络端口170向所述中央服务器200发送测试项目代码和测试通过信息代码,所述中央服务器200记录测试项目代码和测试通过信息代码。Step S15: the
步骤S16:所述微控制器110判断所述待测板卡的所有测试项目是否通过,若没有通过,返回步骤S11,若通过,执行步骤S17。Step S16: The
步骤S17:所述微控制器110通过所述网络端口170向所述中央服务器200发送测试结束信息代码,所述中央服务器200记录并显示所有测试通过结果。Step S17: the
当需要测试多个待测板卡400时,每一待测板卡400与一板卡测试装置100相连接,并将连接有待测板卡400的板卡测试装置100通过路由器与所述中央服务器200连接,每个板卡测试装置100将接收到的所述中央服务器200输出的IP地址与自己的IP地址进行比对,若一致,则所述板卡测试装置100与所述中央服务器200连接正常,所述中央服务器200可以通过所述板卡测试装置100对与所述板卡测试装置100对应连接的待测板卡400进行测试,测试原理与上面的测试原理相同,在此不再赘述。When needing to test a plurality of
所述板卡测试装置100及测试方法通过所述微控制器110将接收到的所述待测板卡400输出的SPI及IIC总线信号经过内部测试程序处理,并通过所述网络端口170发送给中央服务器200,以使其对所述待测板卡400的测试结果进行记录并将其显示给测试人员。所述板卡测试装置及测试方法操作简单,可以取代计算机对待测板卡进行测试,降低了测试设备的成本。Described board
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910311843.2A CN102103536B (en) | 2009-12-18 | 2009-12-18 | Board test device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910311843.2A CN102103536B (en) | 2009-12-18 | 2009-12-18 | Board test device and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102103536A true CN102103536A (en) | 2011-06-22 |
CN102103536B CN102103536B (en) | 2015-04-15 |
Family
ID=44156324
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910311843.2A Expired - Fee Related CN102103536B (en) | 2009-12-18 | 2009-12-18 | Board test device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102103536B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104182318A (en) * | 2013-05-28 | 2014-12-03 | 英业达科技有限公司 | Testing device |
CN106841977A (en) * | 2016-12-21 | 2017-06-13 | 广州视源电子科技股份有限公司 | Board card testing method and system |
CN107678899A (en) * | 2017-09-26 | 2018-02-09 | 郑州云海信息技术有限公司 | A kind of multiple boards merge the diagnostic method of test |
CN109557453A (en) * | 2018-11-28 | 2019-04-02 | 郑州云海信息技术有限公司 | A kind of more main control chip identifying processing method and system |
CN110308385A (en) * | 2019-07-19 | 2019-10-08 | 惠尔丰(中国)信息系统有限公司 | A kind of PCBA Online Transaction Processing and method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100444123C (en) * | 2004-12-31 | 2008-12-17 | 北京中星微电子有限公司 | An interface test response device |
CN1979198B (en) * | 2005-12-06 | 2010-08-25 | 鸿富锦精密工业(深圳)有限公司 | Detecting system and method for input/output board |
-
2009
- 2009-12-18 CN CN200910311843.2A patent/CN102103536B/en not_active Expired - Fee Related
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104182318A (en) * | 2013-05-28 | 2014-12-03 | 英业达科技有限公司 | Testing device |
CN104182318B (en) * | 2013-05-28 | 2016-08-24 | 英业达科技有限公司 | Test device |
CN106841977A (en) * | 2016-12-21 | 2017-06-13 | 广州视源电子科技股份有限公司 | Board card testing method and system |
CN107678899A (en) * | 2017-09-26 | 2018-02-09 | 郑州云海信息技术有限公司 | A kind of multiple boards merge the diagnostic method of test |
CN109557453A (en) * | 2018-11-28 | 2019-04-02 | 郑州云海信息技术有限公司 | A kind of more main control chip identifying processing method and system |
CN109557453B (en) * | 2018-11-28 | 2021-04-27 | 郑州云海信息技术有限公司 | A kind of multi-master control chip identification processing method and system |
CN110308385A (en) * | 2019-07-19 | 2019-10-08 | 惠尔丰(中国)信息系统有限公司 | A kind of PCBA Online Transaction Processing and method |
Also Published As
Publication number | Publication date |
---|---|
CN102103536B (en) | 2015-04-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110058147B (en) | Chip testing system and method based on fpga | |
CN107077409B (en) | Method and apparatus for multi-interface debugging in an electronic system | |
US7797584B2 (en) | SATA interface tester and testing method | |
CN104077203A (en) | Method and device for diagnosing computer hardware through USB interface | |
CN102103536A (en) | Board test device and method | |
CN100377102C (en) | Motherboard function test board | |
CN105701044A (en) | Electronic device | |
US7696956B2 (en) | Apparatus for video graphics array testing | |
CN102053898A (en) | Test method for bus interface on PCIE slot of host and read-write test method thereof | |
CN101498752A (en) | Display device and test method for same | |
CN101672879B (en) | Automatic diagnostic device and method of electronic products | |
CN102455965A (en) | Electronic device test system and method | |
CN100517255C (en) | Serial high-level hard disk architecture interface function test device for motherboard | |
US6807629B1 (en) | Apparatus and method for accessing POST 80h codes via a computer port | |
US11354214B2 (en) | Judgment method for hardware compatibility | |
CN101551766A (en) | Device and method for displaying BIOS error detection code | |
US12045148B2 (en) | Verification system of basic input output system and verification method thereof | |
TWI507698B (en) | Semiconductor device test apparatus and method thereof | |
CN103176873A (en) | Counting card | |
CN101452415B (en) | Auxiliary device and method for testing embedded system | |
CN100530129C (en) | Motherboard function test board | |
CN101398467A (en) | Internal integrate circuit bus interface test system and method | |
CN102479129B (en) | Detection device for the state of peripheral components | |
US7395454B1 (en) | Integrated circuit with integrated debugging mechanism for standard interface | |
US9360524B2 (en) | Testing system for serial interface |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
ASS | Succession or assignment of patent right |
Free format text: FORMER OWNER: HONGFUJIN PRECISE INDUSTRY CO., LTD. Effective date: 20150316 Owner name: ANHUI GUANDONG ELECTRONIC TECHNOLOGY CO., LTD. Free format text: FORMER OWNER: HONGFUJIN PRECISE INDUSTRY (SHENZHEN) CO., LTD. Effective date: 20150316 |
|
C41 | Transfer of patent application or patent right or utility model | ||
C53 | Correction of patent of invention or patent application | ||
CB03 | Change of inventor or designer information |
Inventor after: Yao Lisha Inventor before: Li Shengyi |
|
COR | Change of bibliographic data |
Free format text: CORRECT: ADDRESS; FROM: 518109 SHENZHEN, GUANGDONG PROVINCE TO: 232007 HUAINAN, ANHUI PROVINCE Free format text: CORRECT: INVENTOR; FROM: LI SHENGYI TO: YAO LISHA |
|
TA01 | Transfer of patent application right |
Effective date of registration: 20150316 Address after: 232007 Anhui Province, Huainan city tianjia'an District HuaSheng community 119 yuan Applicant after: Anhui Guandong Electronic Technology Co., Ltd. Address before: 518109 Guangdong city of Shenzhen province Baoan District Longhua Town Industrial Zone tabulaeformis tenth East Ring Road No. 2 two Applicant before: Hongfujin Precise Industry (Shenzhen) Co., Ltd. Applicant before: Hon Hai Precision Industry Co., Ltd. |
|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150415 Termination date: 20151218 |
|
EXPY | Termination of patent right or utility model |