of Boundary Scan techniques.

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

Saving time & money with JTAG

7 Nov 2017 Testing and programming PCBA s

XJTAG DFT Assistant for

XJTAG DFT Assistant for

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

16 Dec Testing and Programming PCBA s. 1 JTAG Technologies

XJTAG DFT Assistant for

XJTAG DFT Assistant for

Tools to Debug Dead Boards

the Boundary Scan perspective

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

Using the XC9500/XL/XV JTAG Boundary Scan Interface

XJTAG. Boundary Scan Tool. diagnosys.com

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)

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

Remote Diagnostics and Upgrades

UNIT IV CMOS TESTING. EC2354_Unit IV 1

3. Configuration and Testing

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

Comparing JTAG, SPI, and I2C

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

CHAPTER 3 EXPERIMENTAL SETUP

PCB Test & Programming Solutions

Using the XSV Board Xchecker Interface

Concurrent Programming through the JTAG Interface for MAX Devices

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

Section 24. Programming and Diagnostics

BSDL Validation: A Case Study

Unit V Design for Testability

Section 24. Programming and Diagnostics

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

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

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

Digital Integrated Circuits Lecture 19: Design for Testability

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

Product Update. JTAG Issues and the Use of RT54SX Devices

JTAGcable II In Circuit Emulator for Atmel AVR microcontrollers. User s Guide REV 1.0. Many ideas one solution

Raspberry Pi debugging with JTAG

Document Part Number: Copyright 2010, Corelis Inc.

Keysight Technologies x1149 Boundary Scan Analyzer. Technical Overview

Configuring FLASHlogic Devices

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

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

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

Design of Vision Embedded Platform with AVR

Avoiding False Pass or False Fail

Chapter 19 IEEE Test Access Port (JTAG)

Test strategies for industrial testers for converter controls equipment

Take advantage of these channels in your marketing!

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

FPGA-BASED EDUCATIONAL LAB PLATFORM

In-System Programmability Guidelines

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

Using IEEE Boundary Scan (JTAG) With Cypress Ultra37000 CPLDs

EEM Digital Systems II

BABAR IFR TDC Board (ITB): system design

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

SignalTap Plus System Analyzer

VLSI Test Technology and Reliability (ET4076)

STB Front Panel User s Guide

JTAG Test Controller

Using on-chip Test Pattern Compression for Full Scan SoC Designs

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

CoLinkEx JTAG/SWD adapter USER MANUAL

Universal ByteBlaster

IMPLEMENTATION OF A BINARY SELECTION SYSTEM CREATED IN XILINX USING FPGA

SµMMIT E & LXE/DXE JTAG Testability for the SJ02 Die

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

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

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

Memec Spartan-II LC User s Guide

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

Design for Testability

M89 FAMILY In-System Programmable (ISP) Multiple-Memory and Logic FLASH+PSD Systems for MCUs

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

At-speed testing made easy

Chapter 10 Exercise Solutions

Y. Tsiatouhas. VLSI Systems and Computer Architecture Lab. Boundary Scan (JTAG ) 2

Image Processing Using MATLAB (Summer Training Program) 6 Weeks/ 45 Days PRESENTED BY

FPGA Design. Part I - Hardware Components. Thomas Lenzi

Programmable Logic Design I

MATLAB & Image Processing (Summer Training Program) 4 Weeks/ 30 Days

Using an IEEE Test Bus for Fault Diagnosis of Analog Parts of Electronic Embedded Systems. Zbigniew Czaja 1, Bogdan Bartosinski 2

Interfacing the TLC5510 Analog-to-Digital Converter to the

Device 1 Device 2 Device 3 Device 4

JRC ( JTAG Route Controller ) Data Sheet

EMI/EMC diagnostic and debugging

Simulation Mismatches Can Foul Up Test-Pattern Verification

Embedded System Training Module ABLab Solutions

@DonAndrewBailey

ASTRIX ASIC Microelectronics Presentation Days

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

