I have a problem. Can anyone help me?Please????

I have a problem with Arduino. It takes so long to upload and then, it states that there is an error uploading.
I tried uploading the Blink program to my Arduino Uno R3 but no result.
My error message is:
Arduino: 1.8.13 (Windows 10), Board: "Arduino Uno"

Sketch uses 924 bytes (2%) 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.

An error occurred while uploading the sketch

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

1 Like

Please do this:

  • (In the Arduino IDE) File > Preferences
  • Uncheck the checkbox next to "Show verbose output during: compilation"
  • Check the checkbox next to "Show verbose output during: upload
  • Click "OK"
  • Sketch > Upload
  • After the upload fails, you'll see a button on the right side of the orange bar "Copy error messages" (or the icon that looks like two pieces of paper at the top right corner of the black console window in the Arduino Web Editor). Click that button.
  • In a forum reply here, click on the reply field.
  • Click the </> button on the forum toolbar. This will add the forum's code tags markup to your reply.
  • Press "Ctrl + V". This will paste the upload output between the code tags.
  • Move the cursor outside of the code tags before you add any additional text to your reply.

The forum says that the message exceeds the maximum allowed length.
P.S. Thanks! And sorry for replying late.

Please save the output to a .txt file and post it as an attachment. If you click the "Reply" button here, you will see an "Attachments and other settings" link that will allow you to make the attachment.

Thanks! :slight_smile:

error.txt (9.91 KB)

The relevant parts of jonathanfranz's error.txt:

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

...

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\tin\AppData\Local\Temp\arduino_build_364074/Blink.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

Can you tell me how to fix it and get rid of it please?

Unfortunately, I don't know what causes this particular mysterious upload failure. Usually we get some useful output, but in this case there is none. I have been keeping a list of the issues in hopes that I will get the time to review them all one day to see if any were ever solved so I can learn the solution. You might take a look to see if it is there:

https://forum.arduino.cc/index.php?topic=415264.msg4638516#msg4638516
https://forum.arduino.cc/index.php?topic=674752.msg4543513#msg4543513
https://forum.arduino.cc/index.php?topic=674537
https://forum.arduino.cc/index.php?topic=659386
https://forum.arduino.cc/index.php?topic=657894.msg4434184#msg4434184
https://forum.arduino.cc/index.php?topic=659764.msg4445224#msg4445224
Problem Uploading - Avrdude, stk500, Bootloader issues - Arduino Forum (Arduino Web Editor)
Upload error! - Programming Questions - Arduino Forum
WINDOWS 10/ARDUINO UNO/ ERROR - HOW TO SOLVE ? - Installation & Troubleshooting - Arduino Forum
I have a problem. Can anyone help me?Please???? - Installation & Troubleshooting - Arduino Forum

Oh thank you! This has get rid of my problem. The real cause is I put the wrong port name of my Arduino Uno. Sorry for your problem! :neutral_face: :neutral_face: