Pages: [1]   Go Down
Author Topic: Cannot Upload anymore  (Read 988 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 15
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi, I used to be able to upload no problem to my Arduino Duemilanove but now I can't upload anything.  I get an error saying:
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

I had no problems before and I haven't changed any of the settings or done any updates since.  My original program was for a servo that moved 170 degrees back and forth after a given time.  I needed to update this however to only move when a hall effect sensor was triggered.  After I installed the new program I tried running it and it wasn't working properly so I tried to go back to the original program but it wouldn't let me and gave me the error above.  Again nothing was changed and there was only a 2 day time period between installing the new program and trying to go back to the old.  Now I cannot get any program to upload at all.  I have tried everything recommended in the troubleshooting and nothing is working.

So again, I didn't change my Comm port I didn't change which board was selected, I am running this on Windows XP and I am using an Arduino Duemilanove w/ ATmega 328.

Please help me.
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 212
Posts: 8940
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Unplug the USB cable (either end).
Hold down the Arduino reset button.
Plug in the USB cable.
Click on the sketch Upload button.
When you see the "Binary sketch size:" message, release the reset button.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

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

I've tried this as well and it does not work.
Logged

Lisbon, Portugal
Offline Offline
Full Member
***
Karma: 0
Posts: 152
Bow before me for I am root.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You could also try to connect the USB onto another USB port.
Logged


Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 212
Posts: 8940
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Do the TX and RX LEDs twinkle when you try to upload?

Do you have anything connected to the data pins, particularly 0 or 1?
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

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

I have nothing plugged into it at all and the TX and RX blink for about a second when I first plugged in the USB then they stop.
Logged

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

So is there anything else I can try?
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 212
Posts: 8940
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Try different selections from the "Boards" menu.  Perhaps you have a bootloader that uses a different baud rate.  If you get success or an error saying the chip signature is wrong you have found the right baud rate.  Check "boards.txt" for that board type to see what baud rate it uses for upload and then make sure the "Arduino Duemilanove w/ ATmega 328" entry has that baud rate.

If all else fails, burn a fresh bootloader.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

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

I cant even burn a bootloader.  I tried doing it with every possible option.
Logged

Swannanoa, New Zealand
Offline Offline
Full Member
***
Karma: 1
Posts: 202
New To Arduino (and C)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

getandistr
If by chance you have plugged the board into one of the other USB ports from when you first put it in, it may assign a new Comm port number.

The fact the rx/tx lights flash when first plugged in, tends to suggest it is communicating with the computer.

You haven't tod us that you checked the Serial Ports that are available.
Open up device Manager (under ControlPanel System HardwareTab Device Manager look under Ports) You should see one that says Duemilanove.

I spent some time with another user who was trying to upload to Comm4 because thats what it used to be, when the UNO (in his case) was on Comm3.

Mark
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 212
Posts: 8940
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I cant even burn a bootloader.  I tried doing it with every possible option.

What ISP device are you using for burning a bootloader?
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

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

I bought a new board thinking that was the issue (this one is a UNO) but again I have the same problems.  Also Serial Port Comm1 is now the only one that is showing up.  I don't know what else to do.  I even tried changing which USB I plug it into.
Logged

Pages: [1]   Go Up
Jump to: