In the software how do I read onto the computer what I already uploaded to the Nano?
The only code that you can get out is the binary executable. Is that what you want?
Or do you want to get the source code? In which case you're out of luck.
If you're talking about finding what code is currently loaded, you need ti get in the habit of version control and have a print statement in setup, or a response to an input, that will display what information you consider important.
sterretje:
The only code that you can get out is the binary executable. Is that what you want?Or do you want to get the source code? In which case you're out of luck.
Yeah was talking about when you upload code via the software to the nano reading that code back into the software from the nano.
For example if I uploaded code to the nano but then accidentally deleted the original code from my PC so I no longer have the original code to alter.
Can it be read back from the nano into the software to be altered and re uploaded back to the nano?
For example if I uploaded code to the nano but then accidentally deleted the original code from my PC so I no longer have the original code to alter.
Can it be read back from the nano into the software to be altered and re uploaded back to the nano?
No
Can it be read back from the nano into the software to be altered and re uploaded back to the nano?
You tossed some eggs and milk and flour into a blender (the compiler), whirred the mix together and put it into the oven (the linker) to make a souffle, that you then uploaded to the Arduino.
Now, you want to get the souffle back, and unbake and unblend it, to get the eggs, flour and milk back. Not going to happen.
PaulS:
You tossed some eggs and milk and flour into a blender (the compiler), whirred the mix together and put it into the oven (the linker) to make a souffle, that you then uploaded to the Arduino.Now, you want to get the souffle back, and unbake and unblend it, to get the eggs, flour and milk back. Not going to happen.
Yeah if the software can MIX IT UP as you say and send it then surly it can be made to reverse it also
Not if the egg shells, the milk carton and the flour bag were thrown away. The microcontroller doesn't care about your source code, only the machine code that your source code was turned into. The source code was thrown away as so much garbage. You can convert it back to assembly code if that will help you but it won't look like an Arduino sketch anymore.
pert:
Not if the egg shells, the milk carton and the flour bag were thrown away. The microcontroller doesn't care about your source code, only the machine code that your source code was turned into. The source code was thrown away as so much garbage. You can convert it back to assembly code if that will help you but it won't look like an Arduino sketch anymore.
Thanks that makes things more clear great explanation.
Yeah if the software can MIX IT UP as you say and send it then surly it can be made to reverse it also
Does your blender have an unpuree setting? Converting C++ code to assembly code is a one way process, like pureeing the stuff in a blender.