In this course we will try to resolve your upload problem with your Arduino card. We will fix the most known problems, from starting to simplest one to the hardest.
This course will only resolve problems with the Arduino card, that’s mean the upload problems. But it is possible that your program is not good written that cause the problem during the uploading. If you know if the card or your program have a problem, you have to click on verify. If there isn’t any mistake on your program, it’s maybe a problem of uploading.
If it’s a problem in your program, it can be the library you use or maybe the program.
This is the error you can get :
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM3
An error occurred while uploading the sketch
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: ser_open(): can't open device "\\.\COM3": The system cannot find the file specified.
avrdude done. Thank you.
This problem can come from several things:
An error that we can all make is forgetting to plugged the Arduino card. You have to plugged the Arduino card before upload your program.
After plugged the Arduino card, don’t forget to choose the right port, if not the Arduino software can’t upload the program.
If your port is in shadow, that’s mean your card is not recognized by Arduino software. Therefore, you have to check in the device connected to the computer if the Arduino card appeared. You have go to on control panel, device and device and printer.
You will find this :
After installing the driver, you will find the Arduino card on the Arduino IDE software.
The problem here is that we haven’t the right driver for the Arduino card. Therefore we have to install it manually:
As you can see on the picture, there is the Arduino card. you can click right on it and do update of the driver.
We do browse my computer for drivers and we follow the steps:
You choose the right Arduino card, for us it’s Arduino Uno.
One error possible during the uploading is avrdude: butterfly_recv(): programmer is not responding :
avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Program Files (x86)\Arduino IDE for Microduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM5
Using Programmer : avr109
Overriding Baud Rate : 57600
AVR Part : ATmega32U4
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 20 4 0 no 1024 4 0 9000 9000 0x00 0x00
flash 65 6 128 0 yes 32768 128 256 4500 4500 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : butterfly
Description : Atmel AppNote AVR109 Boot Loader
Connecting to programmer: .
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
If you obtain an error, that’s mean that you haven’t choose the right type of Arduino card. In fact, by default, the Arduino software choose the Arduino Uno card. If you have another card, you have to choose it :
If you don’t find your card or it’s still doesn’t word, you can click on the board manager to install a new version of your card, particularly if you have an old Arduino software :
The board manager permits you to download a driver if your card is not catalogued in the Arduino software.
If you have an error of uploading you can push the button reset on the Arduino card just after clicked on the upload button.
In the old version of Arduino IDE, you can change the type of processor, you have to click on tools and card and you can change to ATmega328P(old bootloader).
If this things doesn’t work, you have to fix the problem with the bootloader.
An error which appends frequently is the bootloader of your card is corrupted.
To fix it you will need an Arduino card which is recognized by your computer. The idea is to upload the bootloader of the card which work to one which doesn’t work.
This is the list of components you need:
First step: You have to connect your Arduino card which is working and upload the Arduino ISP program on it. You can find this program on File and Example and Arduino ISP :
Second step: You can unplug the Arduino card which is working and make the circuit with the Arduino card which doesn’t work:
The left Arduino card is working and the right one doesn’t work.
Third step: Plug the Arduino uno card which is working to your computer. Open the Blink program.
In the type of Arduino card, you have to choose the one you want to revive back.
Open the blink program :
For this step, you don’t have to upload it with the upload button. You have to choose the Arduino ISP mode in the programmer:
Finally in the tool bar you have to choose burn bootloader :