Saving time & money with JTAG

Similar documents
the Boundary Scan perspective

Tools to Debug Dead Boards

XJTAG DFT Assistant for

XJTAG DFT Assistant for

A Briefing on IEEE Standard Test Access Port And Boundary-Scan Architecture ( AKA JTAG )

Ilmenau, 9 Dec 2016 Testing and programming PCBA s. 1 JTAG Technologies

of Boundary Scan techniques.

XJTAG DFT Assistant for

16 Dec Testing and Programming PCBA s. 1 JTAG Technologies

7 Nov 2017 Testing and programming PCBA s

XJTAG DFT Assistant for

18 Nov 2015 Testing and Programming PCBA s. 1 JTAG Technologies

XJTAG. Boundary Scan Tool. diagnosys.com

BOARD TEST The powerful combination of flying probe test and JTAG test speeds up testing

CMOS Testing-2. Design for testability (DFT) Design and Test Flow: Old View Test was merely an afterthought. Specification. Design errors.

Testing Sequential Logic. CPE/EE 428/528 VLSI Design II Intro to Testing (Part 2) Testing Sequential Logic (cont d) Testing Sequential Logic (cont d)

IMPROVED SIGNAL INTEGRITY IN EMBEDDED IEEE BOUNDARY-SCAN DESIGNS. Efren J. Taboada. A thesis submitted to the faculty of

ScanExpress JET. Combining JTAG Test with JTAG Emulation to Reduce Prototype Development Time. Ryan Jones Corelis, Inc. An EWA Technologies Company

3. Configuration and Testing

Lecture 17: Introduction to Design For Testability (DFT) & Manufacturing Test

How to overcome/avoid High Frequency Effects on Debug Interfaces Trace Port Design Guidelines

Remote Diagnostics and Upgrades

Based on slides/material by. Topic 14. Testing. Testing. Logic Verification. Recommended Reading:

Subjects. o JTAG Technologies (Rik Doorneweert, Area Manager) o JTAG Technologies B.V. activities o Introduction to (classic) Boundary Scan

UNIT IV CMOS TESTING. EC2354_Unit IV 1

Avoiding False Pass or False Fail

Solutions to Embedded System Design Challenges Part II

Introduction to JTAG / boundary scan-based testing for 3D integrated systems. (C) GOEPEL Electronics -

Design for Testability

Using the XC9500/XL/XV JTAG Boundary Scan Interface

Unit V Design for Testability

ontap BOUNDARY SCAN SOFTWARE PRODUCT FEATURES AND SCREEN TOUR FLYNN SYSTEMS CORP.

Certus TM Silicon Debug: Don t Prototype Without It by Doug Amos, Mentor Graphics

Digital Integrated Circuits Lecture 19: Design for Testability

EXOSTIV TM. Frédéric Leens, CEO

PCB Test & Programming Solutions

CoLinkEx JTAG/SWD adapter USER MANUAL

BTW03 DESIGN CONSIDERATIONS IN USING AS A BACKPLANE TEST BUS International Test Conference. Pete Collins

Keysight Technologies x1149 Boundary Scan Analyzer. Technical Overview

Lecture 23 Design for Testability (DFT): Full-Scan (chapter14)

Scan. This is a sample of the first 15 pages of the Scan chapter.

Section 24. Programming and Diagnostics

SignalTap Plus System Analyzer

Lecture 23 Design for Testability (DFT): Full-Scan

CHAPTER 3 EXPERIMENTAL SETUP

Using the XSV Board Xchecker Interface

SWITCH: Microcontroller Touch-switch Design & Test (Part 2)

Configuring FLASHlogic Devices

Testability: Lecture 23 Design for Testability (DFT) Slide 1 of 43

Instructions. Final Exam CPSC/ELEN 680 December 12, Name: UIN:

Test strategies for industrial testers for converter controls equipment

Concurrent Programming through the JTAG Interface for MAX Devices

