tools to debug „dead‰ boards · at-speed functional testing of dsp peripherals (memory, i/o)...

19
1 Boundary-Scan Without Boundaries Tools to Debug Tools to Debug Dead Dead Boards Boards Ryan Jones Ryan Jones Senior Application Engineer Corelis Hardware Prototype Bring-up click to start the show

Upload: others

Post on 05-Oct-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Tools to Debug „Dead‰ Boards · At-speed functional testing of DSP peripherals (memory, I/O) In-System-Programming (ISP) of flash devices Functional test, debug, and ISP JTAG

1 Boundary-Scan Without Boundaries™

Tools to Debug Tools to Debug „„DeadDead‰‰ BoardsBoards

Ryan JonesRyan JonesSenior Application EngineerCorelis

Hardware Prototype Bring-up

click to start

the show

Page 2: Tools to Debug „Dead‰ Boards · At-speed functional testing of DSP peripherals (memory, I/O) In-System-Programming (ISP) of flash devices Functional test, debug, and ISP JTAG

2 Boundary-Scan Without Boundaries™

Webinar OutlineWebinar Outline

What is a Dead Board?

Prototype Bring-up & Debug Cycle

Existing Test Tools

Corelis Structural & Emulation Test Tools

Case Study – Complex TI Based Target

click to advance to next slide

Page 3: Tools to Debug „Dead‰ Boards · At-speed functional testing of DSP peripherals (memory, I/O) In-System-Programming (ISP) of flash devices Functional test, debug, and ISP JTAG

3 Boundary-Scan Without Boundaries™

“Dead” generally refers to a board that does not respond, initialize or power-up to an expected state. Failure modes

can typically be broken down into two categories: hardware and software.

What is a What is a „„DeadDead‰‰ Board?Board?

Power Related FaultStructural Fault

Device FaultTiming Problem

HARDWAREFAULTS

Buggy CodeMemory Initialization

Stack OverflowSelf Modifying Code

SOFTWAREFAULTS

click to advance to next slide

Page 4: Tools to Debug „Dead‰ Boards · At-speed functional testing of DSP peripherals (memory, I/O) In-System-Programming (ISP) of flash devices Functional test, debug, and ISP JTAG

4 Boundary-Scan Without Boundaries™

Visually check correct component installationVerify no shorts on power rails to groundApply current-limited power to the board, ensure nothing gets hot, verify voltage levelsLoad basic boot code and functional code to verify CPU and peripheral operation

Prototype BringPrototype Bring--Up CycleUp Cycle

FinishedAssembly

VisualInspection

SmokeTest

VoltageTest Boot-Up Debug

DEAD BOARD

click to advance to next slide

Page 5: Tools to Debug „Dead‰ Boards · At-speed functional testing of DSP peripherals (memory, I/O) In-System-Programming (ISP) of flash devices Functional test, debug, and ISP JTAG

5 Boundary-Scan Without Boundaries™

Engineering ToolboxEngineering Toolbox

Multi-MeterOscilloscope

Logic AnalyzerBus Analyzer

Real-Time TraceDebugger

In-Circuit Emulator

There are many tools that can assist in the debug processHaving the most efficient tool for the job saves engineering timeKnowing which tool to use at the right time is key

click to advance to next slide

Page 6: Tools to Debug „Dead‰ Boards · At-speed functional testing of DSP peripherals (memory, I/O) In-System-Programming (ISP) of flash devices Functional test, debug, and ISP JTAG

6 Boundary-Scan Without Boundaries™

Corelis directly replaces many traditional debug tools by providing automated test generation and low level diagnostic information saving valuable engineering time and effort

Structural testing identifies physical faults such as broken circuit traces, solder bridges and cold solder jointsEmulation testing verifies DSP operation and exercises peripheral interfaces at intended design speeds

Corelis ToolboxCorelis Toolbox

VoltageTest

StructuralTest

EmulationTest Boot-Up

Structural TestEmulation Test

click to advance to next slide

Page 7: Tools to Debug „Dead‰ Boards · At-speed functional testing of DSP peripherals (memory, I/O) In-System-Programming (ISP) of flash devices Functional test, debug, and ISP JTAG

7 Boundary-Scan Without Boundaries™

JTAG ArchitectureJTAG Architecture

Main Building Blocks of a JTAG Device

JTAG Interface PinsTest Data RegistersInstruction RegisterTAP Controller

StructuralTest

click to advance to next slide

Page 8: Tools to Debug „Dead‰ Boards · At-speed functional testing of DSP peripherals (memory, I/O) In-System-Programming (ISP) of flash devices Functional test, debug, and ISP JTAG

8 Boundary-Scan Without Boundaries™

JTAG ScanJTAG Scan--ChainChain

TIDSP

TAPController

TDI

TDO

CoreLogic

CoreLogic

TCK

TMS

InstructionRegister

BypassRegister

TAPController

InstructionRegister

BypassRegister

TAPController

InstructionRegister

BypassRegister

StructuralTest

click to advance to next slide

Page 9: Tools to Debug „Dead‰ Boards · At-speed functional testing of DSP peripherals (memory, I/O) In-System-Programming (ISP) of flash devices Functional test, debug, and ISP JTAG

9 Boundary-Scan Without Boundaries™

JTAG Test VectorsJTAG Test Vectors StructuralTest

click to advance to next slide

Page 10: Tools to Debug „Dead‰ Boards · At-speed functional testing of DSP peripherals (memory, I/O) In-System-Programming (ISP) of flash devices Functional test, debug, and ISP JTAG

10 Boundary-Scan Without Boundaries™

