Retrieving user code from microcontroller
travismet
Posts: 2
Several months ago I wrote code for a few different versions of a program, which I still have in my computer, but cannot remember which version is in my microcontroller eeprom. I need to know how to retrieve the code from the controller.
Thank you
Thank you
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
lets see what this does... KA BOOM (note to self do not cross red and black)
When you upload this program to the BASIC Stamp, it will overwrite about 64 bytes of your program at the beginning (i.e. in upper memory), but will leave the rest of it undisturbed. So when you run it, all but the first 64 bytes of your program will get dumped to the DEBUG screen. You can then copy and paste this data to a file.
Next upload each of your candidate programs to the Stamp and run the dump program, copying the results of each to separate files. Then you can compare the candidate dumps to your mystery dump to see which one matches.
-Phil
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Thanks for the suggestion. I'll try it.
Travis