• No results found

Testing and Programming PCBA s during Design and in Production

N/A
N/A
Protected

Academic year: 2021

Share "Testing and Programming PCBA s during Design and in Production"

Copied!
68
0
0

Loading.... (view fulltext now)

Full text

(1)

Testing and Programming PCBA’s

during Design and in Production

Hogeschool van Arnhem en Nijmegen

6 June 2013

Rob Staals

JTAG Technologies

(2)

The importance of Testing

juni ’13 Copyright 2013, JTAG Technologies ©

2

• Don’t ship bad boards to your customers, find problems before your

customers do.

• DOA’s (Death On Arrival) lead to huge costs (rule of ten)

The "rule of ten" specifies that it costs 10 times more

to find and repair a defect at the next stage of assembly.

the part itself

1 €

at sub-assembly

10 €

at final assembly

100 €

at the dealer/distributor

1.000 €

at the customer

10.000 €

Important to find defects in an early stage.

(3)

What are you testing

Simplified statement:

If all components are correctly soldered

- the board should work

Assuming:

Design is right

Components are OK (1ppm - .1ppm)

Conclusion:

Testing the interconnections should be sufficient to

(4)

Error analysis based on real PCBA production data

juni ’13 Copyright 2013, JTAG Technologies ©

4

26%

17%

12%

9%

10%

7%

6%

13%

Shorts incl.

SA1/SA0

Opens

Not placed

Upside

down

Careless

placement

Component

defect

Tombstoning

Others

(5)

Commonly used Testmethods

(6)

Commonly used Testmethods

juni ’13 Copyright 2013, JTAG Technologies ©

6

(7)

Commonly used Testmethods

(8)

Commonly used Testmethods

juni ’13 Copyright 2013, JTAG Technologies ©

8

(9)

Commonly used Testmethods

(10)

Functional vs Structural Test

juni ’13 Copyright 2013, JTAG Technologies ©

10

Functional Test

• Checks every function of the board

(interconnects are implicitly tested) - Manual creation of the tests

- Very difficult to diagnose, doesn’t pinpoint to the exact location of the problem - Requires highly skilled engineers

- Time consuming - Expensive

+ @Speed test, very good as final test to check specifications

Structural Test (AOI, AXI, FP and ICT)

• Checks the structure of the board

(interconnects, device orientation, device values etc.) - No @Speed test

+ Automatic generation based on the Netlist + Low cost

+ Pinpoints to the exact location of the problem

(11)

FP and ICT interconnection test

The probes of a Flying Prober and In Circuit Tester are connected to a measurement system.

Compare this with the probes of a multimeter.

Moving around with the probes will pinpoint to the exact location of the interconnection problem.

(12)

How to perform a Structural Test on a board

containing Hi-density devices like BGA’s

juni ’13 Copyright 2013, JTAG Technologies ©

12

The probes of a Flying Prober or In Circuit Tester require a minimum clearance and have no access to the BGA pins

(13)
(14)

Boundary-scan

is the solution to the access problem

juni ’13 Copyright 2013, JTAG Technologies ©

14

What is Boundary-scan and how does it work

Official standard:

IEEE Std. 1149.1-1990

(15)

Boundary-scan architecture

Core

The Boundary-scan architecture is a standard implementation in many devices, such as µControllers, DSPs, FPGAs etc..

I/0 I/0 I/0

I/0 I/0 I/0

I/0 I/0

(16)

Boundary-scan architecture

juni ’13 Copyright 2013, JTAG Technologies ©

16 Controller Instruction register Bypass TDI TMS TCK TRST Optional TDO Core Boundary-Scan Register BSR

TDI Test Data In

TDO Test Data Out

TMS Test Mode Select

TCK Test Clock

TRST Test Reset

Additional Testlogic and pins have been added

I/0 I/0 I/0

I/0 I/0 I/0

I/0 I/0

(17)

Via TDI a Testvectors is shifted into the BSR

Instruction register Bypass TDI TDO Core 110011110 Testvector
(18)

Shift-in Testvector via TDI

juni ’13 Copyright 2013, JTAG Technologies ©

18 0 Controller Instruction register Bypass TDI TMS TCK TRST Optional TDO Core →11001111 Shift

(19)

Shift-in Testvector via TDI

0 1 Instruction register Bypass TDI TDO Core

1100111 Shift
(20)

Shift-in Testvector via TDI

juni ’13 Copyright 2013, JTAG Technologies ©

20 0 1 1 Controller Instruction register Bypass TDI TMS TCK TRST Optional TDO Core →110011 Shift

(21)

Shift-in Testvector via TDI

1 1 1 0 Instruction register Bypass TDI TDO Core →→11001 Shift
(22)

Shift-in Testvector via TDI

juni ’13 Copyright 2013, JTAG Technologies ©

22 1 1 1 1 0 Controller Instruction register Bypass TDI TMS TCK TRST Optional TDO Core →→1100 Shift

(23)

Shift-in Testvector via TDI

1 1 0 1 1 0 Instruction register Bypass TDI TDO Core →→→110 Shift
(24)

