Uploading occurs for long time and never ends!

I am new to Arduino. I got arduino uno board and tried connecting the board to PC.
I have updated drivers and I use Arduino IDE to code. When connected to PC, green led displays and orange LED blinks(LED 13 pin). My system detects port. I tried to upload Blink program. Compilation done successfully. But Uploading occurs for long time and never ends. During upload, I can see the LEDs of Tx and Rx blinking alternatively.
Please help me to figure out the issue.

Try make a change to the code and see.

Try upload some other Example code like AnalogInSerial.

Try to hit reset once when the code is being Uploded.

I tried diff program, also tried with reset. Nothing Works :frowning: Do I need to flash the board and upload again. How to do ..?

Please restart the IDE, unplug and replug the board, enable Verbose Upload in the preferences, and attempt the upload again. Then copy/paste the text of the output and post it here - not a screenshot. The output will be many lines long and the information we need may not be visible in a screenshot.

I am having the same problem with a pro mini ATMega168 (5v, 16 MHz) board. Is there anyone else who has had this issue and figured it out? I have pasted the verbose output below (without the compile stuff).

Sketch uses 1,066 bytes (7%) of program storage space. Maximum is 14,336 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 1,015 bytes for local variables. Maximum is 1,024 bytes.
F:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CF:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega168 -carduino -PCOM6 -b19200 -D -Uflash:w:C:\Users\Loral\AppData\Local\Temp\buildc25980bc341cab71585cd4a4907dc61d.tmp/Blink.ino.hex:i

avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch

System wide configuration file is "F:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"

Using Port : COM6
Using Programmer : arduino
Overriding Baud Rate : 19200

loralg:
I am having the same problem with a pro mini ATMega168 (5v, 16 MHz) board. Is there anyone else who has had this issue and figured it out? I have pasted the verbose output below (without the compile stuff).

Sketch uses 1,066 bytes (7%) of program storage space. Maximum is 14,336 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 1,015 bytes for local variables. Maximum is 1,024 bytes.
F:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CF:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega168 -carduino -PCOM6 -b19200 -D -Uflash:w:C:\Users\Loral\AppData\Local\Temp\buildc25980bc341cab71585cd4a4907dc61d.tmp/Blink.ino.hex:i

avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch

System wide configuration file is "F:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"

Using Port : COM6
Using Programmer : arduino
Overriding Baud Rate : 19200

These are the exact pro mini and ftdi board I am using.

I am fairly confident I am choosing the right board and processor. Is there a chance I need to choose something other than the default programmer? I can't imagine it would say uploading if I had the wiring wrong.

Capture.JPG

Capture2.JPG

A bunch of people have had IDE 1.6.x problems, including IDE crashes and bizarre compile errors, when they had a previous 1.5.x/1.6.x installation. At least some of those problems seem to be caused by out-of-date executables that the IDE saves outside the IDE installation directory. Perhaps that is what is causing your particular problem. In such cases it appears that the fix is to delete or rename the old "Arduino15" directory and re-install 1.6.x.

On Mac OS X:
/Users/(username)/Library/Arduino15

On Windows delete both:
Arduino IDE 1.6.5r5 and previous: C:\Users(username)\AppData\Roaming\Arduino15
Arduino IDE 1.6.6 and later: C:\Users(username)\AppData\Local\Arduino15

On Linux:
/home/(username)/.arduino15 (a.k.a. ~/.arduino15)