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.
The Mega 2560 should have enough memory if the standard Arduinos don’t.
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.
Perhaps I was not clear. I am not trying to interface to the Arduino via its ethernet port. I was trying to comunicate via the USB port and using the Inernet to get the data to the remote Arduino. The arduino would behave as it would with a cable connection if the USB adapters could make the transfer transparent.