Sharif University of Technology. SoC: Introduction

Overview of BDM nc. The IEEE JTAG specification is also recommended reading for those unfamiliar with JTAG. 1.2 Overview of BDM Before the intr

Comparing JTAG, SPI, and I2C

TKK S ASIC-PIIRIEN SUUNNITTELU

Section 24. Programming and Diagnostics

Memec Spartan-II LC User s Guide

A Primer: ARM Trace. Including: ETM, ETB and Serial Wire Viewer, JTAG and SWD V 2.1

Product Update. JTAG Issues and the Use of RT54SX Devices

BSDL Validation: A Case Study

VERWER TRAINING AND CONSULTANCY LTD Supporting the PROFIBUS Group UK & PROFIBUS International

EEM Digital Systems II

Entry Level Tool II. Reference Manual. System Level Solutions, Inc. (USA) Murphy Avenue San Martin, CA (408) Version : 1.0.

Universal ByteBlaster

@DonAndrewBailey

Debugging IDT S-RIO Gen2 Switches Using RapidFET JTAG

Logic Analysis Basics

Logic Analysis Basics

Using SignalTap II in the Quartus II Software

Virtex-II Pro and VxWorks for Embedded Solutions. Systems Engineering Group

In-System Programmability Guidelines

12. IEEE (JTAG) Boundary-Scan Testing for the Cyclone III Device Family

University of Arizona January 18, 2000 Joel Steinberg Rev. 1.6

Document Part Number: Copyright 2010, Corelis Inc.

MULTIPLE TPS REHOST FROM GENRAD 2235 TO S9100

Innovative Fast Timing Design

On-Chip Instrumentation and In-Silicon Debug Tools for SoC Dr. Neal Stollon HDL Dynamics

Simulation Mismatches Can Foul Up Test-Pattern Verification

VLSI Test Technology and Reliability (ET4076)

At-speed Testing of SOC ICs

Testing Digital Systems II

Laboratory Exercise 4

Lecture 18 Design For Test (DFT)

Chapter 8 Design for Testability

Using IEEE Boundary Scan (JTAG) With Cypress Ultra37000 CPLDs

Testing Digital Systems II


SAU510-USB ISO PLUS v.2 JTAG Emulator. User s Guide 2013.

How To Build Megavolt s Small Buffered JTAG v1.2

DUT ATE Test Fixture S-Parameters Estimation using 1x-Reflect Methodology

Sundance Multiprocessor Technology Limited. Capture Demo For Intech Unit / Module Number: C Hong. EVP6472 Intech Demo. Abstract

DSTREAM ARM. System and Interface Design Reference. Version 4.4. Copyright ARM. All rights reserved. ARM DUI 0499E (ID091611)

K.T. Tim Cheng 07_dft, v Testability

EMI/EMC diagnostic and debugging

ASTRIX ASIC Microelectronics Presentation Days

Designing High Performance Interposers with 3-port and 6-port S-parameters

BABAR IFR TDC Board (ITB): system design

This Chapter describes the concepts of scan based testing, issues in testing, need

Based on slides/material by. Topic Testing. Logic Verification. Testing

Transcription:

Saving time & money with JTAG AltiumLive 2017: ANNUAL PCB DESIGN SUMMIT Simon Payne CEO, XJTAG Ltd.

Saving time and money with JTAG JTAG / IEEE 1149.X

Take-away points Get JTAG right from the start Use JTAG more Free Stuff! 3

1 Why JTAG? I II Testability Testability and JTAG 2 3 Use JTAG more JTAG Programming Getting JTAG right from the start Free Stuff 4

JTAG a familiar name Testing JTAG is not new but it s still underused In-Circuit Programmin g CPU Debug It can be found in most PCB designs JTAG is probably built into the silicon you already use so if you have it, use it! Make the most of it if you have it for one purpose, why not use it for all 5

