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.
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.
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.
Comments
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.
Ross.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Catalina - a FREE C compiler for the Propeller - see Catalina
Some minor adjustments and it works fine with other boards.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
http://forums.parallax.com/showthread.php?p=843565
Post Edited (kuroneko) : 12/22/2009 6:08:29 AM GMT
Ross.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Catalina - a FREE C compiler for the Propeller - see Catalina
Thanks all
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