How to Burn a Bootloader to Clone Arduino Nano 3.0

344,698

226

189

Introduction: How to Burn a Bootloader to Clone Arduino Nano 3.0

About: Please support and share our mission; the Plant Doctor is a non-profit, open source online research laboratory specializing in electronics+plants. Our vision is to bring together nature and technology in a sim…

Hello everybody..

please support & share our mission;igg.me/at/smartplants

.

I have recently purchased an Arduino Nano 3.0 Clone which came without a bootloader. I am sure there are many other people who are in the same situation as me, and may have freaked out a little bit at first ! Don't worry, in this instructable I will show you how to easily install a bootloader to your new clone.

.

let's see how it's done..>

ATTENTION - some clones are different. they don't have an ftdi chip, which may cause your computer to not see the arduino once plugged in with the usb. if this is the case, please follow these steps; https://www.instructables.com/id/How-To-Burn-a-Boot... thanks to author Gegec for his help on noticing the problem and solving it as well :)

Step 1: Get a Clone

It is very easy to find a clone of any board on the internet. Or you can at worst make yourself one...

.

They are extremely cheap, I have seen pinless nano boards as low as $5 online. You just have to do some work on your end, which is a very fair give and take if you ask me.

.

I don't want to advertise any names here, if you just search the board that you want with the word clone next to it, you will find some. Mine is called Funduino Nano, which is an open source company apparently just making amazing products at real fair prices..

.

Look how small an arduino nano is, it's the size of my pinky finger. This will help me tremendously in my new projects, huge improvements on size!

Step 2: Test It First !

Plug it to the computer with the USB cable.

.

Make sure it turns on, and yes it did.! So far we are safe.

.

Now try to upload the blink sketch to it using the Arduino software on your computer. (file>examples>basics>blink)

.

You will most likely get the error in the second picture. This has nothing to do with the code being right/wrong. It just simply means that your computer and the board aren't communicating correctly, in our case the lack of the bootloader prevents us from doing so.

.

If your clone did work with the sketch upload, then even better.! you found one that is pre-installed. just start using it...

If you get the error message, keep on reading..>

Step 3: Simple Few Steps

Now you need to find a working arduino board, doesn't matter if it is a nano or not, I have used my "real" uno r3 and worked perfectly. If you don't already have one, try borrowing it from a friend.

.

If you have any grab your female - male breadboard jumpers. These will make the process even faster and easier. BUT I didn't have any so, instead of waiting 2 weeks for them to arrive online as well, I had to take some extreme measures!

.

First we need to locate and get familiar with the ICSP pins. On mine just one of them was marked with a number, top right as 1. Here is what they look like in the schematics. So right under 1 had to be 2 and next to one was 3 and so on...

.

Now that you are ready lets begin - do the following steps in order;

STEP 1 - Upload ISP

-Connect the working arduino to your computer.

- Open the arduino software on the computer

