Shop OBEX P1 Docs P2 Docs Learn Events
Store currently running program — Parallax Forums

Store currently running program

CmdCodeCmdCode Posts: 1
edited 2012-07-29 19:51 in Propeller 1
Is there a way to pull the currently running program and any saved data off the eeprom? i.e. pull the currently running program and anything else stored on the eeprom to a file on a computer?

Comments

  • kwinnkwinn Posts: 8,697
    edited 2012-07-29 19:47
    CmdCode wrote: »
    Is there a way to pull the currently running program and any saved data off the eeprom? i.e. pull the currently running program and anything else stored on the eeprom to a file on a computer?

    I suppose you could write a spin or pasm program to read and transmit all the data stored in the hub ram and eeprom. Getting at any pasm program in a cog would be a bit trickier.
  • Beau SchwabeBeau Schwabe Posts: 6,568
    edited 2012-07-29 19:51
    This topic came up a bit at DEFCON with the badges, and yes there is a way to do it. Basically you load the Propeller using F10 rather than F11 with a program that can talk to the EEPROM. That program then transmits the data via USB to the PC where you can save it to a file. The Key is NOT to load the program using F11 during this process.

    I believe that Andy Lindsay wrote code to do this very thing awhile back.
Sign In or Register to comment.