How to Upload Bootloader to Any Arduino !

Introduction: How to Upload Bootloader to Any Arduino !

About: Hi, I'm Nemeen, Electronics Enthusiast! I have seen a huge decline in electronics hobbyist in past few years. I started this channel in order to inspire you to create. Hopefully, you will find something tha...

Let's say you brought an Arduino and tried to upload your very first program from Examples and it says Error

avrdude: stk500_getsync()

What this means is that your Arduino has a missing bootloader. So today I will show you how to upload a Bootloader to Any Arduino!

So let's Get Started !

Step 1: Watch the Video !

If you don't want to read all the stuff you can watch my video!

Step 2: Everything We Need !

List:

1) Arduino with the working bootloader if you don't have one borrow it

2) USB Cable

3) Arduino or Atmega chip on which you want to upload bootloader

4) Jumper wires

Optional (for uploading on chip)

5)a 16 MHz crystal

6)a 10k resistor

7)Two 18 to 22 picofarad (ceramic) capacitors.

Step 3: Circuit Diagram

Here are the couple of different possibilities in which you can upload the bootloader to Arduino.

1) First Picture Represent Uploading bootloader from Uno to AtMega 328p-AU

2) The second Picture Represent Uploading Bootloader from Uno to Uno

3) The third Pic represent Uploading bootloader from Uno to Nano

4) The fourth Pic represent Uploading Bootloader from Mega to UNO

Step 4: Burn Bootloader !

1) Wire up the Arduino board and microcontroller as shown in the diagram earlier.

2) Upload the ArduinoISP sketch onto your Arduino board. (You'll need to select the board and serial port from the Tools menu that corresponds to your board.)

3) Select "Your Board Which Is Target" from the Tools > Board

4) Select "Arduino as ISP" from Tools > Programmer

Once finished check if the board is working properly by uploading Blink Sketch on it.

Step 5: Thank You !

If you blink code runs then Congratulations you have uploaded Bootloader Successfully!

If you like my work

Feel free to check out my YouTube channel for more awesome stuff: https://www.youtube.com/c/Nematics_lab

You can also follow me on Facebook, Twitter etc for upcoming projects

https://www.facebook.com/NematicsLab/

https://www.instagram.com/nematic_yt/

https://twitter.com/Nematic_YT

Be the First to Share

    Recommendations

    • Pocket-Sized Speed Challenge

      Pocket-Sized Speed Challenge
    • Audio Challenge 2020

      Audio Challenge 2020
    • Maps Challenge

      Maps Challenge

    5 Discussions

    0
    SimpleCircuit
    SimpleCircuit

    4 weeks ago

    Can you load a new bootloader to a board (nano) that already has a bootloader?

    0
    onerians
    onerians

    2 months ago

    i keep getting this error

    Arduino: 1.8.12 (Windows Store 1.8.33.0) (Windows 10), Board: "Arduino Nano, ATmega328P"
    avrdude: Yikes! Invalid device signature.
    Double check connections and try again, or use -F to override
    this check.

    0
    Epicx
    Epicx

    1 year ago

    Hey! Thank you so much :)

    As I am probably braindead I couldn't get it to work with other tutorials. Seems like I had attached the cables the wrong way around :) Your schematic and explanation made it a succesful operations. I was almost ready to throw in the towel!

    Thanks :D

    0
    geoprats11482
    geoprats11482

    Reply 5 months ago

    OMG IT JUST HAPPEN I BOOTLOAD .but the same problem arise...

    I just put positve 5v to Vcc instead of the icsp becouse it say

    Yaks, invalid

    0
    Nematic!
    Nematic!

    Reply 1 year ago

    Happy to Help :)