Pages: [1]   Go Down
Author Topic: Another avrdude: stk500_getsync(): not in sync: resp=0x00  (Read 1842 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
recently I bought my first Arduino. It arrived at my home two days ago, and since then I've been looking nonstop for the cause of this error.
What happens:
  • I connected the arduino to my computer through the usb cable.
  • The drivers were installed automatically.
  • L13 started to blink fast.
  • PWR is on.
  • I started the Arduino ide and opened blink program.
  • I selected port to COM3
  • I selected board to Arduino Duemilanove w/ ATMega328
  • And clicked upload.
  • The "Binary sketch size: 1.084 bytes (of a 30.720 byte maximum)" appeared and L13 stopped.
  • Leds RX and TX blinked 3 times.
  • Pause of about 10 seconds where nothing happened.
  • L13 blinkes 1 time, stopped and then restarted to blink really fast, as if nothing had happened.
  • The message avrdude: stk500_getsync(): not in sync: resp=0x00 appeared.

I have tried:
  • Changing COM port to 9
  • Pressing reset button before clicking upload
  • Pressing reset button after the "Binary sketch " message
  • Holding reset button until the "Binary sketch " message then releasing
  • Re installing the drivers using those provided with the arduino1 folder.
  • The loopback test passes
Any help??? I'm getting really frustrated here _ _"

Logged

Europe
Offline Offline
Full Member
***
Karma: 0
Posts: 104
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://arduino.cc/forum/index.php/topic,116323.msg881431.html#msg881431

do a shift+upload, and write is the arduino original or ebay, and the exact model..
Logged

Global Moderator
0
Offline Offline
Newbie
*****
Karma: 0
Posts: 40
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I would guess the Windows driver is not installed. Can you open your device manager and verify the FTDI USB serial driver? Write back and let me know; I'll monitor this thread.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you are labeled correct, you are going Rx->Rx/Tx->Tx and it is not the "BAITE" board, you will need to cross the connections Rx->Tx and Tx->Rx.  When you upload, you will need to hold the reset and wait till the Tx on the USB2TTL board Tx LED Flashes 2x.  You might want to test with the UNO Optiboot and the Duemilanove 328 boards in the Arduino IDE.

Later, you might want to hook up a 0.1uF cap to Atmega pin1 and your USB2TTL RST (DTR?).

I don't understand what does it mean "you are going Rx->Rx/Tx->Tx and it is not the "BAITE" board, you will need to cross the connections Rx->Tx and Tx->Rx." Could you explain?? And what is the BAITE board?

I would guess the Windows driver is not installed. Can you open your device manager and verify the FTDI USB serial driver? Write back and let me know; I'll monitor this thread.
Do you mean the driver of COM port? It says the device is working properly.


Also, I bought the board from DX.com, and it's not an original. However, its printed in the board "Arduino Duemilanove" and in the chip ATMEGA328P-PU.
Logged

Global Moderator
0
Offline Offline
Newbie
*****
Karma: 0
Posts: 40
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Easy way to check the serial port is using the loopback test described at

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

Let  me know what you find

Michael
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

As said in the first post, I've done it, and it passes.
Logged

Global Moderator
0
Offline Offline
Newbie
*****
Karma: 0
Posts: 40
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Indeed you have. Sorry I missed that.

So the driver and USB hardware seems ok; if I'm not mistaken, that turns suspicion on the microcontroller, bootloader, and avrdude.

Easiest way to check avrdude would be to test your computer with another Arduino Duemilanove. If you're in a big city there is a good chance someone around you has an Arduino; you might also try a local hacker space, robot club, or dorkbot chapter.

The microcontroller and bootloader is a little tricker. If you have another Arduino, you might try using the good one to re-burn the bootloader on the troublesome one.

I don't use Windows so I'm making educated guesses here.

Finally, have you asked DX.com? Do they have a forum or mailing list?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have posted at dx.com, but as it's just a shopping site, the chance of getting a usefull response is small. Anyway, I'll try to contact them. Maybe they will replace it, and then I can test if it's my computer. Or maybe next time I'll buy an original Arduino...

Thank you very much for your time. =]
Logged

Global Moderator
0
Offline Offline
Newbie
*****
Karma: 0
Posts: 40
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

True, for the few dollars savings I would recommend buying from one of the reputable Arduino or Arduino compatible manufacturers.

Still, I am curious and would like to solve if possible.

If dx.com is just shopping, who manufactured the device? do they have a website? schematics? drivers? a close look at their site might shed some light.

Are you located near any other Arduino enthusiasts, that you might try your Arduino on another's computer, or their Arduino on your computer?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm not sure who is the manufacturer. The board is this one:
http://dx.com/p/arduino-duemilanove-2009-atmega-328p-scm-board-with-usb-cable-133258

I don't know anyone who might have an arduino but I have another computer where I can try it on. I'll do it and then post back here.

Edit: I tried it on my laptop and it gave the same error.
« Last Edit: August 13, 2012, 08:53:55 am by elithin » Logged

Austin, TX
Offline Offline
God Member
*****
Karma: 12
Posts: 524
carpe diem
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Try selecting a different board type, such as UNO.

When selecting the board type, you are really selecting the type of bootloader that is on the Atmega.

They may have started using the UNO bootloader on the newer boards.

It's worth a shot.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Right, I forgot to mention it on the first post, I've tried selecting almost all boards on the list, and nothing...
Thanks anyway
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I solved it!!!!!! Just downloaded the arduino0023 software instead of the 1.0 and it worked like a charm!!!
(Still don't know why the newest doesn't work though)
Logged

Global Moderator
0
Offline Offline
Newbie
*****
Karma: 0
Posts: 40
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Congratulations! I don't know well enough the differences between 0023 and 1.0 to be able to explain this, but I'm glad you found a solution.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Having had the same problem recently. Although, mine was mainly caused by the com port being reassigned somewhere along the way.

To help with the arduino program differences.

023 has some older routines and calls.
1.1 runs I think newsoftseriel (or I have this the other way around) as a driver off the top of my head and a few others, that can get in the way of handling certain calls within the program.

perhaps search around for the updated version of your program which calls the new routines.

Logged

Pages: [1]   Go Up
Jump to: