{"id":6430,"date":"2020-04-16T17:07:14","date_gmt":"2020-04-16T17:07:14","guid":{"rendered":"http:\/\/www.max-sperling.bplaced.net\/?p=6430"},"modified":"2024-02-16T10:50:18","modified_gmt":"2024-02-16T10:50:18","slug":"jtag-adapter-arm-10-pin-arm-20-pin","status":"publish","type":"post","link":"http:\/\/www.max-sperling.bplaced.net\/?p=6430","title":{"rendered":"JTAG Adapter &#8211; ARM 10-pin <---> ARM 20-pin"},"content":{"rendered":"<p>We&#8217;ve got a new microcontroller board, which got a 10-pin JTAG interface for external debugging. The problem was that we just owned a J-Link EDU, which got a 20-pin JTAG interface. We needed an adapter between the 10-pin and the 20-pin JTAG.<\/p>\n<hr>\n<p><strong>Adapter<\/strong><\/p>\n<table>\n<tr>\n<td valign=\"top\">\n    <u class=\"aligncenter\">Schematic<\/u><br \/>\n    <a href=\"http:\/\/www.max-sperling.bplaced.net\/wp-content\/uploads\/2020\/04\/JTAG_Adapter.png\"><img decoding=\"async\" src=\"http:\/\/www.max-sperling.bplaced.net\/wp-content\/uploads\/2020\/04\/JTAG_Adapter-300x238.png\" class=\"aligncenter\" \/><\/a><\/p>\n<ul>\n<li>VCC &#8230; Voltage Common Collector<\/li>\n<li>GND &#8230; Ground<\/li>\n<li>TMS &#8230; Test Mode Select<\/li>\n<li>TCK &#8230; Test Clock<\/li>\n<li>TDO &#8230; Test Data Out<\/li>\n<li>TDI &#8230; Test Data In<\/li>\n<li>RST &#8230; Reset<\/li>\n<\/ul>\n<\/td>\n<td valign=\"top\">\n    <u class=\"aligncenter\">Physical<\/u><br \/>\n    <a href=\"http:\/\/www.max-sperling.bplaced.net\/wp-content\/uploads\/2020\/04\/JTAG_Adapter_2.jpg\"><img decoding=\"async\" src=\"http:\/\/www.max-sperling.bplaced.net\/wp-content\/uploads\/2020\/04\/JTAG_Adapter_2-300x225.jpg\" class=\"aligncenter\" \/><\/a><\/p>\n<ul>\n<li>2.54mm single sided perforated board<\/li>\n<li>10&#215;2 2.54mm straight male box header<\/li>\n<li>10-pin 1.27mm ribbon cable<\/li>\n<li>5&#215;2 1.27mm straight female box header <sup>1<\/sup><\/li>\n<\/ul>\n<p>    (1) I used a 10&#215;2 1.27mm str. fem. box header\n  <\/td>\n<\/tr>\n<\/table>\n<hr>\n<p><strong>Connection<\/strong><\/p>\n<p>Desktop-PC\/Laptop [USB A (&#9792;)] <--- USB cable ---> [USB B (&#9792;)] J-Link<br \/>\nJ-Link [JTAG 20-pin (&#9794;)] <--- Ribbon cable 20-pin ---> [JTAG 20-pin (&#9794;)] Adapter<br \/>\nAdapter [JTAG 10-pin (&#9792;)] <---> [JTAG 10-pin (&#9794;)] Microcontroller board<\/p>\n<hr>\n<p><strong>Debugging<\/strong><\/p>\n<ol>\n<li>J-Link GDB Server<\/li>\n<ol>\n<li>Execute (on PC)<\/li>\n<li>Configure (e.g Target, Protocol)<\/li>\n<li>Start<\/li>\n<\/ol>\n<li>GDB<\/li>\n<ol>\n<li>Execute (on PC)<\/li>\n<li>Set Binary<\/li>\n<li>Connect and Load<\/li>\n<li>Debug<\/li>\n<\/ol>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;ve got a new microcontroller board, which got a 10-pin JTAG interface for external debugging. The problem was that we<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false},"categories":[25],"tags":[],"_links":{"self":[{"href":"http:\/\/www.max-sperling.bplaced.net\/index.php?rest_route=\/wp\/v2\/posts\/6430"}],"collection":[{"href":"http:\/\/www.max-sperling.bplaced.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.max-sperling.bplaced.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.max-sperling.bplaced.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.max-sperling.bplaced.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6430"}],"version-history":[{"count":1,"href":"http:\/\/www.max-sperling.bplaced.net\/index.php?rest_route=\/wp\/v2\/posts\/6430\/revisions"}],"predecessor-version":[{"id":16847,"href":"http:\/\/www.max-sperling.bplaced.net\/index.php?rest_route=\/wp\/v2\/posts\/6430\/revisions\/16847"}],"wp:attachment":[{"href":"http:\/\/www.max-sperling.bplaced.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6430"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.max-sperling.bplaced.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6430"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.max-sperling.bplaced.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6430"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}