stk500_recv(): programmer is not responding

hey everyone , im an arduino duemilanove user and i had a lot of fun with my arduino until it stopped working

problem is i can get any code on it - in running the last version of the IDE on ubuntu 10.10 everything worked until the led attached to pin 13 started to blink quickly and when i try to upload something on the board i get the error stk500_recv(): programmer is not responding

i have enabled verbose uploading and this is what i get

Binary sketch size: 1246 bytes (of a 30720 byte maximum)
/home/putyn/arduino-0022/hardware/tools/avrdude -C/home/putyn/arduino-0022/hardware/tools/avrdude.conf -v -v -v -v -patmega328p -cstk500v1 -P/dev/ttyUSB0 -b57600 -D -Uflash:w:/tmp/build1938456369633064166.tmp/Fade.cpp.hex:i 

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

         System wide configuration file is "/home/putyn/arduino-0022/hardware/tools/avrdude.conf"
         User configuration file is "/home/putyn/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port            : /dev/ttyUSB0
         Using Programmer      : stk500v1
         Overriding Baud Rate  : 57600
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: Send: Q [51]   [20] 
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding

i already tried reinstalling everything but the problem persists

any suggestion is well appreciated Putyn

Start by confirming you have the duemilanove board selected on the Tools -> Board menu of the IDE

Rui

yeah i have Arduino Duemilanove or Nano w/ ATmega328 selected and before everything went bad i was playing with a 16x2 lcd and everything was working fine

ok so ive installed windows on a virtual box and when i tried to upload i got an sync error

avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

so i did a google search and find out found a topic on the old arduino forum where an user suggested to disconnect the board hit upload and as soon as you see the Binary sketch size: 1252 bytes (of a 30720 byte maximum) plug the board - and that works for me i got the blink example on my arduino

so the problem its solved - but im not sure what caused it