Go Down

Topic: Running programs from external storage (Read 1 time) previous topic - next topic

Hello!
I am currently in the process of developing an Arduino-powered wristband. The device will be able to run different tools, or apps, that do different things. The issue is one of storage and convenience. I don't think that I could fit all of the programs within the Arduino's storage area, and would prefer the programs to be on something like an SD card that could be modified from my laptop. This would also mean that I wouldn't have to re-flash(?) the Arduino every time I make a change to a program, and would just have to re-compile a separate sketch and replace it with the copy on the SD card.
Is there a way to do this?

Thanks in advance,
Mercury

AWOL

No, not really.
You could maybe write a custom boot loader to get code from the SD card.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Jantje

Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

Jantje

Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

robtillaart

bitlash is a command interpreter that can be converted to something reading from disk...
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

billroy

Thanks, Rob.  Here's a link to the "bitlashsd" example, which will run Bitlash script off the SD card:

https://github.com/billroy/bitlash/blob/master/examples/bitlashsd/bitlashsd.pde

It's in the File->Examples->bitlash menu once you've installed Bitlash.  Do read the doc, there is a minor code change to the Bitlash core to enable file script support.

Good luck with your project,

-br

Thanks for the ideas, but I would prefer a way to use only one Arduino. I'm not quite sure that I'll be able to fit all the support electronics into the wristband as it is, but it I have to I'll give it a shot.

Jantje

Mercury1964
If you have a size problem take a teensy2 (100% Arduino compatible) and your physical size drops.
As far as I understand together with the Bitlash the solution should be physically smaller than an Arduino.
Best regards
Jantje

Note: The power consumption of the teensy2 is smaller than for a standard Arduino which I guess is important for your project as well
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

Go Up