Jump to content

Hello,

 

I have been working on a arduino project for the past month or so... I have not change the circuit for as a couple of weeks and have been just working on the programming. One day the arduino stop accepting uploads from the IDE. The error is:

Sketch uses 10328 bytes (32%) of program storage space. Maximum is 32256 bytes.
Global variables use 538 bytes (26%) of dynamic memory, leaving 1510 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 -PCOM6 -b115200 -D -Uflash:w:C:\Users\Ethan\AppData\Local\Temp\arduino_build_260930/Binary_Clock_V3_-_UNO.ino.hex:i 

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                    : COM6
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
         
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

I thought it was a problem with the arduino, but after trying three different boards it did not work. I tried multiply cables and tried all the ports on my computer, nothing seems to work. My code uses four libraries and was working until this random day, I did not change anything massive from when it worked last. All I added was an if statement so I would not think that to break anything.  I have no idea what is going on, nothing on other forums have worked so far. Please help... I been trying to solve this issue for the past week. 

Link to comment
https://linustechtips.com/topic/850151-arduino-uploading-problem/
Share on other sites

Link to post
Share on other sites

If you're using Linux, I found that adding my self to Serial AND dialout and running in sudo will take away this issue, this happens exclusively when I run at Lubuntu, at Ubuntu and Ubuntu with GNOME it doesn't give this error at all ( Weird ). Also try changing USB cables-reset unplug re-plug and correctly choosing the Serial port for me it's usually ttyacm0, even if it doesn't detect it at first, force it. For Windows though, I have no experience. Maybe try running at as admin ?

 

Also please give your board type, whether it's the real one or a copy and the OS.

Link to post
Share on other sites

On 10/24/2017 at 2:41 PM, IceColdMind said:

If you're using Linux

Thanks for your info, but I am on Windows and am using a real Arduino Uno. Still can't get it to work on my computer. I am thinking it is a issue with the computer talking with the board so I am trying to use my laptop to upload it. Even if that dose not work it is a bummer that I can't use my main computer anymore. Thanks again for you info though. 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×