CN102479134A - System and method for testing universal interface - Google Patents
System and method for testing universal interface Download PDFInfo
- Publication number
- CN102479134A CN102479134A CN2010105588774A CN201010558877A CN102479134A CN 102479134 A CN102479134 A CN 102479134A CN 2010105588774 A CN2010105588774 A CN 2010105588774A CN 201010558877 A CN201010558877 A CN 201010558877A CN 102479134 A CN102479134 A CN 102479134A
- Authority
- CN
- China
- Prior art keywords
- test
- interface
- communication interface
- general
- daughter board
- 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
The invention provides a system and a method for testing a universal interface. The system consists of a personal computer (PC) end test script, a communication interface mother board, a communication interface sub-board and a test platform, wherein the test platform is a field programmable gate array (FPGA) or application specific integrated circuit (ASIC) platform; a PC end is connected with the communication interface mother board through a universal serial bus (USB) interface; the communication interface mother board is connected with the communication interface sub-board through a hard wire; the communication interface sub-board is connected with the test platform for test communication; and a communication sub-interface can be made independently according to a test requirement. The invention also provides a method for implementing the system for testing the universal interface. By utilizing the system and the method, the requirement for simultaneously testing by multi-interface test application can be met; the USB interface meets the requirement for high data throughput; and by utilizing the automatic test method, the test labor cost is reduced effectively and the test efficiency is improved.
Description
Technical field
The present invention relates to integrated circuit test system and method for testing, relate in particular to a kind of general-purpose interface test macro and method of testing.
Background technology
Along with the continuous development of integrated circuit technology and deepening continuously of integrated circuit (being called for short " IC ") application; The design complexities of IC chip and performance complexity have had essential lifting than before, and this system testing scheme to chip design company and chip application manufacturer is had higher requirement.
Current IC chip design company generally adopts two kinds of system testing schemes: the first, set up software chip emulation platform based on server.This programme mainly is to test to the coverage rate test of hardware identification code and limited functions of modules; The second, through FPGA (field programmable gate array) or ASIC (special IC) test platform of building the plate level.This programme is primarily aimed at module level and system-level function is tested.First kind of scheme is to other emulation of hardware identification code level, can trace back to the system's realization than bottom, but more consuming time than second kind of scheme, is commonly used to carry out the capability error location at the functions of modules test phase.
The mode of building board-level platform is adopted in test to embedded software usually.Board-level platform is generally PCB circuit board and test control panel that comprises FPGA or asic chip.Test control panel is used for detection signal, switching device, analog chip external behavior, interface signal test etc.The composition of this board-level platform has obtained practical application, and can satisfy the test all-purpose property requirement of a plurality of similar projects.
The existing software test structure mainly contains two kinds: the first, all download to test code (containing test vector) and module drive code in the test chip; The second, test code (containing test vector) and module drive code are separated, the former deposits in PC end with form of scripts, and the latter is downloaded to test chip, uses serial ports being connected as PC and test platform.When the test communication interface module, two kinds of frameworks all adopt communication interface and PC on the test control panel to carry out data transmission.The shortcoming of first kind of framework is the code capacity size that the total code amount is subject to test chip, and can't accomplish the test that reaches robotization at random.This problem can be resolved in second kind of framework, but second kind of framework existence need manual switching interface, serial data handling capacity low excessively, use the corresponding CR equipment of single interface, can't be implemented in the self-propagating problem of the many interfaces of synchronization.These problems can badly influence the work efficiency and the test coverage of software test.Need the manual switching interface to show that then test platform do not accomplish real full-automation.The serial data handling capacity is low excessively, and the application of transmitting for big data quantity will be a potential bottleneck.Use the corresponding CR equipment of single interface, be unfavorable for the unitized of software test script, increased cost of equipment simultaneously, and can not transmit automatically at the many interfaces of synchronization.Rapidly in the situation, can't satisfy the demand of test at current many interface chips application development.
Summary of the invention
The object of the invention provides a kind of general-purpose interface test macro, not only can solve the compatibling problem of many interface testings, and can satisfy the testing requirement of big data quantity.Adopt general interface test system can satisfy the testing requirement of many interface chips, adopt the script automatic test to replace the manual testing simultaneously, reduce the manually-operated cost effectively, shorten test period, satisfy application demand.
A kind of general-purpose interface test macro comprises PC end test script, communication interface motherboard, communication interface daughter board and test platform.Test platform is FPGA or ASIC testing platform.
PC end test script comprises script operating software and PC end USB interface driver.
The communication interface motherboard comprises usb protocol analysis module and command analysis module.The usb protocol analysis module comprise USB A/D and D/A modular converter, USB is carried out coding, decoding driver module and the interface switch that the software protocol bag is analyzed.
The communication interface daughter board is independently made a plate according to different application module demand, can be RF interface daughter board, SCI7816 interface daughter board or SD main frame daughter board, carries out the conversion of distinct interface through the daughter board internal signal.
Test platform comprises interface module and the non-interface module and the signal monitoring module of module to be tested.Interface module is in order to receive directive script and to send feedback data; Non-interface module is in order to test command in the processing scripts and data, and the signal monitoring module is used to check inner detectable pin status.
The PC end is connected with the communication interface motherboard through USB interface, and the communication interface motherboard is connected with the communication interface daughter board through rigid line, and the communication interface daughter board is connected with test platform tests communication.
A kind of general-purpose interface test system and test method comprises following content measurement, is divided into two parts flow process:
The script command transmission flow:
1, the PC end is sent to the communication interface motherboard with script command through the USB driver that PC holds;
2, the communication interface motherboard carries out A/D conversion, protocol analysis, interface switching to this signal;
3, change according to each port agreement on the communication interface daughter board;
4, the test platform interface receives respectively and tests.
Feedback data receives flow process:
1, the test platform interface sends the test feedback data;
2, the port protocol conversion on the communication interface daughter board;
3, the protocol analysis on the communication interface motherboard, D/A conversion;
4, PC end USB port receives and test result is fed back to the PC end.
Adopt test macro provided by the invention and method of testing; Can realize many interface testings application demand of test simultaneously, the employing USB interface can satisfy the demand of the big data quantity of handling up, and adopts the test mode of robotization; Can effectively reduce the test cost of labor, improve testing efficiency.
Description of drawings
Fig. 1 general-purpose interface test system structure synoptic diagram.
Specific embodiments
General-purpose interface test macro and method of testing thereof below in conjunction with 1 couple of the present invention of accompanying drawing proposes are carried out detailed description.
The PC end is connected with the communication interface motherboard through USB interface, and script command is sent to the communication interface motherboard through the USB driver that PC holds.The communication interface motherboard carries out processing such as A/D conversion, protocol analysis, interface switching to this signal.The communication interface template is connected with the communication interface daughter board through rigid line, changes according to each port agreement on the communication interface daughter board.The communication interface daughter board is connected with test platform tests communication, and the test platform interface receives respectively and tests.
The communication interface motherboard mainly is made up of usb protocol analysis module and command analysis module two parts.The usb protocol analysis module comprises A/D and the D/A modular converter of USB and USB is carried out coding, the decoding driver that the software protocol bag is analyzed.The instruction resolution component is for the needs that satisfy many interface communications the instruction that PC issues to be resolved, and selects which interface output, exports which data etc., realizes the function of the configurable hub of software.The communication interface daughter board is mainly realized the protocol conversion between USB digital signal and the required module digital signal according to the making sheet of disparate modules demand independence.The communication interface daughter board can be RF interface communication daughter board, SCI7816 interface communication daughter board or SD main frame daughter board etc.
FPGA or ASIC testing platform comprise interface module, non-interface module and the signal monitoring module that needs test module.Interface module is in order to receive directive script and to send feedback data, and non-interface module is in order to test command in the processing scripts and data, and the signal monitoring module is used to check inner detectable pin status.
The test platform interface sends the test feedback data, and the port agreement on the communication interface daughter board is changed, and protocol analysis, the D/A conversion of data on the communication interface motherboard received and feed back to the PC end by PC end USB driver, accomplishes test process.
The test process of total system can compatible many interface testings module demand, and adopts USB communication interface data throughput big, can realize the automatic test that software and hardware is compatible.
Claims (9)
1. a general-purpose interface test macro is characterized in that comprising PC end test script, communication interface motherboard, communication interface daughter board and test platform.
2. a kind of general-purpose interface test macro as claimed in claim 1 is characterized in that: said test platform is FPGA or ASIC platform.
3. a kind of general-purpose interface test macro as claimed in claim 1 is characterized in that: said communication interface motherboard comprises usb protocol analysis module and command analysis module.
4. a kind of general-purpose interface test macro as claimed in claim 1 is characterized in that: said communication interface daughter board is RF interface daughter board, SCI7816 interface daughter board or SD main frame daughter board according to the making sheet of different application independence.
5. like claim 1,3 or 4 described a kind of general-purpose interface test macros, it is characterized in that: said communication interface motherboard is connected with the communication interface daughter board through rigid line.
6. a kind of general-purpose interface test macro as claimed in claim 1 is characterized in that: said test platform comprises interface module, non-interface module and signal monitoring module.
7. a kind of general-purpose interface test system and test method as claimed in claim 1 is characterized in that: comprise script command transmission flow and test data process of feedback.
8. a kind of general-purpose interface test system and test method as claimed in claim 7 is characterized in that said script command transmission flow is:
(1) the PC end is sent to the communication interface motherboard with script command through the USB driver that PC holds;
(2) the communication interface motherboard carries out A/D conversion, protocol analysis, interface switching to this signal;
(3) change according to each port agreement on the communication interface daughter board;
(4) the test platform interface receives respectively and tests.
9. a kind of general-purpose interface test system and test method as claimed in claim 7 is characterized in that said test data process of feedback is:
(1) the test platform interface sends the test feedback data;
(2) port of data on the communication interface daughter board carries out protocol conversion;
(3) data arrives communication interface motherboard carries out protocol analysis, D/A conversion;
(4) PC end USB port receives and test result is fed back to the PC end.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010558877.4A CN102479134B (en) | 2010-11-25 | 2010-11-25 | Method for testing universal interface test system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010558877.4A CN102479134B (en) | 2010-11-25 | 2010-11-25 | Method for testing universal interface test system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102479134A true CN102479134A (en) | 2012-05-30 |
CN102479134B CN102479134B (en) | 2014-03-19 |
Family
ID=46091786
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010558877.4A Expired - Fee Related CN102479134B (en) | 2010-11-25 | 2010-11-25 | Method for testing universal interface test system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102479134B (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102937942A (en) * | 2012-11-26 | 2013-02-20 | 中国民用航空飞行学院 | Universal interface system of flight simulator based on USB (Universal Serial Bus) |
CN103092194A (en) * | 2013-02-01 | 2013-05-08 | 哈尔滨工业大学 | Performance test device and method of general servo mechanism based on universal serial bus (USB) |
CN103428049A (en) * | 2013-08-14 | 2013-12-04 | 上海固泰科技有限公司 | Automated testing method for FlexRay bus based on software script |
CN103425123A (en) * | 2013-08-15 | 2013-12-04 | 上海固泰科技有限公司 | Automated testing method for CAN (controller area network) bus based on software script |
CN103913692A (en) * | 2012-12-29 | 2014-07-09 | 北京谊安医疗***股份有限公司 | Signal conditioning device for testing |
CN104062934A (en) * | 2014-06-17 | 2014-09-24 | 珠海翔翼航空技术有限公司 | Simulator universal single-board controller and control method based on USB bus transfer |
CN104280674A (en) * | 2013-07-08 | 2015-01-14 | 深圳伊欧陆微电子***有限公司 | Universal hardware test system |
CN105335285A (en) * | 2014-08-13 | 2016-02-17 | 上海华虹集成电路有限责任公司 | Implementation method of double-interface smart card test system compatible with multiple test platforms |
CN106815106A (en) * | 2017-01-13 | 2017-06-09 | 中国工商银行股份有限公司 | HPI method of testing, device, test terminal and system |
CN107943702A (en) * | 2017-11-28 | 2018-04-20 | 中标软件有限公司 | Hardware compatibility test method and device |
CN108037938A (en) * | 2017-12-21 | 2018-05-15 | 北京京存技术有限公司 | A kind of eMMC's opens chucking method |
WO2018218954A1 (en) * | 2017-05-27 | 2018-12-06 | 深圳市中兴微电子技术有限公司 | Verification platform and verification method, and computer storage medium |
CN110456772A (en) * | 2019-08-12 | 2019-11-15 | 四川九洲电器集团有限责任公司 | A kind of test of common apparatus, control method and system |
CN114252092A (en) * | 2021-12-23 | 2022-03-29 | 贵州航天控制技术有限公司 | Inertial measurement combined test system |
CN115047323A (en) * | 2022-08-17 | 2022-09-13 | 中诚华隆计算机技术有限公司 | Intelligent test method and system for chip |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US1964124A (en) * | 1933-08-24 | 1934-06-26 | Daniel J Keller | Display fixture |
CN101504692A (en) * | 2009-03-25 | 2009-08-12 | 炬力集成电路设计有限公司 | System and method for validating and testing on-chip system |
CN101770442A (en) * | 2008-12-30 | 2010-07-07 | 易视芯科技(北京)有限公司 | Data interaction system with a plurality of external interfaces and method |
-
2010
- 2010-11-25 CN CN201010558877.4A patent/CN102479134B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US1964124A (en) * | 1933-08-24 | 1934-06-26 | Daniel J Keller | Display fixture |
CN101770442A (en) * | 2008-12-30 | 2010-07-07 | 易视芯科技(北京)有限公司 | Data interaction system with a plurality of external interfaces and method |
CN101504692A (en) * | 2009-03-25 | 2009-08-12 | 炬力集成电路设计有限公司 | System and method for validating and testing on-chip system |
Non-Patent Citations (1)
Title |
---|
李济世,王鹏,金德鹏,曾烈光: "MSTP芯片的软硬件协同验证平台设计", 《光通信技术》, no. 11, 30 November 2005 (2005-11-30), pages 4 - 6 * |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102937942B (en) * | 2012-11-26 | 2015-09-09 | 中国民用航空飞行学院 | Based on the flight simulator universal interface system of usb bus |
CN102937942A (en) * | 2012-11-26 | 2013-02-20 | 中国民用航空飞行学院 | Universal interface system of flight simulator based on USB (Universal Serial Bus) |
CN103913692A (en) * | 2012-12-29 | 2014-07-09 | 北京谊安医疗***股份有限公司 | Signal conditioning device for testing |
CN103092194A (en) * | 2013-02-01 | 2013-05-08 | 哈尔滨工业大学 | Performance test device and method of general servo mechanism based on universal serial bus (USB) |
CN103092194B (en) * | 2013-02-01 | 2014-12-03 | 哈尔滨工业大学 | Performance test device and method of general servo mechanism based on universal serial bus (USB) |
CN104280674A (en) * | 2013-07-08 | 2015-01-14 | 深圳伊欧陆微电子***有限公司 | Universal hardware test system |
CN103428049A (en) * | 2013-08-14 | 2013-12-04 | 上海固泰科技有限公司 | Automated testing method for FlexRay bus based on software script |
CN103425123A (en) * | 2013-08-15 | 2013-12-04 | 上海固泰科技有限公司 | Automated testing method for CAN (controller area network) bus based on software script |
CN104062934A (en) * | 2014-06-17 | 2014-09-24 | 珠海翔翼航空技术有限公司 | Simulator universal single-board controller and control method based on USB bus transfer |
CN105335285B (en) * | 2014-08-13 | 2018-06-22 | 上海华虹集成电路有限责任公司 | The double-interface smart card test network system realization of compatible more test platforms |
CN105335285A (en) * | 2014-08-13 | 2016-02-17 | 上海华虹集成电路有限责任公司 | Implementation method of double-interface smart card test system compatible with multiple test platforms |
CN106815106A (en) * | 2017-01-13 | 2017-06-09 | 中国工商银行股份有限公司 | HPI method of testing, device, test terminal and system |
WO2018218954A1 (en) * | 2017-05-27 | 2018-12-06 | 深圳市中兴微电子技术有限公司 | Verification platform and verification method, and computer storage medium |
CN107943702A (en) * | 2017-11-28 | 2018-04-20 | 中标软件有限公司 | Hardware compatibility test method and device |
CN107943702B (en) * | 2017-11-28 | 2021-08-24 | 中标软件有限公司 | Hardware compatibility testing method and device |
CN108037938A (en) * | 2017-12-21 | 2018-05-15 | 北京京存技术有限公司 | A kind of eMMC's opens chucking method |
CN108037938B (en) * | 2017-12-21 | 2021-08-10 | 北京兆易创新科技股份有限公司 | Card opening method of eMMC |
CN110456772A (en) * | 2019-08-12 | 2019-11-15 | 四川九洲电器集团有限责任公司 | A kind of test of common apparatus, control method and system |
CN114252092A (en) * | 2021-12-23 | 2022-03-29 | 贵州航天控制技术有限公司 | Inertial measurement combined test system |
CN115047323A (en) * | 2022-08-17 | 2022-09-13 | 中诚华隆计算机技术有限公司 | Intelligent test method and system for chip |
CN115047323B (en) * | 2022-08-17 | 2022-10-25 | 中诚华隆计算机技术有限公司 | Intelligent test method and system for chip |
Also Published As
Publication number | Publication date |
---|---|
CN102479134B (en) | 2014-03-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102479134B (en) | Method for testing universal interface test system | |
CN107704346B (en) | SOC chip debugging method and system | |
CN103925853B (en) | A kind of carrier rocket ground testing system device | |
CN103825667B (en) | A kind of method of concurrent testing WIFI module | |
CN112988495B (en) | Multifunctional test method, device and system for SOC chip multiplex pin | |
CN201072879Y (en) | Radio frequency test system | |
CN110989551A (en) | Test system based on VxWorks system general interface board | |
CN104483959A (en) | Fault simulation and test system | |
CN102479132A (en) | Test system and test method for multiple chips | |
US20210173992A1 (en) | Fpga chip-based handler simulation test system and a test method | |
CN105553754A (en) | Wireless communication equipment testability design method | |
CN109307833A (en) | Apparatus for testing chip and chip detecting method | |
CN104219003A (en) | Communication device, test system and test method thereof | |
CN102479333A (en) | Non-contact IC card instruction test system and method | |
CN102608479A (en) | Automatic multi-machine testing system | |
CN203069749U (en) | Radio frequency identification devices (RFID) reader chip process testing system | |
CN206712797U (en) | Wireless communication signal high-performance test module | |
CN104330685A (en) | Connection check-up method and connection check-up device | |
CN102736019A (en) | Flexibility detection system and method of circuit board | |
CN201378317Y (en) | Codes download system adopting JTAG mode | |
CN202533455U (en) | Communication extended circuit | |
US20230184831A1 (en) | Server jtag component adaptive interconnection system and method | |
CN202372599U (en) | Antenna feeder detection system | |
CN104022933A (en) | Vehicle bus debugging system based on multi-mode signal conversion | |
CN201429842Y (en) | Code downloading system using JTAG method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140319 Termination date: 20201125 |
|
CF01 | Termination of patent right due to non-payment of annual fee |