XBee Programming/ Debug link problems

I am trying to create a wireless link with XBee to program, debug, and run filght data to the quadcopter I'm working on. I'm using an Arduino Uno with the 1.8 Shield and XBee Pro S1. I have a fdti cable and Adruino 0022 for programming on the computer end. But I can't get it to program.

Anyway I followed Lady Ada's tutorial or instructions http://www.ladyada.net/make/xbee/arduino.html but i always get an error like
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

I can get the XBees to communicate with each other (tested with two computers reading serial monitor inputs/outputs sent from the other) on other pins of the arduino besides tx and rx (D0 and D1) but can't seem to use those to program with.

yes I have re flashed the boot loader of the Uno, still no change.

ammas09:
Anyway I followed Lady Ada's tutorial or instructions http://www.ladyada.net/make/xbee/arduino.html but i always get an error like
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

Did you selected the correct board in Tools -> Board menu?
You can program this Arduino with other sketches (like Blink)?
If you answered yes on the questions above, try to disconnect all circuits and cables from Arduino and then try to upload. In some cases you can have problems if have some circuit is connected to digital pins 0 or 1.