Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Memory storage in Arduino

Tags:

memory

arduino

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?

like image 951
luca590 Avatar asked Dec 08 '25 23:12

luca590


1 Answers

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.

like image 114
drysdam Avatar answered Dec 12 '25 10:12

drysdam



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!