When I try to upload a sketch, I consistently get this error:
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
I'm using Arduino 0017, but I've gotten the same error with Arduino 0016. I'm using this board:
I'm using a Sparkfun FTDI basic breakout 3.3V:
No hardware has ever been attached to the Arduino - it's just the Arduino and the breakout board.
I get a serial port when I plug in the FTDI board, and I've set the Arduino environment to upload to that port. When I click upload, I see the lights on the FTDI board and on the Arduino blinking as expected, so I'm fairly certain the port setting is right. It blinks like that for a while, then gives me the error message.
I do have the Board in the Arduino environment set to "Arduino Pro or Pro Mini (3.3V, 8Mhz) w/ATMega 328", under "Tools". I've verified that the board and the breakout are the ones I think they are (unless the silkscreening is mistaken somehow). I've tried some of the other board settings, but got the same error. It looks like what you'd expect if you had it set for the wrong board, but as far as I can tell, I don't.
Using the same Arduino 0017 installation I can successfully upload sketches to a Duemilenove 168 (after changing the serial port and board settings of course).
Any ideas?
(Edit: )
- Oh, and I did try a different USB cable, with no effect.
- And the program I'm currently trying to upload is just the standard "Blink" example program, though I have tried others.
(Edit: )
Doh. Okay, never mind. All of that, only to discover that I had the plug attached the wrong way to the Arduino. Turn it around, upload, and she's blinking away happily now.
I'll leave this up as a testament to inept troubleshooting, or maybe as a thorough list of what to try, except in the wrong order.