Difference between revisions of "JTAG"

From OpenCircuits
Jump to navigation Jump to search
(signals, not pins -the connectors have many more pins)
 
(30 intermediate revisions by 19 users not shown)
Line 1: Line 1:
[http://generallly.anywhy.info/ generallly] [http://jimmythesound.overhit.info/ jimmy the sound] [http://subterfuge.geratic.info/ subterfuge] [http://jacinthe.info/html/iosonomia.html io sono mia] [http://biffiluce.apodoses.info/ biffi luce] [http://wwwkrakdk.overhit.info/ www krak dk] [http://gheddafi.anywhy.info/ Gheddafi] [http://mydecember.overhit.info/ my december] [http://saipem.overhit.info/ saipem] [http://forswear.info/ forswear.info] [http://jacinthe.info/html/fordanglia.html ford anglia] [http://missmark.info/topic/mava.html mava] [http://geratic.info/index4_1000.html index] [http://apodoses.info/ apodoses.info] [http://forswear.info/blog/blu.html blu] [http://kimnotyze.apodoses.info/ kimnotyze] [http://apodoses.info/ apodoses.info] [http://missmark.info/topic/cyberlink.html cyberlink] [http://asusn6600td.anywhy.info/ asus n6600td] [http://anywhy.info/ anywhy.info] [http://missmark.info/topic/beastyboys.html beasty boys] [http://graververs.geratic.info/ graver vers] [http://tang.anywhy.info/ tang] [http://unrust.info/index4_250.html home] [http://codecavi.anywhy.info/ codec avi] [http://forswear.info/blog/tx32.html tx 32] [http://jacinthe.info/html/turboftp.html turbo ftp] [http://episomes.info/articles/undress.html undress] [http://donomarenlive.apodoses.info/ don omar en live] [http://jacinthe.info/html/mp100.html mp 100] [http://forswear.info/blog/lgdvdrh7800.html lg dvd rh7800] [http://episomes.info/articles/hedz.html hedz] [http://unrust.info/index6_666.html index] [http://episomes.info/articles/you.html you] [http://negrasamba.geratic.info/ negra samba] [http://wwwwierszykisms.geratic.info/ www wierszyki sms pl] [http://jacinthe.info/html/uefachampionsleague.html uefa champion s league song] [http://jacinthe.info/html/fiat500.html fiat 500] [http://bigsur.geratic.info/ big sur] [http://gzmc200.apodoses.info/ gz mc200] [http://viccar.unrust.info/ viccar] [http://episomes.info/articles/mercedessportcoupe.html mercedes sportcoupe evo] [http://epsonepl6100.anywhy.info/ epson epl 6100 l] [http://nx611017.apodoses.info/ nx6110 1 7] [http://missmark.info/topic/wwwrolexcommx.html www rolex com mx] [http://missmark.info/topic/momi.html momi] [http://jacinthe.info/html/mchsrl.html mch srl] [http://jacinthe.info/html/utac.html utac] [http://jacinthe.info/html/peliproducts.html peli products] [http://kvr533d2e4512.apodoses.info/ kvr533d2e4 512] [http://episomes.info/ episomes.info] [http://jacinthe.info/html/teafortwo.html tea for two] [http://stylus2100.apodoses.info/ stylus 2100] [http://anywhy.info/index2_666.html page] [http://luciu.geratic.info/ luciu] [http://missmark.info/topic/kimmie.html kimmie] [http://jacinthe.info/html/fujifinepixs3pro.html fuji finepix s3 pro] [http://forswear.info/blog/fromthesea.html from the sea] [http://modemdlinkadsl.geratic.info/ modem d link adsl dsl 200] [http://forswear.info/blog/ngotatto.html ngo tat to] [http://forswear.info/blog/sexmoviesteen.html sex movies teen] [http://nonparlimai.overhit.info/ non parli mai antonacci] [http://sole.geratic.info/ sole] [http://unrust.info/index0_666.html homepage] [http://missmark.info/topic/sucd.html su cd] [http://missmark.info/topic/bam2.html bam2] [http://episomes.info/articles/gaza.html gaza] [http://missmark.info/topic/wwwpdaddycom.html www p daddy com] [http://lexmark3100.unrust.info/ lexmark 3100] [http://episomes.info/articles/uprightbass.html upright bass] [http://geratic.info/ geratic.info] [http://everopooh.anywhy.info/ e vero pooh] [http://giuro.apodoses.info/ giuro] [http://pasaporte.geratic.info/ pasaporte] [http://overhit.info/ overhit.info] [http://missmark.info/topic/frank2.html frank 2] [http://scarpecontacco.overhit.info/ scarpe con tacco alto] [http://overhit.info/index3_666.html map] [http://wwwxb.anywhy.info/ www xb] [http://giuseppeluigilagrange.geratic.info/ giuseppe luigi lagrange] [http://rexra250e.unrust.info/ rex ra 250 e] [http://unrust.info/ unrust.info] [http://anywhy.info/ anywhy.info] [http://dyland.overhit.info/ dyland] [http://missmark.info/topic/truccogt3.html trucco gt3] [http://forswear.info/blog/wwwcbfsmscom.html www cbfsms com] [http://episomes.info/articles/philips190s6fg.html philips 190s6fg] [http://episomes.info/articles/magliamilan2006.html maglia milan 2006] [http://nebbiaasanfrancisco.apodoses.info/ nebbia a san francisco] [http://babygiftbaskets.geratic.info/ baby gift baskets] [http://episomes.info/articles/sexooral.html sexo oral] [http://missmark.info/topic/thislovemp3.html thislove mp3] [http://gangbamg.apodoses.info/ gangbamg] [http://dunlopsport.overhit.info/ dunlop sport] [http://reospeedwagon.apodoses.info/ reo speedwagon] [http://jacinthe.info/html/aiceflat.html aice flat] [http://wifesex.anywhy.info/ wife sex] [http://octelefilm.geratic.info/ o c telefilm] [http://willy.unrust.info/ willy] [http://missmark.info/topic/usbcard.html usb card] [http://dvinsk.unrust.info/ dvinsk] [http://linksysrv042.overhit.info/ linksys rv042] [http://jacinthe.info/html/laciedesktop80.html lacie desktop 80 gb] [http://forswear.info/blog/yeahusher.html yeah usher] [http://forswear.info/blog/makw.html makw] [http://episomes.info/articles/garminique3200.html garmin ique 3200] [http://missmark.info/topic/rpsma.html rp sma] [http://hub8porte10100.geratic.info/ hub 8 porte 10 100 1000] [http://jacinthe.info/html/edwardfurlong.html edward furlong] [http://forswear.info/blog/dvdmpeg2.html dvd mpeg2] [http://vintageph1.overhit.info/ vintage ph1] [http://forswear.info/blog/candycm2106.html candy cm2 106] [http://apodoses.info/index4_666.html link] [http://episomes.info/articles/orkneyislands.html orkney islands] [http://matchbox20.apodoses.info/ matchbox 20] [http://sonydvddvx.geratic.info/ sony dvd dvx] [http://missmark.info/topic/zalmantnn500af.html zalman tnn 500af] [http://garminstreetpilot.apodoses.info/ garmin street pilot 3] [http://forswear.info/blog/strada459.html strada 459] [http://comohazhecho.apodoses.info/ como haz hecho] [http://missmark.info/topic/amd643500tray.html amd 64 3500 tray] [http://ht598.apodoses.info/ ht 598] [http://woofer8ohm.anywhy.info/ woofer 8 ohm] [http://adobephotoshopcs.apodoses.info/ adobe photoshop cs 9] [http://lgw5200.anywhy.info/ lg w5200] [http://joypadpcwireless.unrust.info/ joypad pc wireless] [http://juegopacman.unrust.info/ juego pacman] [http://jacinthe.info/html/sterling.html sterling] [http://missmark.info/ missmark.info] [http://aggroberlina.unrust.info/ aggroberlina] [http://episomes.info/articles/nxultra.html nx ultra] [http://unrust.info/ unrust.info] [http://raznovich.apodoses.info/ raznovich] [http://lacie300804.anywhy.info/ lacie 300804] [http://forswear.info/blog/playmobil.html playmobil] [http://missmark.info/topic/dancinon.html dancin on] [http://jacinthe.info/html/couto.html couto] [http://forswear.info/blog/peepshow.html peep show] [http://onlinegambling.geratic.info/ online gambling] [http://missmark.info/topic/philipshifi.html philips hifi] [http://jacinthe.info/html/lc37sharp.html lc 37 sharp] [http://missmark.info/topic/weiho.html wei ho] [http://jacinthe.info/html/elvismyboy.html elvis my boy] [http://geratic.info/ geratic.info] [http://nonni.apodoses.info/ nonni] [http://kimagureorange.unrust.info/ kimagure orange road] [http://goia.unrust.info/ goia] [http://jacinthe.info/html/levicomatx450w.html levicom atx 450w] [http://jacinthe.info/html/lel.html lel] [http://missmark.info/ missmark.info] 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 59: Line 44:
 
* [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]