JTAG / Boundary Scan / 1149.x Designed to minimise access difficulties Test Access Port interface is 4/5 signals Gives access to the whole device JTAG devices connect to form a chain Abstracted from device and board complexity No need to know what type of CPU core, or even whether the device is a CPU, FPGA, CPLD, RAM, PHY, etc. 6

1 Why JTAG? I Testability II Testability and JTAG 2 3 Use JTAG more JTAG Programming Getting JTAG right from the start Free Stuff 7

What is testability? Measuring testability is complex Prepare early Test as much as you can Test as quickly as you can 8

What is testability? Testability sounds sensible But when you think about it, what does it mean? Tested for what? 9

What affects testability? Testability is about ACCESS Multiple test methodologies give more complete coverage 10

Test methodologies Different methodologies have different strengths / weaknesses Examples: JTAG Automated Optical Inspection (AOI) X-ray In-Circuit Test (ICT) Presence Correctness Orientation Live Alignment Shorts Opens Quality 11

Aside: using different test methodologies Different methodologies are available at different times ICT generally not available in the lab X-ray might even involve sending out to a 3 rd party Benchtop use of JTAG DESIGN & DEVELOPMENT PRODUCTION & SERVICE Desig n Prototype Manufacturing Hardware Debug Software Debug System Integration Manufacturin g Field Updates 3 rd Party Test JTAG 3 rd Party Test AOI FPT X-ray AOI ICT X-ray 12

What affects testability? Testability is about ACCESS JTAG controller A point of access on a net gives you (some) fault detection Multiple points of access give you better detection and fault diagnosis 13

Better access improves testability Open-circuit fault diagnosis: No open detected Open detected Open located 14

Making sure of testability So the more access I have, the better? 15

Making sure of testability Typical design process where does testability come in? If your design will use JTAG for bring-up, testability just got a big boost anyway but make sure you don t throw away the opportunities! NPI Reviews Is testability (and trade-off against speed) Electronics New Product Introduction (NPI) Time-to-Market Challenges Collect Client Requirements Schematic Design High Volume Document Control reviewed early enough in your NPI process? Design rules Sometimes you simply have to have rules. PCB Layout Netlist Footprint Associations DfM Analysis NPI Document Control Generate BOM & Netlist NPI Document Control Prepare BOM NPI FEEDBACK LOOP Adjust BOM for Volume Basic DfM & DfA Analysis High Volume Document Control PCB Fabrication Prototype Build High Volume Manufacturing 16

Making sure of testability Design validation How? What are the most important things to get right? If only there were some kind of extension that could help! 17

1 Why JTAG? I Testability II Testability and JTAG 2 3 Use JTAG more JTAG Programming Getting JTAG right from the start Free Stuff 18

Testing with JTAG 1149.x JTAG is unaffected by component density The pins of JTAG devices become test points in your circuit JTAG tests non-jtag devices The JTAG devices provide access to test the PCB Particularly useful when the PCB has BGA devices Cheaper/quicker/better diagnostics than functional test JTAG lowers costs Simpler fixtures and test setup This means it s available at a lab bench as well as in the factory 19

For those who last saw JTAG 10 years ago Ways in which things have moved on JTAG tools aimed at board designers not just production test engineers Costs have fallen Support for non-jtag devices has become much easier Test scripts rather than test vectors (vectors are auto-generated) Code re-use both within boards and across designs Model libraries Accelerated in-circuit programming limited only by flash write speed 20

Testing with JTAG 1149.x The circuit is powered during tests Unlike most flying probe / bed-of-nails testers No firmware is used Unlike functional testing JTAG device pins are controlled directly The JTAG signals run at high speed Typically around 10-30 MHz, sometimes faster 21

Test fixture cabling We repeatedly see in test fixtures on JTAG TAP signals: Spaghetti wiring Poor ground connections Try: Twisted pairs (Ground + signal) Or ribbon cables with ground between signals Shielded cables Further reading: www.xjtag.com/signal-integrity-in-test-fixtures/ 22

