Categories

2boots: Arduino/AVR serial and SD card bootloader

Posted on Tuesday, April 3rd, 2012 in Arduino, AVR by DP

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 on Tuesday, April 3rd, 2012 at 9:00 pm and is filed under Arduino, AVR. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

One Response to “2boots: Arduino/AVR serial and SD card bootloader”

  1. Martin says:

    Let me tip you off again :)

    Another Arduino bootloader, this time over TFTP

    https://github.com/mharizanov/arduino-netboot

    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:

    https://github.com/mharizanov/TFTPBootloader_0_2

Leave a Reply

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

Recent Comments

  • KH: Really? They are digital inputs driven by an MCU. The MCU GPIO probably has diode clamps and ESD protection. Have you experienced such failures? Please...
  • KH: Neither. Google "Marco Schweighauser’s 8-bit virtual Javascript CPU" and see the first result. Sounds more like a very limited feature toy CPU.
  • Alan: "8-bit x86 like CPU" - isn't that an 8080, or Z80?
  • Geoff: Is it still Sunday somewhere? If so, yes please.
  • hli: Sunday++