Testing and Programming PCBA s during Design and in Production

Similar documents
Extended Boundary Scan Test breaching the analog ban. Marcel Swinnen, teamleader test engineering

The Boundary Scan Test (BST) technology

JTAG Applications. Product Life-Cycle Support. Software Debug. Integration & Test. Figure 1. Product Life Cycle Support

DEDICATED TO EMBEDDED SOLUTIONS

Testing of Digital System-on- Chip (SoC)

Non-Contact Test Access for Surface Mount Technology IEEE

Implementation Details

A NEW TEST STRATEGY FOR COMPLEX PRINTED CIRCUIT BOARD ASSEMBLIES

CHAPTER 11: Flip Flops

In-System Programmability

TABLE OF CONTENTS. xiii List of Tables. xviii List of Design-for-Test Rules. xix Preface to the First Edition. xxi Preface to the Second Edition

Rapid System Prototyping with FPGAs

SPI Flash Programming and Hardware Interfacing Using ispvm System

XMC Modules. XMC-6260-CC 10-Gigabit Ethernet Interface Module with Dual XAUI Ports. Description. Key Features & Benefits

Design For Test (DFT) Guidelines for Boundary-Scan Testing

NAND Flash FAQ. Eureka Technology. apn5_87. NAND Flash FAQ

Programming NAND devices

A universal forensic solution to read memory chips developed by the Netherlands Forensic Institute. The NFI Memory Toolkit II

The Advanced JTAG Bridge. Nathan Yawn 05/12/09

Boundary-Scan Tutorial

Eureka Technology. Understanding SD, SDIO and MMC Interface. by Eureka Technology Inc. May 26th, Copyright (C) All Rights Reserved

TAP CONNECT JTAG CABLE

Implementation of Web-Server Using Altera DE2-70 FPGA Development Kit

Design of a High Speed Communications Link Using Field Programmable Gate Arrays

What is a System on a Chip?

Best Practises for LabVIEW FPGA Design Flow. uk.ni.com ireland.ni.com

The Evolution of ICT: PCB Technologies, Test Philosophies, and Manufacturing Business Models Are Driving In-Circuit Test Evolution and Innovations

Von der Hardware zur Software in FPGAs mit Embedded Prozessoren. Alexander Hahn Senior Field Application Engineer Lattice Semiconductor

Automated Optical Inspection is one of many manufacturing test methods common in the assembly of printed circuit boards. This list includes:

Using the Agilent 3070 Tester for In-System Programming in Altera CPLDs

USB - FPGA MODULE (PRELIMINARY)

Digitale Signalverarbeitung mit FPGA (DSF) Soft Core Prozessor NIOS II Stand Mai Jens Onno Krah

In-System Programming Design TM. Guidelines for ispjtag Devices. Introduction. Device-specific Connections. isplsi 1000EA Family.

Introduction to Programmable Logic Devices. John Coughlan RAL Technology Department Detector & Electronics Division

i.mx USB loader A white paper by Tristan Lelong

Design Verification and Test of Digital VLSI Circuits NPTEL Video Course. Module-VII Lecture-I Introduction to Digital VLSI Testing

Chapter 9 Latches, Flip-Flops, and Timers

Solutions for Increasing the Number of PC Parallel Port Control and Selecting Lines

Getting Started with Embedded System Development using MicroBlaze processor & Spartan-3A FPGAs. MicroBlaze

Overview. Building Partnerships for Tomorrow... INTRODUCTION. Houston

ISP Engineering Kit Model 300

A STUDY OF INSTRUMENT REUSE AND RETARGETING IN P1687

FUNCTIONAL BOARD TEST - COVERAGE ANALYSIS what does it mean when a functional test passes?

Pre-tested System-on-Chip Design. Accelerates PLD Development

Aims and Objectives. E 3.05 Digital System Design. Course Syllabus. Course Syllabus (1) Programmable Logic

MAX II ISP Update with I/O Control & Register Data Retention

Pmod peripheral modules are powered by the host via the interface s power and ground pins.

Introduction to VLSI Testing

Analysis of Hardware and Software Approaches to Embedded In-Circuit Emulation of Microprocessors

Lab Experiment 1: The LPC 2148 Education Board

THE EASY WAY EASY SCRIPT FUNCTION

Modeling Registers and Counters

LatticeECP2/M S-Series Configuration Encryption Usage Guide

Chapter 7 Memory and Programmable Logic

MODULE BOUSSOLE ÉLECTRONIQUE CMPS03 Référence :