University Program Design Laboratory Package

K.T. Tim Cheng 07_dft, v Testability

University Program Design Laboratory Package

DIGITAL INSTRUMENTS S.R.L. SPM-ETH (Synchro Phasor Meter over ETH)

OpenOCD - Beyond Simple Software Debugging

Enhanced JTAG to test interconnects in a SoC

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

Transcription:

SMT TEHNOLOGY Boundary Scan Techniques for Test Coverage Improvement When discussing the JTAG protocol, most engineers immediately think of In System Programming procedures. Indeed, there are numerous Microcontrollers (or FPGAs, CPLDs) that employ this protocol when it comes to their programming and such applications are widely spread throughout the industry. The fact is that this protocol can be also used for different other purposes which can strengthen your testing techniques. Boundary Scan testing (sometimes called JTAG testing) methods can significantly help you improve the TC (Test Coverage). This paper presents dedicated hardware and software tools which are focused on performing Boundary Scan (BS) testing. Additionally, some basic principles of the 1149.1 standard are described. Introduction In the last decades we have witnessed the proliferation of SMDs which incorporate increasingly complex functions into more and more reduced package sizes. This trend translates into integrating more devices on a smaller PCB area, fact which raises numerous test access issues. The challenge is to be able to adapt the test techniques to customer requests taking into account more and more I/O pins, less interpin spacing or sometimes no access to inner pins (in the case of BGA devices). In the late 1990s the JTAG ( Joint Test Action Group), composed of important electronics manufacturers, have promulgated the IEEE 1149.1 standard. This standard sets the rules and procedures for implementation of Boundary Scan techniques. Several other standard revisions have been adopted since then (like 1149.6 or 1149.7). Shortly said, using non-invasive testing, BS can help you obtain the following benefits: On each accessible net detection of Shorts, Opens, Missing Pull resistors, Stuck at 0 or 1. Testing of Microprocessors, FPGAs, CPLDs and other JTAG enabled devices. Testing of memory devices like DDRs, SRAMs, SDRAMs, Flash or EEPROMs. Testing of different other categories of devices like sensors, ADCs, Oscillators, Logic Devices, Serial Devices, Switches, LEDs and so on. Implementation of classical programming algorithms. Fast and reliable execution of all BS tests which can determine an improved Coverage. Two preliminary considerations must be known. The UUT must have at least one JTAG enabled device (usually Micropro - cessors) which can be seen as the entrance point for the test vectors or signals. Basically, your BS tool will send/read different test signals via this entrance point. These signals spread throughout all accessible nets. Values on these nets will be modified, read, compared and finally test results will be evaluated. This allows the non-invasive interaction with all previously mentioned devices. So your UUT must provide access (via TPs or Connectors) to the BS enabled device dedicated pins. Four mandatory and one optional signal constitute the connection between your BS test tools and the Test Access Port on the entrance device. Next, for the JTAG enabled device, one should have the so called BSDL (Boundary Scan Description Language) file. This file is usually provided free of charge by the device manufacturer. The BS tools need this file for the software setup of the tests. This file includes info like the logical port description, pin mapping, device ID code and so on. Consider Figures 1 and 2 as a summary of what has been discussed. These images are obtained courtesy of XJTAG (www.xjtag.com), a company which is specialized in BS tools and implementations. Figure 1 presents the UUT defects which can be detected by the BS implementation. Notice that procedures for detecting these faults are automatically included by dedicated software within the so called Connection Test. This test checks all connectivity around the JTAG enabled device and evaluates if it is in accordance with the design specifications. Figure 2 shows the classical architecture of the JTAG enabled device. The BS tools will use the Test Data In (TDI) to send the test signals to the UUT and the Test Data Out (TDO) to read the test signals from the UUT. The procedures are coordinated by the Test Clock (TCK) and the Test Mode 16 Electronica Azi SMT Noiembrie - Decembrie 6.2015 www.electronica-azi.ro

