Arduino Uno r3 Serial Com Port Not Recognized

Yesterday I recieved my arduino uno r3 and began to play with it. At first I was simply able to plug and upload my programs to the board but then all of a sudden it stopped recognizing the port. It returns me this error every time I attempt to upload:
avrdude: stk500_getsync(): not in sync: resp=0x00
I have tried to connect my arduino on 2 computers running OS X and one using Windows 7. I have attempted to update the drivers on both systems and nothing has worked. Does anyone know of a solution or have I physically damaged my board?
-Thanks

Same thing happened to me today. I just pluged in my arduino UNO (like a couple of time before) and the computer beeped 3 times indicating that something is wrong. And now the port (COM4) does not show up!
Any ideas what could be wrong?!? BTW, my other arduino UNO works fine...

NOTE: I am working from past experiences and this only works for windows (which is my current os)
This error simply means that the computer is not communicating with the arduino.

  1. Make sure that you have the current drivers found in your arduino directory
  2. When uploading your sketch you have the right board selected under Tools
  3. When uploading your sketch you have the right COM port selected under Tools

If you do not know what COM port the arduino is using, go to my computer, right click any free space and select properties. From there select Device manager from the bar on the left. From there double click the "Ports (COM and LPT)" and you should see your arduino listed there with a bracket next to it saying (COMx). Go back to the arduino program and under the toolbar TOOLS select the COM port you saw under Serial port. If the COM port is not listed under TOOLS -> Serial Port then close the arduino program and open a Run window and type in %appdata%. Then navigate to the Arduino folder and open 'preferences.txt'. Go down until you see the line: 'serial.port=COMy' and replace 'y' with 'x' from the device manager step. Then save and re open Arduino and load your sketch.

Hope this helps,
Luke

Tried this, but stil nothing!
The strange thing is, that it was working fine before, but now its like the computer doesn't see the arduino, although it recives power and the program on the arduino seems to bo working. But as I said, I don't like the beeping when I plug it in...
I also tried connecting it to my tablet and it actualy works. It sees the arduino it comunicates with it, I can download data to it... The only strange thing is, that even when the data it downloaded the tablet stil "downloads" to it and I have to stop it manualy. But the new program runs normaly...
Any idea what it could be? Could I have damadged the board somehow?

First of all; yes you may have damaged the ftdi chip on the arduino (the small atmega under the usb port) but this is really unlikely due to the fact that the only real thing that can damage it is a surge, but your usb ports on your computer are protected from that. If you have a spare USB/Serial adapter lying around, you can connect the TX, RX, 5V, GND and RESET to their places on the Arduino and program through that, or if you have a spare arduino, follow this tutorial:
Take the atmega out of your spare arduino and connect the following pins between the two arduino's
tx -> tx
rx -> rx
5v -> 5v
gnd -> gnd
reset -> reset
then plug your cable into the spare arduino and program your arduino (not spare one) making sure you have the correct COM ports and Boards selected.

If any of these work then it might be the ftdi chip.

And second of all what do you mean by a tablet, ipad, xoom etc ?

-Luke

I'we done exactly as you told me, but it stil doesn't work.
I'we removed the atmega chip from my spare arduino (the working one), connected the pins as you described and connected my spare arduino via USB to my computer. This way I got power to both my arduinos and the "broken" arduino is normaly running the previous program (I recently uploaded the "blink" program, just to know if it is working). But when I want to uplod a new program to the "broken" arduino (now via spare arduino) this happends:

  • the spare arduino is reciving the program (RX light blinks)
  • the "broken" arduino does not recive the program
  • arduino program on my computer gives out the "not in sync" error.
    I than also tried switching the atmega chips and they both seem to be working fine.

Any other ideas what it could be?

About the "tablet". I was referring to a tablet PC, like an iPad. And as I said via my tablet I can upload a program even to my "broken" arduino, although the tablet indicates it hasn't finished uploading. But the new program runs fine...

So both chips work but only on one board?
Try following this loop back test on the broken board with an avr inserted in it

http://arduino.cc/forum/index.php/topic,73748.0.html

And what type of tablet are you using?
-Luke

1 Like

Yea, both main chips work on one board, so the chips are ok.
I can't try this loop back test, because the computer does not see a device. And if it can't see it, I can't do the test...

I'm using the yarvik xenta 10" tablet - works great with the arduino. Why?

It sounds like the 16u2, which provides the USB serial capability, is corrupted or has been damaged.

If you have an ISP programmer, you may be able to upload the USB serial firmware into the 16u2 and recover it.
If you don't have an ISP programmer, you can use another Arduino as an ISP to program it.

If you are able to get the 16u2 into DFU mode, then you can use Atmel FLIP software to upload new firmware.

Here is a link to more info about updating the 16u2 firmware:

Sorry for my late response. I have been out of the country and so unable to work on my problem!
I tried to upload the USB serial firmware but no luck.

  • I connected my broken arduino via another (working) arduino,
  • I downloaded and instaled the Atmel Flip program,
  • I can't reset 16u2. I follow the instructions on the site you suggested, but nothing happens.
  • I am also unable to establish the connection. The error reads: "AtLibUsbDfu.dll not found". And then "Could not load dynamic library".
  • and also, how do I download the firmware?!?

So noone has any other idea of what I could try to fix this?!?

See Proyectos Arduino - Ikkaro
with comments