JTAG provides the capability to test interconnects on a PC-board without physical test probes or test fixturesDoes not require the board to be in a bootable state for fault diagnosticsJTAG allows In-System Programming of devices such as Flash, CPLDs, FPGAs and Serial EEPROMs

JTAG BenefitsJTAG Benefits StructuralTest

click to advance to next slide

Page 11: Tools to Debug „Dead‰ Boards · At-speed functional testing of DSP peripherals (memory, I/O) In-System-Programming (ISP) of flash devices Functional test, debug, and ISP JTAG

11 Boundary-Scan Without Boundaries™

Automatic test generation removes engineers from having to create elaborate test casesFast test timesNet/Pin level diagnosticsJTAG helps identify board problems up front meaning general purpose tools like oscilloscopes and voltage meters are used lessTest vectors can be reused in production

JTAG AdvantagesJTAG Advantages StructuralTest

click to advance to next slide

Page 12: Tools to Debug „Dead‰ Boards · At-speed functional testing of DSP peripherals (memory, I/O) In-System-Programming (ISP) of flash devices Functional test, debug, and ISP JTAG

12 Boundary-Scan Without Boundaries™

JTAG Emulation TestJTAG Emulation Test

JET uses a DSP’s JTAG debug port to perform:DSP initializationAt-speed functional testing of DSP peripherals (memory, I/O)In-System-Programming (ISP) of flash devices

Functional test, debug,

and ISP

JTAG Interface

BlackhawkController

SMbus

JTAG

JTAG

Loop back

A/DD/AFlash SRAM DDRSDRAM

RS-232

RS-232

System Bus

Loop back

FPGAs

TI DSP

EEProm

EmulationTest

ScanExpress JETSoftware

click to advance to next slide

Page 13: Tools to Debug „Dead‰ Boards · At-speed functional testing of DSP peripherals (memory, I/O) In-System-Programming (ISP) of flash devices Functional test, debug, and ISP JTAG

13 Boundary-Scan Without Boundaries™

JET BenefitsJET Benefits

Does not require the board to be in a bootable state for fault diagnosticsEmbedded tests are downloaded and run from on-chip DSP memory at-speedProvides testability on all DSP addressable components by exercising their functionalityIn-system programming at theoretical speeds reduces time waiting for code to download

EmulationTest

click to advance to next slide

Page 14: Tools to Debug „Dead‰ Boards · At-speed functional testing of DSP peripherals (memory, I/O) In-System-Programming (ISP) of flash devices Functional test, debug, and ISP JTAG

14 Boundary-Scan Without Boundaries™

JET AdvantagesJET Advantages

Automated test development for DSP initialization, memory and flashDevice level diagnosticsCustomized diagnostic messagesJET rigorously exercises all external memory locations before execution of any boot codeTest vectors can be reused in production

EmulationTest

click to advance to next slide

Page 15: Tools to Debug „Dead‰ Boards · At-speed functional testing of DSP peripherals (memory, I/O) In-System-Programming (ISP) of flash devices Functional test, debug, and ISP JTAG

15 Boundary-Scan Without Boundaries™

Combining JTAG & JETCombining JTAG & JET

Feature JTAG Test Emulation Test Combined Test

Structural coverage Very good Good Excellent

Functional coverage Low High High

Programming (ISP) time Average Excellent Excellent

Test time Fast Fast Fast

Test points required Very few Very few Very few

Test development Automatic Semi Auto Auto/Semi

Diagnostics Excellent Average Excellent

StructuralTest

EmulationTest

CombinedJTAG & JET

click to advance to next slide

Page 16: Tools to Debug „Dead‰ Boards · At-speed functional testing of DSP peripherals (memory, I/O) In-System-Programming (ISP) of flash devices Functional test, debug, and ISP JTAG

16 Boundary-Scan Without Boundaries™

JTAG & JET Fault CoverageJTAG & JET Fault Coverage

• JTAG Pin Connectivity; Noisy Signals• Opens, Shorts & Stuck-At Conditions• DSP Initialization• Component Discovery and Identification• Bad Memory Locations• Flash Communication Problems• Timing Problems

click to advance to next slide

Page 17: Tools to Debug „Dead‰ Boards · At-speed functional testing of DSP peripherals (memory, I/O) In-System-Programming (ISP) of flash devices Functional test, debug, and ISP JTAG

17 Boundary-Scan Without Boundaries™

Board includes twenty-six TI DaVinci™ processorsBoard includes other JTAG and non-JTAG componentsJTAG components include a PowerPC CPU and two FPGAsCorelis JTAG tools are able to perform full interconnect and basic memory pin testingJET to the rescue…JET emulation testing identified crosstalk and signal integrity issues on SDRAM memories that JTAG scans did not detect

Case Study Case Study ―― Complex TI TargetComplex TI Target

click to advance to next slide

Page 18: Tools to Debug „Dead‰ Boards · At-speed functional testing of DSP peripherals (memory, I/O) In-System-Programming (ISP) of flash devices Functional test, debug, and ISP JTAG

18 Boundary-Scan Without Boundaries™

Benefits of Applying BoundaryBenefits of Applying Boundary--Scan for Scan for Production Test Production Test

No need for test fixtures.Integrates product development, production test, and device programming in one tool/system. Engineering test and programming data is reused in Production.Fast test procedure development.Preproduction testing can start the next day when prototype is released to production.Dramatically reduces inventory management – no pre-programmed parts eliminates device handling and ESD damage.Eliminates or reduces ICT usage time – programming and screening.

Page 19: Tools to Debug „Dead‰ Boards · At-speed functional testing of DSP peripherals (memory, I/O) In-System-Programming (ISP) of flash devices Functional test, debug, and ISP JTAG

19 Boundary-Scan Without Boundaries™