Shift-in Testvector via TDI

juni ’13 Copyright 2013, JTAG Technologies ©

24 1 0 0 0 1 1 1 Controller Instruction register Bypass TDI TMS TCK TRST Optional TDO Core →→→→11 Shift

(25)

Shift-in Testvector via TDI

0 0 1 1 0 1 1 1 Instruction register Bypass TDI TDO Core

→→→

1 Shift
(26)

Shift-in Testvector via TDI

juni ’13 Copyright 2013, JTAG Technologies ©

26 0 1 1 1 1 0 0 1 1 Controller Instruction register Bypass TDI TMS TCK TRST Optional TDO Core Shift →→→→

(27)

UPDATE drives the BSR data

onto all pins simultaneously

0 1 1 1 1 0 0 1 1 Instruction register Bypass TDI TDO Core Update

0

1

1

0

1

1

1

1

1

(28)

UPDATE command

juni ’13 Copyright 2013, JTAG Technologies ©

28

The UPDATE command can be compared with one probe of the multimeter, but than for all Bscan I/O pins

simultaneously (hundreds – thousands pins).

However for a proper interconnection measurement a second probe is required.

(29)

CAPTURE simultaneously senses

the values on the pins and stores it in the BSR

Instruction register Bypass TDI TDO Core

1

1

0

1

0

1

0

1

0

The nets are at a certain logic level.

(30)

CAPTURE simultaneously senses

the values on the pins and stores it in the BSR

juni ’13 Copyright 2013, JTAG Technologies ©

30 1 1 0 0 1 0 1 0 1 Controller Instruction register Bypass TDI TMS TCK TRST Optional TDO Core Capture

1

1

0

1

0

1

0

1

0

(31)

CAPTURE command

The Capture command can be compared with the second probe of the multimeter, but than for all Bscan I/O pins simultaneously.

The UPDATE and CAPTURE commands provides direct access to hundreds or thousands I/O pins.

(32)

Shift-out captured data

juni ’13 Copyright 2013, JTAG Technologies ©

32

After the values on the pins have been captured into the BSR the result is shifted out via TDO. The result can be compared with the expected data. Any difference pin-points to the error location.

(33)

Shift-out Captured data via TDO

1 0 1 1 0 1 1 1 0 Instruction register Bypass TDI TDO Core Shift 0 Result
(34)

Shift-out Captured data via TDO

juni ’13 Copyright 2013, JTAG Technologies ©

34 0 1 1 0 1 0 1 1 1 Controller Instruction register Bypass TDI TMS TCK TRST Optional TDO Core Shift 10 Result

(35)

Shift-out Captured data via TDO

1 1 1 1 0 1 0 1 1 Instruction register Bypass TDI TDO Core Shift 010 Result
(36)

Shift-out Captured data via TDO

juni ’13 Copyright 2013, JTAG Technologies ©

36 1 1 1 1 1 0 1 0 1 Controller Instruction register Bypass TDI TMS TCK TRST Optional TDO Core Shift 1010 Result

(37)

Shift-out Captured data via TDO

1 1 1 1 1 1 1 1 0 Instruction register Bypass TDI TDO Core Shift 01010 Result
(38)

Shift-out Captured data via TDO

juni ’13 Copyright 2013, JTAG Technologies ©

38 1 1 1 0 1 1 1 1 1 Controller Instruction register Bypass TDI TMS TCK TRST Optional TDO Core Shift 101010 Result

(39)

Shift-out Captured data via TDO

1 1 1 1 0 1 1 1 1 Instruction register Bypass TDI TDO Core Shift 1101010 Result
(40)

Shift-out Captured data via TDO

juni ’13 Copyright 2013, JTAG Technologies ©

40 1 1 1 1 1 0 1 1 1 Controller Instruction register Bypass TDI TMS TCK TRST Optional TDO Core Shift 11101010 Result

(41)

Compare Captured data

with expected result

1 1 1 1 1 1 1 1 1 Instruction register Bypass TDI TDO Core 010001010 Result 011101010 Expected

(42)

Example 1

juni ’13 Copyright 2013, JTAG Technologies ©

42

(43)

Test interconnections between Bscan devices

Core BP IR Controller Core BP IR Controller TDI TDO TMS TCK TDO TDI IC1 IC2
(44)

Calculate the required Testvector

juni ’13 Copyright 2013, JTAG Technologies ©

44 Core BP IR Controller Core BP IR Controller TDI TDO TMS TCK TDO TDI IC1 IC2

1. Calculate Testvector for testing the interconnects xx11111xx

(45)

Shift-in testvector via TDI

Core BP IR Controller Core BP IR Controller TDI TDO TMS TCK TDO TDI IC1 IC2 SHIFT 1 1 1 1 1 xx11111xx Testvector
(46)

UPDATE

juni ’13 Copyright 2013, JTAG Technologies ©

46 Core BP IR Controller Core BP IR Controller TDI TDO TMS TCK TDO TDI IC1 IC2

