Wifi Shield Seeed Studio Upload Error : avrdude: stk500_recv():

Hi everyone,

I am new in Arduino. I have an arduino UNO and a Wifi Shield V2.0 from Seeed Studio.
I have piled the shield to the arduino and that's all.
Now, i try to upload the following code to my adruino :

#include <SoftwareSerial.h>
#include "WiFly.h"

SoftwareSerial uart(0, 1); // create a serial connection to the WiFi shield TX and RX pins.
WiFly wifly(&uart); // create a WiFly library object using the serial connection to the WiFi shield we created above.

void setup()
{
    uart.begin(9600); // start the serial connection to the shield
    Serial.begin(9600); // start the Arduino serial monitor window connection
    wifly.reset(); // reset the shield
    while(wifly.join("BoxName","Password",WIFLY_AUTH_WPA2_PSK) == false)
    {
        Serial.println("Failed to connect to accesspoint. Will try again.");
    }
    Serial.println("Connected to access point!");
}

void loop()
{

}

I get the following error message :

"
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xf2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xf2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xf2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xf2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xf2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xf2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xf2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xf2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xf2
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xf2
"

The parameters i have are the following one :

Card name : Duemilanove Diacimila
Processor : AT mega 328 P
Progammer : Arduino Gemma

I have checked the port is well connected to COM3

I don't know where the problem may come from, have you met such problem ?

Thank you for your help !

pins 0 an s 1 are pins of hardware Serial connected to USB chip and used for upload.
choose some other pin for SoftwareSerial. use the jumpers to select the pins on the shield