Testing goes beyond direct access There are many more non-jtag devices than JTAG devices on a PCB Testing non-jtag devices is achieved using the JTAG device pins Because JTAG devices tend to be major ones (CPU, FPGA, CPLD) they have access to many peripherals Access means testability This means that from JTAG you can perform tests based on device functionality 23

Testing goes beyond direct access Examples of functionality-based testing Use pins on the JTAG devices to write data to the non-jtag devices on their nets, and read return data I 2 C devices DDR memory Flash Many others 24

What faults can JTAG testing find? Shorts between nets with JTAG access Shorts to power or ground Open-circuit between JTAG devices Open-circuit between a pin on a JTAG device and a testable non-jtag device Missing or non-powered testable devices Missing pull resistors Faults in logic between JTAG devices or JTAG and testable non-jtag devices Faults around coupling capacitors (using 1149.6) Via functionality-based testing: huge number of additional faults 25

1 Why JTAG? I II Testability Testability and JTAG 2 Use JTAG more JTAG Programming 3 Getting JTAG right from the start Free Stuff 26

Accelerated Programming Programming is a pain it takes time It s a pain in debug Uploading new firmware each time you fix a bug It s a pain in the factory Throughput matters Time on the production line costs money Plain vanilla JTAG is not known for its programming speed, BUT: Accelerated programming using JTAG is as fast as it gets! How does this work? 27

Accelerated Programming Accelerated programming can mean different things The PC may download some code to the JTAG controller to reduce latency/communication between them Better solution is to program a device on the board and use that to program the flash Embedded s/w program on CPU Image for FPGA to configure it as programmer Flash image can be loaded via USB/ethernet, or for an FPGA streamed over the JTAG signals 28

Accelerated Programming Again some thought at design stage brings huge benefits later: Re-flashing during development becomes quick & easy Reduces production line bottlenecks caused by in-system programming Maybe you have access to flash from an FPGA? If not, design in better access to the flash! 29

Accelerated Programming Acceleration scenarios Using Microprocessor or FPGA 30

1 Why JTAG? I II Testability Testability and JTAG 2 Use JTAG more JTAG Programming 3 Getting JTAG right from the start Free Stuff 31

JTAG getting it right JTAG comes with some conditions You have to connect it Laws of physics still apply Signal integrity is important For test time For reliability For programming speed There may be pins which need to be accessible May need access to set the device into JTAG mode Design and layout of the JTAG signals makes a difference Getting it wrong can double (or worse) the time taken to test each PCB 32

Checking connections Multiple devices connected to form a JTAG Chain Multiple devices connected to form a JTAG Chain 33

Checking termination Multiple devices connected to form a JTAG Chain 34

Connector and cable design Again, layout makes a huge difference Avoid routing TDO next to TCK Both on the PCB and in cabling Use multiple Ground connections in the cable Interleave them if you can Don t forget JTAG mode pins Route to header or have some way to set them Keep track lengths/buffer delays as similar as possible Particularly for TMS and TCK www.xjtag.com/about-jtag/design-for-test-guidelines 35

Reporting in XJTAG DFT Assistant 36

XJTAG Access Viewer 37

Saving time and money

Saving time and money Thinking about JTAG at the design stage Get the JTAG chain(s) right use an extension to verify your board design Consider signal integrity for JTAG traces Consider improving access to flash devices Use DFT analysis from your JTAG software to improve testability 39

Saving time and money Thinking about JTAG at the design stage brings benefits sooner than you would think: Use JTAG to test your prototypes Re-use those tests on the production line Benefit from the test coverage that JTAG gives you Use accelerated JTAG solutions for in-system programming both for debug and for production 40

Saving you time and money Get JTAG right from the start Use JTAG more Make use of the FREE STUFF! Altium Extension DFT Guidelines Signal Integrity article 41

We re happy to talk more Come and visit our table-top stand!