8051 MICROCONTROLLER COURSE

Objective. Testing Principle. Types of Testing. Characterization Test. Verification Testing. VLSI Design Verification and Testing.

7a. System-on-chip design and prototyping platforms

Procedure: You can find the problem sheet on Drive D: of the lab PCs. Part 1: Router & Switch

BP-2600 Concurrent Programming System

Solid State Drive Architecture

Primer. Semiconductor Group

Introduction to Digital System Design

ATF1500AS Device Family. Application Note. In-System Programming of Atmel ATF1500AS Devices on the HP3070. Introduction.

Chapter 11. Using MAX II User Flash Memory for Data Storage in Manufacturing Flow

Chapter 10. Boundary Scan and Core-Based Testing

Auditing Contract Manufacturing Processes

Booting from NAND Flash Memory

A Storage Architecture for High Speed Signal Processing: Embedding RAID 0 on FPGA

Hardware User Guide 2.1i

C8051F020 Utilization in an Embedded Digital Design Project Course. Daren R. Wilcox Southern Polytechnic State University Marietta, Georgia

Flexible I/O Using FMC Standard FPGA and CPU Track B&C HWCONF 2013

Fondamenti su strumenti di sviluppo per microcontrollori PIC

Design of a High-speed and large-capacity NAND Flash storage system based on Fiber Acquisition

The following is a summary of the key features of the ARM Injector:

Computer Organization & Architecture Lecture #19

PICNet 1. PICNet 1 PIC18 Network & SD/MMC Development Board. Features. Applications. Description

Digital Systems. Role of the Digital Engineer

USB etoken and USB Flash Features Support

JTAG-HS2 Programming Cable for Xilinx FPGAs. Overview. Revised January 22, 2015 This manual applies to the HTAG-HS2 rev. A

Interfacing Credit Card-sized PCs to Board Level Electronics

Serial Communications

RAPID PROTOTYPING OF DIGITAL SYSTEMS Second Edition

High speed pattern streaming system based on AXIe s PCIe connectivity and synchronization mechanism

White Paper: Pervasive Power: Integrated Energy Storage for POL Delivery

Application Note, V2.2.1, July 2003 AP OCDS Level 1 JTAG Connector. 16-Bit & 32-Bit Microcontrollers. AI Microcontrollers. Never stop thinking.

Serial port interface for microcontroller embedded into integrated power meter

Price/performance Modern Memory Hierarchy

Introducing AVR Dragon

HMS Industrial Networks

Questions from The New SensorTag - IoT Made Easy Webinar

System on Chip Platform Based on OpenCores for Telecommunication Applications

AOI Systems Limited Automated Optical Inspection

AMC13 T1 Rev 2 Preliminary Design Review. E. Hazen Boston University E. Hazen - AMC13 T1 V2 1

White Paper Reduce Total System Cost in Portable Applications Using Zero-Power CPLDs

760 Veterans Circle, Warminster, PA Technical Proposal. Submitted by: ACT/Technico 760 Veterans Circle Warminster, PA

A New Chapter for System Designs Using NAND Flash Memory

Transcription:

Testing and Programming PCBA s during Design and in Production Hogeschool van Arnhem en Nijmegen 6 June 23 Rob Staals JTAG Technologies robstaals@jtag.com Copyright 23, JTAG Technologies juni 3

The importance of Testing 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 times more to find and repair a defect at the next stage of assembly. the part itself at sub-assembly at final assembly at the dealer/distributor. at the customer. Important to find defects in an early stage. 2 Copyright 23, JTAG Technologies juni 3

What are you testing Simplified statement: If all components are correctly soldered - the board should work Assuming: Design is right Components are OK (ppm -.ppm) Conclusion: Testing the interconnections should be sufficient to detect a great deal of bad boards. 3 Copyright 23, JTAG Technologies juni 3

Error analysis based on real PCBA production data Tombstoning Others 3% 6% 26% Shorts incl. SA/SA Component defect 7% Careless placement % Upside down 9% 2% Not placed 7% Opens 4 Copyright 23, JTAG Technologies juni 3

Commonly used Testmethods AOI Automated Optical Inspection 5 Copyright 23, JTAG Technologies juni 3

Commonly used Testmethods AXI Automated X-ray Inspection 6 Copyright 23, JTAG Technologies juni 3

Commonly used Testmethods FP Flying Probe 7 Copyright 23, JTAG Technologies juni 3

