Difference between revisions of "JTAG"

From OpenCircuits
Jump to navigation Jump to search
(signals, not pins -the connectors have many more pins)
 
(28 intermediate revisions by 19 users not shown)
Line 1: Line 1:
[http://charliesdragon.50webs.com/data/antiviruses-comparison.html antiviruses comparison] [http://pylonarchive.50webs.com/resources/walk-video/ walk video] [http://mul1234.50webs.com/description/light-my.html light my fire midi file] [http://3liveforyou3.50webs.com/text/yahoo-imap.html yahoo imap servers] [http://sergeshestakov.50webs.com/content/model-new/ model new nokia phone] [http://unaluna.50webs.com/resources/john-shepherd/ john shepherd vaughan and co] [http://sergeshestakov.50webs.com/content/wal-mart/ wal mart download movie] [http://missbell53.50webs.com/content/the-way.html the way to trade by john piper] [http://pylonarchive.50webs.com/resources/socialization-and/ socialization and gender] [http://pylonarchive.50webs.com/resources/lawsuit-against/ lawsuit against the state of michigan] [http://akamolka.50webs.com/pegasus-videos/ pegasus videos] [http://toofarfm.50webs.com/saudi-family.html saudi family visa] [http://3liveforyou3.50webs.com/text/sandwich-photos.html sandwich photos] [http://pingstarlight.50webs.com/indoor-manufacturer/ indoor manufacturer sign] [http://akamolka.50webs.com/exposed-root/ exposed root of tooth] [http://pingstarlight.50webs.com/kinder-unterwaesche/ kinder unterwaesche] [http://akamolka.50webs.com/real-player/ real player media browser] [http://keepmesteady.50webs.com/small/pimp-my/ pimp my ride picture] [http://tigerseye.50webs.com/resources/iraq-death/ iraq death toll 2000] [http://charliesdragon.50webs.com/data/all-your.html all your base are belong to us movie] [http://unaluna.50webs.com/resources/exhibit-show/ exhibit show toronto trade] [http://phoenixcycle.50webs.com/sexy-young/ sexy young girl pics] [http://keepmesteady.50webs.com/small/inventory-sticker/ inventory sticker] [http://shuanekun.50webs.com/small/keynote-speaker.html keynote speaker orlando] [http://akamolka.50webs.com/introduction-to/ introduction to geography] [http://tentertaining.50webs.com/text/what-is/ what is mdse] [http://3liveforyou3.50webs.com/text/ohio-diamond.html ohio diamond buyer] [http://phoenixcycle.50webs.com/non-linear/ non linear curve fit] [http://ninevehuk.50webs.com/small/landscaping-programs.html landscaping programs] [http://ninevehuk.50webs.com/small/marketing-result.html marketing result tracking] [http://pylonarchive.50webs.com/resources/solution-heat/ solution heat treatment] [http://tentertaining.50webs.com/text/acoustic-studio/ acoustic studio treatment] [http://phoenixcycle.50webs.com/zero-day/ zero day exploits] [http://sergeshestakov.50webs.com/content/expert-land/ expert land report sample use] [http://tigerseye.50webs.com/resources/signs-of/ signs of ulcerative colitis] [http://davelovesyou.50webs.com/topic/porters-five.html porters five competitive forces model] [http://missbell53.50webs.com/content/rating-sony.html rating sony tv] [http://toofarfm.50webs.com/time-tokyo.html time tokyo zone] [http://tigerseye.50webs.com/resources/port-havre/ port havre] [http://kazimirauna.50webs.com/blog/antonio-patent.html antonio patent san search] [http://tentertaining.50webs.com/text/infatuation-love/ infatuation love] [http://sergeshestakov.50webs.com/content/michigan-social/ michigan social workers] [http://phoenixcycle.50webs.com/allowable-settlement/ allowable settlement] [http://tentertaining.50webs.com/text/lysate-buffer/ lysate buffer] [http://tsaress.50webs.com/content/muhammads-death/ muhammads death] [http://pylonarchive.50webs.com/resources/marine-electronics/ marine electronics jobs] [http://unaluna.50webs.com/resources/improve-credit/ improve credit history] [http://shuanekun.50webs.com/small/provosts-scholarship.html provosts scholarship] [http://tigerseye.50webs.com/resources/maintenance-web/ maintenance web site india] [http://keepmesteady.50webs.com/small/adobe-illustrator/ adobe illustrator 8] [http://phoenixcycle.50webs.com/theguardian-newspaper/ theguardian newspaper uk] [http://tsaress.50webs.com/content/steel-union/ steel union united worker] [http://kazimirauna.50webs.com/blog/industrial-gothic.html industrial gothic music] [http://phoenixcycle.50webs.com/optical-activity/ optical activity ltd] [http://pingstarlight.50webs.com/president-strange/ president strange fact] [http://davelovesyou.50webs.com/topic/schema-document.html schema document] [http://toofarfm.50webs.com/american-divers.html american divers] [http://tentertaining.50webs.com/text/venos/ venos] [http://unaluna.50webs.com/resources/option-pick/ option pick stock] [http://toofarfm.50webs.com/spa-manicures.html spa manicures] [http://keepmesteady.50webs.com/small/power-plant/ power plant load factor] [http://akamolka.50webs.com/post-office/ post office business] [http://phoenixcycle.50webs.com/erotic-story/ erotic story index] [http://tigerseye.50webs.com/resources/maintenance-products/ maintenance products corporation] [http://akamolka.50webs.com/singing-voice/ singing voice care] [http://pylonarchive.50webs.com/resources/library-of/ library of speech language pathology] [http://pingstarlight.50webs.com/eurasia-map/ eurasia map world] [http://sergeshestakov.50webs.com/content/ad-campaign/ ad campaign ebay] [http://tsaress.50webs.com/content/morgan-stanley/ morgan stanley card index] [http://sergeshestakov.50webs.com/content/lawyer-partnerships/ lawyer partnerships] [http://akamolka.50webs.com/tu-madre/ tu madre tambien] [http://pylonarchive.50webs.com/resources/team-talk/ team talk mag] [http://kazimirauna.50webs.com/blog/polyclonal-versus.html polyclonal versus monoclonal antibody] [http://shuanekun.50webs.com/small/mature-hun.html mature hun com] [http://missbell53.50webs.com/content/school-sex.html school sex gallery] [http://tigerseye.50webs.com/resources/entry-doors/ entry doors] [http://mul1234.50webs.com/description/email-in.html email in picture put] [http://missbell53.50webs.com/content/redwood-state.html redwood state park california] [http://ninevehuk.50webs.com/small/shell-fuel.html shell fuel 82] [http://kazimirauna.50webs.com/blog/arms-broken.html arms broken his] [http://tentertaining.50webs.com/text/all-start/ all start sports arena] [http://toofarfm.50webs.com/epson-.html epson 4000 price] [http://charliesdragon.50webs.com/data/peru-artists.html peru artists] [http://tigerseye.50webs.com/resources/san-francisco/ san francisco assessor] [http://charliesdragon.50webs.com/data/wireless-phone.html wireless phone gps] [http://kazimirauna.50webs.com/blog/take-everything.html take everything left from me] [http://tigerseye.50webs.com/resources/margaret-barron/ margaret barron] [http://shuanekun.50webs.com/small/am-a.html am a retard] [http://touchya.50webs.com/view/open-days/ open days university] [http://unaluna.50webs.com/resources/elder-estate/ elder estate real] [http://toofarfm.50webs.com/picture-of.html picture of madonna on the rocks painting] [http://davelovesyou.50webs.com/topic/english-free.html english free songs] [http://davelovesyou.50webs.com/topic/macarthurs-park.html macarthurs park song] [http://missbell53.50webs.com/content/the-worlds.html the worlds largest country is] [http://charliesdragon.50webs.com/data/online-image.html online image mapping] [http://missbell53.50webs.com/content/the-green.html the green cards music] [http://keepmesteady.50webs.com/small/job-reference/ job reference letter examples] [http://touchya.50webs.com/view/plastics-models/ plastics models] [http://phoenixcycle.50webs.com/progiciels/ progiciels] [http://ninevehuk.50webs.com/small/ontario-dept.html ontario dept of motor vehicle] [http://www.forsake.biz.ly/ www.forsake.biz.ly] [http://www.waggon.actorsite.com/ www.waggon.actorsite.com] [http://www.eforia.5u.com/ www.eforia.5u.com] [http://www.clemence.freehosting.net/ www.clemence.freehosting.net] [http://www.gleaner.i8.com/ www.gleaner.i8.com] [http://www.cornfed.safewebshop.com/ www.cornfed.safewebshop.com] [http://www.grumous.tvheaven.com/ page] [http://www.clemence.freehosting.net/ index] [http://www.freewebs.comtayrona/ www.freewebs.comtayrona] [http://www.waggon.actorsite.com/ map] [http://www.gandum.gobot.com/ link] [http://www.taught.50megs.com/ www.taught.50megs.com] [http://www.keepable.actorsite.com/ link] [http://www.keepable.actorsite.com/ www.keepable.actorsite.com] [http://www.builds.safewebshop.com/ home] [http://www.volumes.freehosting.net/ www.volumes.freehosting.net] [http://www.peafowl.itgo.com/ homepage] [http://www.solely.50megs.com/ www.solely.50megs.com] [http://www.freewebs.compuerarian/ www.freewebs.compuerarian] [http://www.faulds.5u.com/ www.faulds.5u.com] [http://www.mustards.itgo.com/ www.mustards.itgo.com] [http://www.abcissa.bz.tc/ www.abcissa.bz.tc] [http://www.papageno.00go.com/ www.papageno.00go.com] [http://www.pampanga.safewebshop.com/ url] [http://www.uncork.safewebshop.com/ link] [http://www.savagers.00author.com/ home] [http://www.biozone.actorsite.com/ www.biozone.actorsite.com] [http://www.muhajir.00author.com/ home] [http://www.shabby.50megs.com/ www.shabby.50megs.com] [http://www.peafowl.itgo.com/ www.peafowl.itgo.com] [http://www.muhajir.00author.com/ www.muhajir.00author.com] [http://www.growed.gobot.com/ home] [http://www.papageno.00go.com/ map] [http://www.pinchers.50megs.com/ site] [http://www.purpura.00go.com/ www.purpura.00go.com] [http://www.azures.bz.tc/ map] [http://www.goitre.i8.com/ map] [http://www.freewebs.compainlessa/ page] [http://www.untaught.tvheaven.com/ www.untaught.tvheaven.com] [http://www.clothier.tvheaven.com/ www.clothier.tvheaven.com] [http://www.blackfin.i8.com/ www.blackfin.i8.com] [http://www.tamboo.itgo.com/ homepage] [http://www.spoilers.00go.com/ map] [http://www.hazelnuta.bz.tc/ url] [http://www.klusek.itgo.com/ index] [http://www.izvestia.00author.com/ www.izvestia.00author.com] [http://www.untaught.tvheaven.com/ home] [http://www.captives.theshoppe.com/ link] [http://www.volumes.freehosting.net/ site] [http://www.freewebs.comtayrona/ map] [http://www.hazelnuta.bz.tc/ www.hazelnuta.bz.tc] [http://www.growed.gobot.com/ www.growed.gobot.com] [http://www.klusek.itgo.com/ www.klusek.itgo.com] [http://www.unspied.tvheaven.com/ homepage] [http://www.debates.bz.tc/ www.debates.bz.tc] [http://www.jessen.gobot.com/ site] [http://www.gleaner.i8.com/ home] [http://www.grumous.tvheaven.com/ www.grumous.tvheaven.com] [http://www.argonaut.theshoppe.com/ www.argonaut.theshoppe.com] [http://www.horsemen.theshoppe.com/ map] [http://www.linens.biz.ly/ home] [http://www.taught.50megs.com/ link] [http://www.puzzlesa.00go.com/ www.puzzlesa.00go.com] [http://www.showboat.actorsite.com/ www.showboat.actorsite.com] [http://www.vitals.tvheaven.com/ page] [http://www.eforia.5u.com/ map] [http://www.berbers.freehosting.net/ www.berbers.freehosting.net] [http://www.weirton.i8.com/ url] [http://www.avellan.00author.com/ homepage] [http://www.savagers.00author.com/ www.savagers.00author.com] [http://www.diptych.5u.com/ site] [http://www.clothier.tvheaven.com/ home] [http://www.lassiter.itgo.com/ www.lassiter.itgo.com] [http://www.jessen.gobot.com/ www.jessen.gobot.com] [http://www.freewebs.comheroical/ www.freewebs.comheroical] [http://www.fiscus.theshoppe.com/ www.fiscus.theshoppe.com] [http://www.mustards.itgo.com/ page] [http://www.mayberry.00go.com/ www.mayberry.00go.com] [http://www.gandum.gobot.com/ www.gandum.gobot.com] [http://www.ablepsy.bz.tc/ www.ablepsy.bz.tc] [http://www.puzzlesa.00go.com/ site] [http://www.azures.bz.tc/ www.azures.bz.tc] [http://www.freewebs.compainlessa/ www.freewebs.compainlessa] [http://www.maxwell.gobot.com/ index] [http://www.embosser.safewebshop.com/ www.embosser.safewebshop.com] [http://www.elbows.biz.ly/ link] [http://www.bahamian.actorsite.com/ site] [http://www.bahamian.actorsite.com/ www.bahamian.actorsite.com] [http://www.battens.gobot.com/ www.battens.gobot.com] [http://www.linens.biz.ly/ www.linens.biz.ly] [http://www.vitals.tvheaven.com/ www.vitals.tvheaven.com] [http://www.forsake.biz.ly/ url] [http://www.unspied.tvheaven.com/ www.unspied.tvheaven.com] [http://www.elbows.biz.ly/ www.elbows.biz.ly] [http://www.debates.bz.tc/ url] [http://www.captives.theshoppe.com/ www.captives.theshoppe.com] [http://www.showboat.actorsite.com/ homepage] [http://www.abcissa.bz.tc/ homepage] [http://www.izvestia.00author.com/ link] [http://www.playoff.i8.com/ www.playoff.i8.com] 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]