Tried to upload my first program but it is not happening :(.
Please find the below error code
I selected the com port and the Board from the tool correctly.
OS: win 10.
Board: UNO Genuino.
Arduino: 1.6.8 (Windows 10), Board: "Arduino/Genuino Uno"
Sketch uses 1,046 bytes (3%) of program storage space. Maximum is 32,256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for local variables. Maximum is 2,048 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 -PCOM7 -b115200 -D -Uflash:w:C:\Users\armad\AppData\Local\Temp\build369317de5e5e6d3f266fbb3b01293377.tmp/Blink.ino.hex:i
avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM7
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xe9
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xe9
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xe9
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xe9
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xe9
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xe9
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xe9
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xe9
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xe9
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xe9
avrdude done. Thank you.
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.
Arduino: 1.6.9 (Windows 10), Board: "Arduino/Genuino Uno"
Sketch uses 846 bytes (2%) of program storage space. Maximum is 32,256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for local variables. Maximum is 2,048 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 -PCOM52 -b115200 -D -Uflash:w:C:\Users\armad\AppData\Local\Temp\build9c9ef3bdfe2fccb480bc6e4bac749e41.tmp/Blink.ino.hex:i
avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM52
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xa8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xa8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xa8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xa8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xa8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xa8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xa8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xa8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xa8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xa8
avrdude done. Thank you.
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 also changed the com to several others with the same error ...
Another test with 1.6.5 version with the same error >:(
I am runing on Win 10 and Arduino: 1.6.5 says Windows 8.1 because it is old version.
Arduino: 1.6.5 (Windows 8.1), Board: "Arduino/Genuino Uno"
Sketch uses 1,010 bytes (3%) of program storage space. Maximum is 32,256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for local variables. Maximum is 2,048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xa1
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xa1
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xa1
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xa1
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xa1
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xa1
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xa1
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xa1
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xa1
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xa1
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"
enabled in File > Preferences.
2trillion - OP is attempting to upload to an Arduino Uno. When doing Upload (as opposed to upload using programmer) to an Arduino board with a serial bootloader, the tools -> programmer option is ignored. Tools -> Programmer is only used for Burn Bootloader and Upload using Programmer (and normal uploads to third party boards like ATtiny). This refers to a physical device used for programming AVR chips (the most popular being the USBAsp, because they're like $2 on ebay).
The code is irrelevant, it's a problem with communication with the bootloader, not the code.
The out of sync errors are a very generic error, and it's hard to tell from the error what exactly is wrong. Do the loopback test to make sure the serial interface is working (see the topic at the top of this section with loopback test instructions).
If that is working, watch the LED on the board (not tx/rx LEDs) - when you try to upload, do you see a series of a couple of blinks in rapid succession on that LED (I think it should be three fast blinks)?
If not, it's not resetting, or the bootloader isn't installed - in this case, press the reset button - does it give the triple blink? If not, the bootloaded isn't installed (this can be done using an ISP programmer, like a USB Asp, or another working Arduino running Arduino as ISP sketch), or the chip is completely dead. If yes, there's a problem with the autoreset circuit.
Thanks for your reply. I was typing letter by letter and it was correct. I will go back to the other post as I can not do any thing with this error (avrdude: stk500_recv())
1.7.10 has same problem, FLASH uploads time out at 98% in Linux or just hang in windows 10. Code compiles without errors or warnings and ran in 1.5. Happens on UNO and new MEGA 2650 R3
DrAzzy:
2trillion - OP is attempting to upload to an Arduino Uno. When doing Upload (as opposed to upload using programmer) to an Arduino board with a serial bootloader, the tools -> programmer option is ignored. Tools -> Programmer is only used for Burn Bootloader and Upload using Programmer (and normal uploads to third party boards like ATtiny). This refers to a physical device used for programming AVR chips (the most popular being the USBAsp, because they're like $2 on ebay).
The code is irrelevant, it's a problem with communication with the bootloader, not the code.
The out of sync errors are a very generic error, and it's hard to tell from the error what exactly is wrong. Do the loopback test to make sure the serial interface is working (see the topic at the top of this section with loopback test instructions).
If that is working, watch the LED on the board (not tx/rx LEDs) - when you try to upload, do you see a series of a couple of blinks in rapid succession on that LED (I think it should be three fast blinks)?
If not, it's not resetting, or the bootloader isn't installed - in this case, press the reset button - does it give the triple blink? If not, the bootloaded isn't installed (this can be done using an ISP programmer, like a USB Asp, or another working Arduino running Arduino as ISP sketch), or the chip is completely dead. If yes, there's a problem with the autoreset circuit.
Thanks for your reply. After clicking on upload the RX is blinking three times and TX is not blinking at all.
In addition, after clicking on reset button RX is blinking one time only.
Is there any useful information in this. The below log for the issue.
Arduino: 1.6.9 (Windows 10), Board: "Arduino/Genuino Uno"
Sketch uses 1,066 bytes (3%) of program storage space. Maximum is 32,256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for local variables. Maximum is 2,048 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 -PCOM2 -b115200 -D -Uflash:w:C:\Users\armad\AppData\Local\Temp\build9c9ef3bdfe2fccb480bc6e4bac749e41.tmp/Blink.ino.hex:i
avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM2
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x95
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x95
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x95
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x95
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x95
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x95
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x95
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x95
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x95
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x95
avrdude done. Thank you.
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 did fair amount of bracket testing. FLASH load fails on UNO and MEGA 2650 anytime its greater than about 17K, below that it works. This is clearly a bug that needs to be fixed. The loader is still intact because it still works fine with smaller array's. All IDEs past 1.5 including 1.7.10 seem to have this problem. It appears that loading starts to fail avrdude, not sure what that code is but probably is serial link time out issue. So works fine on small loads once a size threshold is past, then it hangs and eventually times out. Very consistent between Window 8/10 and Ubuntu 16+ only difference is how fast the time out message is delivered. Once Arduino fixes this bug, its easy to validate, simply load flash with 256K array, it should load without issue. Hopefully they will fix this someday.