Can't upload program - Arduino Uno

Hi,

Trying to upload a new code onto my Arduino Uno from new computer (computer I haven't used before) however I keep getting error messages. The code compiles so I know that this works.

What am I doing wrong?

[Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Uno"

Sketch uses 1574 bytes (4%) of program storage space. Maximum is 32256 bytes.
Global variables use 10 bytes (0%) of dynamic memory, leaving 2038 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.
]

Kind Regards,

Zoe

Please do this:

  • File > Preferences > Show verbose output during: > compilation (uncheck) > upload (check) > OK
  • Sketch > Upload
  • After the upload fails you'll see a button on the right side of the orange bar "Copy error messages". Click that button.
  • Paste the error messages in a reply here USING CODE TAGS (</> button on the toolbar).

[Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Uno"

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x21
Sketch uses 1574 bytes (4%) of program storage space. Maximum is 32256 bytes.
Global variables use 10 bytes (0%) of dynamic memory, leaving 2038 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 -PCOM1 -b115200 -D -Uflash:w:C:\Users\ENGSUP~1\AppData\Local\Temp\arduino_build_902530/Flower.ino.hex:i
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

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\hardware\tools\avr/etc/avrdude.conf"

Using Port : COM1
Using Programmer : arduino
Overriding Baud Rate : 115200

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

]

You forgot to use code tags. Please make some effort to follow the rules of this forum. It's really for your own good and is super easy.

Using code tags and other important information is explained in the How to use this forum post. Please read it.

Did you select your Uno's port from the Tools > Port menu? It's rare that it would actually be on COM1.

I clicked the code tag option like you asked me to so im not sure why it didn't do what you asked.

I clicked tools, ports, com1 and com 2, ive tried both

Zozo26:
I clicked the code tag option like you asked me to so im not sure why it didn't do what you asked.

You can spend some time playing with the forum markup and clicking the "Preview" button to see what happens. If all else fails you can easily add the markup manually:

[code]``[color=blue]// your code is here[/color]``[/code]

Zozo26:
I clicked tools, ports, com1 and com 2, ive tried both

Try this:

  • With the Arduino board unplugged from the USB open the Tools > Port menu and note the listed ports.
  • Close the Tools > Port menu.
  • Plug in the USB cable on the Arduino board
  • Wait a little while for the Arduino board to connect
  • Open Tools > Port, the new port on the list is your Arduino board.

thank you! this worked!