Ultra-Low Power | High Integration | Easy-to-Use

Slides:



Advertisements
Similar presentations
Introduction to DFT Alexander Gnusin.
Advertisements

Z. Stamenković 1, M. Giles 2, and F. Russi 2 1 IHP GmbH, Frankfurt (Oder), GERMANY 2 Synopsys Inc., Mountain View, CA, USA 13th IEEE European Test Symposium,
(Systems Analysis INTerface Board)
BOUNDARY SCAN.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 31/22alt1 Lecture 31 System Test (Lecture 22alt in the Alternative Sequence) n Definition n Functional.
1 of 24 The new way for FPGA & ASIC development © GE-Research.
FPGA Configuration. Introduction What is configuration? – Process for loading data into the FPGA Configuration Data Source Configuration Data Source FPGA.
Apr. 20, 2001VLSI Test: Bushnell-Agrawal/Lecture 311 Lecture 31 System Test n Definition n Functional test n Diagnostic test  Fault dictionary  Diagnostic.
LOGSYS Development Environment of Embedded Systems Tamás Raikovich Béla Fehér Péter Laczkó Budapest University of Technology and Economics Department of.
Chip and Circuit Board Debugging Adam Hoover JTAG.
Lecture 28 IEEE JTAG Boundary Scan Standard
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 301 Lecture 30 IEEE JTAG Analog Test Access Port and Standard n Motivation n Bus overview n.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 291 Lecture 29 IEEE JTAG Advanced Boundary Scan & Description Language (BSDL) n Special scan.
1 Presented by Yifat Kapach jtag course What is SCITT? Static Component Interconnection Test Technology Standard IEEE P1581.
BEEKeeper Remote Management and Debugging of Large FPGA Clusters Terry Filiba Navtej Sadhal.
IEEE 1532 (ISC) June, 2006 Alexander Brill. Reminder - IEEE Institute of Electrical and Electronics Engineers It is the world's leading professional association.
Real-Time Systems Design JTAG – testing and programming.
Spring 07, Jan 25 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 VLSI System DFT Vishwani D. Agrawal James J. Danaher.
Presented by Karin Shusterman Another use of the JTAG Interface on FPGA.
Copyright © 2006 Intel Corporation, released under EPL version /20061 Eclipse DSDP-TM Target Connection Adapters Peter Lachner WW08’06 rev 1.0.
TAP (Test Access Port) JTAG course June 2006 Avraham Pinto.
SiliconAid Solutions, Inc. Confidential SAJE SiliconAid JTAG Environment Overview – Very Short.
111 Target Hardware Debug ULINK2 and ULINK-ME Including Real-Time Agent.
MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida.
MSP Ultra-Low Power | High Integration | Easy-to-Use “How To” Series: Clock System.
Team Members Jordan Bennett Kyle Schultz Min Jae Lee Kevin Yeh.
1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University
EET 252 Unit 5 Programmable Logic: FPGAs & HDLs  Read Floyd, Sections 11-5 to  Study Unit 5 e-Lesson.  Do Lab #5.  Lab #5a due next week. 
Scan and JTAG Principles1 Scan and JTAG Principles ARM Advanced RISC Machines.
The 6713 DSP Starter Kit (DSK) is a low-cost platform which lets customers evaluate and develop applications for the Texas Instruments C67X DSP family.
JTAG
® ChipScope ILA TM Xilinx and Agilent Technologies.
Premduth Vidyanandan & Adrian Hernandez
XC9000 Series In-System Programming (ISP) and Manufacturing Flows Frank Toth February 20, 2000 ®
JTAG for dummies 31/01/2013 DCG #7812
BS Test & Measurement Technique for Modern Semi-con devices & PCBAs.
Suggestions for FPGA Design Presentation
National Taiwan University JTAG and Multi-ICE Speaker : 沈文中.
Altera Technical Solutions Seminar Schedule OpeningIntroduction FLEX ® 10KE Devices APEX ™ 20K & Quartus ™ Overview Design Integration EDA Integration.
MJS1 Computer Society SCC20 Hardware Interface Committee PAR Proposal: IEEE-P Portable-Bench Top Universal Pin Map.
Chapter 5: Implementing Intrusion Prevention
An Unobtrusive Debugging Methodology for Actel AX and RTAX-S FPGAs Jonathan Alexander Applications Consulting Manager Actel Corporation MAPLD 2004.
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS Boundary Scan.
April 20, 2001VLSI Test: Bushnell-Agrawal/Lecture 281 Lecture 28 IEEE JTAG Boundary Scan Standard n Motivation n Bed-of-nails tester n System view.
HCS12 Technical Training Module 15 – Break Module Slide 1 MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other.
CCB to OH Interface M.Matveev Rice University February 22,
PROGRAMMABLE LOGIC CONTROLLER
© Aeroflex Ltd 2013 The copyright in this document is the property of Aeroflex Ltd and is supplied on the express terms that it is treated as confidential.
AT91SAM7 Flash Programming Solutions. ARM-Based Products Group 2  Introduction Flash Programming Terms, Definitions and Glossary  Flash Programming.
NAM S.B MDLAB. Electronic Engineering, Kangwon National University 1.
HOME SECURITY SYSYTEM P.SHRAVAN KUMAR- 08N11A0477 K.RAKESH- 08N11A0444 M.INTHIYAZ- 08N11A0470 S.MUSTHAFEER - 08N11A0499 Under the guidance of D.HEMANTH.
© LATTICE SEMICONDUCTOR CORPORATION 2000 Uudet mikropiirit JTAG February Lattice Confidential Lattice Semiconductor The Leader in ISP TM PLDs Presents.
SYSTEM-LEVEL TEST TECHNIQUES INTRODUCTION In the 1970s, the in-circuit testing (ICT) method appeared. In the 1970s, the in-circuit testing (ICT) method.
1 of 24 The new way for FPGA & ASIC development © GE-Research.
10- Lock Bits, Fuse Bits and Boot Loader. Boot Loader Support – Read-While-Write Self- Programming: The Boot Loader Support provides a real Read-While-Write.
AVR JTAG Interface The JTAG (Joint Test Action Group) development started about 1985 as a method to test populated circuit boards after manufacture. The.
Vinculum II Development Modules
An Unobtrusive Debugging Methodology for Actel AX and RTAX-S FPGAs
AVR JTAG Interface The JTAG (Joint Test Action Group) development started about 1985 as a method to test populated circuit boards after manufacture. The.
VLSI Testing Lecture 14: System Diagnosis
Tutorial Introduction
COP Interface Requirements
Project guide B. SUBBULAKSHMI M. E Assistant Professor C. A. R
JTAG Emulators JTAG emulator Target System Debugger software
JTAG and Multi-ICE National Taiwan University
Future Designs, Inc. Your Development Partner
Chapter 13 – Programmable Logic Device Architectures
JTAG Emulators JTAG emulator Target System Debugger software
JTAG, Multi-ICE and Angel
Command and Data Handling
Presentation transcript:

