• Get Listed
    • Get a FREE Quote for your Next Project
HardwareBee
  • Find ASIC Vendors
  • Browse Design Services Directory
    • FPGA Design Services
    • Electronic Design Services
    • Embedded Software Companies
    • Add a Vendor
  • Get 3 Quotes From
    • FPGA Design Companies
    • FPGA IP Core Vendors
    • Electronic Design Companies
    • Embedded Software Companies
    • Design & Manufacturing Vendors
  • WikiBee
  • Resources
    • FPGA Academy
    • Embedded Academy
    • FPGA vs ASIC Calculator
  • Calculators
    • Watt to dBm Converter
    • dBm to Watt Converter
  • Emerging ICs
    • SPARK Microsystems – SR1000
    • Cologne Chip – GateMate
  • Pricing
    • Get Your Company Listed
    • Get Monthly Outbound Leads
    • Get Free Consulting
HardwareBee
  • Browse Design Services Directory
    • FPGA Design Services
    • Electronic Design Services
    • Embedded Software Companies
    • Add a Vendor
  • Get 3 Quotes From
    • FPGA Design Companies
    • FPGA IP Core Vendors
    • Electronic Design Companies
    • Embedded Software Companies
    • Design & Manufacturing Vendors
  • WikiBee
  • Resources
    • FPGA Academy
    • Embedded Academy
    • FPGA vs ASIC Calculator
  • Calculators
    • Watt to dBm Converter
    • dBm to Watt Converter
  • Emerging ICs
    • SPARK Microsystems – SR1000
    • Cologne Chip – GateMate
  • Pricing
    • Get Your Company Listed
    • Get Monthly Outbound Leads
    • Get Free Consulting
5015 Views

Introduction to JTAG Interface

05/08/2019, hardwarebee

JTAG stands for Joint Test Action Group. It is essentially a standard that is used for verification, testing, and exploration of PCBs (Printed Circuit Boards) after they have been manufactured. It is an interface that gives you a channel to communicate with and control the chips on the circuit board of a particular piece of hardware. This interface also allows you to debug your hardware in real time by allowing you to directly take control of the clock cycles through software.

 

JTAG was introduced in the 1980s in order to make testing of printed circuit boards relatively easier and more thorough. Since then, the JTAG interface is now being used for all sorts of purposes, including programming, debugging, as well as testing. It is connected to an on-chip Test Access Port, or the TAP that allows it to access a set of test registers. These registers present chip logic levels and the abilities of the device being tested.

 

Testing a PCB Using JTAG Interface

 

The purpose of a boundary scan using JTAG on a printed circuit board is to be able to test the interconnects present between the various ICs or chips on the board without having to get or use a physical test probe. The main advantage of this scan is that you do not have to gain physical access to the pins but can still read the values and analyze them however needed.

 

JTAG Interface Chain

 

In this test, the signals between the core logic of the hardware and the pins are being intercepted by a serial scan path called the BSR, or the Boundary Scan Register. This register consists of a plethora of boundary scan cells which are considered to be invisible when the device is in operation. These cells can, however, be modified to either set or read the value off of the pins of the device. As such, the BSR can be used to test as well as debug the device as you are given control over the states of the pins.

 

JTAG Interface Signals

 

Normally, the JTAG interface is connected to the board or the chip using a number of pins in a four plus one formation, with the latter being optional. These are also the signals that are used by TAP to conduct the boundary scan.

 

TCK – Test Clock

 

This is the signal that is responsible for the synchronization of the internal state of the machine operations.

 

TMS – Test Mode Select

 

At the rising edge of the Test Clock, the Test Mode Select signal is sampled in order to determine what the next state will be.

 

TDI – Test Data In

 

This is the signal that is sampled at the rising edge of the clock signal when the internal state machine finds the correct state, and represents the data that is sent into the logic of the device or hardware at question.

 

TDO – Test Data Out

 

Similarly, this signal is sampled at the falling edge of the clock signal when the internal state machine is in the correct state and is a representation of the data that so shifted out of the logic of the subject hardware.

 

