I have a problem uploading to a Micro. Windows 10.
I have installed the latest SDK, 1.6.12. During install it couldn't install avrdude so I skipped it. I have tried 3 different Micros (these are Aduino micros and not clones) so I doubt the problem is in the boot loader or hardware. I had the problem with the first two before I updated the SDK, I was on 1.6.7. The problem on 1.6.7 arose after a simple change to a diagnostic Serial.Print message, I changed the text only.
On the first two micros it worked for a while, then on the third Micro it never worked and after the SDK update I got a "avrdude: syntax error at C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:1071" message.
I tried the double click of the reset button trick I found in the forum, where a leonardo driver is substituted but did not get the opportunity to update the driver, my windows 10 said the driver was current.
I need to use the Micro because my application requires the small size. While I am debugging using the USB power, I will run it from batteries when debugged. Not that it affects the upload problem, just explaining why I don't want to move from the Micro.
If there has been a fix to avrdude, and I seem to see from posts that the problem is related to AvrDude, can you direct me on how to install just the updated AvrDude?
Elmodriver:
"avrdude: syntax error at C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:1071"
I've never seen anyone else encounter that error with a stock Arduino IDE installation. Just uninstall and reinstall the IDE, that's easier than installing AVRDUDE and will accomplish the same thing.
I re-installed the IDE and it worked once, Thereafter it failed. I did a verbose errors, got 8 pages of the compile / upload. The upload messages are:
"
Sketch uses 11,544 bytes (40%) of program storage space. Maximum is 28,672 bytes.
Global variables use 1,451 bytes (56%) of dynamic memory, leaving 1,109 bytes for local variables. Maximum is 2,560 bytes.
C:\Program Files\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega32u4 -cstk500v2 -Pusb -Uflash:w:C:\Users\RICHAR~1\AppData\Local\Temp\arduino_build_584456/Darren_2_0_basic.ino.hex:i
avrdude: Version 6.3, compiled on Sep 12 2016 at 17:24:16
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
An error occurred while uploading the sketch
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : usb
Using Programmer : stk500v2
avrdude: usbdev_open(): did not find any USB device "usb" (0x03eb:0x2104)
I switched to a Vista laptop with IDE 1.6.9 and it still won't upload. I tried two different Micros, I get this message using verbose in the file--preferences in the ide:
"
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\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM11
Using Programmer : avr109
Overriding Baud Rate : 57600
AVR Part : ATmega32U4
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Connecting to programmer: .avrdude: butterfly_recv(): programmer is not responding
"
Getting really desperate - i've tried 3 different micros - 3 different ide's - two different windows - I must be doing something really basic wrong - please any ideas???
I am so embarrassed - look like it was a bad USB cable. I don't know how to close a thread as being solved, nor do I know how to see others' posts except by initiating a reply to my own thread. Once I do, I will close this and reopen it if there is a need.