Stuck on uploading...

Hello, I'm newbie here.

Months ago I used the Arduino Duemilanove with Atmega328P-PU, it was working perfectly.

Now it gets stuck on uploading.

I've formated my computer with Windows 7 recently, reinstalled arduino software and installed the FTDI drivers.
When I press the reset button, the L led flashes twice and when appears "uploading" on arduino software the L, TX and RX quickly flashes sometimes then stops on the TX light on, so I don't think is a bootload problem.

I tried the versions 1.0.5 and 1.5.5 in 2 different computers(both with Windows 7).

The program I'm testing is a very simple program:

void setup() {

void loop() {

I'm a newbie on Arduino/eletronics, so I don't have a clue about what's going wrong...

Did you change the board selection in the IDE to Duemilanove?

Thank you for your reply James.
I did it: it is on Arduino Duemilanove or diecemila, with ATmega328 but is not working.
My program compiles and freezes on uploading...

My program compiles and freezes on uploading...

It freezes or returns an error?

Well, it keeps saying its uploading and dont show any errors. It stays uploading forever (I left it for 1h and it was still uploading). Only when I remove/reset the arduino it says:
avrdude: stk500_getsync(): not in sync: resp=0x00

Today it appeared one more message for the first time (but it happened only once):

avrdude: ser_send(): write error: sorry no info avail

and this when i removed:

avrdude: stk500_getsync(): not in sync: resp=0x00
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(
at Source)
Caused by: Problema ao carregar para a placa. Veja para sugestões.
at cc.arduino.packages.Uploader.executeUploadCommand(
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(
... 5 more

What kind of peripheral you have been connected before you getting above error.
For me same issue being raised , this arises 2 reason

  1. If the boot loader has been crashed
    2)if fat32 driver stopped working. Check whether ur IC is heating up or not.

Thank you for replying AMPS.

I have no other peripheral conected on my notebook besides arduino. I don't feel anywhere heating on arduino while the eternal uploading...

Have you tried uploading bootloader using avr programmer.

No... Could you teach me how to do this, please?

No… Could you teach me how to do this, please?

It just simple

and Burn boot loader .You will get boot loader updated succesfully

If didn’t worked then replace atmega IC replace with new one and do above step. Which will work

Okay, I'll try. Just waiting the programmer arrive :slight_smile:

Well, I had some problems bootloading the arduino

I'm using a Mega 2560 to bootload, using this tutorial:

But I'm receiving this message:

avrdude: stk500_program_enable(): protocol error, expect=0x14, resp=0x50
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51