TRST – Test Reset

This is an optional pin. This synchronous/asynchronous active pin can be used to reset the test logic.

linked in icon
Sign up for HardwareBee
* = required field

Recent Stories

5+ Best UWB Chipset Providers Compared
5+ Best UWB Chipset Providers Compared
SPARK Microsystems Announces CDN$48 Million Financing Led by Idealist Capital
SPARK Microsystems Announces CDN$48 Million Financing Led by Idealist Capital
What is MicroLED? Overview, Benefits and Future
What is MicroLED? Overview, Benefits and Future
Auto processor market growing at 13% CAGR 22-28
Auto processor market growing at 13% CAGR 22-28
The Ultimate Guide: Current Mirror
The Ultimate Guide: Current Mirror
What is the Difference: GDDR5 VS. GDDR6
What is the Difference: GDDR5 VS. GDDR6
Watt to dBm (free) Converter
Watt to dBm (free) Converter
dBm to Watt (free) Converter
dBm to Watt (free) Converter
Get 3 Quotes from Electronic Design Companies
Get 3 Quotes from FPGA Design Companies
Get 3 Quotes from Embedded SW Services
Get 3 Quotes from EMS Companies

Find Design Services

Get Price Offers From
  • Electronic Design Services
  • FPGA Design Services
  • Embedded Software Companies
  • PCB Layout Services
  • Printed Circuit Board Manufacturers
  • Design & Manufacturing Services
Welcome New Vendors
  • Cologne Chip – GateMate
  • SPARK Microsystems – SR1000
  • TrigoPi
  • Fidus Systems
  • PCB Design
Answer a Question
  • Tips For Installing a PCB Prototype Board
  • Benefits of Working With a Reliable Flex Printed Circuit Board Manufacturer
  • FPGA company gross margin?
  • What is an FPGA used for?
  • When was FPGA invented
Recent WikiBee Items
  • SI Unit of Frequency
  • Full-Wave Rectifiers
  • Static Timing Analysis (STA)
  • FPGA Design Services
  • CLB
Recent Posts
  • 5+ Best UWB Chipset Providers Compared
  • SPARK Microsystems Announces CDN$48 Million Financing Led by Idealist Capital
  • What is MicroLED? Overview, Benefits and Future
  • Auto processor market growing at 13% CAGR 22-28
  • The Ultimate Guide: Current Mirror
Most Popular Blog Posts
  • Promwad Accelerates Product Development with Vendor-Agnostic FPGA Design in Multiple Industries 
  • Understanding Knee Voltage
  • Understanding UPS Block Diagram
  • Understanding DV/DT in Electronics
  • Understanding Charge Pump

Never miss an update!

Follow us on LinkedIn

Do you need any price
information?

(Electronic design, FPGA design, Embedded SW services, PCB design, Turnkey)

Yes
No
HardwareBee

Copyright 2017-2023, HardwareBee. All rights reserved.

  • About Us
  • Contact
  • Subscribe
  • News
  • Get Free Support
  • Get listed
  • Send a wiki/article
  • Advertise

Follow Us

Be sure to follow our LinkedIn company page where we share our latest updates LinkedIn
Partner with us Partner with us

Design and Manufacturing Services

  • Engineering Design Services
  • Electronic Design and Manufacturing
  • Electronic Product Development
  • Electronic Product Design
  • Electronic Consulting Services
  • Electronic Engineering Companies
  • Electronic Engineering Services
  • Electronic Product Design and Development
  • Electronics Design Services
  • Electronics Design Company
  • Electronic Design Consultants
  • Electronic Design Company
  • FPGA Design Company
  • FPGA Consultant
  • FPGA Design Services UK
  • Electronics Manufacturing services
  • Electronics Manufacturing Companies
  • Electronic Contract Manufacturing Companies
  • Electronic Manufacturing Services Companies
  • EMS Companies Directory
  • Electronic Design Services
  • FPGA Design Services
  • Embedded Software Companies
  • PCB Layout Services
  • Printed Circuit Board Manufacturers
  • Design and Manufacturing Services