BOUNDARY SCAN TECHNIQUES Select (TMS) pins. The optional Test Reset (TRST) might be used to switch the behavior of the device from normal operation mode to the BS test mode. Note that this device has the Boundary Scan Cells that are used to implement the test procedure. In normal operation these cells may be ignored, however when BS is active, the cells isolate the Core Logic from the I/O pins and the Boundary Scan Register takes over. In principle, once the connection from the BS tools to the TAP (see figure 2) has been correctly set up, the BS Cells will be used as switches to pass data serially or parallel out and in the device which is tested. In this way, test vectors are shifted on all accessible paths from your PCB design. It is possible to have multiple JTAG enabled devices on an UUT. In this case one could create multiple scan paths in the sense that we are going to need multiple TDIs, TDOs, TMSs and TCKs. Also, according to your PCB design, multiple JTAG devices can share the same TMS and TCK signals. In this case we can say that the TDI/TDO signals are independent, however data must be applied in parallel. Usually, the most common PCB architecture is similar to the one presented in figure 3. With this architecture all states of the BS components are manipulated at the same time. Using the TAP Connector data will be serially shifted from one device to another. The BS Chain Test will consist in sending The Pull resistors from figure 3 may be used as guidelines when developing the PCB design with JTAG test possibilities. More intuitive, consider figure 4. This image presents the layout of the Alfa Test Demo Board ver.1. This PCB has been developed by Alfa Test and it is used for demonstration purposes in ICT, Flying Probe, Functional Testing, Optical Inspection, X-Ray Inspection and LCD Figure 1: What can be evaluated via BS Connection Testing Figure 2: Architecture of a JTAG enabled device How it works The following paragraphs describe the way in which the implementation of BS testing works. Alfa Test is closely collaborating with XJTAG in order to deliver specific BS projects. So the recommendations which will be presented are based on our accumulated experience working and integrating XJTAG tools. Figure 3: Architecture of most common BS Chain Setup data from the TDI on the TAP Connector to the TDI pin of the First Device. Next, from the TDO pin of the First Device to the TDI pin on the Second Device and so on. Finally, the TDO pin of the Last Device on the PCB will return the test data to the TDO on the TAP Connector. image inspection. An analogy with figure 3 is noticeable. Two JTAG enabled devices are included in the Chain. Device 1 is a XC2C256 BGA CPLD while Device 2 is an ATMEGA32 µc. These devices provide the access gates to more not JTAG enabled components. Electronica Azi SMT November - December 6.2015 17

