Kevin wrote an Arduino bootloader that loads sketches from an SD card. BootDrive is open source and available on GitHub.
Announcing the formal release of BootDrive for Arduino. If you’ve been reading the blog, you know that I’ve been working with Justin Shaw of Wyolum labs to enable their I2SD (Arduino clone with a micro-sd card) to bootload a program onto another Arduino. After battling several issues, mostly related to porting avrdude code to the Arduino (assumptions about infinite memory, etc!) it’s working well enough people can fool around with it.
Via lucadentella.it.
That’s interesting but, here is a better solution:
https://github.com/thseiler/embedded/tree/master/avr/2boots
That looks cool, but I haven’t been able to get it to work yet. The serial mode works, but it doesn’t seem to pick up the file from the SD card.
I’ve tried two different arduinos, (an I2SD with PB2 CS, and a Duemilanove with PB0 CS- sparkfun microsd board.)
I created all the appropriate makefile entries, and renamed (wrote to EEPROM) the board.
I’d love some pointers….
I posted the link but hadn’t tested it at that time. I spent few hours yesterday and experienced the same as you.
watch this topic for developments
http://arduino.cc/forum/index.php/topic,99837.0.html
Thanks Martin,
I’ve joined the discussion over there with the results of my investigations
So BootDrive uses the serial ports of both arduinos right? Is there any way to do the same thing over I2C?
Would it be possible to use this with just one arduin. I.e. an Arduino connected to an SD shield. The Sd card contains the hex file, and the Arduino runs the hex file from the flash?
I had some luck with the 2boots bootloader
http://dangerousprototypes.com/2012/04/03/2boots/
Actually, I was mistaken, I never got 2boots to work. I did however get this one:
https://github.com/osbock/avr_boot