Jump to content

Can't Upload Sketches To Arduino Uno

Savier5

I have an Arduino Uno that used to work fine, but now I can't upload code to it. I don't know what the problem is, I tried everything. Uninstalling Arduino software, changing ports, checking to see if I'm connected to a port, board type, Updating drivers, changing computers, changing wires, I tried everything I can think of but nothing is happening. I am using it for my RGB light strip, there is a code in it when I plug it in it lights up to the last code I set it too. But when I try to upload a new one nothing happens, it says uploading and then gives me an error. I do compile it and see if it's wrong, but it doesn't give me any errors.

 

Heres the error:

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

Link to comment
Share on other sites

Link to post
Share on other sites

Can you go into your IDE preferences and turn on verbose output during upload?

Then, try to upload it again and post the results from that.

ENCRYPTION IS NOT A CRIME

Link to comment
Share on other sites

Link to post
Share on other sites

just a stab in the dark, but if you have something interacting with the arduino like the Serial Monitor you will get sync errors when trying trying to upload sketches.

Gaming build:

CPU: i7-7700k (5.0ghz, 1.312v)

GPU(s): Asus Strix 1080ti OC (~2063mhz)

Memory: 32GB (4x8) DDR4 G.Skill TridentZ RGB 3000mhz

Motherboard: Asus Prime z270-AR

PSU: Seasonic Prime Titanium 850W

Cooler: Custom water loop (420mm rad + 360mm rad)

Case: Be quiet! Dark base pro 900 (silver)
Primary storage: Samsung 960 evo m.2 SSD (500gb)

Secondary storage: Samsung 850 evo SSD (250gb)

 

Server build:

OS: Ubuntu server 16.04 LTS (though will probably upgrade to 17.04 for better ryzen support)

CPU: Ryzen R7 1700x

Memory: Ballistix Sport LT 16GB

Motherboard: Asrock B350 m4 pro

PSU: Corsair CX550M

Cooler: Cooler master hyper 212 evo

Storage: 2TB WD Red x1, 128gb OCZ SSD for OS

Case: HAF 932 adv

 

Link to comment
Share on other sites

Link to post
Share on other sites

  • 6 months later...

It can happen because of these two problems.
1. Maybe you are trying to upload program while your rx and tx pins are connected with other components.
2. Or maybe your arduino is bricked.
For 1st problem solution is just disconnect wires rx,tx and try to upload the sketch. 
For 2nd problem use another arduino to upload program on it(SPI connection). 
For 2nd problem i found this article helpful: Programmer is not responding Arduino

Link to comment
Share on other sites

Link to post
Share on other sites

Check the devices drop down & make sure you have your arduino selected & showing up. Also your arduino should light up as soon as it gets power from the pc.

Link to comment
Share on other sites

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

×