Ultra-Low Power | High Integration | Easy-to-Use MSP430 Ultra-Low Power | High Integration | Easy-to-Use “How To” Series: JTAG 2011

Introduction Purpose Objectives Provide a brief but informative technical overview in “HOW-TO” use the MSP430 JTAG interface Objectives Discuss What is JTAG? Discuss how JTAG applies to MSP430 devices Discuss Interface capabilities Discuss Design considerations Hello, welcome to the MSP430 “How to” use JTAG interface product training module. This session is intended to provide a brief but informative technical overview in “HOW-TO” use the MSP430 JTAG interface; both in terms of understanding its purpose as well as how to best leverage this interface in your specific MSP430 HW design. Over the next few slides we will be looking into JTAG, how it is used in MSP430 & its capabilities, and considerations that you should keep in mind when designing with MSP430.

What is JTAG? “JTAG”- Joint Test Action Group Originally and industry group formed to develop methodology for testing circuit board assemblies after manufacture Industry standard IEEE Std. 1149.1-1990 Synonymous with Debugging, Memory programming and/or Boundary scan testing 4 or 5 wire physical interface TDI (Test Data In), TDO (Test Data Out), TCK (Test Clock), TMS (Test Mode Select), TRST (Test Reset) optional No standard connector or adapter HW Vendor-specific, often with extensions that use the JTAG interface First, let’s take a look at JTAG and what it is. JTAG stands for “Joint Test Action Group” and was originally crafted as an entity that developed test methods for printed circuit boards. The guidelines and implementation was adopted as an IEEE industry standard in 1990 and has come to represent the interface by which an embedded design can be programmed, debugged and tested. Physically, JTAG is a 4 wire interface (5-wire if considering the optional reset pin) consisting of data I/O, clock and mode signals. While the pinout is standard, there is no defined HW interface standard. The physical connector used by suppliers of JTAG-enabled products are free to identify a pinning that suits their specific portfolio and tool chain requirements. Reference: Wikipedia http://en.wikipedia.org/wiki/Joint_Test_Action_Group

