Is it possible (and how to if so) to essentially download a script in Notepad or a terminal to the Arduino and then pull it back up on another computer?
I'm not really clear on your question. If you want to store a bunch of text in memory on the arduino and then retrieve it on another computer, then yes. Just write it out on serial or via a network port or whatever.
If you want to get the original script back from a compiled program then no. It's compiled. You might be able to dump the assembler somehow, but you'd have to decompile it to get anything like the original file back. And it still probably wouldn't be close.
You could do a combination of both, though. When you upload the compiled program, also store the original text as data on an attached SD card. You'd have to write a program that did that, but it shouldn't be too hard.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With