SMT TEHNOLOGY Either the USB or the PXI controller allows you to establish the connection to the TAP Connector of your UUT. This hardware communicates with the JTAG Chain and is used by the XJTAG Software Application. Basically, you need the XJLink2 to pass test data between your UUT and the software BS project. In addition to the hardware, the software provided by XJTAG includes device drivers and a set of four base applications. Their description is presented in the following paragraphs. Figure 4: BS TDI and TDO signals on Alfa Test Demo Board ver.1 So just by using the TAP port, via both JTAG enabled devices, a collection of other accessible devices can be tested (most important components being (SRAM, EEPROM, FLASH, ADC, LEDs, LOGIC Devices, Switches etc.). Testing sequences or have been integrated in Keysight 3070 ICT. At Productronica 2015, Alfa Test has presented a working solution which performs BS in the Takaya 9411CE Flying Probe system. This solution is still to be improved since due system, the latest of the series. Boundary Scan Tools and Examples Over the past years Alfa Test has gained experience in working and developing BS solutions using XJTAG tools. Suffice to say that these projects can run in Functional Different hardware tools are available on the XJTAG website, however we will refer to the XJLink2 controller which is available on both USB and PXI connectivity (see figures 5 and 6). Figure 5: XJLink2 USB connectivity with the host PC 18 Electronica Azi SMT Noiembrie - Decembrie 6.2015 The XJ Developer is the most complete package and allows the development of a BS project from start. This software requires some expertise in programming and hardware knowledge at component level. It automates a lot of the setup work and it is used to define the JTAG Chain, allocate the devices to be tested and obtain UUT coverage based on the schematics. So you actually don t need a physical connection to the UUT for obtaining the coverage. The XJ Developer uses details from the Schematics, NetList, BOM and the BSDL files in order to setup the Chain and provide information about what can be tested and what cannot be tested. For testing non JTAG devices a library of already developed files is included. Latest updates to what devices can be tested are available on the XJTAG webpage. Figure 6: XJLink2 PXI Chassis connectivity www.electronica-azi.ro

BOUNDARY SCAN TECHNIQUES The XJ Runner is a tool which allows the user to execute projects already built by using the XJ Developer. So this tool does not allow project editing. It was designed It can also be used to run SVF and STAPL/JAM files, files which can be built to execute a small program sequence using a JTAG enabled device. Figure 7 presents a snapshot of the XJ Developer project Chain Setup for the Alfa Test Demo Board ver.1. Figure 8 presents the BS results after running a test on the XJTAG Demo Board v3.1. This shows how test results are displayed once a project setup has been completed. XJTAG projects can be called from LabVIEW/TestStand programs so the BS results can be included in such a test flow. BS data can also be transferred to text files so an analysis can be performed. The latest addition to the software packages is the XJ Flash which a specially designed tool for ISP programming for flash devices using JTAG protocol. Additional Information Figure 7: XJ Developer Chain Setup Example on the Alfa Test Demo Board ver.1. Figure 8: XJ Developer test results on the XJTAG Demo Board Ver.3.1. only for running the BS tests. It may be an option for customers that do not want to allocate time for studying how a BS project is designed and implemented. They are usually interested in running the project built by Alfa Test and testing their PCBs. The XJ Investigator is used to detect and diagnose PCB problems. It is dedicated to the in depth analysis of whichever fault has been detected by running the BS tests. Finally, the XJ Analyzer provides a tool which allows real time interaction between the user and the Chain components. It provides a graphical view of JTAG Chain. It facilitates complete control, pin-by-pin oriented, of both pin state (either driven as an output or tristated as an input) and pin value (either high or low when driven). This new technology for testing using XJTAG tools has gained increased interest over the past year. Finally, three important details should be mentioned. First of all, at the event entitled Alfa Test Technology Days (April 2015, Timisoara, Romania), the XJTAG technology has been introduced and presented to over 15 test engineers from different companies acting in the electronics industry. They have been able to see and work hands on with the XJLink2 and the corresponding software tools. The success of Alfa Test with the integration of XJTAG tools in the Takaya 9411CE Flying Probe system has been confirmed at Productronica 2015 (November 2015, München, Germany). This shows the Alfa Test team competence when working with BS tools from XJTAG. XJTAG BS Techniques Demo at Alfa Test Technology Days Electronica Azi SMT November - December 6.2015 19

SMT TEHNOLOGY XJTAG is currently supporting the Measurements and Optical Electronics Department the Faculty of Electronics and Telecommunications from the University Politehnica from Timisoara. The company has facilitated the access of the students to XJLink2 complete kits, thus helping in the tuning of the educational process according to industry latest techniques. Takaya and Alfa Test members at Productronica 2015 after BS integrated in the Takaya flying probe demonstration As a conclusion, BS projects have been deployed with efficiency and are successfully used in production environments. A general view of XJTAG BS dedicated test packages is presented in Figure 9. For all inquiries and discussions please do not hesitate to contact the Alfa Test office. Ph.D. Raul Ionel Application Engineer Alfa Test www.alfatest.ro 4th Year students working with the XJTAG tools, learning BS techniques Figure 9: XJTAG products matrix Alfa Test is the regional distributor and integrator of the XJTAG boundary scan test platform in Romania, Bulgaria, Slovenia, Serbia, Croatia & Macedonia. 20 Electronica Azi SMT Noiembrie - Decembrie 6.2015 www.electronica-azi.ro