Shop OBEX P1 Docs P2 Docs Learn Events
Program Retreival — Parallax Forums

Program Retreival

Tom PTom P Posts: 97
edited 2008-12-09 18:17 in BASIC Stamp
STAMP Question:

If you are given a STAMP1 with a PBASIC program already inside the chip, is it possible to retreive the PBASIC code from it? and have it display in an editor?\

How can the program be retreived?
Any help would be appreciated
thanks
tom

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-12-09 18:17
    The program cannot be retrieved.

    The original source program is not stored in the Stamp. What's stored there is a compiled "byte code" version of the program. It's theoretically possible to use an external EEPROM reader and some tiny probes to read the contents of the EEPROM containing this byte code by connecting to the pins of the EEPROM, but you'd still not get back the original program.

    It's also possible to download a very short new program to the Stamp that will display the rest of the EEPROM, but the new program will overlay part of the existing program making it impossible to get at what was underneath the new program. You'd still have the same problem of working with compiled byte codes.

    Post Edited (Mike Green) : 12/9/2008 6:26:38 PM GMT
Sign In or Register to comment.