How To Burn Bootloader to Femtoduino

Update 4/25/2012: I have successfully burned a bootloader to the Femtoduino board using the Arduino ISP method on Windows (didn’t work on Linux for some reason), but with a delay(25) instead of the default delay(40).

First off, connect your Arduino board to your computer, and open up Arduino 1.0 …You will need to open the “Arduino ISP” example, change the line of code that says “delay(40)” to “delay(25)”, and load it to your Arduino board of choice. I used the Arduino Uno (no revision) board.

Next, you will need to follow the instructions located on the Arduino ISP page to wire Arduino board to your Femtoduino board. See http://arduino.cc/en/Tutorial/ArduinoISP*

If you have a breadboard and a few wires, it will make your life easier.

Once you’ve hooked your Arduino board to your Femtoduino board, you must go to the Arduino 1.0 menu bar, and under “Tools” > “Board”, select the Arduino board you are using (in this case Arduino Uno). You may also have to select the correct port your Arduino board is plugged in to if it isn’t selected by default under “Tools” > “Serial Port”.

Next, under “Tools” > “Programmer”, select “Arduino as ISP”. Finally, click “Tools” > “Burn Bootloader”. Once the Arduino software says it’s done, you can load any sketch you want by opening a sketch (such as the ”Examples” > “1.Basics” > “Blink” script), and selecting “File” > “Upload using programmer”

When the Arduino 1.0 software tells you it’s done, you can disconnect all the wires between your Arduino and Femtoduino board, except the Ground and 5V wires. Your femtoduino board should continue to blink the LED on the bottom right edge indicating the “Blink” example is running.

* NOTE: If you have an Arduino Mega ADK board, you can connect Pin 50 (MISO) to D12, Pin 51 (MOSI) to D11, Pin 52 (SCK) to D13, and Pin 53 (SS) to RST. The delay value in the Arduino ISP sketch should still be set to “delay(25)”, but when uploading the sketch, you will need to select “Arduino Mega 2560 or Mega ADK” as your board. Once the sketch is loaded, you will need to set “Arduino Uno” as the board before clicking the “Burn Bootloader” option.