I couldn't upload the file blink.pde to the Arduino Uno board

I just bought a Arduino Uno board from Robotshop.com a few days ago. The order number is 88503.

I connected the Arduino Uno board to a notebook computer by a standard USB cable( a printer cable). After I finished the connecting. The greed LED turned on. and the L LED was blinking. … I pressed the “Upload” button to upload blink.ped from my notebook computer to the Arduino Uno board. After about two seconds, the L LED turned off. then TX LED and RX LED turned on, then turned off about two times. … then" Problem uploading to board " appeared. (but the message “Done uploading.” did not appeared.) then L LED again was blinking.

My problem is:
Can not upload the program blink.pde to the Arduino Uno board.
I hope to get the answer in order to start my robot programming.

The following is the imformations

1.Your operating system:
Vista

2.What kind of board you have.

Arduino Uno

3.Whether or not you were ever able to upload to the board. If so, what were you doing with the board before / when it stopped working, and what software have you recently added or removed from your computer?

This is the first time to use this board. I download the software last month from
arduino.cc/en/Main/Software
I opened the file from
arduino-0022/example/Basics/Blink/blink.pde

the port is com4.

  1. The messages displayed when you try to upload with verbose output enabled. To do this, hold down the shift key while clicking on the upload button in the toolbar.

Binary sketch size: 1018 bytes (of a 30720 byte maximum)
C:\Users\zhi hong lai\Documents\arduino-0022[1]\arduino-0022\hardware/tools/avr/bin/avrdude -CC:\Users\zhi hong lai\Documents\arduino-0022[1]\arduino-0022\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -cstk500v1 -P\.\COM4 -b57600 -D -Uflash:w:C:\Users\ZHIHON~1\AppData\Local\Temp\build8761977129823861310.tmp\Blink.cpp.hex:i

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

     System wide configuration file is "C:\Users\zhi hong lai\Documents\arduino-0022[1]\arduino-0022\hardware/tools/avr/etc/avrdude.conf"

     Using Port            : \\.\COM4
     Using Programmer      : stk500v1
     Overriding Baud Rate  : 57600

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=0xf9
avrdude: Send: Q [51] [20]
avrdude: Recv:
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

avrdude done. Thank you.

Thank you for the answer.
The problem I found.
I choosed the board to
“Arduino Uno”
then the board worked. … then, “Done Uploading” displayed.
Before I choosed the board to
“Arduino Duemilanove or Nona w/ ATMEga328”.
That was wrong

Thanks your advice turned out to be helpful to me too. It would be quite helpfull if pics could be programmed too from the Arduino…

Hi jack_lai,

Start with something even simpler:

void setup () {}
void loop() {}

Be sure to choose the right COM port in the tools menu as well as the right board (Arduino Duemilanove w/ ATMEga328). If this does not work, then we will exchange the board.

Sincerely,

Excellent. We hope you enjoy your Arduino.