Shop OBEX P1 Docs P2 Docs Learn Events
Token decode — Parallax Forums

Token decode

Chris9999Chris9999 Posts: 5
edited 2008-01-02 16:45 in General Discussion
My shop was broken into and a computer stolen. This computer had a sx program that was not backed up.
I have the eeprom with the program in it. I can read the eprom code, but I was wondering if there is any source for reversing the token codes back to some sort of human readable text.
Thanks
Chris

Comments

  • BeanBean Posts: 8,129
    edited 2007-12-31 21:21
    You could probably get it back to assembler, but all the variable names, comments, etc. would be lost.
    It probably won't be something you could modify any further anyway.
    If you can read the code back you can make new chips if that is your goal.

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    www.iElectronicDesigns.com

    ·
  • Chris9999Chris9999 Posts: 5
    edited 2007-12-31 21:36
    Thanks for your comments,
    That is my goal, to get it back to assembler without the variable names and comments.
    It is just to get the aid in re-writing it.
    My question is now is how or who?
  • bunnibunni Posts: 38
    edited 2008-01-01 02:01
    read the code back, then use angelica, a very good disassembler for the SX. It will rename everything, but bring it back to a state you can use. Just get the hex file off the sx chip with SXKey, save the hex file, and run it through angelica.

    http://online.dip.jp/angelica/index_e.html

    Good Luck

    -Kris
  • Chris9999Chris9999 Posts: 5
    edited 2008-01-01 02:10
    Thanks so much Kris,
    I will give it a go.
    Chris
  • Chris9999Chris9999 Posts: 5
    edited 2008-01-01 02:25
    The program was written for the basic stamp version of the SX chip.
    The eprom has the token codes.
    Is there a disassembler for those codes?
  • bunnibunni Posts: 38
    edited 2008-01-01 09:16
    you mean SX/B? no, sorry, AFAIK there is nothing to put the SX/B code back to the way it was.

    -Kris
  • BeanBean Posts: 8,129
    edited 2008-01-01 16:39
    Bunni,
    I think he means he is using the BS2sx chip.

    Chris9999 if that is the case, you should re-post your request in the Basic Stamp forum. Make sure to say you are using the BS2sx chip.

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    www.iElectronicDesigns.com

    ·
  • Chris9999Chris9999 Posts: 5
    edited 2008-01-02 16:45
    Thanks
    Yes it is the BX2sx chip. Sorry for the confusion
    I will check out the Basic Stamp forum
Sign In or Register to comment.