You’ve Routed Out JTAG. Now Make Sure It Actually Works
Simon Payne, CEO, XJTAG
|
November 10, 2026
Subscribe to LinkedIn newsletter
Last week, we looked at the importance of making the JTAG capability inside your FPGA, processor or SoC accessible on the PCB.
But routing the signals out is only part of the job. Once you’ve provided access, you also need to make sure the JTAG interface is electrically reliable, and that means thinking about termination.
“But JTAG Isn’t Particularly Fast…”
JTAG is not normally thought of as a high-speed interface. So it can be tempting to route TCK, TMS, TDI and TDO around the board and assume they will simply work.
Often they will. But when they don’t, the symptoms can be frustratingly intermittent.
Devices aren’t detected reliably.
Programming fails occasionally.
Tests work at one clock frequency but not another.
Or the JTAG chain works on one PCB and behaves differently on the next.
These problems can easily be mistaken for software, device or connection faults when the underlying problem is signal integrity.
Pay Particular Attention to TCK
TCK is the clock for the JTAG interface, so maintaining a clean clock signal is particularly important.
Reflections, noise or poor routing can create unwanted transitions that corrupt communication with devices in the chain.
The XJTAG Design & Test Guidelines recommend terminating TCK using a 68 Ω resistor and 100 pF capacitor in series to ground, positioned at the end of the TCK trace furthest from the JTAG connector.
The exact implementation should, of course, be considered alongside the devices, PCB design, signal voltages and target TCK frequency being used.
The important principle is simple:
Don’t assume that because JTAG is relatively slow, signal integrity doesn’t matter.
Give the Other TAP Signals Defined Behaviour
Termination isn’t only about the clock.
TMS and TDI should not be allowed to float, and TDO also deserves attention.
The XJTAG guidelines recommend:
- 10 kΩ pull-ups on TDI and TMS
- 10 kΩ pull-ups on the TDO of every device
- A 22 Ω series resistor on the TDO of the final device, close to the device pin
If nTRST is used, the guidelines also recommend a pull-down to give it a defined state, and protection against noise that could cause unwanted resets.
These are small components.
But they can make the difference between a JTAG interface that is consistently reliable and one that produces difficult-to-reproduce problems.
Design in the Options
One of the most useful things you can do during schematic design is provide the footprints for the appropriate termination components, even if experience later shows that not every component is required.
A resistor or capacitor footprint costs very little at the design stage.
Trying to add one onto an assembled PCB is rather less convenient.
It also gives engineers options during first-board bring-up.
If the chain is reliable, excellent.
If it isn’t, there is somewhere to make controlled adjustments without immediately reaching for wire modifications and a soldering iron.
Layout Still Matters
Termination cannot compensate for every layout problem.
The TAP signals should still be routed sensibly.
In particular, avoid unnecessary interaction with noisy signals, keep skew between important TAP signals under control and consider how the JTAG signals travel through buffers or between different voltage domains.
The objective isn’t to turn JTAG routing into a major PCB design exercise.
It is simply to give a useful diagnostic interface the same basic engineering consideration you would give any other digital interface.
Larger and more complex boards, with physically long JTAG runs, many devices in the chain or buffered TAP signals, bring some extra considerations.
We’ll look at those next week.
Closing Thought
JTAG access is extremely valuable when you need it.
But an accessible JTAG connector isn’t much help if the signals reaching it are unreliable.
The good news is that improving robustness usually doesn’t require expensive circuitry.
Often it comes down to sensible routing, defined signal states and a handful of inexpensive termination components.
Design the access in, then make sure the signals are good enough to use it.
Board Design Tip of the Week
JTAG termination is only one of many small design decisions that can significantly improve the testability of a PCB.
The XJTAG Design & Test Guidelines cover termination, JTAG chain design, connector layout, mode selection, watchdogs, multiple chains, FPGA configuration, test coverage and many other practical Design for Test considerations.
Before releasing your next PCB design, take a few minutes to review the guidelines.
Read the full XJTAG Design & Test Guidelines on the XJTAG website.
Could JTAG boundary scan help you test your next design?
Discover how boundary scan can help you improve test coverage, diagnose faults faster and simplify board testing:
Find out more about JTAG boundary scan and how it can help you.
Discover more about your board design with the XJTAG Layout Viewer.
To get started find out how the XJTAG Layout Viewer can help you see on your board:
Download your XJTAG Layout Viewer today, did I mention it’s Free!