Commonly used Testmethods ICT In Circuit Test 8 Copyright 23, JTAG Technologies juni 3

Commonly used Testmethods FT Functional Test 9 Copyright 23, JTAG Technologies juni 3

Functional vs Structural Test 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 if sufficient testpoints are available Copyright 23, JTAG Technologies juni 3

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. Copyright 23, JTAG Technologies juni 3

How to perform a Structural Test on a board containing Hi-density devices like BGA s The probes of a Flying Prober or In Circuit Tester require a minimum clearance and have no access to the BGA pins How to solve this problem? 2 Copyright 23, JTAG Technologies juni 3

How to solve the access problem 3 Copyright 23, JTAG Technologies juni 3

Boundary-scan is the solution to the access problem What is Boundary-scan and how does it work Official standard: IEEE Std. 49.-99 4 Copyright 23, JTAG Technologies juni 3

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

Boundary-scan architecture Additional Testlogic and pins have been added I/ I/ I/ I/ I/ Boundary-Scan Register BSR I/ I/ I/ I/ Bypass TMS TCK TRST Optional Instruction register TMS TCK TRST Test Data In Test Data Out Test Mode Select Test Clock Test Reset

Via a Testvectors is shifted into the BSR Testvector Bypass TMS Instruction register TCK TRST Optional

Shift-in Testvector via Bypass Shift TMS Instruction register TCK TRST Optional

Shift-in Testvector via Bypass Shift TMS Instruction register TCK TRST Optional

Shift-in Testvector via Bypass Shift TMS Instruction register TCK TRST Optional

Shift-in Testvector via Bypass Shift TMS Instruction register TCK TRST Optional

Shift-in Testvector via Bypass Shift TMS Instruction register TCK TRST Optional

Shift-in Testvector via Bypass Shift TMS Instruction register TCK TRST Optional

Shift-in Testvector via Bypass Shift TMS Instruction register TCK TRST Optional

Shift-in Testvector via Bypass Shift TMS Instruction register TCK TRST Optional

Shift-in Testvector via Bypass Shift TMS Instruction register TCK TRST Optional

UPDATE drives the BSR data onto all pins simultaneously Bypass Update TMS TCK TRST Optional Instruction register

UPDATE command 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. This is established with the CAPTURE command. 28 Copyright 23, JTAG Technologies juni 3

CAPTURE simultaneously senses the values on the pins and stores it in the BSR The nets are at a certain logic level. Bypass TMS TCK TRST Optional Instruction register

CAPTURE simultaneously senses the values on the pins and stores it in the BSR Bypass Capture TMS TCK TRST Optional Instruction register

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. Each Bscan I/O pin can be seen as a build-in TESTPROBE. 3 Copyright 23, JTAG Technologies juni 3

Shift-out captured data After the values on the pins have been captured into the BSR the result is shifted out via. The result can be compared with the expected data. Any difference pin-points to the error location. 32 Copyright 23, JTAG Technologies juni 3

Shift-out Captured data via Result Bypass Shift TMS TCK TRST Optional Instruction register

Shift-out Captured data via Result Bypass Shift TMS TCK TRST Optional Instruction register

Shift-out Captured data via Result Bypass Shift TMS TCK TRST Optional Instruction register

Shift-out Captured data via Result Bypass Shift TMS TCK TRST Optional Instruction register

Shift-out Captured data via Result Bypass Shift TMS TCK TRST Optional Instruction register

Shift-out Captured data via Result Bypass Shift TMS TCK TRST Optional Instruction register

Shift-out Captured data via Result Bypass Shift TMS TCK TRST Optional Instruction register

Shift-out Captured data via Result Bypass Shift TMS TCK TRST Optional Instruction register

Compare Captured data with expected result Expected Result Bypass TMS Instruction register Mismatch TCK TRST Optional

Example Test the interconnections between Boundary-scan devices 42 Copyright 23, JTAG Technologies juni 3

Test interconnections between Bscan devices IC IC2 BP IR BP IR TMS TCK Goal: Test the interconnections between IC and IC2 Both - chains are cascaded 43 Copyright 23, JTAG Technologies juni 3

Calculate the required Testvector IC IC2 Testvector xxxx BP IR BP IR TMS TCK. Calculate Testvector for testing the interconnects 44 Copyright 23, JTAG Technologies juni 3

Shift-in testvector via IC IC2 Testvector xxxx BP IR BP IR SHIFT TMS TCK 2. Repeat Shift operation until testvector is in the corresponding cells 45 Copyright 23, JTAG Technologies juni 3

