CN100455032C - Single board testing method - Google Patents

Single board testing method Download PDF

Info

Publication number
CN100455032C
CN100455032C CNB2003101167704A CN200310116770A CN100455032C CN 100455032 C CN100455032 C CN 100455032C CN B2003101167704 A CNB2003101167704 A CN B2003101167704A CN 200310116770 A CN200310116770 A CN 200310116770A CN 100455032 C CN100455032 C CN 100455032C
Authority
CN
China
Prior art keywords
test
test fixture
control device
load request
model
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.)
Expired - Fee Related
Application number
CNB2003101167704A
Other languages
Chinese (zh)
Other versions
CN1620154A (en
Inventor
王雅坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2003101167704A priority Critical patent/CN100455032C/en
Publication of CN1620154A publication Critical patent/CN1620154A/en
Application granted granted Critical
Publication of CN100455032C publication Critical patent/CN100455032C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

The present invention discloses a single board testing method. The single board test is realized in a mode that a test program set is performed by a control device, and the test process which is determined by the test program controls a test fixture to supply a test signal to single plate and obtains a test output signal from the single plate. The method comprises that the test fixture reports a loading request containing a model and (or) the corresponding test program set (TPS) to the control device; the control device loads the corresponding test program set and returns a response message to the test fixture; the control device performs the test program set and controls the test fixture to test the single plate.

Description

A kind of single-board testing method
Technical field
The present invention relates to the measuring technology of electronics and communication class, relate in particular to a kind of single-board testing method.
Background technology
Along with the develop rapidly of electronic communication product, corresponding production test requires also more and more higher, thereby need be to the special-purpose production test system of single-board testing exploitation.The basic comprising of common single board production test system is as shown in Figure 1: test fixture is responsible for tested single board provides test required Test input signal (test and excitation), and obtain test output signal (test response) from tested single board, in case of necessity, will do certain conversion and processing to test signal, this is also finished by test fixture.The test program that runs on the computer is mainly finished the control of testing process and the demonstration of test result.In order to finish test, may also need some instrument, computer is responsible for read (this sentence deletion) to the control of tester and instrument test result simultaneously.Test program be commonly referred to test program set (Test Program Set, TPS).And test fixture also comprises the keyset that links to each other with tested single board external interface connector except common needle-bar formula anchor clamps, so long as be responsible for the parts that testing equipment links to each other with Board Under Test, can be referred to as test fixture.Test fixture generally links to each other by standard communication (as serial ports, network interface) with the computer of operation TPS, finishes communication each other.
In general, there are corresponding relation in TPS and test fixture, be that certain test fixture must use specific TPS, if used wrong TPS, though then can not test normally or can test but test result is incorrect, and in some cases, even can damage test fixture or whole test system.In the single board production test in modern times, for improving the applicability of test macro, the similar tested veneer of test request is tested, can be made testing equipment can be applicable to the test of multiple veneer simultaneously by the test fixture of each veneer correspondence of replacing and the mode of TPS.In this case, guarantee that the correct correspondence of test fixture and TPS is just very important.In addition, to guarantee that also tested veneer itself and test fixture also can be correctly corresponding.
In the prior art, can be correctly corresponding in order to guarantee test fixture and TPS, common way is: by the model (or model of tested single board) of test operation personnel according to test fixture, select corresponding TPS, start TPS then and test.If the single board production test system possesses management system (being sometimes referred to as the test platform system), then in the testing equipment management system, write down the corresponding relation of test fixture (or tested single board) model and TPS, after the test operation personnel select test fixture model (or model of tested single board) by operation interface, be responsible for starting corresponding TPS by management system and test.Correct corresponding as for tested single board itself and test fixture then needs the tester to check and could guarantee by double check.
Because the prior art scheme need be by test operation personnel selection test fixture model (or model of tested single board), start corresponding TPS with this, thereby need be before the test beginning model of checkout anchor clamps at first.Because be manual operations, go wrong easily and cause the corresponding relation mistake of anchor clamps and TPS, test can not normally be carried out.On the other hand, because the outward appearance of the similar tested single board of test request is very close, the difference of corresponding test fixture is also very little, and the probability of makeing mistakes is very big.If tested veneer has been put in the wrong test fixture, though test can be carried out sometimes, the result is undesired, and in this case, the tester is difficult to find that test fixture and tested veneer do not match.In addition, because manual existence can reduce testing efficiency.
Summary of the invention
The invention provides a kind of single-board testing method, manual operation makes mistakes and inefficient problem easily in the prior art to solve.
Realize technical scheme of the present invention:
A kind of single-board testing method, described single-board testing are to carry out test program set by control device, and the testing process of being determined by test program is controlled test fixture and test signal is provided and is obtained test output signal and realize from veneer to veneer; The method comprising the steps of:
Test fixture reports the load request that comprises self model and/or corresponding test program set to control device;
Control device loads the corresponding testing program collection and returns response message to test fixture;
Control device is carried out described test program set control test fixture veneer is tested.
Wherein:
Test fixture also comprises the steps: after receiving the response message that control device returns
Read the model and/or the version information of tested single board;
Current test fixture can testing single-board information in search whether comprise tested single board; If do not comprise, then report error message and stop subsequent step, prompting test operation personnel inspection; Otherwise carry out subsequent step.
After test fixture reports described load request,, then report described load request again if do not receive the response message that control device returns in the given time.
Record times of reporting when test fixture reports described load request finishes to report load request when reporting load request to reach predetermined times.
The model of test fixture and the corresponding relation of test program set, and anchor clamps can testing single-board information be kept in advance in the test fixture, perhaps be stored in advance in the control device, perhaps be stored in the network data base.
The beneficial effect that technical solution of the present invention is brought: the present invention is by preserving corresponding TPS, the model and the version information of tested veneer, test fixture has been possessed mate correct TPS, the ability of tested single board, do not need test operation personnel manual operations to select suitable TPS; Also can find automatically with the not corresponding mistake of tested single board test fixture simultaneously.Like this, just avoid the incorrect test result that causes because of matching relationship, improved the test concordance rate of testing efficiency and test macro.On the other hand,, can make test macro have better flexibility, adapt to the needs of flexible production test because test fixture possesses the intelligence of automatic coupling and inspection.
Description of drawings
Fig. 1 is a single board production test theory diagram in the prior art;
Fig. 2 is the structured flowchart of test fixture control board;
Fig. 3 reports the flow chart of load request for test fixture;
Fig. 4 is the preceding flow chart that detects tested single board of veneer of test fixture test.
Embodiment
The present invention provides the ability of automatic loading test program set (TPS) for test fixture.After test fixture powers on the access test macro, the model of self and/or test program set are offered nominally the control computer of test macro, send the load request that loads corresponding TPS to computer simultaneously, computer loads can be prepared to test after TPS finishes.
Before every veneer is tested, the test clip prodigiosin obtains the information such as model, version of tested single board by specific method, maybe can't obtain if tested single board information is incorrect, illustrate that then tested single board can't use this test fixture, in this case, test fixture stops test, and by the control computer to test operation personnel reporting errors, test fixture also can be simultaneously shows error condition by self indicator light.
The test macro computer also can send query requests to test fixture by communication interface where necessary, requires test fixture to report oneself model and corresponding TPS title, finishes the loading of TPS then according to the information that reports.
Consult shown in Figure 2ly, an anchor clamps control board is generally all arranged in test fixture, this plate is finished the test controlled function of test fixture, and the communication function with the control computer of test macro is provided.The anchor clamps control board is actually an embedded computer control system, possesses hardware componenies such as central processing unit (CPU), memory system (RAM/ROM), test control logic, communication interface, and moves board software thereon.
In the ROM of anchor clamps control board, mark a fixing sector address space, be used to preserve the model of test fixture, corresponding TPS title, the model and the version of institute's energy testing single-board.These information all are confirmable when test fixture is developed, and can be written among the ROM with board software.For the ease of upgrading, the ROM of veneer is generally served as by flash memory (FLASH), thus if the increase and decrease of above-mentioned informational needs, also could be by the modification of more newly arriving to FLASH.Because this part information is relatively independent, so also can store with an independent storage chip.
The veneer of compliant is all preserved model and version information in veneer, and can be by communication interface (as the debug serial port) inquiry of veneer.Test fixture obtains the model and the version information of veneer by being connected with the tested single board communication interface.
Consult shown in Figure 4ly, the flow process of load request is as follows on the board software of anchor clamps control board:
Step 10: test fixture powers on or receives the query requests that computer is controlled in test, and being provided with and reporting the counter initial value is 0.
The anchor clamps control board powers on after the operation such as the initialization of finishing veneer self, just can enter follow-up handling process, reports the load request of the TPS of the model of anchor clamps and correspondence.Another situation is that after receiving the query requests of computer, the anchor clamps control board also can report the model of anchor clamps and the load request of the TPS of correspondence.
Step 20: the counter of reporting information is added 1.
Step 30: whether the value of judging counter is more than or equal to 3, if then change step 70; Otherwise continue step 40.
The purpose that counter is set is when preventing that test fixture from can't obtain the response of computer because of certain reason, is trapped in the endless loop of reporting information to go.
Step 40: the test clamp communication interface reports anchor clamps type information and TPS load request to computer.
Step 50; Postpone a bit of time, wait for that computer returns response message.
Step 60: judge whether receive the response message of computer in the given time,, then continue step 70 if receive response message; Otherwise forward step 20 to.
Step 70: finish to report load request.
Consult shown in Figure 5ly, before a veneer being tested, test fixture judges whether the model of tested veneer and version be correct, and its handling process is as follows at every turn:
Step 100: when beginning the test of new veneer, at first read the model and the version of tested single board by corresponding interface.
Step 200: judge whether to read the model and the version information of tested single board,, otherwise carry out step 500 if then continue step 300.
Step 300: model and the version of in the information of the model of the veneer that test fixture can be tested and version, searching described tested single board.
Step 400: judge whether to have found the information identical with version, if, then begin proper testing (step 401) if found with the tested single board model; Otherwise report error message, stop test (step 402), prompting test operation personnel inspection.
In this programme, the TPS of test fixture and the information of tested veneer leave on the anchor clamps control board, and corresponding handling process also is to be finished by the board software of anchor clamps control board.Also can only preserve the model of test fixture on the anchor clamps control board, the information of TPS and tested single board then is kept in the computer or in the network data base, and test fixture only reports the model of self, and is finished the processing of flow processs such as matched and searched and judgement by computer.
For the test fixture that itself does not have control board, the model of test fixture represents that by the combination of some logical signals computer reads these signals, identifies the model of anchor clamps then, finishes the processing of flow processs such as matched and searched and judgement again.

Claims (8)

1, a kind of single-board testing method, described method are to carry out test program set by control device, and the testing process of being determined by test program is controlled test fixture and test signal is provided and is obtained test output signal and realize from veneer to veneer; It is characterized in that the method comprising the steps of:
Test fixture reports the load request that comprises self model and/or corresponding test program set TPS to control device;
Control device loads the corresponding testing program collection and returns response message to test fixture;
Control device is carried out described test program set control test fixture veneer is tested.
2, the method for claim 1 is characterized in that, test fixture also comprises the steps: after receiving the response message that control device returns
Read the model and/or the version information of tested single board;
Current test fixture can testing single-board information in search whether comprise tested single board; If do not comprise, then report error message and stop subsequent step; Otherwise carry out subsequent step, described subsequent step is: control device is carried out described test program set control test fixture veneer is tested.
3, the method for claim 1 is characterized in that, after test fixture reports described load request, if do not receive the response message that control device returns in the given time, then reports described load request again.
4, method as claimed in claim 3 is characterized in that, record times of reporting when test fixture reports described load request finishes to report load request when reporting load request to reach predetermined times.
5, method as claimed in claim 2, it is characterized in that, the model of test fixture and the corresponding relation of test program set, and anchor clamps can testing single-board information be kept in the test fixture in advance, perhaps be stored in advance in the control device, perhaps be stored in the network data base.
6, the method for claim 1 is characterized in that, test fixture reports described load request when powering on or receive the query requests of control device.
7, the method for claim 1 is characterized in that, the model of test fixture is represented by the combination of logical signal.
As the arbitrary described method of claim 1 to 7, it is characterized in that 8, control device is a digital computer.
CNB2003101167704A 2003-11-21 2003-11-21 Single board testing method Expired - Fee Related CN100455032C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2003101167704A CN100455032C (en) 2003-11-21 2003-11-21 Single board testing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2003101167704A CN100455032C (en) 2003-11-21 2003-11-21 Single board testing method

Publications (2)

Publication Number Publication Date
CN1620154A CN1620154A (en) 2005-05-25
CN100455032C true CN100455032C (en) 2009-01-21

Family

ID=34760763

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2003101167704A Expired - Fee Related CN100455032C (en) 2003-11-21 2003-11-21 Single board testing method

Country Status (1)

Country Link
CN (1) CN100455032C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105827333A (en) * 2015-01-07 2016-08-03 展讯通信(上海)有限公司 System and method of baseband chip automatic test
CN105676045B (en) * 2016-01-08 2018-10-12 苏州工业园区博亨电子有限公司 A kind of vehicle mounted multimedia automatic performance test method
CN107861845A (en) * 2017-10-13 2018-03-30 天津市英贝特航天科技有限公司 L PC bus-based military computer fault testing method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1994007320A1 (en) * 1992-09-18 1994-03-31 Communications Technology Corporation Active strapping and switching device for telephone line testing
WO1998034388A2 (en) * 1997-02-04 1998-08-06 Next Level Communications Method and apparatus for reliable operation of universal voice grade cards
CN1288161A (en) * 1999-09-11 2001-03-21 深圳市华为技术有限公司 Single board festing method and device
CN1289933A (en) * 1999-12-30 2001-04-04 深圳市中兴通讯股份有限公司 Socket for testing connector of circuit board

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1994007320A1 (en) * 1992-09-18 1994-03-31 Communications Technology Corporation Active strapping and switching device for telephone line testing
WO1998034388A2 (en) * 1997-02-04 1998-08-06 Next Level Communications Method and apparatus for reliable operation of universal voice grade cards
CN1288161A (en) * 1999-09-11 2001-03-21 深圳市华为技术有限公司 Single board festing method and device
CN1289933A (en) * 1999-12-30 2001-04-04 深圳市中兴通讯股份有限公司 Socket for testing connector of circuit board

Also Published As

Publication number Publication date
CN1620154A (en) 2005-05-25

Similar Documents

Publication Publication Date Title
KR100513551B1 (en) Software installation and test method and system for customized computer system
CN109086199A (en) A kind of automation generates the method for test script, terminal and can storage medium
US10354031B2 (en) Information processing by interpenetrating signal transmission channel in design for testability of chip
US20070061113A1 (en) Enabling Test Script Play Back in Different Locales
CN109359052A (en) Mobile terminal automated testing method and system based on UI
CN104850499A (en) Automatic test method and device for base band software
US20080059786A1 (en) Device initiated mode switching
CN109144799A (en) Integrated testing method, apparatus, computer equipment and storage medium
CN101295255A (en) Firmware updating system and method
CN101425930B (en) Method and equipment for ensuring single board operation software
CN101226502A (en) Automatization test method and system
CN112216340A (en) Hard disk test method and device, storage medium and electronic equipment
CN100455032C (en) Single board testing method
US8015448B2 (en) System and method for conducting BIST operations
CN111259619B (en) Control method and device for configuration object, storage medium and verification platform
CN110377476B (en) Terminal testing method, terminal and readable storage medium
CN113051115A (en) Integrated testing method and system for FT and EQC of chip
CN110673894A (en) Automatic loading method for BOB module ED of home gateway
CN111045948A (en) Method, apparatus and storage medium for checking interface signal between modules
US7937511B2 (en) Burning apparatus
CN115985382A (en) Flash memory test method, device, equipment and storage medium
CN112256554B (en) Method and equipment for testing based on scene test cases
CN111142410A (en) Control method and system for automatic and orderly starting and stopping according to test requirements
US6832345B2 (en) Method for coexistence and cooperation between system firmware and debug code
CN110795297B (en) Electronic equipment testing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
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: 20090121

Termination date: 20161121

CF01 Termination of patent right due to non-payment of annual fee