im new to programming and i just recently purchased an arduino diecimila and im having problems uploading. whenever i try to upload a skecth, i get this message
avrdude: stk500_getsync(): not in sync: resp=0x30
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
First thing to do when you have a problem uploading is check that you have the correct board selected ( if you have a 328, check if you selected the correct board in the menu (e.g. "Arduino ? w/ ATmega328").
Second thing is to read the troubleshooting guide on uploading problems.
And if that doesn't help (or you don't know where the troubleshooting guide is) do a search using the error text ( just the first line of the error will do) or a description of the error.
i checked if i had the right board selected and i did, i have a 168. i checked the trubleshooting section before i came here, and where should i search with the error text. Thx for your help.
Did read through it all and follow the relevant suggestions, including this one:
**If it still doesn't work, you can ask for help in the forum. Please include the following information: **
Your operating system. What kind of board you have. If it's a Mini, LilyPad or other board that requires extra wiring, include a photo of your circuit, if possible. Whether or not you were ever able to upload to the board. If so, what were you doing with the board before / when it stopped working, and what software have you recently added or removed from your computer? The messages displayed when you try to upload with verbose output enabled. To do this, you'll need to set upload.verbose to true in your Arduino preferences file.
I am new too. Just opened everything up 1 hr ago. I was getting the same error. Our com port was set wrong. When I started the program I only had one com port to choose from but another com port showed up once the board was plugged in. Good Luck.
This problem usually has something to do with "port selection". On the arduino main operating window, look under tools for "serial port"(its right after "Board"). There should be one or more port selections, pick one and try that out.
You can observe the port activity in the PC's "device manager", by going to (1)control panal >(2)Hardware & sound >(3)device manager. If you have your arduino plugged into a USB port it will show up in ports(COM & LPT). You need to click on ports(COM & LPT), to see which port is being used. I don't know if this is recommended, but when this problem happens to me, I pull the USB plug out and watch what happens to "ports(COM & LPT)". It dissappears, then when USB is reconnected it reappears and shows the port # again. For me, it took that procedure to get things kicked into shape.
But, with that "procedure", you might have to check with the more knowledgeable folks, since I'm also a "NEWBIE". As I stated , it might not be recommended.
I'm assuming the diecimila operates via USB. I have an Arduino compatable RBBB that I had to get a seperate TTL to USB conversion ckt, I had the problem you're having until I disvovered that the RX and TX leads neaded to be switched around.
I just had exactly the same problem this evening (using a Diecimila with 0015 on a Mac), but then I realized I did not have the FTDI-to-USB drivers installed. These are in the /drivers folder in the Arduino IDE zip file, and you have to run the installer before you can select the correct serial port within the IDE interface. Hope that helps.