ASSET InterTech provides unique tools for accessing embedded instrumentation: Boundary Scan, CPU Emulation, Intel® IBIST.
Boundary
scan goes underground
|
|
Embedding boundary scan
Embedding boundary-scan operations into a system implies that the system has
the ability to execute JTAG operations independently of any other system,
test controller, or boundary-scan engine. Of course, this capability does
not vitiate the importance of externally applied boundary-scan operations.
The bulk of JTAG operations are applied to the unit under test (UUT) or the
unit being programmed from an external boundary-scan system linked to the
UUT by a standard cable connection. Embedded boundary scan can certainly
be used in both manufacturing and field service, although most embedded boundary-scan
applications are limited to pass/fail testing. Pass/fail tests can be useful
in a manufacturing setting to identify problems. Then, the more extensive
diagnostic capabilities of an external boundary-scan system can be applied
to diagnose failures offline from the manufacturing process.
To embed boundary scan, you must design some of the capabilities of an external boundary-scan engine into the system. To what extent you embed the facilities of an external JTAG system into a particular product will depend on how embedded boundary scan will be used once the product is in the field.
At a base level, embedded boundary scan requires the capabilities of a run-time JTAG engine and storage space for test vectors and programming algorithms. Figure 2 shows a typical scenario where a stand-alone boundary-scan system in the factory generates JTAG test patterns and programming algorithms, converts them to a compact binary format, and stores them in the system before it is shipped to the field. An embedded run-time engine assembles boundary-scan operations and passes them to a scan engine for application on the system.
![]() |
Figure 2. In a typical embedded boundary-scan test flow, boundary-scan software generates test vectors and converts the resulting serial vector format (SVF) information to binary test vectors stored on the system under test. An embedded test program applies the vectors to the hardware under test. |
Several commercially available software and hardware products can help you embed boundary-scan test and programming operations. Texas Instruments, National Semiconductor, Firecron, and Alliance Semiconductor provide devices that act as embedded boundary-scan controllers or test sequencers. These vendors also provide example application programs. Boundary-scan system providers supply other tools. Asset Intertech, for example, provides vector translation tools to convert test programs into Serial Vector Format (SVF) for Texas Instruments applications, Embedded Vector Format (EVF) for National Semiconductor devices, or Binary Vector Image (BVI) for Firecron and Alliance Semiconductor applications.
Test results may be reported as simple pass/fail results and communicated to a predefined location outside of the system. For this case, you need little in-system memory to store test results. If you intend the tests to trigger follow-on diagnostic routines, then you'll need to provide more memory to store test results in-system.
Architectural issues
Systems with embedded boundary scan will typically consist of more than one
circuit board or subassembly. Often a backplane is involved. Architecturally,
you must determine how best to implement the boundary-scan interface across
multiple circuit boards and subassemblies. You might choose star or ring
architectures, but both have inadequacies. Most often, a multidrop architecture
is effective for deploying embedded boundary scan.
![]() |
Figure 3. A multidrop architecture routes boundary-scan signals to all system boards. In this “single master, multiple slaves”configuration, an embedded JTAG master on one board controls system-wide boundary-scan operations. For fail-safe redundancy, you can choose to embed a JTAG master on each board. Boundary-scan signals can travel over a backplane or along dedicated paths. |
In a multidrop architecture Figure 3, you route all boundary-scan signals to all boards or subassemblies in the system. Each board has an addressable JTAG gateway device that is capable of recognizing the boundary-scan information intended for it. The gateway device intercepts the information addressed to it, configures the local scan paths accordingly, and applies the boundary-scan operations to the devices and structures on the board. You can obtain boundary-scan gateway devices from a number of semiconductor vendors like TI, National Semiconductor, Firecron, and Alliance. In addition, you can implement boundary-scan gateway functionality in the form of an intellectual property (IP) core into a programmable logic device (PLD). Lattice Semiconductor, for example, provides an IP core supporting scan linking functionality. In addition, Asset provides device models of these gateway devices. Device models automate the inclusion of the gateway devices into boundary-scan test and programming operations.
Once you have established a multidrop architecture for embedded boundary scan, you can locally configure the elements in the system in any of four ways:
Implementation issues
Deploying embedded boundary-scan test as well as in-system programming and
reconfiguration of PLDs raises additional questions beyond those involving
the architecture. For example, will the configuration of systems in the field
be static, or could new circuit boards or assemblies be introduced to alter
the configuration at a later time?
A static system-level configuration simplifies the implementation of embedded boundary scan since the composition of the embedded boundary-scan operations is not subject to change. But if the system configuration is dynamic, as it is with most computer and communications systems, then its suite of embedded boundary-scan operations could change every time a new circuit board or subassembly is installed.
Even a system with a static configuration can require sophisticated boundary-scan test-management software. For example, in a system that contains different versions of the same circuit board, the boards could have different boundary-scan characteristics. The test-management software would have to determine the version number of the boards in the system before configuring a set of tests.
This implies the need for a repository of object-oriented boundary-scan modules that can be assembled to match any system configuration. In addition, the embedded JTAG run-time engine and scan engine must be made aware of the new configuration and adapt the system's boundary-scan operations accordingly. Of course, the question of how executable boundary-scan modules are downloaded from a central repository to a reconfigured suite of JTAG operations in a system in the field leads to issues of protocols and other facets of data communications.
Communications mechanisms also come into play with regard to remote access for firmware downloads, real-time monitoring of system status, and the application of JTAG tests and diagnostics. Consultant Ben Bennetts and representatives of system manufacturers, boundary-scan companies, and semiconductor vendors have begun ad hoc discussions on standardizing the communications protocols supporting embedded boundary scan (www.dft.co.uk/SJTAG/), but at this time, no formal study group has formed.
Of course, with a system-wide BIST capability based on embedded boundary scan, you must define how the system reacts to test results. For example, the system might launch a regularly scheduled structural test suite and discover a malfunctioning device that is critical to the overall operation of the system. This test result could set off an alarm that technicians in a centralized monitoring facility could handle manually. Or the system itself might launch a diagnostic suite that determines that the firmware in a certain PLD has been corrupted. With this information, the personnel in the monitoring facility could download a new image of the firmware via the system's embedded boundary-scan infrastructure, making it unnecessary to dispatch a service technician.
Transitioning to embedded boundary scan
Boundary scan has been applied in board-level test and in-system programming
applications for more than 10 years. The technology is well understood and
well supported by tools that simplify the development and application of
JTAG operations. As a result, the transition from board-level to system-level
and embedded boundary scan is a natural progression.
Indeed, in some cases the board-level infrastructure may already be in place to ease the transition to embedded system-level boundary-scan operations. If board-level boundary-scan operations have already been deployed for manufacturing test, much of the work that has been done developing the board-level JTAG tests and programming algorithms can be re-used in a suite of operations for the entire system. The resulting payback for system-level embedded boundary scan can be quite rapid.
Author Information
Dave Bonnett is the technical marketing
manager at ASSET InterTech (Richardson, TX), a supplier
of boundary-scan tools for test and in-system programming.
He
holds a BSEE from Southern Methodist University.
Costly NTF
Any dent in a manufacturer's "no-trouble-found" (NTF) predicament
would reduce maintenance and support costs tremendously. The NTF predicament
comes about when a field technician replaces what seems to be a faulty circuit
board or subassembly in an effort to return a critical system to full service
quickly. Later test of the removed circuit board often results in an NTF indication,
but by that time, the manufacturer has incurred significant costs by dispatching
the technician and by testing and requalifying the circuit board. One manufacturer
of high-end computers has estimated that it can cost as much as $25,000 to
return a circuit board to service.
Embedded boundary scan enables more precise structural diagnostics
that can be applied either remotely or locally to more accurately
determine the module that is causing the problem. No matter
how it is applied, embedded system-level boundary scan can
greatly diminish a manufacturer's NTF problem.—Dave
Bonnett
PRIVACY STATEMENT | CONTACT US | RESOURCES
2201 N. Central Expy., Ste 105, Richardson, TX 75080
(888) 694-6250 or (972) 437-2800
Copyright © 2001-2010 ASSET InterTech
Inc. All rights reserved.