Shop OBEX P1 Docs P2 Docs Learn Events
how to copy prop eprom back into IDE?? — Parallax Forums

how to copy prop eprom back into IDE??

vettezr1vettezr1 Posts: 77
edited 2010-12-17 23:00 in Propeller 1
Hi guys first Merry Xmas to all of you and happy holidays ..

I tried to search for this but just cannot remember ,, I have a program in eprom I downloaded with the IDE it is written in spin, I just want to now copy the image of the eprom so can load it into other boards I now it will not be in spin but can I copy the eprom image and load it into another board as a bin file?? thank you
MikeDiv

Comments

  • Duane DegnDuane Degn Posts: 10,588
    edited 2010-12-16 08:46
    MikeDiv,

    I don't think there is an easy way of doing this. You'd need a program (on a second Prop or in RAM only of the target Prop) that reads the entire EEPROM and saves it to a file (on a SD card?).

    The Propeller Tool doesn't have a way to do this by itself.

    And a merry Christmas to you.

    Duane
  • Mike GreenMike Green Posts: 23,101
    edited 2010-12-16 08:59
    Duane is correct. There is no way to copy the program in EEPROM back into the IDE. If you have a spare group of 4 I/O pins, you could attach an SD card and use something like FemtoBasic loaded into RAM to copy the EEPROM to a file on the SD card, then use that as the .BIN file to download to other EEPROMs. There are several other ways to get the contents of EEPROM into a PC, but they all require more work on both the PC and Propeller end of things to get what you want.
  • kuronekokuroneko Posts: 3,623
    edited 2010-12-16 15:45
    [post=911523]One of the other ways which doesn't actually require that much more work :)[/post]
  • BradCBradC Posts: 2,601
    edited 2010-12-16 16:07
    bstl -u will do it for you.

    No other software or code required.
  • HShankoHShanko Posts: 402
    edited 2010-12-16 16:22
    vettezr1,

    Why not just use the Prop tool to write to those other EEPROMs? It is there 'waiting' for you to do so. Or is there a situation you did not let us know about?
  • Beau SchwabeBeau Schwabe Posts: 6,568
    edited 2010-12-17 23:00
    Without adding any extra hardware... i.e. an SD card ... you could create an object that reads the external EEPROM and sends the result to the PST (Parallax Serial Terminal) as uuencode. The uuencode code could then be cut and pasted from the PST into a standard text file.

    There are several programs out there that will 'uudecode' the data back into an original binary that the Propeller IDE should be able to recognize.

    The algorithm is pretty simple to implement, you just have to remember to use F10 and NOT F11 when you run the Memory extraction object.
Sign In or Register to comment.