by pat

 

This page provides background on JTAG cables and connectors along with links to common JTAG connector vendors. You can also visit our Pin-outs pages for more

information about the signals and pin-outs commonly used. Testing, programming or debugging a system via JTAG requires access to at least the 4 core signals used for communication between the test/debug tool and the Device Under test (DUT). The core signals are: Test Data In (TDI), Test data Out (TDO), Test Mode Select (TMS) and  Test Clock (TCK). Since there is no standard connector for JTAG, many different types of connectors can be used depending on:

  • board real-estate available
  • security Concerns
  • noise and cabling considerations

Let’s examine each area in turn and how it relates to your connector choices.

Board Real-Estate Available

The physical size and packaging of your circuit board will influence your choice of connector. Small devices such as cell phones may not have a connector at all and only have pads that are used for factory build, debug test and repair. Typically an in-circuit tester, flying probe machine or test fixture will be used to allow connection to the pads. larger boards will allow for larger connectors to be used and will often be populated with a connector for easy access for device programming, debug and test.

Security Concerns

Security is a major concern for many vendors of consumer products like cell phones, iPads, etc. These types of products are often hacked and reverse engineered, Using JTAG and other techniques,  so that counterfeit products can be made and sold on the black market. In other cases, devices may contain sensitive information or Intellectual property that needs to be protected. In cases like this, the manufacture will often not populate JTAG headers or in some cases not bring out connections to the interface at all.  Pins are sometimes spread throughout the board as test points in order to obfuscate the use of the pins. For manufacturing and debug a test fixture is often designed to provide access to the pins during manufacturing, These pins can later be encapsulated to further deter access.

Noise and Cabling Considerations

JTAG signals typically run at speeds of greater than 10 MHz and often faster. At these speeds, care is required to ensure that proper signal integrity is maintained. Adding to the issue is the fact that many manufacturing environments have significant electrical noise.  To reduce noise, you should strive to have a ground signal for every JTAG signal and especially the CLK pin. Some connectors support signal pairs or coax signals to improve signal quality. High-Speed micro ribbon cables can also be used. Here is  an excellent Application note on noise/signal integrity in JTAG systems There are several classes of connections that can be used including:

  • Test points – Pads on a PCB to allow connection to JTAG pins when the board is placed in a test fixture.
  • Small, no connector –  – Socket-less adapters (see Tag-connect below)
  • Headers – 10, 14, 20 pin sockets and connectors used on many different boards
  • High Speed Cables and Connectors – See Samtec below

Here is a list of popular JTAG connector vendors. Samtec – High-speed JTAG cables and connectors Tag-Connect – Innovative method to connect to the unit under test with out placing a socket on your board, saves space and cost. Ironwood – custom sockets to break out  signals from high-density and surface mount devices Emulation technology – custom device sockets to break out hard to access signals from high-density and surface mount devices Digikey – JTAG Debugger and tool sockets, connectors and adapters cutedigi – JTAG multi-connector board – breaks out 20-pins to various standard headers Signal integrity in Test Fixtures App Note DFT Guidelines – Includes connector signal guidelines If you have suggestions for additional resources, please let us know.

About the author 

pat

Leave a Repl​​​​​y

Your email address will not be published. Required fields are marked

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}