Updated EEPROM Tool

Finally got around to updating the EEPROM formatting tool to make it more reliable, and have it work with slightly different dumps of 128 or 256 bytes. Also, there is no longer an alert window generated with the formatted EEPROM – the clean data now appears directly below the text area.

Check it out at the same link: http://gnurds.com/wp-content/neateeprom.html

Bookmark the permalink.

7 Responses to Updated EEPROM Tool

  1. Matt says:

    Dan,

    I’ve been following your steps for our Dimension 1200 sst and I have written the files as directed. I have come up against a problem using the EEPROM re-write tool on your site. I had a cartridge with 88% and re-wrote it by copying ad pasting to your tool and back to the board. After restarting this cartridge now appears with a 0% status. Here are the initial and edited lines:

    Model cartridge ID (8 8-bit values)
    000000: 23 a7 3b 09 01 00 00 bd #.;…..

    Model cartridge: 512 bytes at address 0 (512 8-bit values)
    000000: 9f 3d 61 4d 6e 86 76 04 82 6b cf de 7f 18 76 84 .=aMn.v..k….v.
    000016: 55 b4 42 36 a6 79 99 8f 2c 95 d2 dc 5d dd 96 2c U.B6.y..,…]..,
    000032: 7d d1 6f 8e 4c e9 16 bb d5 31 1b d5 c8 79 88 cc }.o.L….1…y..
    000048: d5 31 1b d5 c8 79 88 cc f1 c0 6e 2e e1 53 06 1e .1…y….n..S..
    000064: 2a 83 00 00 00 00 17 03 55 aa 55 1f ee 8b 61 be *…….U.U…a.
    000080: ba 2c 00 00 00 00 00 00 37 c7 b2 27 cf 30 64 ec .,……7..’.0d.
    000096: cf bd 2a 32 00 00 00 00 53 54 52 41 54 41 53 59 ..*2….STRATASY
    000112: 53 68 83 92 82 7a 1c 38 ba 7d b3 4c 46 88 68 4f Sh…z.8.}.LF.hO
    000128: 3e 6a ff dd fe 1a 87 0c 5c d7 13 bc 17 ed 5c d3 >j……\…..\.
    000144: 9d e0 79 08 d6 28 23 4c 1e f8 12 06 cd bd 2d 97 ..y..(#L……-.
    000160: 98 22 f0 88 e8 cd b3 0f 81 9a d1 f4 d6 45 ba 58 .”………..E.X
    000176: c2 56 7e fb 34 48 30 4a 4d 63 d9 73 f4 de 44 35 .V~.4H0JMc.s..D5
    000192: 84 1f 24 9f 4b 8d 8c 36 f9 e5 9f af 59 e5 25 ef ..$.K..6….Y.%.
    000208: 6f 31 28 73 a7 70 e1 da 94 e7 80 a2 3b 8f da dd o1(s.p……;…
    000224: 4a 5a 58 4e 76 5b 1b 69 ae d5 87 1d 70 24 4e f3 JZXNv[.i….p$N.
    000240: b2 fe 14 e2 9e 26 67 39 74 b2 67 57 bd ed a4 b9 …..&g9t.gW….
    000256: 00 98 cc 61 40 d9 94 8e 51 5a 0f 2c ff ff df 12 …a@…QZ.,….
    000272: 3d a1 7c 6d 7a d9 29 03 41 94 d2 a9 a1 e9 7b 32 =.|mz.).A…..{2
    000288: b4 a8 bf 5d 78 64 77 3b 52 e2 ed dd ea 07 ec cf …]xdw;R…….
    000304: bf f8 d5 cd 55 7d ce f0 27 37 72 11 e1 de 24 97 ….U}..’7r…$.
    000320: 41 e6 2e 0b 0a e3 8a 5f 09 8d bf 6b 33 e4 2d 47 A……_…k3.-G
    000336: c1 1c 7b f1 de d0 a2 2a 40 ff c6 cb 9f ec ee d2 ..{….*@…….
    000352: 53 e2 0d 34 ab ed b0 5b 2a a8 9b 8e 2c b3 10 4b S..4…[*…,..K
    000368: c3 21 bb d1 c0 4e d0 c6 9b ad 19 5c b8 ef 55 9f .!…N…..\..U.
    000384: da 66 f9 22 7b a2 7c cb 50 32 c2 00 af 56 53 57 .f.”{.|.P2…VSW
    000400: ee 65 08 5c 93 f1 82 19 12 45 af 62 60 93 02 ee .e.\…..E.b`…
    000416: 09 66 d2 6c e8 1a 13 0e a6 c9 a1 fc 1d 0b 41 a1 .f.l……….A.
    000432: db 97 a2 13 e1 b6 2a 04 98 c7 de 0d fb ee ba 6a ……*……..j
    000448: 56 51 1d 9c ba f3 bf 54 72 f2 75 92 52 50 73 ea VQ…..Tr.u.RPs.
    000464: 13 f1 f3 c2 f2 2f 9b e6 a9 ab 5c 98 fd 2f 6d ea …../….\../m.
    000480: 46 ff 24 29 39 aa de 47 8b 65 52 d2 d9 2b 03 49 F.$)9..G.eR..+.I
    000496: ae c7 52 a3 5e c0 d9 91 29 ef b3 07 5e 16 da e2 ..R.^…)…^…

    What I get from the tool is

    “23,a7,3b,09,01,00,00,bd,,,,,,,,,,,,,,,,,,,,Model,cartridge:,512,bytes,at,address,0,,9f,3d,61,4d,6e,86,76,04,82,6b,cf,de,7f,18,76,84,,55,b4,42,36,a6,79,99,8f,2c,95,d2,dc,5d,dd,96,2c,,7d,d1,6f,8e,4c,e9,16,bb,d5,31,1b,d5,c8,79,88,cc,,d5,31,1b,d5,c8,79,88,cc,f1,c0,6e,2e,e1,53,06,1e,,2a,83,00,00,00,00,17,03,55,aa,55,1f,ee,8b,61,be,,ba,2c,00,00,00,00,00,00,37,c7,b2,27,cf,30,64,ec,,cf,bd,2a,32,00,00,00,00,53,54,52,41,54,41,53,59,,53,68,83,92,82,7a,1c,38,ba,7d,b3,4c,46,88,68,4f,,3e,6a,ff,dd,fe,1a,87,0c,5c,d7,13,bc,17,ed,5c,d3,,9d,e0,79,08,d6,28,23,4c,1e,f8,12,06,cd,bd,2d,97,,98,22,f0,88,e8,cd,b3,0f,81,9a,d1,f4,d6,45,ba,58,,c2,56,7e,fb,34,48,30,4a,4d,63,d9,73,f4,de,44,35,,84,1f,24,9f,4b,8d,8c,36,f9,e5,9f,af,59,e5,25,ef,,6f,31,28,73,a7,70,e1,da,94,e7,80,a2,3b,8f,da,dd,,4a,5a,58,4e,76,5b,1b,69,ae,d5,87,1d,70,24,4e,f3,,b2,fe,14,e2,9e,26,67,39,74,b2,67,57,bd,ed,a4,b9,,00,98,cc,61,40,d9,94,8e,51,5a,0f,2c,ff,ff,df,12,,3d,a1,7c,6d,7a,d9,29,03,41,94,d2,a9,a1,e9,7b,32,,b4,a8,bf,5d,78,64,77,3b,52,e2,ed,dd,ea,07,ec,cf,,bf,f8,d5,cd,55,7d,ce,f0,27,37,72,11,e1,de,24,97,,41,e6,2e,0b,0a,e3,8a,5f,09,8d,bf,6b,33,e4,2d,47,,c1,1c,7b,f1,de,d0,a2,2a,40,ff,c6,cb,9f,ec,ee,d2,,53,e2,0d,34,ab,ed,b0,5b,2a,a8,9b,8e,2c,b3,10,4b,,c3,21,bb,d1,c0,4e,d0,c6,9b,ad,19,5c,b8,ef,55,9f,,da,66,f9,22,7b,a2,7c,cb,50,32,c2,00,af,56,53,57,,ee,65,08,5c,93,f1,82,19,12,45,af,62,60,93,02,ee,,09,66,d2,6c,e8,1a,13,0e,a6,c9,a1,fc,1d,0b,41,a1,,db,97,a2,13,e1,b6,2a,04,98,c7,de,0d,fb,ee,ba,6a,,56,51,1d,9c,ba,f3,bf,54,72,f2,75,92,52,50,73,ea,,13,f1,f3,c2,f2,2f,9b,e6,a9,ab,5c,98,fd,2f,6d,ea,,46,ff,24,29,39,aa,de,47,8b,65,52,d2,d9,2b,03,49,,ae,c7,52,a3,5e,c0,d9,91,29,ef,b3,07,5e,16,da,e2”

    What am I doing wrong?

    • Dan says:

      Hmm, it looks like you may have found a bug in my EEPROM formatter! Here’s the properly formatted string: http://pastebin.com/aL6Tzivm

      • Dan says:

        Link’s fixed now.

        • Matt says:

          Dan,

          I used the info you sent and the cartridge is now reading the original 88%. I cant seem to understand how it would be doing this? Any thoughts?

          So to refresh, we started at 88%, used the EEPROM generator, this took us to 0%, used the new info you sent and now back to 88%?

          Thanks for the help!

          • Dan says:

            Matt,

            It looks like the EEPROM formatter may have a bug in it (when you write an improperly formatted dump to the EEPROM, the printer displays 0%) so I manually formatted the dump you posted. This dump was most likely taken at 88%, you wrote the improperly formatted dump resulting in the printer displaying 0%, and then you wrote back the properly formatted 88% dump that I posted. You should now be able to use this clean dump to continuously “refill” this cartridge to 88% :)

  2. Casquito says:

    Here’s a a brief explanation of the regexp within the javascript. Hope it helps.
    var str = document.getElementById(“eeprom”).value;

    str = str.substring(str.indexOf(“000000”));
    Starting at the beginning of the first occurrence of “000000”, this extracts the rest of the string

    str = str.replace(/\d\d\d\d\d\d\W\s/img,””);
    Here is replaces any sequence of 6 digits, a non word character and a white space character. (Characters g m i are flags that indicate ignore case, multiline, global match.)

    str = str.replace(/……………….$/gmi,””);
    This deletes sequences of 20 single characters, except newline or line terminator

    str = str.replace(/[\n\r]/gmi,”,”);
    replaces new line or carriage return characters with a comma

    str = str.replace(/\s/gmi,”,”);
    replaces white space characters with a comma

    str = str.replace(/^,/i,””);

    document.getElementById(“clean”).innerHTML = str;

  3. Bill Walker says:

    Hi, I’d like to know the logic behind what the html scripts do to the hex data to provide the “clean” data.

    The “formatted hex” just looks like it takes the hex data and converts it into comma delimited text enclosed in quotes?

    Mjolinor is running a bash shell script with C scripts and python scripts to format and process the data – I was wondering if you knew what he was referring to about there being a bug in the stratasys-cli.py script?

    If more of the inner workings of all of this were documented and explained a little bit more, I’m sure we could make some significant headway on simplifying the process and getting it all worked out.

    Thanks.

Leave a Reply

Your email address will not be published.