unable to load sketches

Hi All,

New to the wonderful Arduino but I am having problems with my uno board in loading up sketches on Ubuntu (Lucid)- it was working fine but recently I cant load any sketches. I have tried to reinstall ide software, installed avr-libc and reset a few times but no joy.

In using verbose mode with the following sketch:

void setup() {                
  // initialize the digital pin as an output.
  // Pin 13 has an LED connected on most Arduino boards:
  pinMode(13, OUTPUT);     
}

void loop() {
  digitalWrite(13, HIGH);   // set the LED on
  delay(1000);              // wait for a second
  digitalWrite(13, LOW);    // set the LED off
  delay(1000);              // wait for a second
}

I get the following output:

Binary sketch size: 1018 bytes (of a 32256 byte maximum)
/home/alanb/arduino-0022/hardware/tools/avrdude -C/home/alanb/arduino-0022/hardware/tools/avrdude.conf -v -v -v -v -patmega328p -cstk500v1 -P/dev/ttyS0 -b115200 -D -Uflash:w:/tmp/build4521314291555517854.tmp/Blink.cpp.hex:i 

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

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

         Using Port            : /dev/ttyS0
         Using Programmer      : stk500v1
         Overriding Baud Rate  : 115200
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

Thanks for any advice- much appreciated!

Cheers Alan

Hi

Well I got it working again...had me stumped, it seems that the usb port I used to connect with disapeared, I plugged into a different usb port and this is when my issues started. I have reset the board and rebooted plugged into the old port and now it is working

So the lesson for me is is that if it is not working check if the ide is picking up all the usb ports properly!

Thanks for bearing with me! :)