The Newsletter

An A.T.E. Solutions, Inc. Internet Publication
Volume 10 Number 12 July 1, 2006




Introducing
The Testability Director Version 3.2
 

 


 


AutoTestCon 2006
Sep 18-21, 2006 Anaheim, CA


International Test Conference
October 24-26, 2006


Reach the thousands of test professionals we mail to. Sponsor The BestTest Newsletter and we will place your logo here.

Visit BestTest - A Test Community Web Site
Test Vendor Directory
Products/Services Directory
Test Dictionary
Test Events
Test Publications
JobExchange

Literature
Test related books
Test/Testability Software

How We Can Help
Test Requirements Analysis
Test Related Courses
ATE and Test Market Help
Design for Testability
Built-In Self Test

 
Links Worth a Click
Test sites of interest:




AutoTestCon
Cable Test Systems, Inc.
Chroma USA
Evaluation Engineering
International Test Conference
IPC - APEX Conference Organizers
Powell-Mucha Consulting, Inc.
Test & Measurement World

Want to trade links? We'll list yours here and you list ours at your site.
 
Test Vendors
We now have 2197 test vendors listed in the Test Vendor Directory. Check for accuracy.
 
The following companies have recently placed advertising with us:
Vendors:
A.H. Systems, Inc.
A.T.E. Solutions, Inc.
Capital Equipment Corp.
CEIBIS Cody Electronics
ESPEC North America
FTS Systems, Inc.
Geotest
Ground Zero ElectroStatics
Intellitech Corporation
Invisar, Inc.
JTAG Technologies, Inc.
Madell Technology Corporation
Measurement Computing
Pickering Interfaces, Ltd.
ProbeStar, Inc.
QStar BE
Tabor Electronics
Tecpel Co., Ltd.
Teradyne Assembly Test Division
Tiepie Engineering
VI Technology, Inc.
Wavecrest Corp.
WesTest Engineering Corp.
Yokogawa Corp. of America
Z World
Products/Services:
A.T.E. Solutions, Inc.
   Consulting Services
   Consulting, Training and Books
   The Testability Director
   The Testability Director 3.2
Auriga Measurement Systems, LLC
   Microwave/Millimeter Wave Test Systems
Capital Equipment Corporation
   webDAQ/100
FEINFOCUS
   COUGAR-VXP
Flynn Systems Corp.
   onTAP® Boundary Scan Software
Geotest Inc.
   ATEasy
GOEPEL electronic GmbH
   OptiCon BasicLine
   SCANPLUS Board Grabber
ICS Electronics
   488-USB
Intellitech Corp.
   Eclipse
   PT100 Parallel Tester
   PT100 Rack
   Scan-Ring-Linker & multi-PCB linker
   SystemBIST
   SystemBIST
JTAG Technologies, Inc.
   JT 3710/PXI
   JT 37x7 DataBlaster boundary-scan controllers
Meret Optical Communications
   ADS 53x DDS Synthesizer
Norvada, LLC
Professional Testing DBA Pro Test
   Environmental Testing
Quad Tech
   Guardian 1030S Multi-Purpose AC/DC/IR/SC Hipot Tes
Quantum Change, Inc.
   The TILE EMC Software
Reinhardt System und Messelectronic
   ATS-KMFT 670
Ricreations, Inc
   UniversalScan
Saelig
   CleverScope CS328
   USB Explorer 200
Signametrics
   SMX2040 series
Static Solutions
   CT-8900 Combination Data Logger Tester
Symtx, Inc.
SyntheSys Research, Inc.
   BERTScope™ 12500A
Tabor Electronics
   Model 5200 Arbitrary Waveform Generator
Tesla
   Test Equipment
TestEdge, Inc.
Testing
TestInHouse
   RFP-0010-021
Testpro AS
   TP2101 Testsystem
The Test Connection Inc.
   In-Ciruit Test & Flying Probe Test
UltraTest International
   MultiTrace
Universal Synaptics
   IFD-3000
VMETRO, Inc.
   Vanguard Express
WesTest Engineering
   WT2000
WesTest Engineering Corp.
   WesTest 2000
YESTech Inc.
   YTV series of AOI
Yokogawa Corp. of America
   DL9000
   DL9000
ZTest
 
This Issue's Feature Articles

Boundary Scan Tools for Design Verification and Prototype Debug

 By:

