{"id":82,"date":"2019-11-25T19:30:13","date_gmt":"2019-11-25T19:30:13","guid":{"rendered":"https:\/\/technobabble.us.to\/?page_id=82"},"modified":"2026-02-11T00:32:44","modified_gmt":"2026-02-11T00:32:44","slug":"jtag-flash","status":"publish","type":"page","link":"https:\/\/technobabble.us.to\/?page_id=82","title":{"rendered":"JTAG (Flash)"},"content":{"rendered":"\n<p><a href=\"http:\/\/en.wikipedia.org\/wiki\/Joint_Test_Action_Group\">JTAG<\/a>&nbsp;\u2013 (Joint Test Access Group) is a tool used to read and write the firmware stored on the flash chip of many modern-day electronics. it\u2019s actually a testing\/troubleshooting interface built into the the motherboard at the factory. Hobbyists have been writing their own software so they can interface with these devices using their computers.<\/p>\n\n\n\n<p>JTAG can also be used to repair a router when it has been \u201cBricked\u201d. This usually happens when you loose power in the middle of a firmware upgrade or flash an image that is incomplete. Using a JTAG, you can rewrite the flash on a device that is normally stuck in some sort of boot-loop or power-cycle. I\u2019ve repaired several devices that would have otherwise been trash using a JTAG.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/wrt54gs.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" data-id=\"83\" src=\"https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/wrt54gs-1024x768.jpg\" alt=\"\" class=\"wp-image-83\" srcset=\"https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/wrt54gs-1024x768.jpg 1024w, https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/wrt54gs-300x225.jpg 300w, https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/wrt54gs-768x576.jpg 768w, https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/wrt54gs-1536x1152.jpg 1536w, https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/wrt54gs.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\"><strong>One of my favorite tech devices ever. Easy access to the flash via JTAG and the Boot-loader via Serial TTY provided endless hours of geeking out.<\/strong><\/figcaption><\/figure>\n<\/figure>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/Dish_JTAG-1.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" data-id=\"85\" src=\"https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/Dish_JTAG-1-1024x768.jpg\" alt=\"\" class=\"wp-image-85\" srcset=\"https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/Dish_JTAG-1-1024x768.jpg 1024w, https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/Dish_JTAG-1-300x225.jpg 300w, https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/Dish_JTAG-1-768x576.jpg 768w, https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/Dish_JTAG-1-1536x1152.jpg 1536w, https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/Dish_JTAG-1.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\"><strong>Typical JTAG header on an electronic device<\/strong><\/figcaption><\/figure>\n<\/figure>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-3 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/JTAG-HARD.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" data-id=\"87\" src=\"https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/JTAG-HARD.jpg\" alt=\"\" class=\"wp-image-87\" srcset=\"https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/JTAG-HARD.jpg 1024w, https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/JTAG-HARD-300x225.jpg 300w, https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/JTAG-HARD-768x576.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\"><strong>JTAG, \u201cthe hard way\u201d. Linksys did not include headers on the next generation WRT series router\u2026\u2026resulting in lots of painful soldering to re-flash your device! \u00a0<\/strong><\/figcaption><\/figure>\n<\/figure>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-4 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/Simple-JTAG.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" data-id=\"88\" src=\"https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/Simple-JTAG-1024x768.jpg\" alt=\"\" class=\"wp-image-88\" srcset=\"https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/Simple-JTAG-1024x768.jpg 1024w, https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/Simple-JTAG-300x225.jpg 300w, https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/Simple-JTAG-768x576.jpg 768w, https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/Simple-JTAG-1536x1152.jpg 1536w, https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/Simple-JTAG.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\"><strong>Simple JTAG to re-write the flash on a WRT54GS router. This is simply on old printer cable with (10) 100 ohm resistors to provide protection from the computer port.<\/strong><\/figcaption><\/figure>\n<\/figure>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-5 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/Simple-JTAG2.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" data-id=\"89\" src=\"https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/Simple-JTAG2-1024x768.jpg\" alt=\"\" class=\"wp-image-89\" srcset=\"https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/Simple-JTAG2-1024x768.jpg 1024w, https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/Simple-JTAG2-300x225.jpg 300w, https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/Simple-JTAG2-768x576.jpg 768w, https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/Simple-JTAG2-1536x1152.jpg 1536w, https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/Simple-JTAG2.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\"><strong>Simple JTAG connected to the header on the WRT54GS. The device allows you to read and write to the flash chip on the router. It\u2019s useful if you want to put custom firmware like OpenWRT onto your router.<\/strong><\/figcaption><\/figure>\n<\/figure>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-6 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/JTAG-Battery-rotated.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" data-id=\"90\" src=\"https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/JTAG-Battery-rotated.jpg\" alt=\"\" class=\"wp-image-90\" srcset=\"https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/JTAG-Battery-rotated.jpg 768w, https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/JTAG-Battery-225x300.jpg 225w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/a><figcaption class=\"wp-element-caption\"><strong>I built this JTAG device by looking at a store bought unit and reverse engineering it.<\/strong><\/figcaption><\/figure>\n<\/figure>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-7 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/JTAG-BACK.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" data-id=\"91\" src=\"https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/JTAG-BACK.jpg\" alt=\"\" class=\"wp-image-91\" srcset=\"https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/JTAG-BACK.jpg 1024w, https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/JTAG-BACK-300x225.jpg 300w, https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/JTAG-BACK-768x576.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\"><strong>Rear view of my battery powered JTAG device that I built. This is one of the very first devices that I built in my home lab.<\/strong><\/figcaption><\/figure>\n<\/figure>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-8 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/JTAG-AC.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" data-id=\"92\" src=\"https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/JTAG-AC.jpg\" alt=\"\" class=\"wp-image-92\" srcset=\"https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/JTAG-AC.jpg 1024w, https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/JTAG-AC-300x225.jpg 300w, https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/JTAG-AC-768x576.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\"><strong>Here is another JTAG I built but this one uses power from the device you are working on. I got tired of replacing batteries or having them fail as they aged.<\/strong><\/figcaption><\/figure>\n<\/figure>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-9 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/JTAG-AC-REAR.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" data-id=\"93\" src=\"https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/JTAG-AC-REAR.jpg\" alt=\"\" class=\"wp-image-93\" srcset=\"https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/JTAG-AC-REAR.jpg 1024w, https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/JTAG-AC-REAR-300x225.jpg 300w, https:\/\/technobabble.us.to\/wp-content\/uploads\/2019\/11\/JTAG-AC-REAR-768x576.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\"><strong>Rear view of my AC powered JTAG device.<\/strong><\/figcaption><\/figure>\n<\/figure>\n","protected":false},"excerpt":{"rendered":"<p>JTAG&nbsp;\u2013 (Joint Test Access Group) is a tool used to read and write the firmware stored on the flash chip of many modern-day electronics. it\u2019s actually a testing\/troubleshooting interface built into the the motherboard at the factory. Hobbyists have been &hellip; <a href=\"https:\/\/technobabble.us.to\/?page_id=82\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":24,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-82","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/technobabble.us.to\/index.php?rest_route=\/wp\/v2\/pages\/82","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/technobabble.us.to\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/technobabble.us.to\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/technobabble.us.to\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/technobabble.us.to\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=82"}],"version-history":[{"count":5,"href":"https:\/\/technobabble.us.to\/index.php?rest_route=\/wp\/v2\/pages\/82\/revisions"}],"predecessor-version":[{"id":6005,"href":"https:\/\/technobabble.us.to\/index.php?rest_route=\/wp\/v2\/pages\/82\/revisions\/6005"}],"up":[{"embeddable":true,"href":"https:\/\/technobabble.us.to\/index.php?rest_route=\/wp\/v2\/pages\/24"}],"wp:attachment":[{"href":"https:\/\/technobabble.us.to\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=82"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}