8
allows the designer to probe any internal node during device
operation to aid in debugging a design.
JTAG Boundary Scan Testing (BST)
Device pin spacing is decreasing with the advent of fine-pitch
packages
such
as
TQFP
and
BGA
packages
and
manufacturers are routinely implementing surface-mount
technology with multi-layer PC boards. Boundary scan is
becoming an attractive tool to help systems manufacturers
test their PC boards. The Joint Test Action Group (JTAG)
developed the IEEE Boundary Scan standard 1149.1 to
facilitate board-level testing during manufacturing.
IEEE Standard 1149.1 defines a 4-pin Test Access Port
(TAP) interface for testing integrated circuits in a system.
The 3200DX family provides four JTAG BST pins: Test
Data In (TDI), Test Data Out (TDO), Test Clock (TCK) and
Test Mode Select (TMS). Devices are configured in a JTAG
“chain” where BST data can be transmitted serially between
devices via TDO to TDI interconnections. The TMS and
TCK signals are shared between all devices in the JTAG
chain so that all components operate in the same state.
The 3200DX family implements a subset of the IEEE 1149.1
Boundary Scan Test (BST) instruction in addition to a private
instruction to allow the use of Actel’s Actionprobe facility
with JTAG BST. Refer to the IEEE 1149.1 specification for
detailed information regarding JTAG testing.
JTAG Architecture
The
3200DX’s
JTAG
BST
function
is
enabled
by
programming the JTAG anti-fuse. When JTAG BST is not
enabled, the TMS, TCLK, and TDI pins become user I/O.
Otherwise, these three pins are dedicated exclusively to
JTAG testing.
Figure 9 JTAG BST Circuitry
JPROBE Register
Boundary Scan Register
Instruction
Decode
Control Logic
TAP Controller
Instruction
Register
Bypass
Register
TMS
TCLK
TDI
Output
MUX
TDO
The 3200DX JTAG BST circuitry consist of a Test Access
Port (TAP) controller, JTAG instruction register, JPROBE
register, bypass register and boundary scan register.
Figure 9is a block diagram of the 3200DX JTAG circuitry.
When a device is operating in JTAG BST mode, four I/O pins
are used for the TDI, TDO, TMS, and TCK signals. An active
reset (nTRST) pin is not supported, however the 3200DX
contains power-on reset circuitry which resets the JTAG BST
circuitry upon power-up. The following table summarizes the
functions of the JTAG BST signals.
JTAG BST Instructions
JTAG BST testing within the 3200DX devices is controlled
by a Test Access Port (TAP) state machine. The TAP
controller drives the three-bit instruction register, a bypass
register, and the boundary scan data registers within the
device. The TAP controller uses the TMS signal to control
JTAG
Signal
Name
Function
TDI
Test Data In
Serial data input for JTAG
instructions and data. Data is
shifted in on the rising edge of
TCLK.
TDO
Test Data Out
Serial data output for JTAG
instructions and test data.
TMS
Test Mode
Select
Serial data input for JTAG test
mode. Data is shifted in on the
rising edge of TCLK.
TCK
Test Clock
Clock signal to shift the JTAG
data into the device.