How JTAG applies to MSP430 devices All MSP430 devices are debugged and primarily programmed using JTAG Standard 4-wire JTAG Custom 2-wire “SBW” JTAG (supported on select MSP430 devices) MSP430 uses a 2x7 14-pin header for JTAG connectivity Reduced pin headers used on some eZ430 HW for SBW-only Note Boundary Scan is not supported on MSP430 devices today In-system & BSL are options for memory programming, but only a JTAG interface can be used to debug JTAG can be disabled to protect SW IP Now that we have defined what JTAG is, lets dive into what JTAG more specifically means for the MSP430 family. MSP430 JTAG is by definition the 4-wire JTAG interface described earlier: TDO, TDI, TCK & TMS. It is present on all MSP430 catalog devices and is the fundamental interface by which every MSP430 can be programmed as well as debugged. The physical interface is defined as a 2x7 14-pin connector and is used on almost all MSP430 development boards and programmers. In addition to the standard 4-wire JTAG interface, some select MSP430 devices also support a 2-wire TI-proprietary JTAG interface called Spy-Bi-Wire, or “SBW” for short. Simply put, the TI SBW interface time division multiplexes the TDI, TDO & TMS signals along one data connection and TCK is retained as the second connection for clock. Given the implementation, SBW is a bit slower than standard JTAG but makes connecting to the MSP430 easier by cutting required connections by half. Keep in mind that while there are other methods of programming an MSP430 such as bootstrap loader or a custom interface leveraging MSP430’s flexible in-system programming capabilities, JTAG is the only method of debugging an MSP430 MCU. Lastly, an element of JTAG: Boundary scan which can be used to do signal chain I/O testing in multi-IC designs, is not supported today on the MSP430 portfolio. This has been excluded in order to avoid increased silicon costs and more importantly, avoid increased active and standby currents required when implementing boundary scan. This should not create any issues for developers but should be considered up front in systems where designer’s may have been typically leveraging boundary scan on other embedded processors.

