An error occurred while uploading sketchs

Arduino: 1.8.15 (Windows 10), Board: "Arduino Uno"

Sketch uses 1144 bytes (3%) of program storage space. Maximum is 32256 bytes.

Global variables use 13 bytes (0%) of dynamic memory, leaving 2035 bytes for local variables. Maximum is 2048 bytes.

C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM6 -b115200 -D -Uflash:w:C:\Users\Kelvin\AppData\Local\Temp\arduino_build_242051/Fade.ino.hex:i

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                    : COM6

     Using Programmer              : arduino

     Overriding Baud Rate          : 115200

An error occurred while uploading the sketch

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Is the output always the same like that, or when you try it again is there sometimes more information in between the "Overriding Baud Rate : 115200" and the "An error occurred while uploading the sketch"?

I ask because we usually get some helpful error messages that allow us to determine the cause of the upload failure. But in this case there isn't any information to work with.

Tried uploading an empty setup and loop sketch and this was the responds

Arduino: 1.8.15 (Windows 10), Board: "Arduino Uno"

Sketch uses 444 bytes (1%) of program storage space. Maximum is 32256 bytes.

Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.

C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM6 -b115200 -D -Uflash:w:C:\Users\Kelvin\AppData\Local\Temp\arduino_build_819871/sketch_jun10a.ino.hex:i

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                    : COM6

     Using Programmer              : arduino

     Overriding Baud Rate          : 115200

Error downloading https://downloads.arduino.cc/packages/package_index.json

An error occurred while uploading the sketch

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.