Brand new, can't upload at all.

I just purchased a brand new Arduino Duemilanove. I download the proper FTDI driver and Arduino 0013, selected the proper port and selected "Diecimilia or Duemilanove" in the "Board" menu, connected the two and attempted to upload a program (blink). It didn't work. I tried a few more times. I reset the board, restarted the computer, tried a different cable, disconnected everything (except USB), but every single time it returns the same error message which politely informs me that the was a "Problem uploading to board" and to go to the site for help (which I did, but to no avail). Below this error message it also says:

avrdude: stk500_getsync(): not in sync: resp=0x20
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x20

I really have no idea where to go from here, considering I only unboxed the thing five hours ago. The TX and RX lights do flash while I'm trying to upload, but nothing else happens. It only uploads for about 2 seconds before it returns the error. I would really like it to work. :'(

(Also, I'm using a black 2.4 Ghz core 2 duo intel MacBook running OS 10.5, if that makes any difference)

The most recent set of these problems seem to be caused with people who have bought Duemilanoves that have been "unexpectedly" upgraded to the ATmega328 CPU chip. Try selecting the 328 from the boards menu, and/or check your board to see what chip is actually in there...

Thank you! You are a lifesaver :D I checked just as you said and the chip was an ATMEGA328, and as soon as I checked the 328 in the 'Board' menu, it worked perfectly.

Sweet, I been looking around for two hours on a solution before reading this :P Got mine in the mail two hours ago and now it's blinking away wanting more :D

Mine has a ATMEGA 328 as well, is this not normal?

where did you guys order your arduino duemillanove boards ?? I am going to buy one and want to make sure i can get it with the ATMega328 ! :)

where did you guys order your arduino duemillanove boards ?? I am going to buy one and want to make sure i can get it with the ATMega328 !

Sparkfun now states in their description that it ships with the 328:

http://www.sparkfun.com/commerce/product_info.php?products_id=666

So another question is this duemillanove upgrade being done by Arduino or by the distributors themselves?

Lefty

this is what i found http://arduino.cc/blog/?p=207

where did you guys order your arduino duemillanove boards ?? I am going to buy one and want to make sure i can get it with the ATMega328 !

I ordered mine from www.electrokit.se

I bought mine Arduino as workshop kit ( with solderless breadboard) at Turtle Creations in the Netherlands.
I also had troubles getting the board working with Duemilanove selected
(avrdude: expect=0x14, resp=0x51)

This Arduino board has an ATMega328 and when I selected this in the IDE, it worked instantly with the example blink sketch. :slight_smile:
Also this ATMega328 has 32 k flash, so that larger programs are possible.

Dang, I should have come here first. My story is virtually identical to the OP, including the happy ending that it now works. Only drag is that I spent several hours going through the Troubleshooting in the guide, trying to make it work from a PC, etc.

Thanks for making my first trip to the forum very productive. :)

Had the same problem with a new board from Spark Fun. The answer was selecting the 328 board.

Thanks much!