Interface capabilities: 4-Wire All MSP430’s support 4-wire mode A RST connection to the JTAG header is not required on devices that DO NOT support SBW (e.g. 100pin ‘1xx) TEST must be connected when present the device General Connections (see Hardware Tool’s User’s Guide and device-specific datasheets for more information) MSP430 4-Wire JTAG Signal Implementation Overview Devices TEST Pin 4-Wire 20-and 28-pin MSP430F1xx devices* YES 64-, 80-, and 100-pin MSP430F1xx/4xx devices * NO MSP430F21x1 family * 14-, 20-, 28-, and 38-pin MSP430F2xx devices 64-, 80-, and 100-pin MSP430F2xx devices * 14-, 16-, 20-, 28-, and 32-pin MSP430G2xx devices MSP430F5xx/6xx devices Let’s take a look at the specifics of the MSP430 JTAG interface, starting with the standard 4-wire implementation. The figure shown is from the MSP430 Hardware Tools Users Guide available on TI.com. There you can find additional information not shown here as well as details regarding our other MSP430 catalog tools and programmers with schematics provided. Shown in the figure is the standard interface via 4-wire JTAG to any MSP430. This is found as such in our tools and development boards as well as intended for use by developers designing custom hardware for the MSP430. Required connections are TDO, TDI, TCK, TMS and GND. When using MSP430 devices that also support SBW, RST is also required (we will cover SBW details in the next slide). The TEST signal is also required IF the given MSP430 device in-use comes equipped with the TEST pin. MSP430 devices that typically make use of TEST are those that have shared pins with JTAG as well as application functionality (such as a UART, timer I/O or other GPIO functions). The TEST signal is used to enable JTAG on those shared pins as well as providing a pin interface to permanently disable the JTAG interface on devices that implement a physical JTAG fuse (such as the 1xx, 2xx and 4xx families). Customers desiring to protect SW IP after programming can disable the device using this fuse and the TEST pin connection. Vcc is not strictly required but highly recommended in order to maintain reliable logic levels during communication. When provided by the host programmer, Vcc can be sourced on pin 2 of the standard MSP430 JTAG header. Alternatively, when the Vcc of the target device is provided on-board and not sourced by the tool, the local Vcc can be provided on pin 4. When used with standard TI MSP430 programmers, this voltage is used as a reference for level shifting the JTAG connections providing proper CMOS logic level transitions during communication. The table shown indicates device and device sub families that require a TEST pin connection in addition to the 4-wire JTAG. Remember that any devices supporting SBW also carry slightly different pin naming as well. For more details on the SBW implementation, lets take a look at the next slide… Pin Naming for SBW-capable devices: RST = RST/SBWTCK TEST = TEST/SBWTDIO * These devices do not support the SBW option

Interface capabilities: 2-Wire SBW When physical fuse blow IS needed (e.g. 2xx devices): Header connection of TEST/VPP required R2 is required to protect the TCK pin When physical fuse blow IS NOT needed (e.g. all 5xx/6xx devices): Omit header connection to TEST/VPP R2 = 0 Ohm C2 must not exceed 2.2nF to assure reliable SBW communication General Connections (see Hardware Tool’s User’s Guide and device-specific datasheets for more information) MSP430 2-Wire JTAG Signal Implementation Overview Devices TEST Pin 2-Wire SBW 20-and 28-pin MSP430F1xx devices * YES NO 64-, 80-, and 100-pin MSP430F1xx/4xx devices * MSP430F21x1 family * 14-, 20-, 28-, and 38-pin MSP430F2xx devices 64-, 80-, and 100-pin MSP430F2xx devices * 14-, 16-, 20-, 28-, and 32-pin MSP430G2xx devices MSP430F5xx/6xx devices As discussed previously for 4-wire, here are the specifics to MSP430 SBW support. As you can see, the connections required reduce simplifying the physical design requirements to interface to the MSP430. The connections consist of the clock, SBWTCK as well as the bidirectional data line, SBWTDIO. These pins of the given MSP430 are to be connected to pin 1, TDO/TDI, and pin 7, TCK, respectively in order for the SBW interface to properly function with a MSP430 JTAG programmer. GND and VCC connections apply as described earlier for the 4-wire implementation and are identical. Handing of the TEST pin at the programmer side, pin 8 on the header, is only required in the case that a physical JTAG fuse on a given MSP430 target device needs to be blown post-programming. If this is the case, it is important to also provide R2 as shown above. This will protect the TCK pin of the programmer from the high fuse blow voltage that is driven onto the TEST/SBWTCK pin during the fuse blow procedure. An additional requirement is regarding capacitance on the RST/SBWTDIO pin. Often, having a small capacitance on this pin is helpful in-design to reduce noisy transitions that can appear, resetting the device during power transients or noisy events such as ESD discharges and PCB-related noise coupling. A typical value is 10nF however must be kept below a maximum of 2.2nF for valid SBW communication. Values exceeding this may degrade the high/low edge transitions to a point that SBW communication is no longer possible. In designs that need a larger capacitor on RST for any reason, it should only be populated AFTER the SBW programming of the target. Here you can also find a table indicating MSP430 devices and sub families supporting the SBW mode. Support for SBW is found typically on our smaller devices due to the advantages of consuming fewer pins with a minimized application design impact. All newer F5xx and F6xx devices support both 4-wire and 2-wire SBW, independent of physical size or pin count. * These devices do not support the SBW option

