LowPowerLab Forum

Hardware support => Moteino => Topic started by: SanG on June 19, 2017, 12:55:10 PM

Title: Can I download running code from moteino?
Post by: SanG on June 19, 2017, 12:55:10 PM
Hello guys,

Does anyone know how to view or download the existing (running) code of a moteino?

Thanks
Title: Re: download existing code
Post by: Felix on June 19, 2017, 01:10:21 PM
What exactly is "existing (running) code of a moteino" ?
Title: Re: download existing code
Post by: SanG on June 19, 2017, 01:29:06 PM
What I am referring to"running code" is the program script that has been recently uploaded into the moteino. I want to see which script is running inside the moteino and download/copy/update as per needed. I am working on wireless sensor networking using moteino and actually I lost my program scripts. Hence I want to copy the recent code that I uploaded inside the moteino. 
Title: Re: download existing code
Post by: Felix on June 19, 2017, 03:01:41 PM
Your moteino flash memory will obviously not contain your sketch, but compiled machine code. Which, if you have to ask, is basically impossible to reverse engineer into your original sketch. Even if you tried to decompile that code you'd get a very different code structure that was the result of optimizations.
Title: Re: download existing code
Post by: SanG on June 24, 2017, 02:19:26 PM
Got it, thanks.