Difference between revisions of "JTAG"

From OpenCircuits
Jump to navigation Jump to search
(signals, not pins -the connectors have many more pins)
 
(47 intermediate revisions by 31 users not shown)
Line 1: Line 1:
[http://bodendrucker.ibelgique.com/resources/infinity-beta/ infinity beta 50] [http://quarantined-x.iespana.es/view/tostapane-a/ tostapane a piastre] [http://ms-dirtnap.ibelgique.com/description/eukanuba-senior/ eukanuba senior] [http://dafredri.angelfire.com/articles/harry-baird/ harry baird] [http://masteriii.isuisse.com/adobe-creative.htm adobe creative suite 2 mac] [http://billy-brown.isuisse.com/blog/ghost-jarre.htm ghost jarre] [http://re-nrevival.isuisse.com/view/dalila-y.htm dalila y que de mi] [http://marebeck.angelfire.com/new/pioneer-ts/ pioneer ts05] [http://girlwithacurl.ibelgique.com/small/zz-top.htm zz top greatest hits] [http://callie-avalon.iespana.es/lg-lcd/ lg lcd 20 tv] [http://hexa1598.ibelgique.com/epson-stylus/ epson stylus multifunzione] [http://eupnea.ibelgique.com/robinhood/ robinhood] [http://the-ile.iespana.es/proposte-ministero/ proposte ministero dell istruzione 2003] [http://eupnea.ibelgique.com/kameleon-ii/ kameleon ii] [http://samuiel.isuisse.com/html/viaggio-ecuador/ viaggio ecuador] [http://marebeck.angelfire.com/new/cd-campus/ cd campus live] [http://mubathsh.angelfire.com/text/franch.htm franch] [http://marebeck.angelfire.com/new/foto-di/ foto di roberto farnesi] [http://pooponastick.ibelgique.com/description/www-husqvarna/ www husqvarna it] [http://zigz-kom.isuisse.com/reggeton-hector/ reggeton hector y tito] [http://ms-dirtnap.ibelgique.com/description/anona/ anona] [http://anryg.iespana.es/lib/volo-da.htm volo da milano per olbia] [http://sharkymel.isuisse.com/web/fm-trasmettitore/ fm trasmettitore] [http://samuiel.isuisse.com/html/bubble-adventures/ bubble adventures] [http://billy-brown.isuisse.com/blog/haydn.htm haydn 94] [http://brkim.angelfire.com/resources/download-clean.htm download clean system] [http://ana-princes.iespana.es/new/dvd-stampante/ dvd stampante] [http://marebeck.angelfire.com/new/nimbus-it/ nimbus it] [http://song-love.iespana.es/content/epson-photo/ epson photo r300] [http://bet-deratos.iespana.es/topic/subaru-impreza/ subaru impreza 2001 usata] [http://miki-hana.isuisse.com/description/dual-scan/ dual scan] [http://zelankom.iespana.es/tattooed-millionaire/ tattooed millionaire] [http://bet-deratos.iespana.es/topic/tv-y/ tv y novels] [http://scsheppe.angelfire.com/articles/rasmussen-knud.htm rasmussen knud] [http://abr-abrante.iespana.es/content/final-fantasy/ final fantasy crystal chronicles] [http://da-kosta.iespana.es/directory/future-model.htm future model menagement] [http://ofdays.isuisse.com/library/two/ two] [http://the-ile.iespana.es/www-arcobaleno/ www arcobaleno com] [http://annie-fialochka.ibelgique.com/lib/ristorante-la.htm ristorante la diligenza] [http://glchinsy.angelfire.com/topic/oliastro/ oliastro] [http://epbristo.angelfire.com/headset-logitech/ headset logitech] [http://re-nrevival.isuisse.com/view/hector-y.htm hector y tito don omar] [http://brvarcoe.angelfire.com/styles/volkswagen-golf.htm volkswagen golf 2 0 tdi 2003] [http://ohsoemo22a.ibelgique.com/library/masterizzatori-dvd.htm masterizzatori dvd lite on] [http://pahopewe.angelfire.com/resources/televisore.htm televisore 14] [http://sportsgal25.iespana.es/blog/hard-disk.htm hard disk esterni 250 gb] [http://glchinsy.angelfire.com/topic/video-que/ video que lloro] [http://zelankom.iespana.es/pillola-dimagranti/ pillola dimagranti] [http://pooponastick.ibelgique.com/description/amd-athlon/ amd athlon 64 fx 57] [http://stdamin.angelfire.com/resources/ortodossi.htm ortodossi] [http://dreameradrift.ibelgique.com/small/segnali-di/ segnali di pericolo] [http://glmillig.angelfire.com/library/lo-strano.htm lo strano percorso midi] [http://hibiscus-blue.ibelgique.com/view/logitech-dinovo.htm logitech dinovo media desktop mouse] [http://annie-fialochka.ibelgique.com/lib/nero-multi.htm nero multi channel] [http://cakresen.angelfire.com/articles/www-numeri.htm www numeri cellulari it] [http://song-love.iespana.es/content/semafori/ semafori] [http://sar-iong.iespana.es/text/pizzeria.htm pizzeria] [http://ohsoemo22a.ibelgique.com/library/ricette-di.htm ricette di pasta] [http://ruoj-ruoj.isuisse.com/description/hart-il/ hart il concetto di diritto] [http://salpukka.isuisse.com/lib/aspirapolvere-a/ aspirapolvere a traino] [http://bodendrucker.ibelgique.com/resources/la-squadra/ la squadra stagione 1 episodio 13] [http://ms-dirtnap.ibelgique.com/description/postal-virtual/ postal virtual] [http://the-ile.iespana.es/so-tell/ so tell the girls] [http://cakresen.angelfire.com/articles/stars-nude.htm stars nude] [http://akyla-pera.isuisse.com/text/syncmaster-p.htm syncmaster 173p] [http://ms-dirtnap.ibelgique.com/description/testo-di/ testo di this love dei maroon5] [http://ravenmax.iespana.es/impresa-donna.htm impresa donna in calabria] [http://dreameradrift.ibelgique.com/small/calendari-dei/ calendari dei ragazzi] [http://farshad-uk.isuisse.com/styles/flirt-game.htm flirt game] [http://quarantined-x.iespana.es/view/stampa-digitale/ stampa digitale grande formato] [http://ana-princes.iespana.es/new/galerias-de/ galerias de mujeres] [http://re-nrevival.isuisse.com/view/catalogo-datch.htm catalogo datch] [http://zelankom.iespana.es/sblocco-per/ sblocco per cellulari tre] [http://samuiel.isuisse.com/html/scarpa-scarpa/ scarpa scarpa] [http://samuiel.isuisse.com/html/la-gita/ la gita a tindari] [http://quarantined-x.iespana.es/view/km-fiat/ km0 fiat punto speed auto km 0] [http://marebeck.angelfire.com/new/el-carte/ el carte de santa] [http://sharkymel.isuisse.com/web/dvdr-stampabili/ dvdr stampabili] [http://farshad-uk.isuisse.com/styles/adsl-wireless.htm adsl wireless ethernet] [http://hexa1598.ibelgique.com/hard-disk/ hard disk photo] [http://epbristo.angelfire.com/model-three/ model three] [http://re-nrevival.isuisse.com/view/out-here.htm out here on my own nikka costa] [http://brkim.angelfire.com/resources/http-hotmail.htm http hotmail com] [http://farshad-uk.isuisse.com/styles/kodak-.htm kodak  easyshare dx 6490] [http://billy-brown.isuisse.com/blog/brano-di.htm brano di o c california] [http://eupnea.ibelgique.com/tomtom-go/ tomtom go mappe] [http://abr-abrante.iespana.es/content/asha/ asha] [http://cakresen.angelfire.com/articles/televisione-b.htm televisione b n] [http://cakresen.angelfire.com/articles/lucky-luke.htm lucky luke] [http://ohsoemo22a.ibelgique.com/library/dam-albert.htm dam albert] [http://night-sacrifice.isuisse.com/resources/sogni-grandiosi.htm sogni grandiosi] [http://grizs.iespana.es/articles/master-business.htm master business] [http://sar-iong.iespana.es/text/super-noba.htm super noba] [http://zigz-kom.isuisse.com/elezion-candidati/ elezion candidati] [http://den-namore.isuisse.com/abbigliamento-kway/ abbigliamento kway] [http://therealocelot.ibelgique.com/articles/netgear-wifi/ netgear wifi] [http://mubathsh.angelfire.com/text/immagini-attrici.htm immagini attrici] [http://ruoj-ruoj.isuisse.com/description/upm/ upm] [http://akyla-pera.isuisse.com/text/pellegrini-francesco.htm pellegrini francesco] [http://sar-iong.iespana.es/text/rice-alice.htm rice alice caldwell] The Joint Test Action Group (JTAG) standardized a 5 pin boundary-scan test port as IEEE Std. 1149.1, "Standard Test Access Port and Boundary-Scan Architecture".
+
The Joint Test Action Group (JTAG) standardized a 5 signal boundary-scan test port as IEEE Std. 1149.1, "Standard Test Access Port and Boundary-Scan Architecture".
  
 
While originally intended for boundary-scan testing of PCB assemblies, to replace bed-of-nails testing, the JTAG port included in many popular microprocessors is also often used for programming and debugging.
 
While originally intended for boundary-scan testing of PCB assemblies, to replace bed-of-nails testing, the JTAG port included in many popular microprocessors is also often used for programming and debugging.
Line 5: Line 5:
 
[http://hogyros.de/?q=node/167 "If you have information on how to connect a JTAG probe to a Nokia phone, please let me know."]
 
[http://hogyros.de/?q=node/167 "If you have information on how to connect a JTAG probe to a Nokia phone, please let me know."]
  
There are five pins:
+
There are five signals:
 
* TCK/clock
 
* TCK/clock
 
* TMS/mode select
 
* TMS/mode select
Line 19: Line 19:
 
== 20 Pin JTAG PinOut ==
 
== 20 Pin JTAG PinOut ==
  
Which one of these is right?
+
     1 +3.3 V    2 +3.3 V
 
 
    Pin Function Pin Function
 
    1  TRST    2  GND
 
    3  TDO      4  GND
 
    5  TDI      6  GND
 
    7  TMS      8  GND
 
    9  TCK    10  GND
 
    11  VPP_E  12  GND
 
    13  A/W    14  GND
 
    15  User 0  16  GND
 
    17  Rdy/Bsy 18  GND
 
    19  User 1  20  Vcc
 
 
 
     1 3.3 V    2 3.3 V
 
 
     3 nTRST    4 GND
 
     3 nTRST    4 GND
 
     5 TDI      6 GND
 
     5 TDI      6 GND
Line 42: Line 28:
 
     15 nRST    16 GND
 
     15 nRST    16 GND
 
     17  --      18 GND
 
     17  --      18 GND
     19  --      20 GND  
+
     19  --      20 GND
 
 
  
 
== external links ==
 
== external links ==
Line 50: Line 35:
 
* [http://www.arm.com/support/faqdev/1336.html "When designing development boards what style JTAG connector should I use?"] The 20-pin JTAG connector.
 
* [http://www.arm.com/support/faqdev/1336.html "When designing development boards what style JTAG connector should I use?"] The 20-pin JTAG connector.
 
* [http://www.embedded.com/story/OEG20021028S0049 "Introduction to JTAG"] by Rob Oshana 2002
 
* [http://www.embedded.com/story/OEG20021028S0049 "Introduction to JTAG"] by Rob Oshana 2002
* [http://hri.sourceforge.net/tools/jtag_faq_org.html "JTAG FAQ"] by Stas Khirman 2004
+
* [http://hri.sourceforge.net/tools/jtag_faq_org.html "JTAG FAQ"] by Stas Khirman 2004 includes a section on [http://hri.sourceforge.net/tools/jtag_faq_org.html#_Toc63218715 14 pin, 20 pin, and 8 pin JTAG headers]
 
* [http://k9spud.com/jtag/ a parallel port JTAG Debugger circuit for Philips LPC2xxx ARM microcontrollers.] by K9JTAG (uses Schmitt trigger inverters, so it can connect 3.0 V target boards to a standard 5.0 V parallel port)
 
* [http://k9spud.com/jtag/ a parallel port JTAG Debugger circuit for Philips LPC2xxx ARM microcontrollers.] by K9JTAG (uses Schmitt trigger inverters, so it can connect 3.0 V target boards to a standard 5.0 V parallel port)
 
* [http://diygadget.com/store/building-simple-jtag-cable/info_12.html parallel port JTAG "Building Simple JTAG Cable"] (resistors only)
 
* [http://diygadget.com/store/building-simple-jtag-cable/info_12.html parallel port JTAG "Building Simple JTAG Cable"] (resistors only)
Line 56: Line 41:
 
* [http://en.wikipedia.org/wiki/JTAG Wikipedia:JTAG]
 
* [http://en.wikipedia.org/wiki/JTAG Wikipedia:JTAG]
 
* [http://wiki.openwrt.org/OpenWrtDocs/Customizing/Hardware/JTAG_Cable OpenWRT wiki: JTAG Cables]
 
* [http://wiki.openwrt.org/OpenWrtDocs/Customizing/Hardware/JTAG_Cable OpenWRT wiki: JTAG Cables]
* [http://jtag-arm9.sourceforge.n
+
* [http://jtag-arm9.sourceforge.net/ the Jtag-Arm9 project at Sourceforge] gives instructions and photographs of a [http://jtag-arm9.sourceforge.net/hardware.html Home made JTAG interface] (also shows an example of prototyping using SMT IC)
1000
 
et/ the Jtag-Arm9 project at Sourceforge] gives instructions and photographs of a [http://jtag-arm9.sourceforge.net/hardware.html Home made JTAG interface] (also shows an example of prototyping using SMT IC)
 
 
* [http://freelabs.com/~whitis/electronics/jtag/ the JTAG protocol] by Mark Whitis
 
* [http://freelabs.com/~whitis/electronics/jtag/ the JTAG protocol] by Mark Whitis
 
* [http://scienceprog.com/avrjtag-clone-in-action/ "Building AVR Jtag clone"] includes schematics and firmware.
 
* [http://scienceprog.com/avrjtag-clone-in-action/ "Building AVR Jtag clone"] includes schematics and firmware.
 
+
* [http://www.embecosm.com/ Embecosm] publishes a "SystemC JTAG interface specification" to simplify debugging complex chips.
 +
* lists a variety of [http://www.freelabs.com/~whitis/electronics/jtag/ JTAG Pinouts]
 +
* [http://tree.celinuxforum.org/CelfPubWiki/ELC2009Presentations?action=AttachFile&do=get&target=DebuggingWithJtagCelf2009.pdf Debugging with JTAG (CELF presentation)]
 +
* Open JTAG Project [http://www.openjtag.org Make your proper high speed JTAG]
 
----
 
----

Latest revision as of 12:47, 1 November 2011

The Joint Test Action Group (JTAG) standardized a 5 signal boundary-scan test port as IEEE Std. 1149.1, "Standard Test Access Port and Boundary-Scan Architecture".

While originally intended for boundary-scan testing of PCB assemblies, to replace bed-of-nails testing, the JTAG port included in many popular microprocessors is also often used for programming and debugging.

"If you have information on how to connect a JTAG probe to a Nokia phone, please let me know."

There are five signals:

  • TCK/clock
  • TMS/mode select
  • TDI/data in
  • TDO/data out
  • TRST/reset (optional), when driven low, resets the internal state machine.

Except for TCK, all other JTAG lines should be pulled high via a resistor.


WARNING: unconfirmed pinout. Please add links to pinout standard.

20 Pin JTAG PinOut[edit]

    1 +3.3 V    2 +3.3 V
    3 nTRST     4 GND
    5 TDI       6 GND
    7 TMS       8 GND
    9 TCK      10 GND
   11  --      12 GND
   13 TDO      14 GND
   15 nRST     16 GND
   17  --      18 GND
   19  --      20 GND

external links[edit]