UPDATE IC IC2 Testvector xxxx BP IR BP IR UPDATE TMS TCK 3. The UPDATE command drives the testvector onto the pins of IC and thus on the corresponding nets. 46 Copyright 23, JTAG Technologies juni 3

CAPTURE IC IC2 Testvector xxxx BP IR BP IR CAPTURE TMS TCK 4. The CAPTURE command senses the values on the pins and puts them into the BSR 47 Copyright 23, JTAG Technologies juni 3

Shift-out result and compare with expected IC Testvector xxxx BP IR IC2 Result BP IR xxxx SHIFT TMS TCK 5. The Captured result is shifted-out on and compared with the expected value. Any mismatch pin-points to the location of the failure. Mismatch Caused by an open underneath this pin 48 Copyright 23, JTAG Technologies juni 3

Compare Result with Expected and Diagnose The diagnostics pin-points to the exact error location Errors are shown in inverse video. In this case the result was a however a was expected.. and are for Input H, L and Z are for output 49 Copyright 23, JTAG Technologies juni 3

Faultdetection With the aid of Intelligent testvectors Opens Shorts SA and SA problems are easily detected The Intelligent testvectors are based on an Enhanced Binary Search principle. (Minimum set of Testvectors with a Maximum Testcoverage) 5 Copyright 23, JTAG Technologies juni 3

Testing connectivity of Non-Bscan components Bscan Non-Bscan Bscan Boundary-scan chain 5 Copyright 23, JTAG Technologies juni 3

Testing connectivity NAND Gate A B & Y Bscan Bscan A B Y 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. 52 Copyright 23, JTAG Technologies juni 3

Testing connectivity MEMORY ADD Bscan RAM DATA Bscan Ctrl Boundary-scan chain Stimulate the Add/Data/Ctrl pins to write and read data from the RAM. The information on how to read/write to the memory is described in a model. 53 Copyright 23, JTAG Technologies juni 3

Testing connectivity FLASH ADD Bscan FLASH DATA Bscan Ctrl Boundary-scan chain A model contains all the information on how to get access to the FLASH. 54 Copyright 23, JTAG Technologies juni 3

I/O Connector LoopBack Connector Testing connectivity I/O plus Connector () Bscan Bscan Boundary-scan chain Use loopback connector to test the connectivity of the I/O block and Connector 55 Copyright 23, JTAG Technologies juni 3

I/O Connector External Bscan board Testing connectivity I/O plus Connector (2) Bscan Bscan Boundary-scan chain Use an external Bscan board with required # of I/O pins to get full access. 56 Copyright 23, JTAG Technologies juni 3

Testing connectivity serial devices like I2C, SPI etc. SDA SLC Bscan I2C Bscan Boundary-scan chain Simulating the I2C protocol givess access to the I2C device The information on how to simulate the serial protocol is defined in a model. 57 Copyright 23, JTAG Technologies juni 3

Using the JTAG interface for Programming Besides Testing, the JTAG interface can also be used for Programming. 58 Copyright 23, JTAG Technologies juni 3

Programming CPLD and FPGA Logic cells Interconnections JTAG Interface 59 Copyright 23, JTAG Technologies juni 3

Programming CPLD and FPGA JTAG Interface CPLDs and FPGAs use the JTAG interface to directly download the configuration file into the device. 6 Copyright 23, JTAG Technologies juni 3

Programming CPLD and FPGA JTAG Interface Fortunately, these chips also have a Boundary-scan chain that gives direct access to surrounding devices 6 Copyright 23, JTAG Technologies juni 3

Programming external FLASH ADD Bscan FLASH DATA Bscan Ctrl Boundary-scan chain The Image file gets integrated in the Bscan Addr-Data-Ctrl patterns to program the FLASH. 62 Copyright 23, JTAG Technologies juni 3

Programming Embedded Flash Internal FLASH µ JTAG Interface Some µs have internal flash that gets directly programmed via de JTAG interface 63 Copyright 23, JTAG Technologies juni 3

Demonstration 64 Copyright 23, JTAG Technologies juni 3

Blockdiagram 65 Copyright 23, JTAG Technologies juni 3

Full access through the TAP TAP 66 Copyright 23, JTAG Technologies juni 3

Software tools JTAG Live Buzz Free Download www.jtaglive.com 67 Copyright 23, JTAG Technologies juni 3

Supported controllers 68 Copyright 23, JTAG Technologies juni 3