When JTAG Has Further to Travel: Designing for Larger Boards and Longer Chains
Simon Payne, CEO, XJTAG
|
November 17, 2026
Subscribe to LinkedIn newsletter
Last week, we looked at the basics of JTAG termination. On a relatively small PCB with short signal runs, that may be all you need. But larger boards introduce another challenge.
TCK and TMS may have to travel much further across the PCB. They may need to reach devices in several different areas, pass through buffers or feed multiple sections of the design.
At that point, the question becomes:
How do you preserve reliable JTAG access when the board starts getting bigger?
The answer is partly about good signal integrity. But just as importantly, it is about designing in options before you know whether you will need them.
Long Traces Change the Problem
On a compact board, a single TCK or TMS trace may pass a handful of devices without causing any difficulty.
On a physically larger design, simply branching the same signal around the PCB can create long stubs and reflections.
That can turn an otherwise simple JTAG interface into something considerably harder to diagnose.
Getting termination right matters for two reasons.
Reliability: reflections and ringing can stop JTAG working reliably, or lower the maximum TCK frequency the chain can support.
Device safety: poorly terminated signals can overshoot or undershoot significantly, potentially exceeding a pin’s absolute maximum ratings and stressing or damaging the device over time.
A useful rule is:
If splitting TCK or TMS would create significant stubs, use buffers rather than simply branching the trace.
The buffer inputs can be connected together, with each buffer output driving its own section of the board.
That turns one difficult distribution network into several much simpler point-to-point, or lightly loaded, traces.
Treat a Buffer Input Like a JTAG Device Input
Adding buffers doesn’t change the basic signal-integrity principles.
The input to the buffer should effectively be treated in the same way as the input to a JTAG device.
That means:
- Keep the stub to the buffer input short
- Avoid unnecessary branches
- If the buffer is the last load on the trace, terminate at the buffer input
- Treat each buffer output as a new signal path requiring the same consideration
This principle works whether you use a star arrangement of buffers across a large board or place several buffers close to the JTAG connector, each feeding a separate area of the PCB.
Every new branch should become a controlled trace, not another long stub.
Terminate Every Branch at Its End
If TCK or TMS is split into several buffered paths, each path needs to be considered independently.
Last week, only TCK had RC termination. As the clock, it is edge-sensitive, so reflections or coupled noise that create an extra edge can upset the whole chain.
TMS is distributed to every device in the same way as TCK, so on a larger board, long or branched TMS runs can need the same treatment, for the same reliability and device-safety reasons. The usual pull-up still applies.
The RC termination should be located at the end of each trace, regardless of whether that trace finishes at:
- A JTAG device
- A buffer input
- Several device inputs
- A combination of these
The important thing is to terminate the trace at its electrical end.
In most cases, the RC termination at the end of the trace is all you need.
But some buffers drive very fast edges, and these can still cause ringing and overshoot on a long trace.
A small series resistor close to the buffer output can help, by slowing the edges slightly and damping reflections at the source.
Whether it’s needed can be worked out through detailed simulation, but that takes time. It’s often simpler to include the footprint to be on the safe side and fit it with 0 Ω initially.
That 0 Ω footprint is useful because it gives engineers somewhere to make changes during bring-up if the real board behaves differently from the simulation or expectation.
TDO needs a different approach.
It isn’t RC terminated, but on a large board the TDO-to-TDI connections between devices, and the TDO return to the connector, can be long too.
A footprint for a small series resistor – typically around 22 Ω – close to each TDO output gives you a way to control the edges on those runs if they need it.
What About TCK Skew?
On a large board, TCK will not necessarily reach every device at exactly the same time.
Fortunately, JTAG has been designed to tolerate skew between devices in the chain.
In practice, increasing skew may eventually mean that TCK has to run at a lower frequency to maintain reliable operation.
If this is a concern, there is another useful design consideration.
Where practical, arrange the devices in the scan chain so that TDI enters the device with the least TCK delay, and then progresses through devices in approximately increasing order of TCK delay before TDO returns to the controller.
That way, any TCK delay between neighbouring devices adds to the timing margin rather than eating into it.
With XJTAG hardware, XJLink’s Autoskew capability can compensate for delays between TCK and TDO, helping maintain reliable communication without unnecessarily reducing the JTAG clock frequency.
And because Autoskew can be applied independently to different TAPs during optimised scans, splitting a very large board into several JTAG chains can provide another useful option.
One Chain Isn’t Always the Best Answer
There is sometimes a tendency to put every JTAG-capable device into one enormous chain.
That can work perfectly well.
But on a large board, several separate chains may provide advantages.
Different chains can serve physically separate regions of the PCB.
They can reduce the distance signals need to travel.
They can simplify buffering and termination.
And they can prevent one problematic section of the design from affecting access to everything else.
There is no universal answer.
The important thing is to consider the physical board architecture as well as the logical JTAG chain.
Build Flexibility into Revision One
The first revision is where flexibility matters most.
Before the board exists, you don’t yet know exactly how those long traces, device inputs, buffers and connectors will behave together on real hardware.
Simulation and good design practice will take you a long way.
But providing a few low-cost adjustment points gives engineers options if reality turns out to be slightly different.
Useful provisions can include:
- 0 Ω series resistor positions
- Unfitted termination resistor and capacitor footprints
- Series resistor footprints on TDO outputs
- Test points between sections of a scan chain
- Links that allow sections of a chain to be isolated or bypassed
- Optional buffer positions where long routes or additional branches may eventually be required
Individually, these are tiny design decisions.
Collectively, they can turn a difficult JTAG signal-integrity problem into something that can be resolved on the bench rather than through another PCB revision.
Closing Thought
As boards become larger, JTAG design becomes less about simply connecting TCK, TMS, TDI and TDO and more about how those signals are distributed across the PCB.
The underlying rules remain straightforward:
Keep stubs short.
Buffer where you need to split signals.
Terminate each branch at its end.
And design in adjustment points before you know you need them.
The goal isn’t to make the first design unnecessarily complicated.
It is to make sure that if a problem appears, you still have options.
For more on buffering, fan-out and termination, see the XJTAG Design & Test Guidelines.
Board Design Tip of the Week
Label every unfitted JTAG footprint on the schematic with its purpose.
For example: “TCK RC termination – fit if ringing is seen at U12”.
Whoever brings up the board may not be the person who designed it. A short note tells them what each footprint is for and when to use it.
A footprint nobody understands is a footprint nobody will use.
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!
