{"id":180,"date":"2015-07-09T09:50:14","date_gmt":"2015-07-09T06:50:14","guid":{"rendered":"http:\/\/gronlier.fr\/blog\/?p=180"},"modified":"2020-03-30T12:43:44","modified_gmt":"2020-03-30T09:43:44","slug":"unbrick-and-update-an-j-link-v8-clone","status":"publish","type":"post","link":"https:\/\/gronlier.fr\/blog\/2015\/07\/unbrick-and-update-an-j-link-v8-clone\/","title":{"rendered":"Unbrick and update a J-Link V8 clone"},"content":{"rendered":"<p>You can buy a Segger JTAG J-Link clone for few USD on <a href=\"http:\/\/www.ebay.com\/itm\/141690399887\" target=\"_blank\" rel=\"noopener noreferrer\">ebay<\/a>, aliexpress, dx, ...<\/p>\n<p>If you try to update its firmware with the official Segger tool, you'll brick the probe.<\/p>\n<p>Don't worry, smart people have already put a checklist to restore a working firmware and even update it to the latest official version. I just put all the needed info into one single page.<\/p>\n<p><!--more--><\/p>\n<h2>Unbrick it<\/h2>\n<p>To restore the firmware, you need to follow the instruction from<a href=\"http:\/\/www.sonsivri.to\/forum\/index.php?topic=41726.50\" target=\"_blank\" rel=\"noopener noreferrer\"> http:\/\/www.sonsivri.to\/forum\/index.php?topic=41726.50<\/a> The best part ? <strong>It works from Linux<\/strong>.<\/p>\n<p>For the step 9, you'll need the binary image to flash; use that one <a href=\"http:\/\/gronlier.fr\/blog\/2015\/07\/unbrick-and-update-an-j-link-v8-clone\/v8_firmware_noserial_crackn\/\" rel=\"attachment wp-att-181\">V8_Firmware_NoSerial_(crackn)<\/a>. It's from the same forum than above but without password and without additional useless .exe files.<\/p>\n<ol>\n<li>Download and install SAM-BA package from atmel.com (<a href=\"http:\/\/www.atmel.com\/tools\/ATMELSAM-BAIN-SYSTEMPROGRAMMER.aspx\">http:\/\/www.atmel.com\/tools\/ATMELSAM-BAIN-SYSTEMPROGRAMMER.aspx<\/a>)<\/li>\n<li>Open the j-link case by gently popping the plastic edge near the jtag or usb ports.<\/li>\n<li>Identify the ERASE (pin 50) \/ TST (pin 40) jumpers\/pins<\/li>\n<li>Short ERASE jumper to pull-high and connect the jlink to usb; wait for a minute and disconnect usb. (\"pull-high\", means set a jumper between the ERASE pin and the 3.3V pin next to it.)<\/li>\n<li>Remove the ERASE jumper and short the TST jumper to pull-high and connect the jlink to usb; wait for a minute and disconnect usb.<\/li>\n<li>Break\/remove the TST jumper and reconnect USB<\/li>\n<li>Your jlink should now be identified as AT91 USB to serial adapter and a COM port should be assigned to it - if this doesn't happen repeat from step 3.<br \/>\nSomething like\u00a0<span class=\"lang:default highlight:0 decode:true  crayon-inline \">cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device<\/span>\u00a0 should appear in syslog or dmesg<\/li>\n<li>Open SAM-BA program; select COM\/ttyACM port that was assigned to your jlink and in board select \"at91sam7s64-ek\"; click CONNECT<\/li>\n<li>Select \"FLASH\" and select the BIN file you downloaded before and select to load the firmware into flash; the application will ask you<strong> if you want to unlock - select YES<\/strong>; at the end of programming there will be a similar question <strong>if you want to lock - select NO! (very important)<\/strong><\/li>\n<li>Congratulations, you are done. Reconnect the device and you should have a working jlink<\/li>\n<\/ol>\n<h2>Update the firmware<\/h2>\n<p>The previous step will reflash with a firmware from 2009.<br \/>\n<span class=\"lang:default highlight:0 decode:true  crayon-inline \">Info : J-Link ARM V8 compiled May 27 2009 17:31:22<\/span><\/p>\n<p>Quite old and I prefer to have the latest one.<\/p>\n<p>Fortunately, the firmware you just flashed has a fake SerialNumber set to -1 and it happens to be enough to let the J-Link Configurator tool to flash it to the latest firmware without bricking it. This time you'll need a windows machine. I used a Windows10 image under vmware and it worked fine.<\/p>\n<ol>\n<li>go to<a href=\"https:\/\/www.segger.com\/jlink-software.html\"> https:\/\/www.segger.com\/jlink-software.html<\/a> and fetch the Windows software pack. The one I used was version 5.00g.<\/li>\n<li>install it and run the J-Link Configurator.<\/li>\n<li>It should detect the probe and allow you to update it to the latest firmware<a href=\"http:\/\/gronlier.fr\/blog\/wp-content\/uploads\/2015\/07\/jlink-update02.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-182\" src=\"http:\/\/gronlier.fr\/blog\/wp-content\/uploads\/2015\/07\/jlink-update02-300x158.png\" alt=\"jlink update02\" width=\"300\" height=\"158\" srcset=\"https:\/\/gronlier.fr\/blog\/wp-content\/uploads\/2015\/07\/jlink-update02-300x158.png 300w, https:\/\/gronlier.fr\/blog\/wp-content\/uploads\/2015\/07\/jlink-update02.png 944w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/li>\n<li>Congratulations, you are done. Reconnect the device and you should have a working J-Link this the latest firmware<br \/>\n<span class=\"lang:default highlight:0 decode:true  crayon-inline\">Info : J-Link ARM V8 compiled Nov 28 2014 13:44:46<\/span><\/li>\n<\/ol>\n<h3>Edit1<\/h3>\n<p>While origin of the binary firmware used in this tuto remains unknown, several posts suggest to modify the 'GDBFull' string to either 'GDBFULL' or 'GDB'<\/p>\n<p>From<a href=\"http:\/\/www.sonsivri.to\/forum\/index.php?topic=41726.msg143919#msg143919\" target=\"_blank\" rel=\"noopener noreferrer\"> http:\/\/www.sonsivri.to\/forum\/index.php?topic=41726.msg143919#msg143919<\/a>:<\/p>\n<p class=\"lang:default highlight:0 decode:true \"><em>After found the BIN file, you have to open it with an hex editor and change the string \"GDBFull\" with \"GDB\" and also change the serial number. As far as I remember the serial number is not a string but just raw hex data nearby the address where the \"GDBFull\" string is located. Remember the raw data are little-endian. For the new serial number use something like \"4054xxxx\" where xxxx are random numbers.<\/em><\/p>\n<p class=\"lang:default highlight:0 decode:true \">\n<div class='skype-share' data-href='https:\/\/gronlier.fr\/blog\/2015\/07\/unbrick-and-update-an-j-link-v8-clone\/' data-lang='auto' data-style='large' data-source='WordPress' ><\/div><div style='clear:both;padding-bottom:10px;'><\/div>\n<div class=\"twitter-share\"><a href=\"https:\/\/twitter.com\/intent\/tweet?via=ticapix\" class=\"twitter-share-button\">Tweet<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>You can buy a Segger JTAG J-Link clone for few USD on ebay, aliexpress, dx, ... If you try to update its firmware with the official Segger tool, you'll brick the probe. Don't worry, smart people have already put a checklist to restore a working firmware and even update it to the latest official version. &hellip; <a href=\"https:\/\/gronlier.fr\/blog\/2015\/07\/unbrick-and-update-an-j-link-v8-clone\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Unbrick and update a J-Link V8 clone<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[14,3,8],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Unbrick and update a J-Link V8 clone - Bits and Bytes<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/gronlier.fr\/blog\/2015\/07\/unbrick-and-update-an-j-link-v8-clone\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Unbrick and update a J-Link V8 clone - Bits and Bytes\" \/>\n<meta property=\"og:description\" content=\"You can buy a Segger JTAG J-Link clone for few USD on ebay, aliexpress, dx, ... If you try to update its firmware with the official Segger tool, you&#039;ll brick the probe. Don&#039;t worry, smart people have already put a checklist to restore a working firmware and even update it to the latest official version. &hellip; Continue reading Unbrick and update a J-Link V8 clone &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/gronlier.fr\/blog\/2015\/07\/unbrick-and-update-an-j-link-v8-clone\/\" \/>\n<meta property=\"og:site_name\" content=\"Bits and Bytes\" \/>\n<meta property=\"article:published_time\" content=\"2015-07-09T06:50:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-03-30T09:43:44+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/gronlier.fr\/blog\/wp-content\/uploads\/2015\/07\/jlink-update02-300x158.png\" \/>\n<meta name=\"author\" content=\"ticapix\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ticapix\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/gronlier.fr\/blog\/2015\/07\/unbrick-and-update-an-j-link-v8-clone\/\",\"url\":\"https:\/\/gronlier.fr\/blog\/2015\/07\/unbrick-and-update-an-j-link-v8-clone\/\",\"name\":\"Unbrick and update a J-Link V8 clone - Bits and Bytes\",\"isPartOf\":{\"@id\":\"https:\/\/gronlier.fr\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/gronlier.fr\/blog\/2015\/07\/unbrick-and-update-an-j-link-v8-clone\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/gronlier.fr\/blog\/2015\/07\/unbrick-and-update-an-j-link-v8-clone\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/gronlier.fr\/blog\/wp-content\/uploads\/2015\/07\/jlink-update02-300x158.png\",\"datePublished\":\"2015-07-09T06:50:14+00:00\",\"dateModified\":\"2020-03-30T09:43:44+00:00\",\"author\":{\"@id\":\"https:\/\/gronlier.fr\/blog\/#\/schema\/person\/9abd8d0260a4d942d7069de75446e2bc\"},\"breadcrumb\":{\"@id\":\"https:\/\/gronlier.fr\/blog\/2015\/07\/unbrick-and-update-an-j-link-v8-clone\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/gronlier.fr\/blog\/2015\/07\/unbrick-and-update-an-j-link-v8-clone\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/gronlier.fr\/blog\/2015\/07\/unbrick-and-update-an-j-link-v8-clone\/#primaryimage\",\"url\":\"http:\/\/gronlier.fr\/blog\/wp-content\/uploads\/2015\/07\/jlink-update02-300x158.png\",\"contentUrl\":\"http:\/\/gronlier.fr\/blog\/wp-content\/uploads\/2015\/07\/jlink-update02-300x158.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/gronlier.fr\/blog\/2015\/07\/unbrick-and-update-an-j-link-v8-clone\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/gronlier.fr\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Unbrick and update a J-Link V8 clone\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/gronlier.fr\/blog\/#website\",\"url\":\"https:\/\/gronlier.fr\/blog\/\",\"name\":\"Bits and Bytes\",\"description\":\"As the default template said: &quot;Just another WordPress site&quot;\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/gronlier.fr\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/gronlier.fr\/blog\/#\/schema\/person\/9abd8d0260a4d942d7069de75446e2bc\",\"name\":\"ticapix\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/gronlier.fr\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/94bba7228ec3665afea02078abebfa94?s=96&d=monsterid&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/94bba7228ec3665afea02078abebfa94?s=96&d=monsterid&r=g\",\"caption\":\"ticapix\"},\"url\":\"https:\/\/gronlier.fr\/blog\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Unbrick and update a J-Link V8 clone - Bits and Bytes","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/gronlier.fr\/blog\/2015\/07\/unbrick-and-update-an-j-link-v8-clone\/","og_locale":"en_US","og_type":"article","og_title":"Unbrick and update a J-Link V8 clone - Bits and Bytes","og_description":"You can buy a Segger JTAG J-Link clone for few USD on ebay, aliexpress, dx, ... If you try to update its firmware with the official Segger tool, you'll brick the probe. Don't worry, smart people have already put a checklist to restore a working firmware and even update it to the latest official version. &hellip; Continue reading Unbrick and update a J-Link V8 clone &rarr;","og_url":"https:\/\/gronlier.fr\/blog\/2015\/07\/unbrick-and-update-an-j-link-v8-clone\/","og_site_name":"Bits and Bytes","article_published_time":"2015-07-09T06:50:14+00:00","article_modified_time":"2020-03-30T09:43:44+00:00","og_image":[{"url":"http:\/\/gronlier.fr\/blog\/wp-content\/uploads\/2015\/07\/jlink-update02-300x158.png"}],"author":"ticapix","twitter_card":"summary_large_image","twitter_misc":{"Written by":"ticapix","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/gronlier.fr\/blog\/2015\/07\/unbrick-and-update-an-j-link-v8-clone\/","url":"https:\/\/gronlier.fr\/blog\/2015\/07\/unbrick-and-update-an-j-link-v8-clone\/","name":"Unbrick and update a J-Link V8 clone - Bits and Bytes","isPartOf":{"@id":"https:\/\/gronlier.fr\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/gronlier.fr\/blog\/2015\/07\/unbrick-and-update-an-j-link-v8-clone\/#primaryimage"},"image":{"@id":"https:\/\/gronlier.fr\/blog\/2015\/07\/unbrick-and-update-an-j-link-v8-clone\/#primaryimage"},"thumbnailUrl":"http:\/\/gronlier.fr\/blog\/wp-content\/uploads\/2015\/07\/jlink-update02-300x158.png","datePublished":"2015-07-09T06:50:14+00:00","dateModified":"2020-03-30T09:43:44+00:00","author":{"@id":"https:\/\/gronlier.fr\/blog\/#\/schema\/person\/9abd8d0260a4d942d7069de75446e2bc"},"breadcrumb":{"@id":"https:\/\/gronlier.fr\/blog\/2015\/07\/unbrick-and-update-an-j-link-v8-clone\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/gronlier.fr\/blog\/2015\/07\/unbrick-and-update-an-j-link-v8-clone\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/gronlier.fr\/blog\/2015\/07\/unbrick-and-update-an-j-link-v8-clone\/#primaryimage","url":"http:\/\/gronlier.fr\/blog\/wp-content\/uploads\/2015\/07\/jlink-update02-300x158.png","contentUrl":"http:\/\/gronlier.fr\/blog\/wp-content\/uploads\/2015\/07\/jlink-update02-300x158.png"},{"@type":"BreadcrumbList","@id":"https:\/\/gronlier.fr\/blog\/2015\/07\/unbrick-and-update-an-j-link-v8-clone\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/gronlier.fr\/blog\/"},{"@type":"ListItem","position":2,"name":"Unbrick and update a J-Link V8 clone"}]},{"@type":"WebSite","@id":"https:\/\/gronlier.fr\/blog\/#website","url":"https:\/\/gronlier.fr\/blog\/","name":"Bits and Bytes","description":"As the default template said: &quot;Just another WordPress site&quot;","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/gronlier.fr\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/gronlier.fr\/blog\/#\/schema\/person\/9abd8d0260a4d942d7069de75446e2bc","name":"ticapix","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/gronlier.fr\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/94bba7228ec3665afea02078abebfa94?s=96&d=monsterid&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/94bba7228ec3665afea02078abebfa94?s=96&d=monsterid&r=g","caption":"ticapix"},"url":"https:\/\/gronlier.fr\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/gronlier.fr\/blog\/wp-json\/wp\/v2\/posts\/180"}],"collection":[{"href":"https:\/\/gronlier.fr\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gronlier.fr\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gronlier.fr\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gronlier.fr\/blog\/wp-json\/wp\/v2\/comments?post=180"}],"version-history":[{"count":13,"href":"https:\/\/gronlier.fr\/blog\/wp-json\/wp\/v2\/posts\/180\/revisions"}],"predecessor-version":[{"id":323,"href":"https:\/\/gronlier.fr\/blog\/wp-json\/wp\/v2\/posts\/180\/revisions\/323"}],"wp:attachment":[{"href":"https:\/\/gronlier.fr\/blog\/wp-json\/wp\/v2\/media?parent=180"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gronlier.fr\/blog\/wp-json\/wp\/v2\/categories?post=180"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gronlier.fr\/blog\/wp-json\/wp\/v2\/tags?post=180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}