Shop OBEX P1 Docs P2 Docs Learn Events
Seemingly dumb question ... — Parallax Forums

Seemingly dumb question ...

turbosupraturbosupra Posts: 1,088
edited 2009-12-22 17:19 in Propeller 1
How can I DOWNload the code off of my prop chip in the IDE?

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2009-12-22 04:30
    You can't use the IDE to do it and there's not any ready-made program to do so. The program can be stored either in the Propeller's RAM or in an attached EEPROM. If it's in an EEPROM, you can write a program that you download into RAM where it runs and reads the program a little at a time from the EEPROM and dumps it somewhere else (like over the programming serial port to the PC). One of the FemtoBasic variants can be downloaded into RAM and used to display any part of the attached EEPROM using its DUMP statement. You could use DongleBasic and something like Hyperterm on the PC. You'd do a DUMP statement with DongleBasic and capture the displayed text to a file on the PC where you could process it later into any format you want.

    Remember that the code on the Propeller is not your source code. The Propeller Tool compiles your Spin program to binary and your assembly language to binary and none of the variable names or method or object names are included in the binary program.
  • RossHRossH Posts: 5,519
    edited 2009-12-22 04:39
    The Hydra Asset Manager can download the contents of the Prop EEPROM to a PC. But it may not work on Prop platforms other than the Hydra.

    Ross.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Catalina - a FREE C compiler for the Propeller - see Catalina
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2009-12-22 04:47
    RossH said...
    The Hydra Asset Manager can download the contents of the Prop EEPROM to a PC. But it may not work on Prop platforms other than the Hydra.

    Ross.


    Some minor adjustments and it works fine with other boards.

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    New to the Propeller?

    Visit the: The Propeller Pages @ Warranty Void.
  • kuronekokuroneko Posts: 3,623
    edited 2009-12-22 05:08
  • RossHRossH Posts: 5,519
    edited 2009-12-22 05:26
    Aha! Thanks guys.

    Ross.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Catalina - a FREE C compiler for the Propeller - see Catalina
  • turbosupraturbosupra Posts: 1,088
    edited 2009-12-22 16:28
    Sounds easier to rewrite it, haha


    Thanks all
  • heaterheater Posts: 3,370
    edited 2009-12-22 16:48
    If you have lost the source files of whatever it is loaded into the EEPROM then you probably are better off writing it again.

    On the bright side, they do say that when writing some software application you should at least throw one version away. Reasoning that the next version will be better now that you know what you are doing[noparse]:)[/noparse]

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    For me, the past is not over yet.

    Post Edited (heater) : 12/22/2009 5:26:12 PM GMT
  • pmrobertpmrobert Posts: 677
    edited 2009-12-22 17:19
    Two thumbs up in a "Z" pattern for heater's suggestion!
Sign In or Register to comment.