{"id":115,"date":"2024-12-06T04:46:57","date_gmt":"2024-12-06T07:46:57","guid":{"rendered":"https:\/\/blog.feche.ar\/?p=115"},"modified":"2024-12-15T16:12:41","modified_gmt":"2024-12-15T19:12:41","slug":"how-to-dump-eeprom-ram-and-rom-from-cluster","status":"publish","type":"post","link":"https:\/\/blog.feche.ar\/?p=115","title":{"rendered":"How to dump Eeprom, Ram and ROM from cluster."},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">How to dump Eeprom, Ram and ROM from cluster.<\/h2>\n\n\n\n<p>In order to continue the development of the needle\/led sweep patch for more clusters, I need <strong>Eeprom <\/strong>and <strong>ROM <\/strong>dumps to do so.<\/p>\n\n\n\n<p>In this brief tutorial I will cover the basics on how to dump both and save them to your PC.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What you will need.<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>First of all, a cluster.<\/li>\n\n\n\n<li>VAG-KKL dumb cable.<\/li>\n\n\n\n<li>A notebook or PC. <\/li>\n\n\n\n<li><a href=\"https:\/\/github.com\/gmenounos\/kw1281test\/releases\">kw1281test<\/a> software.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Setting up.<\/h2>\n\n\n\n<blockquote class=\"wp-block-quote has-background is-layout-flow wp-block-quote-is-layout-flow\" style=\"background-color:#ffffe5\">\n<p><strong>ATTENTION:<\/strong> the dump process can take as long as 2hrs+, make sure you have the appropiate time to do so.<\/p>\n<\/blockquote>\n\n\n\n<p>Download <a href=\"https:\/\/github.com\/gmenounos\/kw1281test\/releases\">kw1281test<\/a> and extract to a folder, inside the folder where <strong>kw1281test.exe <\/strong>executable is, create a file named <em><strong>dump.bat<\/strong><\/em> &#8211; make sure that the file extension is <strong>.bat<\/strong>.<\/p>\n\n\n\n<p>Copy the following code to the file, and save it &#8211; or if you prefer, you can download the file in the link above.<\/p>\n\n\n\n<p>Change <strong>PORT<\/strong> variable to your KKL cable COM port.<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-bash\" data-line=\"\">@echo off\nset PORT=COM1\n\necho Starting ROM dump..\ntimeout \/t 2 \/nobreak\n\n.\\kw1281test.exe %PORT% 10400 17 DumpMem $02000 $6000\n.\\kw1281test.exe %PORT% 10400 17 DumpMem $18000 $8000\n.\\kw1281test.exe %PORT% 10400 17 DumpMem $28000 $8000\n.\\kw1281test.exe %PORT% 10400 17 DumpMem $38000 $8000\n.\\kw1281test.exe %PORT% 10400 17 DumpMem $48000 $4000\n\ncopy \/b cluster_mem_$002000.bin + cluster_mem_$018000.bin + cluster_mem_$028000.bin + cluster_mem_$038000.bin + cluster_mem_$048000.bin cluster_rom.bin\n\necho ROM dump saved to file cluster_rom.bin\necho Starting Eeprom dump..\ntimeout \/t 2 \/nobreak\n\n.\\kw1281test.exe %PORT% 10400 17 DumpEeprom 0 2048 eeprom.bin\n\necho Eeprom dump saved to file eeprom.bin\necho Starting RAM dump..\ntimeout \/t 2 \/nobreak\n.\\kw1281test.exe %PORT% 10400 17 DumpRam 0 0x2000 ram.bin\n\necho RAM dump saved to file ram.bin\necho All done.\npause<\/code><\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>dump.bat &#8211; <a href=\"https:\/\/feche.ar\/f\/dump.bat\">download<\/a> <\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">Dump time!<\/h2>\n\n\n\n<p>Once you have everything on it&#8217;s place, open a command terminal and go to the folder where the batch script is located, write <strong><em>dump.bat<\/em><\/strong> and hit enter!<\/p>\n\n\n\n<blockquote class=\"wp-block-quote has-background is-layout-flow wp-block-quote-is-layout-flow\" style=\"background-color:#ffffe5\">\n<p><strong>ATTENTION:<\/strong> like I said earlier &#8211; the dump process can take as long as 2hrs+, if the dump fails\/pc powers off\/etc. <strong>you will have to restart <\/strong>the dump process.<\/p>\n<\/blockquote>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"973\" height=\"1024\" src=\"https:\/\/blog.feche.ar\/wp-content\/uploads\/2024\/12\/image-4-973x1024.png\" alt=\"\" class=\"wp-image-117\" style=\"width:663px;height:auto\" srcset=\"https:\/\/blog.feche.ar\/wp-content\/uploads\/2024\/12\/image-4-973x1024.png 973w, https:\/\/blog.feche.ar\/wp-content\/uploads\/2024\/12\/image-4-285x300.png 285w, https:\/\/blog.feche.ar\/wp-content\/uploads\/2024\/12\/image-4-768x808.png 768w, https:\/\/blog.feche.ar\/wp-content\/uploads\/2024\/12\/image-4.png 992w\" sizes=\"auto, (max-width: 973px) 100vw, 973px\" \/><figcaption class=\"wp-element-caption\">How your terminal should look like.<\/figcaption><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Finishing up.<\/h2>\n\n\n\n<p>After the program finished, you should have three files inside the folder where the script is, those files are:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-style-default has-small-font-size is-layout-flow wp-block-quote-is-layout-flow\">\n<ul class=\"wp-block-list\">\n<li style=\"font-size:14px\"><strong>cluster_rom.bin<\/strong> &#8211; ROM dump.<\/li>\n\n\n\n<li style=\"font-size:14px\"><strong>eeprom.bin<\/strong> &#8211; Eeprom dump.<\/li>\n\n\n\n<li style=\"font-size:14px\"><strong>ram.bin<\/strong> &#8211; Ram dump.<\/li>\n<\/ul>\n<\/blockquote>\n\n\n\n<p><strong>The rest of the files are not needed<\/strong>, then you can <em>.zip<\/em> the files and send them to me via <strong>email (feche1320@gmail.com)<\/strong>.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote has-background is-layout-flow wp-block-quote-is-layout-flow\" style=\"background-color:#ffffe5\">\n<p style=\"font-size:16px\"><strong>Please include in the title the cluster version<\/strong>, and as message any other significant data that can help to identify the cluster (car year\/brand\/model\/circuit photos) &#8211; that way is easier to work with so much clusters and data.<\/p>\n<\/blockquote>\n\n\n\n<p>And again, thanks to <a href=\"https:\/\/github.com\/gmenounos\">gmenounos<\/a> for this awesome tool.<\/p>\n\n\n\n<p>Happy dumping \ud83d\ude42<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to dump Eeprom, Ram and ROM from cluster. In order to continue the development [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-115","post","type-post","status-publish","format-standard","hentry","category-tutorials-others"],"_links":{"self":[{"href":"https:\/\/blog.feche.ar\/index.php?rest_route=\/wp\/v2\/posts\/115","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.feche.ar\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.feche.ar\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.feche.ar\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.feche.ar\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=115"}],"version-history":[{"count":13,"href":"https:\/\/blog.feche.ar\/index.php?rest_route=\/wp\/v2\/posts\/115\/revisions"}],"predecessor-version":[{"id":148,"href":"https:\/\/blog.feche.ar\/index.php?rest_route=\/wp\/v2\/posts\/115\/revisions\/148"}],"wp:attachment":[{"href":"https:\/\/blog.feche.ar\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.feche.ar\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.feche.ar\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}