training:burning_the_bootloader

Burning the Bootloader

This tutorial may come in handy for the bare arduino tutorial if the ATMEGA328P chip is not already programmed. Burning the bootloader allows the chip to be programmable through UART. If you are not sure if the chip is already programed, try putting it onto an Arduino board and running the blinking LED program. If you get the LED to blink, you should not need to burn the bootloader. You should only need to burn the bootloader once onto a chip.

  1. Before attempting to burn the bootloader, be sure that the chip is not already programed.
  2. Use this link to access the tutorial. https://www.arduino.cc/en/Tutorial/ArduinoISP
  3. Follow the instructions and wire according to the diagram for the circuit (targeting Arduino Uno, Duemilanove, or Diecimila).
  4. Make sure to add the capacitor between ground and reset. This can be done by using a breadboard. The long leg of the capacitor should connect to pin 10 on the programming board and the reset pin on the target board. The short leg should be connected to ground.
  5. If the IDE says “Done Burning Bootloader,” the chip should now be programed. Even if it says “failed,” you did not fail. This is just warning.
  • Turn on verbose mode in the Arduino IDE to see what exactly is going wrong. This option can be found in preferences.
  • Check if the chip works by putting the chip onto an Arduino board and try running the blinking LED program.

Authors

Contributing authors:

dkvilla iaribal kamano kluong

Created by dkvilla on 2017/02/02 23:07.

  • training/burning_the_bootloader.txt
  • Last modified: 2021/09/19 21:59
  • (external edit)