Hi guys,
After a system restore of my laptop I lost most files with the codes.
So at the moment I have no idea which code has been uploaded to the main unit.
Is there a way to retrieve the current code stored on my unit, so I can save that to my computer?
Hope somebody can help me out here, otherwise I need to start from scratch again.
Lesson learned here that I should have a external backup.
Thanks in advance.
Leslie
How to retrieve current code from the controller?
-
- Posts: 59
- Joined: Tue Nov 12, 2013 5:58 am
Re: How to retrieve current code from the controller?
It doesn't work like that. What gets uploaded to the unit is a compiled binary so you wouldn't be able to get it back to the arduino c++ code you're wanting.
-
- Posts: 59
- Joined: Tue Nov 12, 2013 5:58 am
Re: How to retrieve current code from the controller?
Thanks for the reply.
I guess to start all over again. Maybe a good thing.
Clean it up a bit.
Leslie
I guess to start all over again. Maybe a good thing.
Clean it up a bit.
Leslie
-
- Posts: 289
- Joined: Wed May 16, 2012 9:52 pm
Re: How to retrieve current code from the controller?
Something I have done...
In each revision of my code I increase a revision number and uploading my code to the RA sets a memory location in the RA+ to that value. It does not help me recover code from the RA but I can read the memory location any time I want and go through my sketches that are named by revision number and have that revision # hard coded into the sketch to at least identify which code I am actually running.
Nick
In each revision of my code I increase a revision number and uploading my code to the RA sets a memory location in the RA+ to that value. It does not help me recover code from the RA but I can read the memory location any time I want and go through my sketches that are named by revision number and have that revision # hard coded into the sketch to at least identify which code I am actually running.
Nick
180G FOWLR
20GH QT#1
29G QT#2

20GH QT#1
29G QT#2
Re: How to retrieve current code from the controller?
depending on how code saavy you are, you could source control (git) and use it to handle your changes. when you make a change and upload code you are happy with, you can create a tag to keep track of it. then you could publish/store your code on github.com so you have a free, offsite backup.
just a thought....
Sent from my iPad mini
just a thought....
Sent from my iPad mini