3. The UPDATE command drives the testvector onto the pins of IC1 and thus on the corresponding nets.

UPDATE 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 xx11111xx Testvector

(47)

CAPTURE

Core BP IR Controller Core BP IR Controller TDI TDO TMS TCK TDO TDI IC1 IC2 CAPTURE 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 xx11111xx Testvector
(48)

Shift-out result and compare with expected

juni ’13 Copyright 2013, JTAG Technologies ©

48 Core BP IR Controller Core BP IR Controller TDI TDO TMS TCK TDO TDI IC1 IC2

5. The Captured result is shifted-out on TDO and compared with the expected value.

Any mismatch pin-points to the location of the failure. SHIFT 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 Mismatch xx11111xx Testvector xx10111xx Result Caused by an open underneath this pin

(49)

Compare Result with Expected

and Diagnose

Errors are shown in inverse video. In this case the result was a 0 however a 1 was expected.

The diagnostics pin-points to the exact error location

(50)

Faultdetection

juni ’13 Copyright 2013, JTAG Technologies ©

50

With the aid of Intelligent testvectors

Opens

Shorts

SA1 and SA0

problems are easily detected

The Intelligent testvectors are based on an Enhanced Binary Search principle.

(51)

Bscan Bscan

Testing connectivity of

Non-Bscan components

TDI Boundary-scan chain Non-Bscan
(52)

Bscan Bscan

Testing connectivity

NAND Gate

juni ’13 Copyright 2013, JTAG Technologies ©

52 TDI TDO Boundary-scan chain

&

Use Truthtable to stimulate the inputs and sense the outputs of the NAND using the Bscan cells.

A model contains information about the Truthtable. A B Y A B Y 0 0 1 0 1 1 1 0 1 1 1 0

(53)

Bscan Bscan

Testing connectivity

MEMORY

TDI Boundary-scan chain

RAM

ADD Ctrl DATA
(54)

Bscan Bscan

Testing connectivity

FLASH

juni ’13 Copyright 2013, JTAG Technologies ©

54 TDI TDO Boundary-scan chain

FLASH

A model contains all the information on how to get access to the FLASH. ADD

Ctrl

(55)

Bscan Bscan

Testing connectivity

I/O plus Connector (1)

TDI Boundary-scan chain I/O C on ne ct or Loo p Ba ck C on n ec tor

(56)

Bscan Bscan

Testing connectivity

I/O plus Connector (2)

juni ’13 Copyright 2013, JTAG Technologies ©

56 TDI TDO

Boundary-scan chain

Use an external Bscan board with required # of I/O pins to get full access.

I/O C on ne ct or Ex ter n al Bs ca n b oa rd

(57)

Bscan Bscan

Testing connectivity

serial devices like I2C, SPI etc.

TDI Boundary-scan chain

I2C

SDA SLC
(58)

Using the JTAG interface for

Programming

juni ’13 Copyright 2013, JTAG Technologies ©

58

(59)

Programming

CPLD and FPGA

JTAG Logic

(60)

Programming

CPLD and FPGA

juni ’13 Copyright 2013, JTAG Technologies ©

60

JTAG Interface

(61)

Programming

CPLD and FPGA

(62)

Bscan Bscan

Programming

external FLASH

juni ’13 Copyright 2013, JTAG Technologies ©

62 TDI TDO Boundary-scan chain

FLASH

The Image file gets integrated in the Bscan Addr-Data-Ctrl patterns to program the FLASH. ADD

Ctrl

(63)

Programming

Embedded Flash

JTAG Internal FLASH µController Core
(64)

Demonstration

juni ’13 Copyright 2013, JTAG Technologies ©

(65)
(66)

Full access through the TAP

juni ’13 Copyright 2013, JTAG Technologies ©

66

(67)

Software tools

JTAG Live Buzz

(68)

Supported controllers

juni ’13 Copyright 2013, JTAG Technologies ©

www.jtaglive.com

References

Related documents

UPnP Control Point (DLNA) Device Discovery HTTP Server (DLNA, Chormecast, AirPlay Photo/Video) RTSP Server (AirPlay Audio) Streaming Server.. Figure 11: Simplified

An analysis of the economic contribution of the software industry examined the effect of software activity on the Lebanese economy by measuring it in terms of output and value

This essay asserts that to effectively degrade and ultimately destroy the Islamic State of Iraq and Syria (ISIS), and to topple the Bashar al-Assad’s regime, the international

19% serve a county. Fourteen per cent of the centers provide service for adjoining states in addition to the states in which they are located; usually these adjoining states have

Standardization of herbal raw drugs include passport data of raw plant drugs, botanical authentification, microscopic & molecular examination, identification of

The projected gains over the years 2000 to 2040 in life and active life expectancies, and expected years of dependency at age 65for males and females, for alternatives I, II, and

innovation in payment systems, in particular the infrastructure used to operate payment systems, in the interests of service-users 3.. to ensure that payment systems

The Board comprises eight members, namely the Chief Executive Officer and his Alternate Director, an Executive Director, two Non-Executive Directors and three Independent