Arduino Forum

Using Arduino => Installation & Troubleshooting => Topic started by: andrell on Feb 09, 2017, 09:42 pm

Title: Can't upload sketch to arduino uno
Post by: andrell on Feb 09, 2017, 09:42 pm
When i try to upload the sketch (blink) to arduino it says:
Code: [Select]

avrdude: Version 6.3, compiled on Dec 16 2016 at 13:32:25
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
         User configuration file is "/Users/andreamedola/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/cu.usbmodemFA131
         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=0x00


I'm on Mac OS Sierra but i tested it also on Windows 10 without results..
I checked the board and the port.. and also the website
http://www.arduino.cc/en/Guide/Troubleshooting#upload

How can i solve this problem?
Title: Re: Can't upload sketch to arduino uno
Post by: ballscrewbob on Feb 10, 2017, 02:23 pm
There are some issues with Sierra so maybe do a search for that in particular. (not a mac guy BTW)

But if you also post the windows stuff I may be able to help.
Title: Re: Can't upload sketch to arduino uno
Post by: andrell on Feb 10, 2017, 06:35 pm
I just try it on Linux (ubuntu 14 i think..) and it says the same

Code: [Select]

avrdude: Version 6.3, compiled on Dec 16 2016 at 07:33:21
        Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
        Copyright (c) 2007-2014 Joerg Wunsch

        System wide configuration file is "/home/andrea/Documenti/Arduino/arduino-1.8.1/hardware/tools/avr/etc/avrdude.conf"
        User configuration file is "/root/.avrduderc"
        User configuration file does not exist or is not a regular file, skipping

        Using Port                    : /dev/ttyACM0
        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=0x00
etc....


I don't know what can i try to do..
Title: Re: Can't upload sketch to arduino uno
Post by: BobKay on Feb 10, 2017, 06:42 pm
For some reason he's looking in root's home directory for a config file.  If you're using the IDE as a normal user, he's not going to let you look in root's home.

I'm guessing you may have run the IDE as root, possibly the first time you ran it.
Title: Re: Can't upload sketch to arduino uno
Post by: andrell on Feb 10, 2017, 07:24 pm
I just tried opening it as root but it says the same error.. and also it doesn't create the file!

it passed the loop back test so i think i don't have communication problems!
Title: Re: Can't upload sketch to arduino uno
Post by: andrell on Feb 11, 2017, 02:13 pm
Up
Title: Re: Can't upload sketch to arduino uno
Post by: andrell on Feb 12, 2017, 09:20 pm
Up
Title: Re: Can't upload sketch to arduino uno
Post by: ballscrewbob on Feb 12, 2017, 09:32 pm
Not sure what the..... you are doing but "up" means NOTHING around here...And if its just to "bump" your thread please be careful as its frowned upon.