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.
 
 
 
 
 
 

94 lines
9.4 KiB

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en-us" lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="copyright" content="(C) Copyright 2005"/>
<meta name="DC.rights.owner" content="(C) Copyright 2005"/>
<meta name="DC.Type" content="topic"/>
<meta name="DC.Title" content="AVR JTAG Pinout"/>
<meta name="DC.Relation" scheme="URI" content="GUID-65DB1D01-A0F5-4A46-8ED3-F9D918DEFA43.html"/>
<meta name="DC.Format" content="XHTML"/>
<meta name="DC.Identifier" content="GUID-27BF3A3E-B61E-485F-8816-EBB7F5642827"/>
<meta name="DC.Language" content="en-US"/>
<link rel="stylesheet" type="text/css" href="stylesheets/commonltr.css"/>
<link rel="stylesheet" type="text/css" href="stylesheets/atmel.css"/>
<title>AVR JTAG Pinout</title>
<script language="javascript">
function inIframe() { try { return window.self !== window.top; } catch (e) { return true; } }
if (!inIframe()) window.top.location = "index.html?GUID-27BF3A3E-B61E-485F-8816-EBB7F5642827";
</script><link rel="stylesheet" type="text/css" href="stylesheets/highlight.css"/>
<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>
<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>
<body id="GUID-27BF3A3E-B61E-485F-8816-EBB7F5642827">
<h1 class="title topictitle1">AVR JTAG Pinout</h1>
<div class="body"><p class="p">When designing an application PCB, which includes an Atmel AVR with the
JTAG interface, it is recommended to use the pinout as shown in the figure below. Both
100-mil and 50-mil variants of this pinout are supported, depending on the cabling and
adapters included with the particular kit.</p>
<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>
<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>
<th class="entry" align="center" valign="top" width="10%" id="d2659e27">Pin</th>
<th class="entry" align="center" valign="top" width="80%" id="d2659e29">Description</th>
</tr>
</thead>
<tbody class="tbody"><tr class="row"><td class="entry" align="left" valign="top" width="10%" headers="d2659e25 ">TCK</td>
<td class="entry" align="left" valign="top" width="10%" headers="d2659e27 ">1</td>
<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>
</tr>
<tr class="row"><td class="entry" align="left" valign="top" width="10%" headers="d2659e25 ">TMS</td>
<td class="entry" align="left" valign="top" width="10%" headers="d2659e27 ">5</td>
<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>
</tr>
<tr class="row"><td class="entry" align="left" valign="top" width="10%" headers="d2659e25 ">TDI</td>
<td class="entry" align="left" valign="top" width="10%" headers="d2659e27 ">9</td>
<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>
</tr>
<tr class="row"><td class="entry" align="left" valign="top" width="10%" headers="d2659e25 ">TDO</td>
<td class="entry" align="left" valign="top" width="10%" headers="d2659e27 ">3</td>
<td class="entry" align="left" valign="top" width="80%" headers="d2659e29 ">Test Data Out (data transmitted from the target device into
the <span class="ph">Atmel-ICE</span>).</td>
</tr>
<tr class="row"><td class="entry" align="left" valign="top" width="10%" headers="d2659e25 ">nTRST</td>
<td class="entry" align="left" valign="top" width="10%" headers="d2659e27 ">8</td>
<td class="entry" align="left" valign="top" width="80%" headers="d2659e29 ">Test Reset (optional, only on some AVR devices). Used to
reset the JTAG TAP controller.</td>
</tr>
<tr class="row"><td class="entry" align="left" valign="top" width="10%" headers="d2659e25 ">nSRST</td>
<td class="entry" align="left" valign="top" width="10%" headers="d2659e27 ">6</td>
<td class="entry" align="left" valign="top" width="80%" headers="d2659e29 ">Reset (optional). Used to reset the target device.
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
can be essential to debugging in certain scenarios.</td>
</tr>
<tr class="row"><td class="entry" align="left" valign="top" width="10%" headers="d2659e25 ">VTG</td>
<td class="entry" align="left" valign="top" width="10%" headers="d2659e27 ">4</td>
<td class="entry" align="left" valign="top" width="80%" headers="d2659e29 ">Target voltage reference. The <span class="ph">Atmel-ICE</span>
samples the target voltage on this pin in order to power the level converters
correctly. The <span class="ph">Atmel-ICE</span> draws less than 3mA from this pin
in debugWIRE mode and less than 1mA in other modes.</td>
</tr>
<tr class="row"><td class="entry" align="left" valign="top" width="10%" headers="d2659e25 ">GND</td>
<td class="entry" align="left" valign="top" width="10%" headers="d2659e27 ">2, 10</td>
<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
reference.</td>
</tr>
</tbody>
</table>
</div>
<div class="p">
<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
decoupling capacitor between pin 4 and GND.</div>
</div>
</div>
<div class="related-links">
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a class="link" href="GUID-65DB1D01-A0F5-4A46-8ED3-F9D918DEFA43.html">JTAG Physical Interface</a></div>
</div>
</div>
</body>
</html>