CN1580801A - Boundary scanning-measuring method for circuit board - Google Patents
Boundary scanning-measuring method for circuit board Download PDFInfo
- Publication number
- CN1580801A CN1580801A CN 03149702 CN03149702A CN1580801A CN 1580801 A CN1580801 A CN 1580801A CN 03149702 CN03149702 CN 03149702 CN 03149702 A CN03149702 A CN 03149702A CN 1580801 A CN1580801 A CN 1580801A
- Authority
- CN
- China
- Prior art keywords
- test
- circuit board
- bus
- data
- 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)
- Tests Of Electronic Circuits (AREA)
Abstract
The present invention relates to a boundary scanning test method of circuit board. Said method includes the following steps; setting boundary scanning test bus on a master contol plate with CPU, making the testing port signal line of boundary scanning device in the interior of tested circuit board be correspondently connected on the test bus, utilizing said test bus to give out test instruction to tested circuit board and receive the tested data back-returned from the circuit board.
Description
Technical field
The present invention is relevant for a kind of method of testing of circuit board, refers to the method that a kind of circuit board of supporting boundary scan technique is tested especially.
Background technology
Along with the density of integrated circuit is increasing, the difficulty of utilizing classic method that circuit board is tested is also increasing.1985, by IBM, AT﹠amp; The JETAG (Joint European TestAction Group) that companies such as T, Texas Instruments, Philips ElectronicsNV, Siemens, Alcatel and Ericsson set up has proposed boundary scan technique, this technology is by BSC (the Boundary-Scan Cell between device input and output pin and the kernel circuitry, boundary scan cell) device and peripheral circuit thereof are tested, thereby improved the testability (DFT, Design For Test) of device.1986, because the adding of some companies in other area, JETAG was renamed as JTAG (Joint Test Action Group).Nineteen ninety, IEEE has been duly admitted the JTAG standard, after replenishing and revising, and called after IEEE1149.1-90.
Because Boundary-scan test technology can solve the test problem of high density circuit board effectively, therefore, since producing, this technology has obtained using widely.Now large-scale integrated circuit is all supported the boundary scan testing function basically.On circuit board, utilize boundary-scan function to realize interconnecting test, device function test and very general in application such as plate programmings.
The test port of each boundary scanning device all has four prerequisite signal wires: test clock (Test Clock), test pattern are selected (Test Mode Select), test data input (Test DataInput), test data output (Test Data Output) and an optional test reset signal (TestRESET).In circuit board, the test data output signal of each boundary scanning device and input signal of test data formed mutually daisy chain after the cascade and just can realize test circuit board.The typical case of circuit board inner boundary sweep test daisy chain connects as shown in Figure 1.
If have a plurality of circuit boards and each circuit board inside that the boundary scan daisy chain is all arranged in the system, daisy chain signal with these circuit board inside, connect into test bus and carry out unified control, just can realize control to each circuit board inner boundary scanning device, thus the boundary scan testing of each circuit board in the realization system.
Prior art is to the test of each circuit board in the system, and a method commonly used is the communication bus that utilizes in the system, and this bus realizes system management and maintenance function.When starting test, send test instruction by communication bus to other circuit board by master control borad, by each circuit board execution command and return test result, perhaps directly return test data to master control borad.
The signal controlling synoptic diagram of this kind scheme as shown in Figure 2.Among the figure, a CPU is arranged all on each circuit board, master control borad sends test command and test data to other from circuit board by communication bus, and receives their response.Master control borad and can be Ethernet (Ethernet), CAN (Controlling Area Network, field bus control system) from the communication bus between the circuit board, or the like.
Under the situation of the CPU of each circuit board operate as normal, the CPU of master control borad sends order by communication bus to the CPU from circuit board, start test operation from the CPU of circuit board to this plate, judge test result and operating result is returned to master control borad by communication bus, perhaps directly test data is directly sent to master control borad and do not judged, draw test result according to the response that receives by the CPU of master control borad.
The shortcoming of prior art:
1, has only CPU in normal operation, could realize test operation, on Board Under Test, do not have CPU, perhaps when CPU hardware fault or software fault, can not test when each circuit board;
2, the data transmission channel the when transmission channel of test data and system's operate as normal has all used same communication bus, therefore, will not test when communication bus generation hardware fault (losing efficacy as interface device) or bitcom break down;
3, can not test CPU, especially can not test the signal that is connected between CPU and other device.
Summary of the invention
In view of the shortcoming of prior art, the invention provides a kind of boundary scanning test method of circuit board, be not subjected to whether have CPU on the circuit-under-test plate, and whether CPU move normal etc. restriction, all can effectively test circuit board.
The boundary scanning test method of a kind of circuit board of the present invention comprises: the boundary scan testing bus is set having on the master control borad of CPU; The test port signal wire correspondence of the boundary scanning device of circuit-under-test intralamellar part is connected on the test bus; Send test instruction by this test bus to the circuit-under-test plate, and receive the test data of returning from circuit board.
In the said method, described master control borad is provided with the embedded testing bus controller, and this controller acceptance test instruction also converts the signal output of test bus to, receives the test data of returning from the circuit-under-test plate simultaneously and preserves confession CPU and read.
The test instruction that described controller receives is to be sent by the CPU on the master control borad.
The test instruction that described controller receives is test command and the data of master control borad from the test terminal reception of outside.
The test instruction that described controller receives is to come from the test command of master control borad inside and data; Described test command and data are to produce or be stored in test command and data in the master control borad internal storage by the CPU of this plate.
Described circuit-under-test plate can be a plurality of, all is provided with an addressable scanning port on each circuit-under-test plate, distinguishes different circuit-under-test plates by different hardware addresss being set for this addressable scanning port.
Described addressable scanning port contains the address strobe logic, in the described method, uses the addressable scanning port of this controller by one group of specific a certain address of data strobe.
The test port signal wire of the boundary scanning device of described circuit-under-test intralamellar part is connected with test bus by described addressable scanning port.
Described test bus comprises reset bus, clock bus, pattern input bus, data-out bus and data input bus (DIB).
The boundary scanning device of described circuit-under-test intralamellar part is formed one or more daisy chains.
The beneficial effect that technical solution of the present invention is brought is:
1, can test the circuit board that does not possess CPU;
2, test operation does not rely on the CPU of Board Under Test, when software does not load, all can start the test to Board Under Test during cpu fault;
3, test operation does not rely on the communication bus of internal system, even can start test when communication bus breaks down yet;
4, can the CPU on the Board Under Test be tested, comprise the test that CPU is connected signal with other device;
5,, therefore,, can in the circuit board operational process, start test operation simultaneously if test operation does not influence the Board Under Test operation because test operation does not take the cpu resource of Board Under Test.
Description of drawings
Fig. 1 is a circuit board inner boundary sweep test daisy chain connection diagram;
Fig. 2 is a test signal control synoptic diagram in the prior art;
Fig. 3 is the inventive method test signal control synoptic diagram;
Fig. 4 is a master control borad inner structure synoptic diagram of the present invention;
Fig. 5 is a circuit-under-test plate structure synoptic diagram in the inventive method.
Embodiment
As shown in Figure 3, the present invention passes through in internal system layout boundary scan testing bus, and all circuit boards all are connected on the test bus, realizes the test to each circuit board.
Among the figure, PTRST, PTCK, PTMS, PTDO and PTDI are five signal wires of boundary scan testing bus.Wherein PTRST (Primary Test Reset) represents elementary test reset; PTCK (Primary Test Clock input) represents elementary test clock input; PTMS (Primary TestMode Select input) represents elementary test pattern input; PTDO (Primary Test DataOutput) represents elementary test data output; PTDI (Primary Test Data Input) represents elementary test data input.The boundary scanning device of each circuit board inside is formed one or more daisy chains.
Design has an embedded testing bus controller (eTBC, Embedded Test BusController) on master control borad, and this controller sends test data according to the order of the CPU on the master control borad to other circuit board.All designed an addressable scanning port (ASP, Addressable ScanPort) on each Board Under Test, it distinguishes different Board Under Tests by different hardware addresss is set.Master control borad sends test data by eTBC to Board Under Test, causes that the state of the test access port (TAP, Test Access Port) of the boundary scanning device on each circuit board changes, thereby realizes boundary scan testing.
ETBC realizes the control to test bus under the CPU of master control borad control.When not starting test operation, eTBC and ASP do not influence the work of system.In test process, master control borad both can produce data and send on the test bus by eTBC on this plate, also can send on the test bus by eTBC from the test terminal acceptance test order and the data of outside again.Comprise eTBC master control borad structural representation as shown in Figure 4.
When test command and test data are provided by the test terminal, order and data that the CPU of master control borad sends according to the test terminal, send test data to eTBC, these data are converted to the signal output (PTRST, PTCK, PTMS and PTDO) of test bus by eTBC.ETBC is the signal input (PTDI) on the also acceptance test bus in the output test signal, and the value of this signal is preserved confession CPU read, and the data that the test terminal is returned according to master control borad draw final test result.
If test command and data produce on master control borad, perhaps they are stored on the master control borad in advance, so, the CPU of master control borad can be directly in plate read test order and data and they are sent on the test bus by eTBC.The CPU of master control borad draws final test result according to the return data that reads from eTBC.
The data of sending from eTBC can be received by all Board Under Tests, and under the control of ASP, eTBC can realize only one of them circuit board being tested.When the test beginning, eTBC is by the ASP of one group of specific some address of data strobe, and this ASP is equivalent to a switch, and after it was by gating, the scan chain of Board Under Test just can directly be controlled by eTBC, thereby realizes test operation.
The hardware configuration synoptic diagram of a Board Under Test with ASP is as shown in Figure 5:
The data channel of test bus one side is called as elementary scan channel (PSP, Primary ScanPaths), and the signal on this passage is measured as elementary test signal.The elementary scan channel of Board Under Test ASP links to each other with the eTBC of master control borad, five signal STRST (Secondary TestReset of secondary scan channel, secondary test reset), STCK (Secondary Test Clock input, secondary test clock input), STMS (Secondary Test Mode Select input, secondary test pattern input), STDO (Secondary Test Data Output, the output of secondary test data) and STDI (Secondary Test DataInput, secondary test data is imported) link to each other with boundary scan daisy chain in the Board Under Test.Include an address strobe logic in ASP inside, when master control borad transmits the ASP that specific data are come the gating Board Under Test earlier during by eTBC visit Board Under Test on test bus, make the boundary scan daisy chain that eTBC can direct control Board Under Test inside.
Claims (10)
1, a kind of boundary scanning test method of circuit board is characterized in that, may further comprise the steps:
The boundary scan testing bus is set having on the master control borad of CPU;
The test port signal wire correspondence of the boundary scanning device of circuit-under-test intralamellar part is connected on the test bus;
Send test instruction by this test bus to the circuit-under-test plate, and receive the test data of returning from circuit board.
2, the boundary scanning test method of a kind of circuit board as claimed in claim 1, it is characterized in that: described master control borad is provided with the embedded testing bus controller, this controller acceptance test instruction also converts the signal output of test bus to, receives the test data of returning from the circuit-under-test plate simultaneously and preserves confession CPU and read.
3, the boundary scanning test method of a kind of circuit board as claimed in claim 2 is characterized in that: the test instruction that described controller receives is to be sent by the CPU on the master control borad.
4, the boundary scanning test method of a kind of circuit board as claimed in claim 2 is characterized in that: the test instruction that described controller receives is test command and the data of master control borad from the test terminal reception of outside.
5, the boundary scanning test method of a kind of circuit board as claimed in claim 2 is characterized in that: the test instruction that described controller receives is to come from the test command of master control borad inside and data; Described test command and data are to produce or be stored in test command and data in the master control borad internal storage by the CPU of this plate.
6, as the boundary scanning test method of claim 2,3,4 or 5 described a kind of circuit boards, it is characterized in that: described circuit-under-test plate can be a plurality of, all be provided with an addressable scanning port on each circuit-under-test plate, distinguish different circuit-under-test plates by different hardware addresss being set for this addressable scanning port.
7, the boundary scanning test method of a kind of circuit board as claimed in claim 6, it is characterized in that: described addressable scanning port contains the address strobe logic, in the described method, use the addressable scanning port of this controller by one group of specific a certain address of data strobe.
8, the boundary scanning test method of a kind of circuit board as claimed in claim 6 is characterized in that: the test port signal wire of the boundary scanning device of described circuit-under-test intralamellar part is connected with test bus by described addressable scanning port.
9, as the boundary scanning test method of claim 1,2,3,4,5,7 or 8 described a kind of circuit boards, it is characterized in that: described test bus comprises reset bus, clock bus, pattern input bus, data-out bus and data input bus (DIB).
10, the boundary scanning test method of a kind of circuit board as claimed in claim 9 is characterized in that: the boundary scanning device of described circuit-under-test intralamellar part is formed one or more daisy chains.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB031497020A CN100427964C (en) | 2003-08-04 | 2003-08-04 | Boundary scanning-measuring method for circuit board |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB031497020A CN100427964C (en) | 2003-08-04 | 2003-08-04 | Boundary scanning-measuring method for circuit board |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1580801A true CN1580801A (en) | 2005-02-16 |
CN100427964C CN100427964C (en) | 2008-10-22 |
Family
ID=34579639
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB031497020A Expired - Fee Related CN100427964C (en) | 2003-08-04 | 2003-08-04 | Boundary scanning-measuring method for circuit board |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100427964C (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100507585C (en) * | 2006-08-24 | 2009-07-01 | 华为技术有限公司 | Method and system for detecting single-plate on position |
CN101819250A (en) * | 2010-03-23 | 2010-09-01 | 徐磊 | Method, system and target device for boundary scan experiment |
CN101083507B (en) * | 2006-05-31 | 2010-09-29 | 中国科学院微电子研究所 | General test IP method following IEEE1149.1 protocol |
CN102129887A (en) * | 2011-01-17 | 2011-07-20 | 上海宏力半导体制造有限公司 | Test mode signal generation circuit and method of storage unit |
CN101105782B (en) * | 2007-08-22 | 2011-08-24 | 中兴通讯股份有限公司 | Border scanning system based on high-performance computer communication framework and method therefor |
CN101470169B (en) * | 2007-12-27 | 2012-01-11 | 华为技术有限公司 | Method, system and apparatus for fault detection of tested device |
CN102479553A (en) * | 2010-11-25 | 2012-05-30 | 上海华虹Nec电子有限公司 | Application-specific integrated circuit with multiple analog circuits requiring to be trimmed |
CN102508758A (en) * | 2011-12-01 | 2012-06-20 | 北京航天测控技术有限公司 | Double-bus parallel test realization method |
CN103163451A (en) * | 2013-03-06 | 2013-06-19 | 中国人民解放军国防科学技术大学 | Super computing system oriented self-gating boundary scan test method and device |
CN104133171A (en) * | 2014-07-31 | 2014-11-05 | 中国人民解放军空军预警学院 | Simple boundary scan test system and method based on single-chip microcomputer |
CN108287732A (en) * | 2017-12-07 | 2018-07-17 | 深圳比特微电子科技有限公司 | Application-specific integrated circuit raising frequency method |
CN108614205A (en) * | 2016-12-12 | 2018-10-02 | 英业达科技有限公司 | Have the test circuit plate and its self-detection method of self detecting function |
CN109901044A (en) * | 2017-12-07 | 2019-06-18 | 英业达科技有限公司 | The central processing unit differential testing system and method for multi circuit board |
CN112463243A (en) * | 2019-09-09 | 2021-03-09 | 英业达科技有限公司 | Online cascade loading firmware system based on boundary scanning and method thereof |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3333036B2 (en) * | 1994-03-17 | 2002-10-07 | 富士通株式会社 | Test apparatus, system including test apparatus, and test method |
US5852617A (en) * | 1995-12-08 | 1998-12-22 | Samsung Electronics Co., Ltd. | Jtag testing of buses using plug-in cards with Jtag logic mounted thereon |
US5751737A (en) * | 1997-02-26 | 1998-05-12 | Hewlett-Packard Company | Boundary scan testing device |
US6032279A (en) * | 1997-11-07 | 2000-02-29 | Atmel Corporation | Boundary scan system with address dependent instructions |
CN2385344Y (en) * | 1998-11-16 | 2000-06-28 | 力捷电脑股份有限公司 | Device for testing circuit board function |
JP3763385B2 (en) * | 1999-11-09 | 2006-04-05 | シャープ株式会社 | Semiconductor device |
JP2001305187A (en) * | 2000-04-21 | 2001-10-31 | Konica Corp | Circuit board and inspection device for the circuit board |
JP3487810B2 (en) * | 2000-06-05 | 2004-01-19 | エヌイーシーワイヤレスネットワークス株式会社 | Boundary scan circuit and method |
DE60107531T2 (en) * | 2001-02-19 | 2005-12-08 | Lucent Technologies Inc. | Sampling delay chain for delay measurement |
CN1369714A (en) * | 2001-07-18 | 2002-09-18 | 中国人民解放军第二炮兵工程学院技术开发中心 | Boundary scan and test system for large-scale integrated circuit |
JP2003035751A (en) * | 2001-07-25 | 2003-02-07 | Mitsubishi Electric Corp | Testing apparatus and method of semiconductor integrated circuit |
-
2003
- 2003-08-04 CN CNB031497020A patent/CN100427964C/en not_active Expired - Fee Related
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101083507B (en) * | 2006-05-31 | 2010-09-29 | 中国科学院微电子研究所 | General test IP method following IEEE1149.1 protocol |
CN100507585C (en) * | 2006-08-24 | 2009-07-01 | 华为技术有限公司 | Method and system for detecting single-plate on position |
CN101105782B (en) * | 2007-08-22 | 2011-08-24 | 中兴通讯股份有限公司 | Border scanning system based on high-performance computer communication framework and method therefor |
CN101470169B (en) * | 2007-12-27 | 2012-01-11 | 华为技术有限公司 | Method, system and apparatus for fault detection of tested device |
CN101819250B (en) * | 2010-03-23 | 2012-12-19 | 徐磊 | System for boundary scan experiment |
CN101819250A (en) * | 2010-03-23 | 2010-09-01 | 徐磊 | Method, system and target device for boundary scan experiment |
CN102479553A (en) * | 2010-11-25 | 2012-05-30 | 上海华虹Nec电子有限公司 | Application-specific integrated circuit with multiple analog circuits requiring to be trimmed |
CN102129887B (en) * | 2011-01-17 | 2016-03-23 | 上海华虹宏力半导体制造有限公司 | Memory test patterns signal generating circuit and method |
CN102129887A (en) * | 2011-01-17 | 2011-07-20 | 上海宏力半导体制造有限公司 | Test mode signal generation circuit and method of storage unit |
CN102508758A (en) * | 2011-12-01 | 2012-06-20 | 北京航天测控技术有限公司 | Double-bus parallel test realization method |
CN102508758B (en) * | 2011-12-01 | 2014-04-16 | 北京航天测控技术有限公司 | Double-bus parallel test realization method |
CN103163451A (en) * | 2013-03-06 | 2013-06-19 | 中国人民解放军国防科学技术大学 | Super computing system oriented self-gating boundary scan test method and device |
CN104133171A (en) * | 2014-07-31 | 2014-11-05 | 中国人民解放军空军预警学院 | Simple boundary scan test system and method based on single-chip microcomputer |
CN108614205A (en) * | 2016-12-12 | 2018-10-02 | 英业达科技有限公司 | Have the test circuit plate and its self-detection method of self detecting function |
CN108287732A (en) * | 2017-12-07 | 2018-07-17 | 深圳比特微电子科技有限公司 | Application-specific integrated circuit raising frequency method |
CN109901044A (en) * | 2017-12-07 | 2019-06-18 | 英业达科技有限公司 | The central processing unit differential testing system and method for multi circuit board |
CN109901044B (en) * | 2017-12-07 | 2021-11-12 | 英业达科技有限公司 | Central processing unit differential test system of multiple circuit boards and method thereof |
CN112463243A (en) * | 2019-09-09 | 2021-03-09 | 英业达科技有限公司 | Online cascade loading firmware system based on boundary scanning and method thereof |
CN112463243B (en) * | 2019-09-09 | 2022-11-18 | 英业达科技有限公司 | Online cascade loading firmware system based on boundary scanning and method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN100427964C (en) | 2008-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7353440B2 (en) | Multicore processor test method | |
CN1580801A (en) | Boundary scanning-measuring method for circuit board | |
US6988232B2 (en) | Method and apparatus for optimized parallel testing and access of electronic circuits | |
US7661048B2 (en) | Apparatus and method for embedded boundary scan testing | |
JPH04297880A (en) | Event identifying test architecture | |
CN101144847B (en) | An integrated circuit and method for specifying an integrated circuit | |
CN1949723A (en) | Method and system for remote-maintaining JTAG device in ATCA | |
CN1137199A (en) | Flip-flop controller | |
CN1243307C (en) | Method and equipment for detecting single plate by JTAG | |
CN110658438A (en) | Scanning test system and control device and control method thereof | |
US6556037B2 (en) | Semiconductor integrated circuit and test board | |
KR100735585B1 (en) | Semiconductor circuit apparatus and scan test method for semiconductor circuit | |
US7174492B1 (en) | AC coupled line testing using boundary scan test methodology | |
CN1486431A (en) | Input/output continuity test mode circuit | |
CN1230885C (en) | Fault-telerance method and system of testing chip for boundary scanning | |
CN100340990C (en) | FLASH loading method | |
CN1184488C (en) | Semiconductor device contg. macro and its test method | |
CN1928578A (en) | Test circuit and test method thereof | |
CN1300695C (en) | Method for Loading FLASH using boundary scanning device | |
CN1475810A (en) | Cable testing device and method | |
CN1516015A (en) | Multichain boundary scanning test system and multichain boundary scanning test method | |
US6603303B1 (en) | Method and apparatus for testing integrated circuit | |
KR100505613B1 (en) | Printed circuit board for performing burn-in test of semiconductor memory device | |
KR100473266B1 (en) | Method for generating test pattern capable of simultaneous testing of cluster and edge | |
CN1178137C (en) | Data buffer architecture with selftest and repair functions and its operation 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 | ||
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: 20081022 Termination date: 20180804 |
|
CF01 | Termination of patent right due to non-payment of annual fee |