How to Upload Bootloader to Any Arduino !

by Nematic! in Circuits > Arduino

11215 Views, 12 Favorites, 0 Comments

How to Upload Bootloader to Any Arduino !

thumb.jpg

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 !

Watch the Video !

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

Everything We Need !

vlcsnap-2018-08-27-20h03m05s636.png
vlcsnap-2018-08-27-20h02m59s191.png
vlcsnap-2018-08-27-20h02m49s548.png
vlcsnap-2018-08-27-20h03m11s807.png
2215-00.jpg

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.

Circuit Diagram

1.png
2.jpg
3.jpg
4.jpg

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

Burn Bootloader !

vlcsnap-2018-08-27-20h28m28s237.png
vlcsnap-2018-08-27-20h28m44s165.png
vlcsnap-2018-08-27-20h29m02s385.png
vlcsnap-2018-08-27-20h31m05s443.png
vlcsnap-2018-08-27-20h31m27s955.png
vlcsnap-2018-08-27-20h31m35s815.png
vlcsnap-2018-08-27-20h31m40s859.png

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.

Thank You !

vlcsnap-2018-08-27-20h33m50s077.png

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