2boots: Arduino/AVR serial and SD card bootloader

in Arduino, AVR by DP | 1 comment

Martin tipped us off to an AVR/Arduino¬† serial and mmc/SD card bootlaoder. It was designed to fit the same 2kb memory area that the usual Arduino booloader fits into, but can load firmware from an SD card too. Very useful for on “in the field” programing.

This is a proof-of-concept dual bootloader for Atmel AVR atmega chips. It combines a serial bootloader and a mmc/sd card based one in the same 2kb of flash memory that is normally used by the arduino serial loader alone.

You might ask Why? Well, I have quite a few arduino “in the field”. I can simply drag a .hex file to an SD card, insert it in an SD shield, and field-upgrade my boards without additional hardware. At the same time, I can connect the serial port and start developping with the normal Arduino IDE.

This entry was posted in Arduino, AVR and tagged , , , .


  1. Martin says:

    Let me tip you off again :)

    Another Arduino bootloader, this time over TFTP


    and a simpler version that doesn’t require the more complicated TFTP setting over BOOTP, rather configuring itself over EEPROM settings and acting as TFTP server to await firmware upload:


Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Notify me of followup comments via e-mail. You can also subscribe without commenting.