Shop OBEX P1 Docs P2 Docs Learn Events
Help with code in EEPROM — Parallax Forums

Help with code in EEPROM

mynet43mynet43 Posts: 644
edited 2009-05-29 16:13 in Propeller 1
Is it possible to read spin code from the EEPROM and output it as a spin code listing? Or something similar?

I have a product with an old version of code in the EEPROM.

I don't want to write over the old code before I figure out which version it is.

It's a long program, so any help would be appreciated.

Thanks,

Jim

Comments

  • BradCBradC Posts: 2,601
    edited 2009-05-29 15:29
    There are a number of disassemblers floating about but nothing that will decompile the software to a level where you can easily re-compile it again.

    At best you will get a roughly disassembled listing of the SPIN bytecode (which maps closely enough to the language constructs for you to figure most stuff out pretty quickly).

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "VOOM"?!? Mate, this bird wouldn't "voom" if you put four million volts through it! 'E's bleedin' demised!
  • mynet43mynet43 Posts: 644
    edited 2009-05-29 16:13
    Brad,

    Thanks for the info.

    Right now the program has 824 lines of code.

    So I was hoping for something a little more automated.

    Any other ideas? I assume there's no symbol table, so it would be difficult to correlate the variables.

    Just having the logic structure would be a big help.

    Thanks again,

    Jim
Sign In or Register to comment.