Rick Folea, UniversalScan - Ricreations, Inc.

 You've Decided to Get Into Boundary Scan... Now What?

 By: Ray Dellecker, US Marketing Manager, JTAG Technologies

Product/Service Focus

This issue's focus is Boundary-Scan Test
You can view and add to our existing list of Test Products/Services, Test Literature, Test Definitions, Test Vendors, containing "boundary"

 
What's New in Test
Announcements
  6/30/2006 RFI opens cellular testing lab in Korea
  6/28/2006 Everett Charles Technologies announces consolidation of atg Test Systems and Luther Maelzer
  6/28/2006 ZTEST Announces Grant of Stock Options
  6/27/2006 LogicVision, Dolphin Combine 90nm, 65nm Memories for Self-Test, Repair
  6/22/2006 Agilent completes $4.466 Billion stock repurchase program ahead of schedule
  6/22/2006 AR Worldwide RF/Microwave names new CEO
  6/22/2006 Deadline nears for Engineer of the Year nominations
  6/20/2006 ATI Implements Mentor Graphics Modular TestKompress for Production Test
Application Notes
  6/20/2006 Instrument Control Technologies for Any Bus, Any Language
  6/20/2006 Virtual Instrumentation and Traditional Instruments
Case Studies
  6/28/2006 NIST-Developed Noise Measurement Method Could Boost Cell Phone Performance
  6/19/2006 LXI Live Web Demo
FREE Giveaways
  6/20/2006 Keithley's Fifth Edition Switching Handbook - FREE
Magazine Articles
  6/29/2006 History of Inner-layer Testing
  6/19/2006 Intel Talks Terabit
Product Releases
  6/30/2006 AlazarTech Introduces World's Fastest 16-Bit PCI Digitizer
  6/30/2006 NI unveils 'highest-voltage' PXI switch module
  6/29/2006 High Speed Deposit Verification System
  6/28/2006 Synopsys Rolls Out Transistor-Level Static Timing Analysis
  6/20/2006 Agilent Unveils Wireless Test System
  6/20/2006 Boundary Scan Platform SCANFLEX introduces new generation of reconfigurable I/O Modules
  6/20/2006 Way, Way Faster Than a Speeding Bullet - IBM's 500 GHz Chip
Reports
  6/26/2006 PC Failure Rates Down, Gartner Says
Standards
  6/19/2006 Qualcomm, Intel Feud at IEEE
Web postings
  6/16/2006 Low-power IC test can be trying
 
Boundary Scan Tools for Design Verification and Prototype Debug

Rick Folea, UniversalScan - Ricreations, Inc.

