You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

93 lines
9.4 KiB

5 years ago
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html
  3. PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xml:lang="en-us" lang="en-us">
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  7. <meta name="copyright" content="(C) Copyright 2005"/>
  8. <meta name="DC.rights.owner" content="(C) Copyright 2005"/>
  9. <meta name="DC.Type" content="topic"/>
  10. <meta name="DC.Title" content="AVR JTAG Pinout"/>
  11. <meta name="DC.Relation" scheme="URI" content="GUID-65DB1D01-A0F5-4A46-8ED3-F9D918DEFA43.html"/>
  12. <meta name="DC.Format" content="XHTML"/>
  13. <meta name="DC.Identifier" content="GUID-27BF3A3E-B61E-485F-8816-EBB7F5642827"/>
  14. <meta name="DC.Language" content="en-US"/>
  15. <link rel="stylesheet" type="text/css" href="stylesheets/commonltr.css"/>
  16. <link rel="stylesheet" type="text/css" href="stylesheets/atmel.css"/>
  17. <title>AVR JTAG Pinout</title>
  18. <script language="javascript">
  19. function inIframe() { try { return window.self !== window.top; } catch (e) { return true; } }
  20. if (!inIframe()) window.top.location = "index.html?GUID-27BF3A3E-B61E-485F-8816-EBB7F5642827";
  21. </script><link rel="stylesheet" type="text/css" href="stylesheets/highlight.css"/>
  22. <script>!function(){function o(n,i){if(n&&i)for(var r in i)i.hasOwnProperty(r)&&(void 0===n[r]?n[r]=i[r]:n[r].constructor===Object&&i[r].constructor===Object?o(n[r],i[r]):n[r]=i[r])}try{var n=decodeURIComponent("");if(n.length>0&&window.JSON&&"function"==typeof window.JSON.parse){var i=JSON.parse(n);void 0!==window.BOOMR_config?o(window.BOOMR_config,i):window.BOOMR_config=i}}catch(r){window.console&&"function"==typeof window.console.error&&console.error("mPulse: Could not parse configuration",r)}}();</script>
  23. <script>!function(a){var e="https://s.go-mpulse.net/boomerang/",t="addEventListener";if("False"=="True")a.BOOMR_config=a.BOOMR_config||{},a.BOOMR_config.PageParams=a.BOOMR_config.PageParams||{},a.BOOMR_config.PageParams.pci=!0,e="https://s2.go-mpulse.net/boomerang/";if(function(){function n(e){a.BOOMR_onload=e&&e.timeStamp||(new Date).getTime()}if(!a.BOOMR||!a.BOOMR.version&&!a.BOOMR.snippetExecuted){a.BOOMR=a.BOOMR||{},a.BOOMR.snippetExecuted=!0;var i,o,r,O=document.createElement("iframe");if(a[t])a[t]("load",n,!1);else if(a.attachEvent)a.attachEvent("onload",n);O.src="javascript:void(0)",O.title="",O.role="presentation",(O.frameElement||O).style.cssText="width:0;height:0;border:0;display:none;",r=document.getElementsByTagName("script")[0],r.parentNode.insertBefore(O,r);try{o=O.contentWindow.document}catch(_){i=document.domain,O.src="javascript:var d=document.open();d.domain='"+i+"';void(0);",o=O.contentWindow.document}o.open()._l=function(){var a=this.createElement("script");if(i)this.domain=i;a.id="boomr-if-as",a.src=e+"HCSEV-U5H4D-73E56-YQZHY-A3PRY",BOOMR_lstart=(new Date).getTime(),this.body.appendChild(a)},o.write("<bo"+'dy onload="document._l();">'),o.close()}}(),"".length>0)if(a&&"performance"in a&&a.performance&&"function"==typeof a.performance.setResourceTimingBufferSize)a.performance.setResourceTimingBufferSize();!function(){if(BOOMR=a.BOOMR||{},BOOMR.plugins=BOOMR.plugins||{},!BOOMR.plugins.AK){var e=""=="true"?1:0,t="",n="2qmgv4linrafkxghpp3q-f-67a973a42-clientnsv4-s.akamaihd.net",i={"ak.v":20,"ak.cp":"211479","ak.ai":parseInt("179286",10),"ak.ol":"0","ak.cr":136,"ak.ipv":4,"ak.proto":"","ak.rid":"48fac84","ak.r":26128,"ak.a2":e,"ak.m":"dsca","ak.n":"essl","ak.bpcip":"212.24.106.0","ak.cport":47031,"ak.gh":"72.247.178.222","ak.quicv":"","ak.tlsv":"tls1.2","ak.0rtt":"","ak.csrc":"-","ak.acc":"reno","ak.t":"1556577271"};if(""!==t)i["ak.ruds"]=t;var o={i:!1,av:function(e){var t="http.initiator";if(e&&(!e[t]||"spa_hard"===e[t]))i["ak.feo"]=void 0!==a.aFeoApplied?1:0,BOOMR.addVar(i)},rv:function(){var a=["ak.bpcip","ak.cport","ak.cr","ak.csrc","ak.gh","ak.ipv","ak.m","ak.n","ak.ol","ak.proto","ak.quicv","ak.tlsv","ak.0rtt","ak.r","ak.acc","ak.t"];BOOMR.removeVar(a)}};BOOMR.plugins.AK={akVars:i,akDNSPreFetchDomain:n,init:function(){if(!o.i){var a=BOOMR.subscribe;a("before_beacon",o.av,null,null),a("onbeacon",o.rv,null,null),o.i=!0}return this},is_complete:function(){return!0}}}}()}(window);</script></head>
  24. <body id="GUID-27BF3A3E-B61E-485F-8816-EBB7F5642827">
  25. <h1 class="title topictitle1">AVR JTAG Pinout</h1>
  26. <div class="body"><p class="p">When designing an application PCB, which includes an Atmel AVR with the
  27. JTAG interface, it is recommended to use the pinout as shown in the figure below. Both
  28. 100-mil and 50-mil variants of this pinout are supported, depending on the cabling and
  29. adapters included with the particular kit.</p>
  30. <div class="fig fignone" id="GUID-27BF3A3E-B61E-485F-8816-EBB7F5642827__ATMELICE.JTAG_HEADER_PINOUT"><span class="figcap">Figure 1. AVR JTAG Header Pinout</span><br/><img class="image" src="GUID-E82E83BA-49F0-4C7D-8368-651F988A95BE-low.png" width="151"/><br/></div>
  31. <div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="GUID-27BF3A3E-B61E-485F-8816-EBB7F5642827__GUID-441A0C5B-9737-4AD2-BBE8-BC6F639D9BCD" class="table" frame="border" border="1" rules="all"><caption><span class="tablecap">Table 1. AVR JTAG Pin Description</span></caption><thead class="thead" align="left"><tr class="row"><th class="entry" align="center" valign="top" width="10%" id="d2659e25">Name</th>
  32. <th class="entry" align="center" valign="top" width="10%" id="d2659e27">Pin</th>
  33. <th class="entry" align="center" valign="top" width="80%" id="d2659e29">Description</th>
  34. </tr>
  35. </thead>
  36. <tbody class="tbody"><tr class="row"><td class="entry" align="left" valign="top" width="10%" headers="d2659e25 ">TCK</td>
  37. <td class="entry" align="left" valign="top" width="10%" headers="d2659e27 ">1</td>
  38. <td class="entry" align="left" valign="top" width="80%" headers="d2659e29 ">Test Clock (clock signal from the <span class="ph">Atmel-ICE</span> into the target device).</td>
  39. </tr>
  40. <tr class="row"><td class="entry" align="left" valign="top" width="10%" headers="d2659e25 ">TMS</td>
  41. <td class="entry" align="left" valign="top" width="10%" headers="d2659e27 ">5</td>
  42. <td class="entry" align="left" valign="top" width="80%" headers="d2659e29 ">Test Mode Select (control signal from the <span class="ph">Atmel-ICE</span> into the target device).</td>
  43. </tr>
  44. <tr class="row"><td class="entry" align="left" valign="top" width="10%" headers="d2659e25 ">TDI</td>
  45. <td class="entry" align="left" valign="top" width="10%" headers="d2659e27 ">9</td>
  46. <td class="entry" align="left" valign="top" width="80%" headers="d2659e29 ">Test Data In (data transmitted from the <span class="ph">Atmel-ICE</span> into the target device).</td>
  47. </tr>
  48. <tr class="row"><td class="entry" align="left" valign="top" width="10%" headers="d2659e25 ">TDO</td>
  49. <td class="entry" align="left" valign="top" width="10%" headers="d2659e27 ">3</td>
  50. <td class="entry" align="left" valign="top" width="80%" headers="d2659e29 ">Test Data Out (data transmitted from the target device into
  51. the <span class="ph">Atmel-ICE</span>).</td>
  52. </tr>
  53. <tr class="row"><td class="entry" align="left" valign="top" width="10%" headers="d2659e25 ">nTRST</td>
  54. <td class="entry" align="left" valign="top" width="10%" headers="d2659e27 ">8</td>
  55. <td class="entry" align="left" valign="top" width="80%" headers="d2659e29 ">Test Reset (optional, only on some AVR devices). Used to
  56. reset the JTAG TAP controller.</td>
  57. </tr>
  58. <tr class="row"><td class="entry" align="left" valign="top" width="10%" headers="d2659e25 ">nSRST</td>
  59. <td class="entry" align="left" valign="top" width="10%" headers="d2659e27 ">6</td>
  60. <td class="entry" align="left" valign="top" width="80%" headers="d2659e29 ">Reset (optional). Used to reset the target device.
  61. Connecting this pin is recommended since it allows the <span class="ph">Atmel-ICE</span> to hold the target device in a reset state, which
  62. can be essential to debugging in certain scenarios.</td>
  63. </tr>
  64. <tr class="row"><td class="entry" align="left" valign="top" width="10%" headers="d2659e25 ">VTG</td>
  65. <td class="entry" align="left" valign="top" width="10%" headers="d2659e27 ">4</td>
  66. <td class="entry" align="left" valign="top" width="80%" headers="d2659e29 ">Target voltage reference. The <span class="ph">Atmel-ICE</span>
  67. samples the target voltage on this pin in order to power the level converters
  68. correctly. The <span class="ph">Atmel-ICE</span> draws less than 3mA from this pin
  69. in debugWIRE mode and less than 1mA in other modes.</td>
  70. </tr>
  71. <tr class="row"><td class="entry" align="left" valign="top" width="10%" headers="d2659e25 ">GND</td>
  72. <td class="entry" align="left" valign="top" width="10%" headers="d2659e27 ">2, 10</td>
  73. <td class="entry" align="left" valign="top" width="80%" headers="d2659e29 ">Ground. Both must be connected to ensure that the <span class="ph">Atmel-ICE</span> and the target device share the same ground
  74. reference.</td>
  75. </tr>
  76. </tbody>
  77. </table>
  78. </div>
  79. <div class="p">
  80. <div class="note tip" id="GUID-27BF3A3E-B61E-485F-8816-EBB7F5642827__GUID-90633520-0AC7-4879-B1E5-B3D962BB674E"><span class="tiptitle">Tip:</span> Remember to include a
  81. decoupling capacitor between pin 4 and GND.</div>
  82. </div>
  83. </div>
  84. <div class="related-links">
  85. <div class="familylinks">
  86. <div class="parentlink"><strong>Parent topic:</strong> <a class="link" href="GUID-65DB1D01-A0F5-4A46-8ED3-F9D918DEFA43.html">JTAG Physical Interface</a></div>
  87. </div>
  88. </div>
  89. </body>
  90. </html>