CN102479134B - Method for testing universal interface test system - Google Patents

Method for testing universal interface test system Download PDF

Info

Publication number
CN102479134B
CN102479134B CN201010558877.4A CN201010558877A CN102479134B CN 102479134 B CN102479134 B CN 102479134B CN 201010558877 A CN201010558877 A CN 201010558877A CN 102479134 B CN102479134 B CN 102479134B
Authority
CN
China
Prior art keywords
test
interface
communication interface
communication
testing
Prior art date
Application number
CN201010558877.4A
Other languages
Chinese (zh)
Other versions
CN102479134A (en
Inventor
丁颖
Original Assignee
上海华虹集成电路有限责任公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 上海华虹集成电路有限责任公司 filed Critical 上海华虹集成电路有限责任公司
Priority to CN201010558877.4A priority Critical patent/CN102479134B/en
Publication of CN102479134A publication Critical patent/CN102479134A/en
Application granted granted Critical
Publication of CN102479134B publication Critical patent/CN102479134B/en

Links

Abstract

The invention provides a method of a system 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

A kind of method of testing of general-purpose interface test macro

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 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 the system testing scheme of Zhe Dui 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 the software chip emulation platform based on server.This programme is mainly to test for the coverage rate test of hardware identification code and limited functions of modules; The second, by building the FPGA(field programmable gate array of plate level) or ASIC(special IC) test platform.This programme is tested mainly for module level and system-level function.The first scheme is to other emulation of hardware identification code level, can trace back to compared with the system of bottom and realize, but more consuming time than first scheme, at functions of modules test phase, be commonly used to carry out capability error location.

The test of embedded software is adopted to the mode of building board-level platform conventionally.Board-level platform is generally PCB circuit board and a 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 meet the test all-purpose requirement of a plurality of similar projects.

Existing software test framework mainly contains two kinds: the first, test code (containing test vector) and module drive code are all downloaded in test chip; The second, test code (containing test vector) separate with module drive code, the former deposits in PC with form of scripts and holds, and the latter is downloaded to test chip, and use serial ports is connected as PC and test platform.When test communication interface module, two kinds of frameworks all adopt communication interface and PC on test control panel to carry out data transmission.The shortcoming of the first framework is the code capacity size that total code amount is limited to test chip, and cannot complete the test of random and robotization.This problem can be resolved in the second framework, but the second framework exist need manual switching interface, serial data handling capacity too low, use card reader equipment that single interface is corresponding, cannot realize in the self-propagating problem of the many interfaces of synchronization.These problems can badly influence work efficiency and the test coverage of software test.Need manual switching interface to show that test platform do not accomplish real full-automation.Serial data handling capacity is too low, and the application of transmitting for big data quantity will be a potential bottleneck.Use the card reader equipment that single interface is corresponding, be unfavorable for the unitized of software test script, increased cost of equipment simultaneously, and can not be at many interfaces of synchronization automatic transmission.At current many interface chips application development, rapidly in situation, cannot meet the demand of test.

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 meet the testing requirement of big data quantity.Adopt general interface test system can meet the testing requirement of many interface chips, adopt script automatic test to replace manual testing simultaneously, effectively reduce manual operation cost, shorten test period, meet application demand.

A 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.

Communication interface motherboard comprises usb protocol analysis module and command analysis module.The A/D that usb protocol analysis module comprises USB and D/A modular converter, the coding, decoding driver module and the interface switch that USB are carried out to the analysis of software protocol bag.

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 by daughter board internal signal.

The interface module that test platform comprises module to be tested and non-interface module and signal monitoring module.Interface module is in order to receive directive script and to send feedback data; Non-interface module is in order to the test command in processing scripts and data, and signal monitoring module is used for checking inner detectable pin status.

PC end is connected with communication interface motherboard by USB interface, and communication interface motherboard is connected with communication interface daughter board by rigid line, and communication interface daughter board is connected and tests communication with test platform.

A general-purpose interface test system and test method, comprises following content measurement, is divided into two parts flow process:

Script command transmission flow:

1, the USB driver that PC end is held script command by PC is sent to communication interface motherboard;

2, communication interface motherboard carries out A/D conversion, protocol analysis, interface switching to this signal;

3, on communication interface daughter board, according to each port agreement, change;

4, test platform interface receives respectively and tests.

Feedback data receives flow process:

1, test platform interface sends test feedback data;

2, the port protocol conversion on communication interface daughter board;

3, the protocol analysis on communication interface motherboard, D/A conversion;

4, PC end USB port receives and test result is fed back to PC end.

Adopt test macro provided by the invention and method of testing, can realize many interface testing application demand of test simultaneously, employing USB interface can meet the demand of the big data quantity of handling up, and adopts the test mode of robotization, can effectively reduce test cost of labor, improve testing efficiency.

Accompanying drawing explanation

Fig. 1 general-purpose interface test system structure schematic diagram

Specific embodiments

The general-purpose interface test macro and the method for testing thereof that below in conjunction with 1 couple of the present invention of accompanying drawing, propose are described in detail.

PC end is connected with communication interface motherboard by USB interface, and the USB driver that script command is held by PC is sent to communication interface motherboard.Communication interface motherboard carries out the processing such as A/D conversion, protocol analysis, interface switching to this signal.Communication interface template is connected with communication interface daughter board by rigid line, on communication interface daughter board, according to each port agreement, changes.Communication interface daughter board is connected and tests communication with test platform, and test platform interface receives respectively and tests.

Communication interface motherboard mainly consists of usb protocol analysis module and command analysis module two parts.The A/D that usb protocol analysis module comprises USB and D/A modular converter and the coding, the decoding driver that USB are carried out to the analysis of software protocol bag.Instruction resolution component is to resolve in order to meet the instruction that the needs of many interface communications issue PC, selects which interface output, exports which data etc., realizes the function of the configurable hub of software.Communication interface daughter board, according to the making sheet of disparate modules demand independence, is mainly realized the protocol conversion between USB digital signal and required module digital signal.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 needs the interface module of test module, non-interface module and signal monitoring module.Interface module is in order to receive directive script and to send feedback data, and non-interface module is in order to the test command in processing scripts and data, and signal monitoring module is used for checking inner detectable pin status.

Test platform interface sends test feedback data, and the port agreement on communication interface daughter board is changed, and protocol analysis, the D/A conversion of data on communication interface motherboard received and feed back to PC by PC end USB driver and hold, and completes test process.

The test process of whole system can compatible many interface testings module demand, and adopts USB communication interface data throughput large, can realize the automatic test of software and hardware compatibility.

Claims (1)

1. a method of testing for general-purpose interface test macro, comprises script command transmission flow and test data process of feedback: it is characterized in that described script command transmission flow is:
(1) the USB driver that PC end is held script command by PC is sent to communication interface motherboard;
(2) communication interface motherboard carries out A/D conversion, protocol analysis, interface switching to this script command signal;
(3) on communication interface daughter board, according to each port agreement, change;
(4) test platform interface receives respectively and tests;
Described test data process of feedback is:
(1) test platform interface sends test feedback data;
(2) port of data on communication interface daughter board carries out protocol conversion;
(3) data arrive communication interface motherboard, carry out protocol analysis, D/A conversion;
(4) PC end USB port receives and test result is fed back to PC end.
CN201010558877.4A 2010-11-25 2010-11-25 Method for testing universal interface test system CN102479134B (en)

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 CN102479134A (en) 2012-05-30
CN102479134B true CN102479134B (en) 2014-03-19

Family

ID=46091786

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010558877.4A CN102479134B (en) 2010-11-25 2010-11-25 Method for testing universal interface test system

Country Status (1)

Country Link
CN (1) CN102479134B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
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
CN103913692A (en) * 2012-12-29 2014-07-09 北京谊安医疗系统股份有限公司 Signal conditioning device for testing
CN103092194B (en) * 2013-02-01 2014-12-03 哈尔滨工业大学 Performance test device and method of general servo mechanism based on universal serial bus (USB)
CN104280674B (en) * 2013-07-08 2017-09-05 深圳伊欧陆微电子系统有限公司 A kind of common 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
CN104062934B (en) * 2014-06-17 2017-09-26 珠海翔翼航空技术有限公司 The general veneer controller of analog machine and control method transmitted based on usb bus
CN105335285B (en) * 2014-08-13 2018-06-22 上海华虹集成电路有限责任公司 The double-interface smart card test network system realization of compatible more test platforms
CN106815106A (en) * 2017-01-13 2017-06-09 中国工商银行股份有限公司 HPI method of testing, device, test terminal and system
CN108959673A (en) * 2017-05-27 2018-12-07 深圳市中兴微电子技术有限公司 A kind of verification platform and verification method

Citations (3)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
李济世,王鹏,金德鹏,曾烈光.MSTP芯片的软硬件协同验证平台设计.《光通信技术》.2005,(第11期),第4-6页. *

Also Published As

Publication number Publication date
CN102479134A (en) 2012-05-30

Similar Documents

Publication Publication Date Title
US7058855B2 (en) Emulation interface system
US7859856B2 (en) Tap board
EP2587385A1 (en) Usb key device and method for realizing intelligent card communication using usb interface
JP2007323648A (en) Device and method for operating usb interface equipment
CN201327675Y (en) Automatic comprehensive test instrument for avionic devices
CN103136138B (en) Chip, chip debugging method and communication method for chip and external devices
CN103744761A (en) Method and system for controlling multiple mobile terminals to automatically execute tasks
CN103616937A (en) Mainboard, PCIE network card and server system
JP2011154026A (en) Test apparatus and test method
US20070145993A1 (en) Chip burning system
CN101105782B (en) Border scanning system based on high-performance computer communication framework and method therefor
JP2007147352A (en) Wireless interface module and electronic equipment
KR20140037228A (en) An integrated circuit for testing using a high-speed input/output interface
CN103200081B (en) A kind of things-internet gateway development platform towards heterogeneous network environment
CN103226506B (en) Chip-embedded USB to JTAG debugging device and debugging method
KR100606837B1 (en) JTAG Interface Device of mboile phone using receptacle
CN103293466B (en) A kind of method and system thereof of testing communication module on embedded PCB A
WO2011143855A1 (en) Method and system for testing mobile terminal
CN101593903A (en) Test backboard, backboard-based loading method and backboard-based testing method
CN103414020B (en) A kind of aerial array control device, method and system
CN103105578A (en) Testing system of universal chip
CN203241502U (en) Control system general testing device based on CPCI bus
WO2007098430A2 (en) Sampling a device bus
CN102662112A (en) Aircraft avionics ground test system based on PXI bus and Lab Windows Cvi
CN103678212B (en) Based on the general-purpose interface detection device of VPX framework

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
GR01 Patent grant