Wednesday, December 25, 2013

JTAG - A technical overview


Introduction
Advances in silicon design such as increasing device density and, more recently, BGA packaging have reduced the efficacy of traditional testing methods.

In order to overcome these problems, some of the world's leading silicon manufacturers combined to form the Joint Test Action Group. The findings and recommendations of this group were used as the basis for the Institute of Electrical and Electronic Engineers (IEEE) standard 1149.1: Standard Test Access Port and Boundary Scan Architecture. This standard has retained its link to the group and is commonly know by the acronym JTAG.



Boundary Scan

The main advantage offered by utilising boundary scan technology is the ability to set and read the values on pins without direct physical access.

Figure 1 - Schematic Diagram of a JTAG enabled device


The process of boundary scan can be most easily understood with reference to the schematic diagram shown in figure 1.

All the signals between the device's core logic and the 'pins' are intercepted by a serial scan path known as the Boundary Scan Register (BSR). In normal operation these boundary scan cells are invisible. However, in test mode the cells can be used to set and/or read values: in external mode these will be the values of the 'pins'; in 'internal' mode these will the values of the core logic.

Interface Signals
The JTAG interface, collectively known as a Test Access Port, or TAP, uses the following signals to support the operation of boundary scan.
TCK (Test Clock) – this signal synchronizes the internal state machine operations.
TMS (Test Mode Select) – this signal is sampled at the rising edge of TCK to determine the next state.
TDI (Test Data In) – this signal represents the data shifted into the device's test or programming logic. It is sampled at the rising edge of TCK when the internal state machine is in the correct state.
TDO (Test Data Out) – this signal represents the data shifted out of the device's test or programming logic and is valid on the falling edge of TCK when the internal state machine is in the correct state.
TRST (Test Reset) – this is an optional pin which, when available, can reset the TAP controller's state machine.
Registers
There are two types of registers associated with boundary scan. Each compliant device has one instruction register and two or more data registers.

Instruction Register – the instruction register holds the current instruction. Its content is used by the TAP controller to decide what to do with signals that are received. Most commonly, the content of the instruction register will define to which of the data registers signals should be passed.

Data Registers – there are three primary data registers, the Boundary Scan Register (BSR), the BYPASS register and the IDCODES register. Other data registers may be present, but they are not required as part of the JTAG standard.
BSR – this is the main testing data register. It is used to move data to and from the I/O pins of a device.
BYPASS – this is a single-bit register that passes information from TDI to TDO. It allows other devices in a circuit to be tested with minimal overhead.
IDCODES – this register contains the ID code and revision number for the device. This information allows the device to be linked to its Boundary Scan Description Language (BSDL) file. The file contains details of the Boundary Scan configuration for the device.
Test Access Port (TAP) Controller
The TAP controller, a state machine whose transitions are controlled by the TMS signal, controls the behaviour of the JTAG system. Figure 2, below, shows the state-transition diagram.


Figure 2 - TAP State machine


All states have two exits, so all transitions can be controlled by the single TMS signal sampled on TCK. The two main paths allow for setting or retrieving information from either a data register or the instruction register of the device. The data register operated on (e.g. BSR, IDCODES, BYPASS) depends on the value loaded into the instruction register.

For more detail on each state, refer to the IEEE 1149.1 Standard JTAG document.
Boundary Scan Instructions

The IEEE 1149.1 standard defines a set of instructions that must be available for a device to be considered compliant. These instructions are:
BYPASS – this instruction causes the TDI and TDO lines to be connected via a single-bit pass-through register (the BYPASS register). This instruction allows the testing of other devices in the JTAG chain without any unnecessary overhead.
EXTEST – this instruction causes the TDI and TDO to be connected to the Boundary Scan Register (BSR). The device's pin states are sampled with the 'capture dr' JTAG state and new values are shifted into the BSR with the 'shift dr' state; these values are then applied to the pins of the device using the 'update dr' state.
SAMPLE/PRELOAD – this instruction causes the TDI and TDO to be connected to the BSR. However, the device is left in its normal functional mode. During this instruction, the BSR can be accessed by a data scan operation to take a sample of the functional data entering and leaving the device. The instruction is also used to preload test data into the BSR prior to loading an 
EXTEST instruction.

Other commonly available instructions include:
IDCODE – this instruction causes the TDI and TDO to be connected to the IDCODE register.
INTEST – this instruction causes the TDI and TDO lines to be connected to the Boundary Scan Register (BSR). While the EXTEST instruction allows the user to set and read pin states, the INTEST instruction relates to the core-logic signals of a device.

Friday, December 20, 2013

List of Mobile phone companies of India

List of Telecommunications companies of India


A
Aircel
Audience Measurement and Analytics Ltd. (aMap)

Friday, December 6, 2013

List of Electronics/Semiconductor companies

Here is a list of leading electronics/semiconductor companies.

Click on the name to go to the company's website. There are also a few links at the end of this page that may be helpful.



Do you like the article ? 
Like and Give Google +1 for this Article :


Thursday, December 5, 2013

Top 10 Very Impotent Google tricks



Top 10 Very Impotent Google tricks of all times..

1. Definition: there is no longer the need to type a word and then visit dictionaries online to find its meaning. Using this trick, all you need to do is simply write “define” followed by the word whose meaning you want to know.You will be amazed to see that the meaning of the word, along with its synonym and antonym will be displayed on the search engine. For instance, type “define reach” and then press enter. The meaning of the word will get displayed on your screen.

2. Phone number lookup: it is now possible to trace mobile number by simply typing the full number along with the area code. This will display the address as well as the name of the person under whose name the number is registered.

3.Local search: you can now find local restaurants and other landmarks with this trick. Simply go to “Google visit” and type the name of the area and the place which you want to find. It is capable of displaying all local landmarks and places.

4.Translate: the “Google language tool” comes very handy while translating text, words, a fully fledged web page or document on the internet.

5.Find movies and weather: All you need to do is type “movies” or “weather” in the search box followed by the area code or name of the state in order to display corresponding information regarding it. For instance, if you type “weather 12345”, weather conditions of the corresponding location will be displayed. Also, on typing “movies 12345”, the details of all the movies currently running at that place along with number of shows will get displayed.

6.Paged linked to you: You can now find the web pages and links that are connected with your blog or website. Simply type “link” followed by the URL of your website and you will get a list of all the pages connected with your website.

7.Tracking airline flights and packages: this is another handy trick. You can now find the arrival time and status of a flight by simply entering the name of the airline and corresponding flight number.

8.Calculator: you can use the Google search engine as a real time calculator as well. For instance, if you will type 25+25 in the search box, 50 will get displayed.

9.Stocks: all you need to do is type the stock symbol on Google and you will get information about stock rates, links as well as charts. For instance, to know about the stock details of “Microsoft”, you have to write “msft” on Google.

10.Finding PDF results only: to get results matching only a certain file type, simply type “fileType:” after your search. Online manuals can be found using this trick from Google.

Do you like the article ? 
Like and Give Google +1 for this Article :



Related Posts Plugin for WordPress, Blogger...