Arduino Forum

Using Arduino => Avrdude, stk500, Bootloader issues => Topic started by: ayaanakmal on Mar 26, 2020, 08:17 am

Title: error uploading for board Arduino uno
Post by: ayaanakmal on Mar 26, 2020, 08:17 am
I got an error before  uploading the sketch but after compiling
Iam using an arduino nano and i DONT UNDERstand the error  message , please help

error is;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\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.33.0_x86__mdqgnx93n4wtt\hardware\tools\avr/etc/avrdude.conf"

         Using Port                    : COM4
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
avrdude: ser_open(): can't open device "\\.\COM4": The system cannot find the file specified.



avrdude done.  Thank you.

Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
Title: Re: error uploading for board Arduino uno
Post by: pert on Mar 26, 2020, 08:42 am
Make sure you have selected the port of your Arduino board from the Tools > Port menu.

If you don't know which port is your Arduino board, you can find it like this:
Title: Re: error uploading for board Arduino uno
Post by: ayaanakmal on Mar 26, 2020, 12:11 pm
does not work and got the error; 


       Using Port: COM6
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x17
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x17
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x17
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x17
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x17
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x17
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x17
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x17
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x17
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x17

avrdude did.  Thank you.

Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
Title: Re: error uploading for board Arduino uno
Post by: pert on Mar 26, 2020, 12:13 pm
Select Tools > Processor > ATmega328P (Old Bootloader) and then try uploading again.
Title: Re: error uploading for board Arduino uno
Post by: 15mxcixj on Mar 31, 2020, 01:45 pm
I Used to get the same error message, Make sure the board isn't connected to usb3.0 but is connected to 2.0. Restarting my computer would generally fix the issue, but when I first got the Arduino I had to install some drivers and then it started working and when I got the error message I would restart my computer and it would fix it.