Problems uploading to Uno & Duemilanove

Hello,

I have checked through the troubleshooting section, but I didn't see anything there that I seen as relavent to my issue. Although, maybe I just didn't see it :roll_eyes:

I have an Uno & Duemilanove board, and everything has been working fine with them for a while. But today, I started to get this message whenever I tried uploading a program to either board (the problem started with the Duemilanove and now seems to be affecting the Uno too).

Binary sketch size: 7402 bytes (of a 32256 byte maximum)
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

I don't have a clue what ths means.

I have tried resinstalling the software (writing over the version which was there already, I didn't delete anything). But still not go.

I hope someone can help.

Thanks.

Seán

Hi,

I found this post in the old forum, you could check that out first.
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1248528012/all

Ah cool, thanks! I will see if anything there helps XD

Seán

Hey,

I looked at the other topic and tried the different suggestions (hitting the reset button etc.) but still no joy.

Does anyone else have any suggestions?

Seán

What operating system are you using?

The Duemilanove uses a FTDI chip, do you have the latest drivers?

Was the last sketch uploaded to both Arduinos the same sketch?

This error is generally caused when Auto-Reset isn't working. How many times did you try the manual reset method? It might take some practice to release the RESET button at the right time.

Hey,

Thanks for the reply.

I uploaded the boards on both sketches, and I get the error on both (I'm just after rechecking to make sure).

I tried pressing the reset button before uploading the program, and I also tried holding onto the reset button until the Binary Sketch Size message appeared, but I didn't know there was a trick to this process :slight_smile:

Although, I did try both a few times.

Also, I went in through the Control Panel to get to the Device Manager, and right clicked on the COMs thingys, to update the software, but I got the messages back saying everything was up to date.

Seán

I uploaded the boards on both sketches,

My original question was: before you had trouble were both boards running the same sketch?

I tried pressing the reset button before uploading the program, and I also tried holding onto the reset button until the Binary Sketch Size message appeared, but I didn't know there was a trick to this process

Wait 1-2 seconds AFTER the binary sketch message appears. The idea is you want to hold the Arduino in RESET until the actual upload starts. It takes some practice.

right clicked on the COMs thingys, to update the software,

For the Duemilanove, go to FTDI's and web site download the lastest VCP drivers for your version of Windows.

Remember that that Duemilanove uses a FTDI chip, while the Uno emulates a USB modem. They don't use the same "usb" driver.

Lastly, you are changing the COM Port AND Board Type in the Tools menu when switching between Arduino types, correct?

My original question was: before you had trouble were both boards running the same sketch?

Oh, sorry. No, I only had the Duemilanove running one sketch, with the Uno for other smaller things.

Wait 1-2 seconds AFTER the binary sketch message appears. The idea is you want to hold the Arduino in RESET until the actual upload starts. It takes some practice.

Thanks, I will give this a go.

Lastly, you are changing the COM Port AND Board Type in the Tools menu when switching between Arduino types, correct?

Correct, yes.

Thanks again for the reply, I will try the reset as you suggest.

Seán

I am still having no luck with this.

I have tried the reset button as was suggested by a few people. Tried it a number of time, waiting about a second or two after the binary sketch size message before releasing the button. But nothing.

I went into the device manager when the Uno was connected to 'Arduino UNO (COM7)', but I got a message saying the software was up to date.

When I had the Duemilanove connected, I tried updating the driver from the FDTI site, as suggested. But when I went through the steps from the site for loading the driver to 'USB Serial Port (COM5)', again, it said the siftware was up to date.

Now, there is a little yellow triangle beside 'Communications Port (COM3)', but I don't have anything connected here, and I haven't be able to figure out what the problem is there. :expressionless:

If anyone else has any other ideas, I would love to hear them

Thanks.

Seán

EDIT: I got an Uno board from a friend, and connected it up, I ran a Hello World program, and it uploaded fine! I took a look in the Device Manager, and I notice my friends board comes in under Arduino UNO (COM6), but when I connect my Uno, it comes in under Arduino UNO (COM7). Could this be causing an issue?

I also am reluctant to connect everything from my old board up to my friends board, in case there is an issue in the wiring that is killing it. I have checked, and I don't see anythng. But just in case.

Delete the offending com port entry.

I was thinking about that, but I was wondering would that screw other things up :expressionless:

Seán

There's only one way to find out ]:smiley:

Ha can't argue with the logic!

I will try disabling it later this afternoon, and I shall report back.

Go raibh maith agat XD

Seán

Hi,

Just wanted to take everyone who tried to help me with this one. I got it sorted. As suggested, I disabled the port which had the issue, and everything seems to be going ok ...for the minute anyway.

Thanks again.

Seán