[solved] "Problem uploading to board" on brand new Uno

I posted last month that my Arduino Uno failed out of the box: "programmer is not responding" error on first upload to Uno - Installation & Troubleshooting - Arduino Forum.
I ordered a replacement. It, too, has failed directly out of the box, but with a slightly different error.

I unboxed it and plugged it in via USB to my computer (Windows 8.1). The green "ON" LED came on, and the orange "L" LED began blinking as with the 'Blink' sketch. I opened the IDE on my computer, made the selections

Tools > Board: "Arduino/Genuino Uno"
Tools > Port > COM4 (Arduino/Genuino Uno)

and clicked "Upload" on the IDE. It failed with a ""Problem uploading to board" error. I reset the board with the "Reset" button and tried again. Upload failed again.

I will post the error output as a comment because it exceeds the maximum post length.

I've been through the Troubleshooting guide; nearly none of it applies to my setup. The loopback test passed. I'm not able to attempt to burn the bootloader. Is there anything left for me to do but return another nonfunctioning Arduino to Amazon?

Solution: I don't know, but it works now.

The error message also exceeds the comment limit. If there's any particular part of it I should post, or anything I should look for in it, please let me know.

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.

With verbose output during compilation disabled, the output should be less than 9000 characters. If not, you can save it to a text file and attach the text file to a reply. If you click the "Reply" button here, you will see an "Attachments and other settings" link that will allow you to make the attachment.

(deleted)

pert:
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 I changed the verbosity settings and re-connected the board, the upload worked. Maybe it was a bad USB connection before? In any event, it seems to work now. Thanks for your help!

The verbosity setting certainly wouldn't be expected to fix any problem, that was only intended to give us more information to use for troubleshooting. Well, I guess we should just be happy it's working now. Enjoy!