Sketches not uploading

Hey guys, i just got an arduino uno and decided to upload a blink sketch to it in order to test it out. I am running the 2017 MacBook pro, and plugged in the arduino with a USB-C adapter. When i clicked upload, i got the following error:

Arduino: 1.8.5 (Mac OS X), Board: "Arduino/Genuino Uno"

Sketch uses 928 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.
avrdude: ser_open(): can't open device "COM1": No such file or directory
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

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

I tried selecting the different ports on my computer, but they are all USB-C, and i used a USB-C adapter.

Does anyone know how to set this up so it works?

Thanks!

1 Like

Select the appropriate port from the Tools -> Port menu.

The fact that it's trying to use COM1 (the "default" port, which only exists on windows systems) indicates that you have never selected a port. If the ports menu is greyed out, you have driver problems or are using a bad cable (there's been a plague of defective USB cables recently)

Ive tried both ports and neither work. Here is a screenshot of the available options:

Hi Team.

I have problems with uploading my code on the arduino uno when i try to it gives me these error saying no sync.

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

Sketch uses 928 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.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x32
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x32
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x32
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x32
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x32
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x32
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x32
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x32
avrdude: stk500_recv(): programmer is not responding
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x32
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x32

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

Thanks as your help will be appreciated.

1 Like

Are you using arduino TX and Rx pins? What project?

Just put Arduino SW on new computer. Had same issue until i realised that i had to change board type to one i was using. Then it worked as before.

1 Like

Hey, you should try check your Serial Port in DEVICE MANAGER.
I was facing the same problem but once i opened device manager, it became available to select Port from the Arduino software.

Hello,
I am having this error while uploading my sketch, Please help me out

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xd7
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xd7
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xd7
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xd7
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xd7
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xd7
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xd7
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xd7
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xd7
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xd7
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

sahiltareja:
Hello,
I am having this error while uploading my sketch, Please help me out

Which OS? Correct serial port selected? Correct board selected? What does device manager say (or the alternative in linux/mac say?

anbu123:
Are you using arduino TX and Rx pins? What project?

anbu123:
Are you using arduino TX and Rx pins? What project?

Hello
I am working with uno3 and ubuntu, when i whant to upload my program i have this warning :
Arduino: 1.8.5 (Linux), Board: "Arduino/Genuino Uno" Sketch uses 928 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. avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission denied Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions. This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences
can anyone help me?
Thanks.

Elnazt:
Hello
I am working with uno3 and ubuntu, when i whant to upload my program i have this warning :
Arduino: 1.8.5 (Linux), Board: "Arduino/Genuino Uno" Sketch uses 928 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. avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission denied Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions. This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences
can anyone help me?
Thanks.

Don't hijack threads with unrelated problems.

Your issue is that you have the wrong port selected, and/or your user is not a member of the dialout group, and hence does not have access to the serial ports (by default, users do not have permissions to access serial ports)

Hi DrAzzy, but my user is a member of dialout group and i have selected correct port (/dev/ttyACM0)!!!
but again i have the same error :confused:

I need help. I tried many things but my sketch isn't uploading. Also just saying I use mac.

Arduino: 1.8.9 (Windows 7), Board: "Arduino/Genuino Uno"

Sketch uses 930 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.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xd2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xd2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xd2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xd2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xd2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xd2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xd2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xd2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xd2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xd2
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

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

\so what should i do//

1 Like

Changing the cable solved it for me. My port was not showing up.

can you help me?

Arduino: 1.8.9 (Linux), Board: "Arduino/Genuino Uno"

Sketch uses 962 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.
avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission denied
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

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

Saifullah2001:
can you help me?

Arduino: 1.8.9 (Linux), Board: "Arduino/Genuino Uno"

Sketch uses 962 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.
avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission denied
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

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

Looks like you have to add yourself to the dialout group.

I'm having issues in connecting my Arduino mega 2560 on windows 10. it connected once, when I uploaded a check program on it, now that program is running but it is not recognized by os. port option is grey and unusable. Tx, Rx led's are on while I'm not using them. I supplied 12 volts power and it's IC just burnt my finger instantly so I unplugged it and using USB to operate right now. please help me to solve my issue. Thanks

Usama_Ameen:
I'm having issues in connecting my Arduino mega 2560 on windows 10. it connected once, when I uploaded a check program on it, now that program is running but it is not recognized by os. port option is grey and unusable. Tx, Rx led's are on while I'm not using them. I supplied 12 volts power and it's IC just burnt my finger instantly so I unplugged it and using USB to operate right now. please help me to solve my issue. Thanks

Which IC got hot?