Difference between revisions of "JTAG"

From OpenCircuits
Jump to navigation Jump to search
(signals, not pins -the connectors have many more pins)
 
(35 intermediate revisions by 22 users not shown)
Line 1: Line 1:
[http://nazymaa92.ifrance.com/new/dvd-recorder103/ dvd recorder hd jvc] [http://miceaonmars.ifrance.com/data/burraco-gioco1.htm burraco gioco di carte] [http://milaya8706.ifrance.com/topic/jet-airline2.htm jet airline modern talking midi] [http://essaenty.ifrance.com/shadow-s/ shadow s] [http://miceaonmars.ifrance.com/data/viseo-sex.htm viseo sex free] [http://kommersantid.ifrance.com/articles/caccia-all1/ caccia all uomo] [http://listoksana7777777.ifrance.com/content/juanes-mada.htm juanes mada valgo sin tu amor] [http://nazymaa92.ifrance.com/new/platinum-neo/ platinum neo2] [http://usersanto.ifrance.com/lettori-divx22/ lettori divx mp3] [http://miceaonmars.ifrance.com/data/musica-e8.htm musica e sdk per doom 3] [http://kommersantid.ifrance.com/articles/my-band10/ my band di eminem feat d 12] [http://nazymaa92.ifrance.com/new/left-outside29/ left outside alone video] [http://backseatjesus.ifrance.com/description/reskate/ reskate] [http://listoksana7777777.ifrance.com/content/boca-chica.htm boca chica] [http://nazymaa92.ifrance.com/new/alleluja-oc/ alleluja oc] [http://ospanaova.ifrance.com/data/il-clavicembalo/ il clavicembalo] [http://kommersantid.ifrance.com/articles/vera-di/ vera di sal da vinci] [http://emoser.ifrance.com/html/sebri.htm sebri] [http://emoser.ifrance.com/html/video-amatoriali6.htm video amatoriali porno] [http://ospanaova.ifrance.com/data/polka-klezmer/ polka klezmer] [http://layaah.ifrance.com/resources/campeggio-corsica.html campeggio corsica] [http://alexright.ifrance.com/resources/franklin/ franklin] [http://taelonmahal.ifrance.com/la-promessa.htm la promessa dei venti] [http://elixer.ifrance.com/blog/super-eva6.html super eva] [http://looktaomyeyes.ifrance.com/lib/dalimas-prayer/ dalimas prayer] [http://essaenty.ifrance.com/patrick-sunshine/ patrick sunshine] [http://elixer.ifrance.com/blog/drews.html drews] [http://listoksana7777777.ifrance.com/content/marketwatch.htm marketwatch] [http://usersanto.ifrance.com/zardini/ zardini] [http://ospanaova.ifrance.com/data/volo-aereo100/ volo aereo cataniaroma] [http://backseatjesus.ifrance.com/description/figli-di13/ figli di pitagora midi] [http://essaenty.ifrance.com/schede-video79/ schede video rca] [http://taelonmahal.ifrance.com/residence-treviso.htm residence treviso] [http://miceaonmars.ifrance.com/data/malaysia-ristorante.htm malaysia ristorante] [http://listoksana7777777.ifrance.com/content/alfa-53.htm alfa 146 td] [http://looktaomyeyes.ifrance.com/lib/il-futuro2/ il futuro di level 5 verso la ps3] [http://ivaneremin.ifrance.com/library/blind-scan.htm blind scan] [http://essaenty.ifrance.com/la-bambinaia/ la bambinaia francese] [http://looktaomyeyes.ifrance.com/lib/john-waite/ john waite] [http://milaya8706.ifrance.com/topic/nacha-pop.htm nacha pop] [http://gotka9a5.ifrance.com/lib/dj-alin.html dj alin] [http://backseatjesus.ifrance.com/description/pesca-torcia/ pesca torcia] [http://looktaomyeyes.ifrance.com/lib/canzoni-neomelodiche/ canzoni neomelodiche] [http://alexright.ifrance.com/resources/ventola-x2/ ventola 120x120] [http://backseatjesus.ifrance.com/description/piero-chiara/ piero chiara il piatto piange] [http://usersanto.ifrance.com/tiziano-ferro55/ tiziano ferro non so] [http://miceaonmars.ifrance.com/data/baby-monitor2.htm baby monitor cobra] [http://elixer.ifrance.com/blog/albachiara.html albachiara] [http://kommersantid.ifrance.com/articles/lavoro-collegno/ lavoro collegno] [http://essaenty.ifrance.com/come-farsi2/ come farsi lasciare in 10 giorni] [http://usersanto.ifrance.com/cbr-7/ cbr 600 f honda] [http://alexright.ifrance.com/resources/www-juventus2/ www juventus] [http://emoser.ifrance.com/html/remolino.htm remolino] [http://alexright.ifrance.com/resources/milano-mauritius/ milano mauritius biglietti aerei] [http://emoser.ifrance.com/html/ubbidiente.htm ubbidiente] [http://usersanto.ifrance.com/senza-censure/ senza censure] [http://emoser.ifrance.com/html/tirrenia-sardegna.htm tirrenia sardegna] [http://nazymaa92.ifrance.com/new/cavo-pioneer/ cavo pioneer accessori per autoradio] [http://looktaomyeyes.ifrance.com/lib/jill-cooper/ jill cooper] [http://kommersantid.ifrance.com/articles/prochrist/ prochrist] [http://usersanto.ifrance.com/smack-down4/ smack down opening theme] [http://backseatjesus.ifrance.com/description/giacca-rotta/ giacca rotta] [http://kommersantid.ifrance.com/articles/april-shower/ april shower] [http://emoser.ifrance.com/html/sollevamento-.htm sollevamento  attrezzature e accessori] [http://backseatjesus.ifrance.com/description/il-trno/ il trno merci] [http://milaya8706.ifrance.com/topic/nokia-bpm.htm nokia bp6m] [http://milaya8706.ifrance.com/topic/daewoo-roma.htm daewoo roma] [http://essaenty.ifrance.com/la-funzione1/ la funzione del corpo umano it] [http://essaenty.ifrance.com/erba-gattaia/ erba gattaia] [http://emoser.ifrance.com/html/forno-incasso16.htm forno incasso classe energetica a] [http://ospanaova.ifrance.com/data/rivalta-di/ rivalta di gazzola] [http://miceaonmars.ifrance.com/data/opel-meriva14.htm opel meriva 1 7 16v cdti] [http://usersanto.ifrance.com/assassinio-per/ assassinio per cause naturali] [http://listoksana7777777.ifrance.com/content/atollo.htm atollo] [http://layaah.ifrance.com/resources/musica-de35.html musica de yandel] [http://taelonmahal.ifrance.com/you-raise7.htm you raise me up josh groban] [http://essaenty.ifrance.com/al7/ al 702] [http://kommersantid.ifrance.com/articles/hitachi-travelstar7/ hitachi travelstar hard disk e floppy] [http://milaya8706.ifrance.com/topic/patch-italiano2.htm patch italiano sap2000] [http://listoksana7777777.ifrance.com/content/y-vanity.htm y vanity] [http://listoksana7777777.ifrance.com/content/hd-recorder1.htm hd recorder] [http://nazymaa92.ifrance.com/new/abbigliamento-baci1/ abbigliamento baci e abbracci felpa] [http://listoksana7777777.ifrance.com/content/sibari.htm sibari] [http://taelonmahal.ifrance.com/servizi-sollievo.htm servizi sollievo] [http://ospanaova.ifrance.com/data/rufino/ rufino] [http://emoser.ifrance.com/html/breakfast-on.htm breakfast on pluto] [http://essaenty.ifrance.com/dvd-slim5/ dvd slim esterno] [http://emoser.ifrance.com/html/krnov.htm krnov] [http://listoksana7777777.ifrance.com/content/mariio.htm mariio] [http://elixer.ifrance.com/blog/trans-duro.html trans duro] [http://ospanaova.ifrance.com/data/videogiochi-game/ videogiochi game boy] [http://taelonmahal.ifrance.com/milano-odessa.htm milano odessa biglietti aerei] [http://miceaonmars.ifrance.com/data/il-sogno10.htm il sogno dei campioni] [http://alexright.ifrance.com/resources/km-citroen6/ km0 citroen auto km 0] [http://alexright.ifrance.com/resources/philips-assistenza2/ philips assistenza genova] [http://elixer.ifrance.com/blog/que-me1.html que me perdone] [http://emoser.ifrance.com/html/lg-mp1.htm lg mp3 256] [http://gotka9a5.ifrance.com/lib/daewoo-nubira1.html daewoo nubira gpl] [http://elixer.ifrance.com/blog/foto-artistiche.html foto artistiche] [http://ospanaova.ifrance.com/data/carlo-cassola/ carlo cassola la ragazza di bube] [http://drive-cool.we.bs/content/espresso-caffe1/ espresso caffe] [http://listlisay07.ifrance.com/data/trucco-the1.html trucco the sims 2] [http://demon-zloi.we.bs/articles/we-re2.htm we re all living in america] [http://soulreciever.we.bs/topic/yfvh/ yfvh] [http://izvestia-ru.we.bs/library/shakira-desnuda.html shakira desnuda] [http://soulreciever.we.bs/topic/www-minedu/ www minedu gob com pe] [http://listcool-girl.we.bs/data/zhengding.htm zhengding] [http://svetik876.we.bs/web/north-wales/ north wales] [http://listlisay07.ifrance.com/data/toner-minolta8.html toner minolta 2300] [http://seleda.ifrance.com/html/il-mio41/ il mio amico mose] [http://vbkittena.ifrance.com/new/www-telecom3.html www telecom it] [http://seleda.ifrance.com/html/general-woo/ general woo] [http://recet-5.we.bs/small/boob-marley.html boob marley] [http://easy-riders-50.we.bs/new/john-gay.html john gay the beggars opera] [http://listcool-girl.we.bs/data/uomo-e3.htm uomo e galantuomo de filippo] [http://denniska.we.bs/la-traccia1/ la traccia del serpente] [http://denniska.we.bs/cassetto-canon/ cassetto canon pclcp100] [http://marinakaup.ifrance.com/cafe-tacuba/ cafe tacuba eres video] [http://manujoie.ifrance.com/styles/altezza-adriana/ altezza adriana lima] [http://vbkittena.ifrance.com/new/bobble-puzzle2.html bobble puzzle gioco] [http://roxyisthebest.ifrance.com/lib/tommy-vee24.html tommy vee selction] [http://dinakeldl.ifrance.com/blog/axis-2/ axis 221 network camera] [http://easy-riders-50.we.bs/new/rexel-cb.html rexel cb355] [http://manujoie.ifrance.com/styles/eleonora-di3/ eleonora di miele foto] [http://listlisay07.ifrance.com/data/multipower-muscle2.html multipower muscle charge] [http://marinakaup.ifrance.com/the-wind1/ the wind of chances] [http://svetik876.we.bs/web/riviste-cicloturismo/ riviste cicloturismo] [http://ama-det.we.bs/articles/video-silence.html video silence download] [http://roxyisthebest.ifrance.com/lib/sito-web10.html sito web bergamo] [http://dinakeldl.ifrance.com/blog/libri-per6/ libri per concorsi informatica] [http://soulreciever.we.bs/topic/croazia-last/ croazia last second] [http://seleda.ifrance.com/html/escape-from12/ escape from caste doom] [http://roxyisthebest.ifrance.com/lib/menores-cojiendo.html menores cojiendo] [http://ama-det.we.bs/articles/collane-in1.html collane in pietre dure] [http://demon-zloi.we.bs/articles/lettore-dvd85.htm lettore dvd tv portatile] [http://mike12394.we.bs/text/club-privee3/ club privee] [http://dinakeldl.ifrance.com/blog/nike-rival2/ nike rival bianco argento] [http://marinakaup.ifrance.com/tatuaggi-scritte/ tatuaggi scritte giapponesi] [http://karolan.we.bs/description/femmina-nuda.htm femmina nuda] [http://izvestia-ru.we.bs/library/www-bottega.html www bottega verde it] [http://dinakeldl.ifrance.com/blog/los-simpsons/ los simpsons] [http://easy-riders-50.we.bs/new/domande-di2.html domande di sesso] [http://vbkittena.ifrance.com/new/sesso-telefono.html sesso telefono gay] [http://izvestia-ru.we.bs/library/caricabatterie-palmari.html caricabatterie palmari] [http://marinakaup.ifrance.com/golden-ball1/ golden ball awards] [http://karolan.we.bs/description/sony-wega1.htm sony wega 29] [http://easy-riders-50.we.bs/new/nuove-immagini35.html nuove immagini da heaven and hell] [http://ama-det.we.bs/articles/gigi-complex.html gigi complex] [http://sasha-feather.contabil.org/description/racconti-romani.htm racconti romani] [http://soulreciever.we.bs/topic/litanie-del/ litanie del vino] [http://ladgao.ifrance.com/blog/nirvana-salvatores.html nirvana salvatores] [http://denniska.we.bs/eu-beua/ eu beua] [http://manujoie.ifrance.com/styles/nelly-makdessi/ nelly makdessi porno] [http://demon-zloi.we.bs/articles/briam-adams.htm briam adams] [http://denniska.we.bs/regole-ping/ regole ping pong] [http://manujoie.ifrance.com/styles/florida-shopping/ florida shopping] [http://drive-cool.we.bs/content/p15/ p4 3 8] [http://roxyisthebest.ifrance.com/lib/giochi-di149.html giochi di carte scala40] [http://marinakaup.ifrance.com/down-load2/ down load typing lesson] [http://listlisay07.ifrance.com/data/beatles-anthology.html beatles anthology libri] [http://marinakaup.ifrance.com/nespresso-delonghi/ nespresso delonghi] [http://izvestia-ru.we.bs/library/orari-circolari.html orari circolari agrigento] [http://denniska.we.bs/numeri-telefonici3/ numeri telefonici cabine telefoniche] [http://listlisay07.ifrance.com/data/noisex.html noisex] [http://bitchybeauty.we.bs/topic/regina-day/ regina day by day] [http://roxyisthebest.ifrance.com/lib/questionnaire-social.html questionnaire social insert prisoner usa] [http://ama-det.we.bs/articles/rogers-stay.html rogers stay] [http://listlisay07.ifrance.com/data/recife-milano.html recife milano biglietti aerei] [http://recet-5.we.bs/small/bandiera-reale.html bandiera reale inglese] [http://drive-cool.we.bs/content/frigoriferi-samsung4/ frigoriferi samsung due porte inox] [http://denniska.we.bs/lettore-dvd79/ lettore dvd divx philips dvp 3010] [http://listlisay07.ifrance.com/data/fotos-de171.html fotos de livia lemos nua] [http://roxyisthebest.ifrance.com/lib/lcd-casio.html lcd casio 2 5] [http://bitchybeauty.we.bs/topic/born-slippy/ born slippy] [http://demon-zloi.we.bs/articles/staffa-per4.htm staffa per tv lcd] [http://drive-cool.we.bs/content/senza-fili3/ senza fili stereo] [http://sasha-feather.contabil.org/description/liar-killer.htm liar killer] [http://demon-zloi.we.bs/articles/bekim-fehmiu.htm bekim fehmiu] [http://roxyisthebest.ifrance.com/lib/testi-e22.html testi e spartiti caparezza] [http://marinakaup.ifrance.com/pa-que2/ pa que retozen] [http://mike12394.we.bs/text/costruzioni-legno/ costruzioni legno] [http://trainedactor.we.bs/k-maro10/ k maro famme like you mp3 download free] [http://listlisay07.ifrance.com/data/desirous.html desirous] [http://recet-5.we.bs/small/philips-pss.html philips pss] [http://listlisay07.ifrance.com/data/stampante-1.html stampante 4 colori] [http://vbkittena.ifrance.com/new/o-rappa1.html o rappa] [http://listlisay07.ifrance.com/data/parafrasi-il5.html parafrasi il giorno di giuseppe parini] [http://dinakeldl.ifrance.com/blog/offerta-giappone/ offerta giappone] [http://marinakaup.ifrance.com/usb-sony/ usb sony] [http://sasha-feather.contabil.org/description/departamentos-de.htm departamentos de colombia] [http://ladgao.ifrance.com/blog/esecuzione-a1.html esecuzione a bagdad] [http://vbkittena.ifrance.com/new/a-29.html a 520 canon] [http://karolan.we.bs/description/nokia-159.htm nokia 6610 silver] [http://seleda.ifrance.com/html/masterizzare-giochi2/ masterizzare giochi xbox] [http://denniska.we.bs/hally-berry1/ hally berry free photos porn] [http://recet-5.we.bs/small/film-erotici2.html film erotici gratis] [http://soulreciever.we.bs/topic/billy-gunn/ billy gunn] [http://denniska.we.bs/trepak-danse/ trepak danse russe] [http://manujoie.ifrance.com/styles/gelsomino-notturno/ gelsomino notturno analisi] [http://roxyisthebest.ifrance.com/lib/dfi-lanparty18.html dfi lanparty sli] 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.net/ the Jtag-Arm9 project at Sourceforge] gives instructions and  
+
* [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
 
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 11: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]