New UNO, Error when Uploading

Hello,

I tried to upload a sketch for the first time using my new Arduino UNO, and Im getting this strange error. Im using Windows VISTA, x64, and I have the latest Arduino v22 program. Oh and the D13 LED flashes when I plug it into the PC; the computer gives me the ding-dong sound that I've plugged it in. The first time I plugged it in, the drivers auto-installed. I've noticed that the RX & TX LED's flash a little bit and the D13 LED goes out while its attempting to program, but then goes back to the original blinking. Heres the error:

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

The troubleshooting page didnt help, and looking through the old and new forums didnt help much either. I would appreciate any help. I dont have a clue whats wrong.

Thanks!

Where did you get the Uno from?

UNTEngineer:
Hello,

I tried to upload a sketch for the first time using my new Arduino UNO, and Im getting this strange error. Im using Windows VISTA, x64, and I have the latest Arduino v22 program. Oh and the D13 LED flashes when I plug it into the PC; the computer gives me the ding-dong sound that I've plugged it in. The first time I plugged it in, the drivers auto-installed. I've noticed that the RX & TX LED's flash a little bit and the D13 LED goes out while its attempting to program, but then goes back to the original blinking. Heres the error:

avrdude: stk500_getsync(): not in sync: resp=0xf9

avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51




The troubleshooting page didnt help, and looking through the old and new forums didnt help much either. I would appreciate any help. I dont have a clue whats wrong.

Thanks!

Rx an Tx flash while there is a communication between the board and the comp. thats normal.
and if current program isn't uploaded properly , the board will execute the previous uploaded program and that's the reason why i feel D13 is going back to blinking..
check these once:-

  1. selected correct board from TOOLS
  2. selected correct serial port from TOOLS

and then manually reset the board while uploading.

Also, what board is selected in the Tools -> Board menu?

Sparkfun

Edit: I think I fixed it but I have no idea how it worked...I just typed some random keys into the serial monitor, and the blinking stopped...then I reset the board, and tried to upload my sketch again (while holding the reset down), then release before it uploads...and it worked! I guess just sending something through the serial reset that serial sync issue.

Thanks for the help guys!

I've the same problem except the tx nd RX leds don't light up. I read that it may be a defective board, but I can't find the serial number anywhere. I also have a LilyPad arduino and that seems to function just fine. I'm not a programmer, so this is a very frustrating problem. Any clue on what to do?

I've had a similar problem too. I'm just trying to upload the basic "blink" sketch to establish that my computer is communicating with the Arduino board.

The error messages I get are:
avrdude: stk500_getsync(): not in sync: resp=0x86
and then
avrdude: stk500_recv(): programmer is not responding

The first error looks the same as I've seen others post in this and another thread just on the first page of this forum. Only difference is the response number "0x86."

I'm using an Uno board and a powerbook running Mac OSX, by the way.

You are both unlikely to have defective boards. Much more likely is that you didn't do something important, like install the device driver or select the correct port. Please look at:

http://www.arduino.cc/en/Guide/Troubleshooting#upload

Thanks for the reply.
I've double- and triple-checked which board was selected in the Tools menu.
At one point (following a suggestion from a different thread, I think) I changed the board setting to Duemilanove and then changed it back to Uno. Neither change made a difference.

As far as drivers go, my understanding from the Mac OSX intro page here:

is that the Uno doesn't require installing any drivers. Is that wrong?

You have a Uno? Well which port did you select as in point 8 on the page you quoted? What sort of Mac is it? Which version of OS/X?

Yes, I do have the Uno.

Serial port selected is tty.usbmodem3B11

I found a different USB A/B cable and tried that. The exact same thing happened with the new cable.

P.S. It's an old Powerbook (PowerPC) running OSX version 10.4.11

Also, for what it's worth, the green power LED is on and the LED marked 'L' on the board does blink at about half-second increments when the Uno is connected.

The blinking is pretty normal because they come pre-loaded with the Blink sketch.

I just tested with my old MacBook (Intel however) running 10.6.6 (1.83 GHz Intel Core Duo).

I did not need to install the FTDI driver. It works fine.

I'm not sure what to suggest. It works for me, but sounds like on a more modern MacBook. Do you have another Mac or PC you can try it on? That at least rules out the board being faulty.

Also try to power the Uno from an external supply (7 to 12V DC) at the same time. Maybe the USB port isn't supplying enough power.

I think someone else reported that if the Uno was too near an Airport it didn't work. If you are using wireless networking try moving the Uno around, or away from the Airport (if you have one). Try turning the wireless network off.

Nick,

If I try to connect the board to a DC power supply, does the amperage of the power adapter matter? I've tried pretty much everything else, so I'd like to do this next, but I'm wary of frying my brand-new board...

thanks.

It won't matter because a USB port can only supply 500mA anyway. So any reasonable 5V to 12V power supply that supplies, say, 500mA or more should do. More mA doesn't hurt, it just won't use it all. Just don't use more than 12V or your Arduino's voltage regulator might get hot.

It's all explained here:

http://www.arduino.cc/playground/Learning/WhatAdapter

Make sure that the adapter is DC (not AC) and that the inside (middle) pin is the positive one. Measure with a meter if you are not sure. Check that page carefully to make sure you got it right.

I doubt this is the real problem so don't try it if you are uncertain, but eventually you will run the Arduino not connected to a Mac, won't you? So you need to solve this one eventually.

There are more images and explanations here:

http://aeroquad.com/showthread.php?2295-Arduino-Power

Once again, the "inside" pin is the positive one, and the "outside" part, which you can more readily touch, is the negative one.