Design considerations JTAG pins are often multiplexed in the device Consider using non-JTAG functions in-application carefully to avoid conflicts with JTAG tools & communication signals Using a larger capacitor on RST in-application is sometimes favorable to help filter noise that might cause unwanted resets This is acceptable in-application, but limit to 2.2nF for purposes of using JTAG Keep routing of JTAG/RST/TEST signals as short as possible & isolated from other circuitry Protects against noise coupling into the application during debug Helps limit exposure of JTAG/RST pins to unwanted spikes due to noise, ESD, etc. When one or more JTAG pins are not used, please refer to the device-specific User’s Guide section “Connection of Unused Pins” for guidance When programming via JTAG, keep in mind 4-wire JTAG is ~3x faster than using SBW Now lets wrap up by taking a look into a few design considerations valuable for developing customer solutions with MSP430. As mentioned earlier, JTAG pins of the MSP430 is often multiplexed with other GPIO or peripheral functions. This should be considered up front in the design planning and system definition. It is a good practice to use these pins in application as a last resort when equivalent functions exist on other non-JTAG pins. In the case these pins must be used, consider the direction required for JTAG communication and connect accordingly to avoid any logic contention between the host programmer and the system circuitry. This is not a concern when using the SBW interface for MSP430 JTAG. Also keep in mind the capacitor on the RST pin to avoid overloading, especially during SBW activity. It is a good practice to be conscious of routing placement of JTAG signals in any design. Not only can these signals generate noise during JTAG access that might interfere with the application, but it is also possible for the application environment to project noise onto the JTAG lines causing errant operation of the device. Most notably, one might see sporadic RST behavior triggered by noise coupling onto the RST pin if noise free PCB design is not considered for the RST line. This is generally only an issue if traces get long, if they are close to noisy circuitry or perhaps are susceptible to ESD strikes. When JTAG or any MSP430 pin is not used in a design, please consult the device-specific family user’s guide for recommendations & requirements for properly handling these connections. This is typically found in chapter 1 or 2 of the given users guide near the end of the chapter. And lastly, remember the tradeoffs for choosing 4- or 2-wire JTAG on the MSP430. The 4-wire approach requires more pins but is compatible with ALL MSP430 devices and is the fastest manner in which to program the memory. SBW will provide few physical connections but will be ~1/3 the interface speed vs 4-wire JTAG due to the multiplexing implemented to reduce the pin count.

References MSP430 Hardware Tools User's Guide Describes the hardware of the Texas Instruments MSP-FET430 Flash Emulation Tool, the primary development tool for the MSP430, as well as a broad selection of other MSP430 target boards and development platforms. MSP430 Programming Via the JTAG Interface Describes the functions required to erase, program, and verify the memory module of the MSP430 using the JTAG communication port (4-wire & 2-wire “SBW”) for use when developing custom programming solutions; an example implementation is provided. Your specific MSP430 device’s datasheet & Family User’s Guide Here are a few links to additional references on the MSP430 JTAG topic. Within these documents you can find additional information to that presented as well as details as to how one can implement their own custom JTAG host for programming a target MSP430 device. And as always, keep in mind the valuable information in the device-specific datasheet and family user’s guide. Thanks for your time and thanks for your interest in using the Texas Instruments MSP430 microcontroller family.

Thank you!