Can't upload sketch due to sync problem

I am a begineer at arduino , i recently bought a arduino duemilanove. I have installed the drivers correctly and doubled checked port settings for COM3. The Atmel Atmega 328 is going to kill me as its been 10 hrs on the clock and i'm not able to load a single program on the board. The program compiles fines on windows 7 ultimate x64 detects board properly but there is this sync problem during uploading........... I have checked all solutions on the net from clicking reset button at different intervals to chainging port speed but to no avail...... i request the community to help me provide a solution to the problem....

The error is as follows
avrdude: stk500_getsync():not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expext=0x14, resp=0x51

I have also noticed that during upload the L LED opposite to 13 pin blinks 3 to 4 times followed by RX LED but the TX LED never blinks in the upload procedure..... during my 10 hrs of search i had found TX and RX should blink during upload and TX represents communication link from board to PC.
I thought this might help you solve my problem.

Guyzz..... plz help....!!!

Your message doesn't mention you checked the proper board type; Tools > Board and serial port Tools > Serial Port.

The error message is typical for wrong settings here...

i have tripled checked from the arduino IDE 0022 that i have selected my board as arduino duemilanove atmega328, still can't get it work
Tried hundred times to click the reset button and get it in sync to upload the file as mentioned in trouble shooting guide but no affect, even tried unplug and plug usb at time of upload but it gives another error of ser_send(): write error

I have also noticed something that might help you to determine my problem:
1)When i plug my board through the usb the TX and RX LED blinks 3 times togethrer and after that the L LED blinks 6 times and then stops
2)During uploading the L and RX lED only blink. The TX dosen't blink once
3)While pressing the reset button( not during uploading) and then unpressing after 10 seconds,with powered on, none of LEDS blink after it.

Does the above situation show that i have a bootloader problem

I hope i will get a solution soon.

avrdude: Version 5.4-arduino, compiled on Oct 11 2007 at 19:12:32
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

System wide configuration file is "D:\arduino-0022\arduino-0022\hardware/tools/avr/etc/avrdude.conf"

Using Port : \.\COM2
Using Programmer : stk500v1
Overriding Baud Rate : 19200
avrdude: ser_open(): setting dtr
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Recv:
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: Send: Q [51] [20]
avrdude: Recv:
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

avrdude done. Thank you.

the message after pressing SHIFT and upload

I have installed the drivers correctly and doubled checked port settings for COM**> 3 <**

Using Port : \.<mark>COM**> 2 <**

How did you determine that the Duemilanove connects to the computer as COM-three?

Why do you have COM-two selected in the IDE?

The IDE shows the result generated on my desktop where the arduino is connected through COM2 while on my laptop it connects through COM3 , i had posted the question when i was using my laptop, sorry for the inconvenience...............
I check my COM port no. using device manager and recheck it in the serial menu in the arduino IDE.

The COM ports are always correct during upload, i also performed the loop back test on the arduino and it worked perfectly well.

Thanks in advance......... plz help !!!

i recently bought a arduino duemilanove

From where?

The IDE shows the result generated on my desktop where the arduino is connected through COM2 while on my laptop it connects through COM3 , i had posted the question when i was using my laptop, sorry for the inconvenience...............

Which computer will you be using for the remainder of this topic?

I check my COM port no. using device manager and recheck

When you disconnect the board, is the COM port removed from Device Manager?

When you connect the board, is the COM port added to Device Manager?

I'll be using my laptop....... thats COM3,
i tested on both my computers to check if any setting on my comp may have gone wrong.

When i add my Arduino the device manager detects it and shows it under ports........ when disconnected there is no listing of the device under ports!

I bought the arduino from Thinnk Ware, actually i ordered a Arduino self Learning kit from www.kitsnspares.com which transferred my order to Thinnk Ware (www.thinnkware.com). Also its actually a DFRduino , what you call as a mod for Arduino with a different name! Its a duemilanove Atmega 328

From your earlier posts...

Its a duemilanove Atmega 328

Using Port : \.\COM2
Using Programmer : stk500v1
Overriding Baud Rate : 19200

From the Arduino 0022 boards.txt file...

atmega328.name=Arduino Duemilanove or Nano w/ ATmega328
atmega328.upload.protocol=stk500
atmega328.upload.maximum_size=30720
atmega328.upload.speed=57600

Looks like you have the wrong board selected.

i have overriden the baud rate at the port settings and text file (borads.txt) at both places thought it might help.
I had tested at baud rate set to 57600 default value at port settings and boards.txt file but still the board didn't work.
I'll try once again setting the baud rate to default.......... and then get to u back.

Thank you in advance for helping me out...!!!

Its not working still, after setting the default baud rate at the boards.txt to 57600 and at ports setting of USB serial device to 9600.

Plz help....!

Summary...

• Board passed a loop-back test which indicates that everything up to the TX / RX pair is working correctly
• boards.txt has been restored / baud rate is correct
• Correct board is selected in the IDE
• Correct serial port is selected in the IDE
• Upload fails

There are five possibilities remaining...

• One of the items listed above is not correct
• Board is defective
• Processor is defective
• Bootloader has not been installed on the processor
• Different bootloader is installed

Your next step is to contact the vendor.

thugsatbay:
I am a begineer at arduino , i recently bought a arduino duemilanove. I have installed the drivers correctly and doubled checked port settings for COM3. The Atmel Atmega 328 is going to kill me as its been 10 hrs on the clock and i'm not able to load a single program on the board. The program compiles fines on windows 7 ultimate x64 detects board properly but there is this sync problem during uploading........... I have checked all solutions on the net from clicking reset button at different intervals to chainging port speed but to no avail...... i request the community to help me provide a solution to the problem....

The error is as follows
avrdude: stk500_getsync():not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expext=0x14, resp=0x51

I have also noticed that during upload the L LED opposite to 13 pin blinks 3 to 4 times followed by RX LED but the TX LED never blinks in the upload procedure..... during my 10 hrs of search i had found TX and RX should blink during upload and TX represents communication link from board to PC.
I thought this might help you solve my problem.

Guyzz..... plz help....!!!

My Uno is doing the exact same thing. RX light blinks a few times, but TX never does. Green power light never goes off with reset buttons, or any other action. Were you able to solve this issue, or did you return it to your vendor?

i have sent it back to the vendor , and they said they would check it and reply me back as to what happens..........
I will be sending it tomorrow will let u know what happens next.........

Thnks for all the help