[A full version of this article including all the graphics can be viewed here http://www.besttest.com/Articles/BestTestNewsletter/BoundaryScanTools_DesignVerif.pdf ) with graphics, pictures and screen shots]

Traditional boundary scan tools are very effective in manufacturing test for diagnosing board problems - especially when the board is designed to optimize the use of these tools. In concept it is very simple - you hand the tools your net list, they automatically calculate all the necessary test vectors, apply the vectors, read/interpret the results and tell you where the discrepancies are on your board.

In practice, though, setting this up can be a very tedious and time consuming exercise - especially if the board is a prototype that has no test fixtures, an unstable net list and questionable CAD data after numerous undocumented cuts and jumpers.

When debugging prototypes you are usually trying to figure out what is going on in a very small area of the board and don't really want to take the time or trouble to setup all the test vectors, etc. - you just want to see if a few pins have continuity and you want the answer right now.

A new genre of boundary scan tools is available now that remove the tedium of traditional boundary scan test. Within seconds, you can manually see and control every scan enabled pin under every JTAG device on your board in real time without having to create test vectors, test executives, test projects, etc.  You just drop the parts on the screen, connect the chain to your PC and hit SCAN.

JTAG Review from a New Perspective

The idea behind boundary scan is simple enough – connect a latch to every I/O and buffer enable on a device so you can control and monitor the I/Os independently from the internal logic.  Connect those latches in a long shift register so you can shift the results in/out.  The result looks like Figure 1.

The yellow boxes represent the latching logic – scan cells - that are used to capture and monitor the I/O in and out of the device.

Usually, these are transparent and the user and the device don’t even know they are there.

In this mode, called SAMPLE/PRELOAD, you instruct the yellow boxes to unobtrusively take a snapshot of the signals and then shift the results out TDO to view them.

 

This sampling and shifting operation is completely independent of the operation of the device and internal logic.  You can do this all day long without affecting the device’s operation in any way. If you do this over and over and display the result in the same form factor as your device, then you can see a real-time display of pin activity.

The beauty of this is you can now instantly see if a signal is high, low or toggling – even if the signal is buried under a BGA package and while your circuit is running.  For example, here is a JTAG chain of a configuration PROM and an FPGA:

 Figure 2: Viewing Pin activity in real time on your PC Display.

In this screen shot you see the parallel port is connected via JTAG to the configuration PROM, which is connected to the FPGA which is connected back to the parallel port.  The red, black and blue dots represent the pins on the parts.  Red indicates a pin is at a logic high, black indicates it is at a logic low and blue indicates pins you can’t scan with boundary scan (power, ground, the JTAG signals themselves, etc).

If a pin is toggling between red and black, then it is actively being driven. All of the sudden it has become quick and easy to see the status of a signal. You just look at the pin – if it is blinking then there is activity on that pin, if it is red the signal is high and if it is black the signal is low.

Can you measure a 12MHz oscillator with boundary scan?  No, boundary scan isn’t fast enough for that. Remember, you have to tell the scan cells to capture the values, then shift them all out, then capture again, then shift out again, etc.  This takes way too long to do any high speed measurements. But, let’s face it, most of the time when you connect an O-Scope to a signal you just want to know if the signal is high, low or toggling – you are looking for an indication of activity – and that is exactly what these tools provide, except they can do it in places where the O-Scope can’t get to!

Controlling pins

The best news is boundary scan isn’t just passive.  In addition to the SAMPLE/PRELOAD mode we discussed above, there is also an EXTEST mode where you tell the scan cells (the yellow boxes in Figure 1.) to disconnect the signals from the internal logic and allow the scan cells to control the I/Os directly.

In EXTEST you shift data into the scan cells via TDI, then tell the scan cells to apply the data to the I/Os. You now have total control over every JTAG enabled I/O on the device. You can enable buffers, drive buffers, and monitor signals simply by putting 1’s and 0’s into the appropriate scan cells.

How do you control the values that get put into the scan cells?  Simple – connect a virtual switch. We’ll use this concept in the next several sections to show you a new way to test and debug your boards.  

Using Boundary Scan for Low Level Debug

Simple continuity testing

The example in Figure 3 shows a Motorola processor and an ASIC in the JTAG chain.

Figure 3: A Motorola processor and an ASIC.  Virtual Switches and LEDs are used to monitor and control the address bus pins.

In this example we have connected virtual 7-segment LEDs to the Data and Address buses so we can see what they are doing at a glance. On the right side there are 4 columns of devices: the first column are toggle switches and are connected to the output buffer enables on the address bus of the processor. They are lit, indicating a logic 1 is being applied to the enable.  The second column of devices are momentary switches that are connected to the input of the output buffer.  The third column of devices are virtual LEDs connected to the input buffers of the processor, and the fourth column of devices are virtual LEDs connected to the input buffers on the ASIC.

To do a simple continuity test, we just set the buffer enables, drive the output buffers with the momentary switches and watch the LEDs.  If both LEDs light up, then the input buffers on both devices saw the logic level change and we know we have continuity.

In figure 3 you can see where we pressed the momentary switch on the 2nd row to drive an address line and both LEDs lit up.  We have continuity.  When we pressed the switch on the 4th row, only the Processor LED lit up – the signal didn’t make it to the ASIC.

That’s all there is to it – just click on switches to put values in the scan cells, and watch the results on LEDs.  Quick and easy.

Another example: The yellow LED on the ASIC is connected to the 80MHz Oscillator.  We see the Virtual LED toggling so we know the oscillator is connected to the ASIC.  If we saw it stuck at a high or a low, then we would know we have a problem.

I/O Testing

One of the problems with most boards is testing IO’s without a test fixture. Most of the time you just want to see if a pin under a BGA is physically connected to an I/O on your board.  With these tools it is easy – just toggle the pin manually and monitor the pin on the connector with an O-Scope or DVM.

Control Panel

Once you have mapped out your test circuit, you can rearrange the virtual switches and LEDs on the screen to create a quick and dirty control panel from your board. You can even use this to drive/control circuitry before firmware is written.  Activate a solenoid, turn on a light, drive a D/A, etc. 

Flash Programming

Since boundary scan gives you total control over the pins on a device, and if you have a Flash device connected to those pins, why not use boundary scan to program the Flash device?  This is a great way to get access to a Flash memory without having to provide extra circuitry or means to remove it from the circuit.  You just tell the tool which pins in the chain are connected to the Flash Device, specify a data file and hit PROGRAM.  The tool automatically configures the device, erases it, programs it and verifies it.

This is a great way to independently program your Flash memory in system without a functioning processor to do it.  This is a great way to get a boot loader into a Flash memory for a processor, then let the processor come up and load the rest of the memory.

Which brings up the downside of Flash programming with Boundary Scan – it can be VERY slow. A 10K-Byte file can take a few seconds to several minutes (depending on the tools, options and length of your scan chain).

Here’s the problem – we have to shift the entire scan chain just to change the state of a single pin.  That means to write a single byte we have to:

-          Shift the entire chain to setup address and data

-          Shift the entire chain to enable the write-enable

-          Shift the entire chain to disable the write-enable.

If your typical scan chain is a couple thousand bits (usually 3 scan cells per pin, times the number of pins.) then you will have to do 5 to 10 thousand shifts just to write one byte.  Repeat that for every byte in your file and you can see why it will take some time.

The good news is new faster USB based pods are coming out that will drastically reduce this programming time.  The traditional boundary scan tools also offer several high speed programming options and plug-in modules.

SPI Flash Programming

Same story as above – simply tell the tools how the SPI device is connected to the JTAG chain, specify a data file and hit PROGRAM.  Quick, easy, simple.

Scripting

Punching all those little virtual switches all the time gets real tedious real fast.  Fortunately, you can record a test session on a known good board, then swap boards and hit PLAY to repeat the exact same test.  Using this you can quickly build a little prototype test fixture for your early boards without having to worry about test-vectors, CAD data, ...

 You Need Both

It is important to understand that these tools do not replace the traditional boundary scan tools - they augment them. These low level manual debug tools are great for prototype debug in the lab and for learning about boundary scan (and convincing management to invest in the high end traditional tools!) because they are quick, simple, easy and inexpensive. The high-end automated tools are great for diagnosing high volume mature boards in production – especially if those boards are properly designed for automated test!

The key difference is that these new low-level tools provide real-time display and control of a board while it is running.  The traditional tools typically do full board scans on boards that are not running.

For More Information …

The examples used in this article are from Ricreations “Universal Scan” (www.UniversalScan.com) and Macraigor Systems “J-Scan” (www.j-scan.com). Check out those websites for more examples, free trials and tutorials.

 

You’ve decided to get into boundary-scan… Now what?
Ray Dellecker, US Marketing Manager, JTAG Technologies

Maybe your decision to adopt boundary-scan as a primary test technology is a result of realizing that your PCBs have become so crowded and your test coverage so limited that you have few other alternatives.  Or, maybe you’ve read the success stories describing how so many manufacturers have restored test access to complex boards and regained the test coverage they require.  After all, overcoming poor coverage on crowded PCBs is the reason the IEEE produced the 1149.1 standard over 15 years ago.  But now you have to decide which boundary-scan system and which features to invest in.  This brief overview outlines the critical decision points to consider:  your objectives, needs, and resources.  What factors should you weigh in your decision, and how much weight should be placed on the factors?

Your objectives
What do you want to accomplish with boundary-scan?  Are you interested solely in its capabilities on the production floor, or do you also want to use boundary-scan to enhance R&D and the prototyping process.  What about at the other end of the product life cycle, in repair and field support?  Make sure that the tools you select can adequately address all of the application areas of interest, and look for easy transportability of your applications between the functional areas.  Also consider the functions that you want to perform with boundary-scan:  are you only going to use it for board testing, or are there other applications of interest, such as system-level testing, environmental verification, and in-system programming?  Make certain that the tool you select meets all of your existing and foreseen needs.

Where you’ll use boundary-scan
When looking for a cost-effective production solution, make sure the system you select can be accommodated in your factory situation with minimal impact on floor space, operator training, and product flows.  You should consider whether you want to have a “stand-alone” station for boundary-scan, or if it makes more sense to integrate it within an already existing test system (such as ICT, flying probe, or functional).  Things to consider are such factors as:

- Operator interface.  Do you want to run boundary-scan applications within an existing interface, to minimize the impact on factory personnel?
- Serialization.  Do you want to be able to match results with specific units for tracking purposes, possibly using bar-code reading?
- Results reporting.  Do you want to record test details within an existing (or a new) reporting system?

Then look for a system that offers the desired integration alternative (including UNIX compatibility if that’s the OS presently used in your ICT) and that supports your operational needs.  Also, whether it’s stand-alone or integrated, make sure that the boundary-scan system can meet your volume requirements through such techniques as support for partitioned scan chains (can speed up programming), gang programming / testing and distance requirements in the event you want to perform boundary-scan testing within an environmental chamber.

Who will prepare the tests?
Many boundary-scan tools these days offer some degree of automation.  The more automated the tool, the easier the development process will be, which in turn means that less experienced test engineers can produce good results.  However, it’s important to make sure that the tool doesn’t cut corners by omitting nets from the test coverage, sacrificing thoroughness for ease-of-use.  Also, more advanced developers will appreciate tools that permit drilling down to be able to view and manipulate design, in effect pre-empting the automation in specific areas of interest.

Alternatively, if your organization is responsible for only a small number of applications during the course of a year, you may want to consider outsourcing your development either to the tools manufacturer or to an authorized third party.  In that case, check out the services that are offered by the tools provider, and whether or not a base of outside support is available.  It’s also important to make sure the tools vendor is capable of providing timely expert assistance in every location.

 
 
Next Issue's Product/Service Focus
In our next issue of Product/Service Focus we will cover All/Flying Probe. You can add or upgrade a listing before the next issue comes out.

If you would like to include an exclusive article on how to best select All/Flying Probe, please contact LouisUngar@ieee.org.
 

  • If your friend forwarded this newsletter to you, please register as a member and receive The BestTest Newsletter -- absolutely free!
  • If you wish to update your news preferences or cancel the subscription, please unsubscribe.
  • If you have any questions, please email experts@BestTest.com
 
See an Index of Past and Upcoming Issues of The BestTest Newsletter
Unsubscribe

Email The BestTest Newsletter to a Friend whose email is
Online Bookstore

Get the widest selection of test related books and software at the BestTest Online Store.


Reach the thousands of test professionals we mail to.
Place Ad here.

 



Events/Announcements
This month:
10/24 - 10/26
   International Test Conference 2006
7/3 - 7/7
   International Physical and Failure Analysis of ICs Symposium
7/10 - 7/14
   Semicon West 2006
7/10 - 7/12
   International On-Line Testing Symposium
7/18 - 7/20
   Lean Manufacturing and Management Training Series
7/24 - 7/28
   Design Automation Conference (DAC)
8/2 - 8/4
   Memory Technology, Design, and Testing (MTDT 2006)
8/14 - 8/18
   EMC Symposium
8/15 - 8/17
   Lean Manufacturing and Management Training Series
8/29 - 8/31
   ATE China 2006
9/6 - 9/7
   Antenna Systems 2006
9/7 - 9/15
   EOS/ESD Symposium
9/9 - 10/12
   23rd Aerospace Testing Seminar
9/12 - 9/14
   Lean Manufacturing and Management Training Series
9/18 - 9/21
   AutoTestCon 2006
9/25 - 9/28
   Assembly Technology Expo (ATExpo)
9/26 - 9/28
   Lean Manufacturing and Management Training Series
10/10 - 10/12
   Aerospace Testing Seminar
10/10 - 10/11
   VERIFY 2006 International Software Testing Conference
10/23 - 10/24
   IEEE Product Safety Engineering Society Symposium
10/24 - 10/26
   International Test Conference (ITC) 2006
10/25 - 10/27
   Automotive Testing Expo North America 2006
11/6 - 11/9
   Space Simulation Conference
11/7 - 11/9
   Lean Manufacturing and Management Training Series
11/8 - 11/10
   IEEE International High-Level Design, Validation and Test Workshop
11/9 - 11/10
   Remote Monitoring & Networking 2006
11/9 - 11/12
   Remote Monitoring & Networking 2006
11/14 - 11/16
   Aerospace Testing Expo 2006 North America
11/14 - 11/17
   electronica 2006
11/20 - 11/23
   Asian Test Symposium (ATS'06)
12/6 - 12/7
   IP/SOC 2006 (IP Based SoC Design) Conference
12/6 - 12/8
   International Printed Circuit & Electronics Assembly Fair
12/12 - 12/14
   Lean Manufacturing and Management Training Series
New Definitions
New terms added to the Test Definition section:
Next Generation Automatic Test Systems Integrated Product Team
Synthetic Instruments
We now have 2229 test terms in our Test Definition section.

Share your definitions with the test community.