- Go to Tools>Serial Port>COM (and make sure that the correct COM port is chosen - ask me if you don't what this means)

- Go to Tools>Board>Arduino Uno (in my case uno, this is the arduino that is already working not yet the other one)

- Go to File>Examples>Arduino ISP (a new sketch screen will open with the ISP code written in it)

- Verify then Upload (your board will start blinking for a bit, it means it is loading, wait until done uploading)

- Unplug the arduino. Now it has the ISP code in it, all we have left to do is connect them together and run a few commands again...

STEP 2 - Connect 2 arduinos together

- Now connect the two arduinos together, to do this without female-male jumper cables was time consuming, you have to be VERY CAREFUL and take your time bending the wires, other wise you may short your circuits. ask me first ! In the second picture you can see that first I put the ICSP pins through a piece of paper and then carefully wrapped around them the corresponding wires. Make sure they grab on very tightly, use a small flat head screw driver to bend them. Take your time, don't be rough.

- Connect them this way;

pin 1 on clone to D12 on working arduino

pin 2 on clone to 5V on working arduino

pin 3 on clone to D13 on working arduino

pin 4 on clone to D11 on working arduino

pin 5 on clone to D10 on working arduino

pin 6 on clone to GND on working arduino

STEP 3 - Burn Bootloader

- Keeping all the wires intact and unmoved in step 2, connect the working arduino back to the computer with the USB

- Go to Tools>Serial Port>COM (and make sure again that the correct COM port is chosen - ask me if you don't what this means)

- Go to Tools>Board>Arduino Nano w/Atmega 328 (this time we choose the non working arduino, in my case nano atmega 328)

- Go to Tools>Programmer>Arduino as ISP

- Go to Tools>Burn Bootloader (this is it, after the LEDs stop flashing your board is ready to use !!!)

.

Do all of the above steps in ORDER !!! no skipping steps

Always make sure that the correct COMM port and correct board are chosen before uploading a sketch to avoid errors...

if you want to learn more or get a second opinion you can check this post (it's amazing) or just search on google " how to install a bootloader to arduino clone " and you will see many articles on this very topic.

.

Remember to check out my other posts and subscribe to stay in the loop..!

love & peace

akin,

12 People Made This Project!

Recommendations

  • Barbecue Speed Challenge

    Barbecue Speed Challenge
  • Colors of the Rainbow Contest

    Colors of the Rainbow Contest
  • Arduino Contest

    Arduino Contest

189 Comments

0
sky-fish
sky-fish

Question 3 months ago on Introduction

hi, the url in your text for greg Cs instructions on communication with nano seems to be recursive. it just returns this article, can you please fix the link? thanks

0
francy8278
francy8278

Question 4 months ago

after the final step the ide told me "error writing bootloader" and under "avrdude done. thank you." i don't understand what i done wrong

0
Babatz
Babatz

5 months ago

Thank you so much! Just followed the instructions and got it to work!

0
jmlcintrano
jmlcintrano

5 months ago

I followed your steps and it worked the first time. You're a genius. Greetings.

0
robversteden
robversteden

9 months ago

Thanks a lot for this relaxed manual. Happely I had an old original Uno (might be 8 years old or more with an enormous ATmega on board) and that did the job on four of my non-working nano's.

IMG_20200910_204820_1.jpg
2
tompres
tompres

Question 2 years ago

avrdude: stk500_recv(): programmer is not responding

avrdude: initialization failed, rc=-1

Double check connections and try again, or use -F to override

this check.

thats the error im getting when trying to burn the boot loader from an arduino mega to an arduino nano

please help ;(

0
stratosfear2000
stratosfear2000

Reply 10 months ago

I've got exactly the same problem. For me it worked well after I had activated the option "show verbose output during: compilation" in File/Preferences.

1
ArentL
ArentL

Question 2 years ago on Step 3

Thanks for the tutorial. Burning the bootloader was a piece of cake. "burning downloader succeeded". So I thought my problem was over trying to upload to my Nano gave the same error as it did before ( I checked port, board, and processor)

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x0e

HELP!

Thanks in advance!
0
florian-hh
florian-hh

1 year ago

First: Thank you for the good tutorial! I got my nano up and running again.

@akin Now a question: I want to burn a custom bootloader to my nano using another nano or an uno. Do you have an idea how to do this? I want to burn either an Arduino Leonardo or a Sangaboard bootloader to my nano, refering to https://gitlab.com/bath_open_instrumentation_group...

0
FaridM13
FaridM13

1 year ago

this has help to fix my clone nano, it actually works, altho now when i load sketch reading it (fails but program now run, even complex ones that powers OLED and DHT, so based on that, i think it works) thx...

0
Shedrack Mkwepu
Shedrack Mkwepu

1 year ago on Step 3

What happens if I upload the Arduino ISP code while I have already wired both programmer and slave? Will this interrupt the process?

0
dancopy
dancopy

1 year ago

After doing the whole procedure as in the tutorial, shows this: "The selected serial port does not exist or your card is not connected."

But the card is plugged into the port: "COM11"

0
aketiramesh40
aketiramesh40

Question 1 year ago

My nano aradino is not connected with my mobile but the power light and the L light is blinking please help me

0
KimR74
KimR74

2 years ago

Nice work indeed! I got 4 Nano -clones, all born with the blink -sketch from factory, 3 of them unable to program at all, 1 of them allowed programming one time only. After following this tutorial, they are all up and running. Seems like the factory just program the blink -sketch direct in .hex, not thinking about bootloader and fusebits.

0
Everlong
Everlong

2 years ago

Thank you so much
for taking the time to create this tutorial. I've tried following a
few tutorials I found on the web for resurrecting a dead Nano and
none of them worked. Following these steps solved my bootloader
crisis in a matter of minutes! Thanks again! :)