• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » What is JTAG in Electronics?

By Abhishek Ghosh September 15, 2023 7:19 pm Updated on September 15, 2023

What is JTAG in Electronics?

Advertisement

Electronic circuits and devices are getting smaller and exponentially more complex. When they were large, they can be tested them with test probes on the bottom of the board. There were issues with such method but still it was a way. Today, components are mounted on both sides of a circuit board, hence no place of attachment are left for the test equipment.

Joint Test Action Group (JTAG) is a commonly used synonym for the IEEE standard 1149.1, which describes a methodology for testing and debugging integrated circuits, i.e. hardware on printed circuit boards. The most prominent method, which was first implemented in the JTAG working group, is the boundary scan test according to IEEE 1149.1. With the addition of additional methods, the terms are no longer synonymous, while the description language retained the original name from the IEEE Working Group with Boundary Scan Description Language.

The purpose of the method is to test integrated circuits (ICs) for function while they are already in their working environment, for example soldered on a circuit board. For this purpose, a JTAG-capable device has IC components that are completely separated during normal operation and thus do not interfere with the function of the component. Only by activating the JTAG function on a specific pin, the Test Mode Select Input, can the hardware system be influenced and thus controlled with the help of these additional components. JTAG’s interface to the outside world is implemented as a shift register. A JTAG component essentially consists of the following parts:

Advertisement

---

  1. The Test Access Port (TAP) with the control lines, generally also called the JTAG port or JTAG interface.
  2. The TAP controller, a state machine that controls the test logic.
  3. Two shift registers, the “Instruction Register” (IR) and the “Data Register” (DR).
  4. Test Access Port

The Test Access Port (TAP) consists of five control lines:

  • Test Data Input (TDI). Serial Input of shift registers.
  • Test Data Output (TDO). Serial output of the shift registers.
  • Test Clock (TCK). The clock signal for the entire test logic.
  • Test Mode Select (TMS). This controls the state machine of the TAP controller.
  • Test Reset (TRST). Reset the test logic. This line is optional, as a reset can also be triggered via the TAP controller.
What is JTAG in Electronics


Image: JTAG Debugging the ESP32, by mcuoneclipse.com
Method described here: https://mcuoneclipse.com/2019/10/20/jtag-debugging-the-esp32-with-ft2232-and-openocd/

There can be multiple TAPs on a hardware system that are daisy-chained together. This is known as the “JTAG chain”. Effectively, this usually results in a series connection of the shift registers of the TAPs involved, but other circuit patterns are also defined in the JTAG standard. The TAP controllers of the individual TAPs run in parallel.

Meanwhile, JTAG is increasingly used to configure FPGAs and CPLDs as well as for programming and debugging microcontrollers. Parallel programmable memories, such as flash memory, which are directly connected to an IC with a JTAG port, can therefore be reprogrammed in the installed state because the IC for the memory chip can emulate a programming device. The Serial Vector Format (SVF) is often used to exchange such programming data.

Because of the direct hardware access via JTAG, the interface is suitable for circumventing security measures. Therefore, the term JTAG is often used – and not always with a uniform definition – in the context of the hacker scene. Gamers speak of a jtagged XBox when modding techniques have been used to run content on a game console without a manufacturer’s signature. In the hardware context, JTAG is used interchangeably with debugging, which can be misleading in the software field.

In particular, JTAG can be used to explore the boot process of devices with the aim of interrupting it and gaining control of the device through code injection. To prevent this access, ICs often do not mark the JTAG ports as such or actively obfuscate them. Other safety measures include subsequent masking of the pins, a housing that covers the JTAG pins, or fuses in the JTAG connections that are destroyed after the tests are completed. Access to JTAG ports can therefore be difficult, but is possible in virtually any case with the appropriate effort.

Access to hardware via JTAG ports could only be prevented if the access itself had encryption or authentication. Various drafts have been submitted, but there are no standards and only a few implementations.

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to What is JTAG in Electronics?

  • IEEE Standards Related to Internet of Things (IoT)

    IEEE Standards Association has a number of standards Which Are Related to IoT. Here are IEEE Standards Related to Internet of Things (IoT).

  • WordPress & PHP : Different AdSense Units on Mobile Devices

    Here is How To Serve Different AdSense Units on Mobile Devices on WordPress With PHP. WordPress Has Function Which Can Be Used In Free Way.

  • Changing Data With cURL for OpenStack Swift (HP Cloud CDN)

    Changing Data With cURL For Object is Quite Easy in OpenStack Swift. Here Are Examples With HP Cloud CDN To Make it Clear. Official Examples Are Bad.

  • 74HC595 Shift Register Theory For Arduino Tutorials

    With Shift Register, You Can Use One Arduino Pin To Blink Multiple LED. Here is 74HC595 Shift Register Theory For Arduino Tutorials.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • What is a Digital-to-Analog Converter (DAC)September 25, 2023
  • Tips on S Pen Air ActionsSeptember 24, 2023
  • Market Segmentation in BriefSeptember 20, 2023
  • What is Booting?September 18, 2023
  • What is ncurses?September 16, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy