Go Down

Topic: upload sketch to arduino via internet? (Read 1 time) previous topic - next topic

erik

did not find much on the web about this topic but think it's possible.

With 1 arduino it's hard/impossible to have enough memory to i/f the internet, program itself AND actually doing his real job.

How about using 2 arduinos, 1 to do the actual job and one that interfaces the internet and has an sd card i/f.

The internet arduino has 2 modes, 1-as internet to serial, 2- as programmer, both for the second arduino.

Send a hex file to the internet arduino who stores the file on the sd card, upon good reception it programs the second arduino.

Your objections/suggestion are very welcome.
erik



MarkT

The Mega 2560 should have enough memory if the standard Arduinos don't.
[ I won't respond to messages, use the forum please ]

erik

Quote
The Mega 2560 should have enough memory if the standard Arduinos don't.


MarkT, afaik a running sketch cannot repleace itself unless it's the bootloader who does it but then again the bootloader might be to small to boot from the internet, maybe it could from the sd card wich would be fine for me, one could download the hex file to SD and then reboot.
erik

martin_bg

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1260909294/all

Go Up