Developping and testing Arduino sketches with xBeeShield

I am developing sketches for 3 different Arduinos that will be exchanging data and commands.

3 Arduinos, 3 xBee Shield and 3 xBee.

Being pretty new to programming, I make many modifications to my sketches to find a way to get the Arduino to do what I want and to test different scenarios. I cannot upload my sketch to the Arduino while the xBee shield (with the xBee) is on the Arduino.

Does anyone have a suggestion how to avoid the plug/unplug of the shield and upload the sketch to the Arduino?

I cannot upload my sketch to the Arduino while the xBee shield (with the xBee) is on the Arduino.

The implicit assumption in this question is that there is only one XBee shield. That assumption is incorrect.

You need to tell us which XBee shield you are using. Mine have switches on them that connect them to, or disconnect them from the serial pins. Yours might have switches, or they might have jumpers, or they might be candidates for replacement.

Thank for your reply.

I am using 3 Arduino Uno. 2 A000021 Arduino xBee Shield and 1 DFRobot XBee Expension Board.
For xBee unit. I have 2 xBee Pro Serie 1, XBP24-AUI-001 and 1 xBee XB24-AUI-001.

The A0000021 has jumper to change from xBee/USB mode, the other unit has a switch Run/Prog.

I am not sure to understand the use of these switches, but I believe they have to do with running or programming the xBee, not the Arduinos.

Please correct me if I am wrong.
My objective is to change my sketch on the Arduino, without having to remove the shield.

Thank you

I am not sure to understand the use of these switches, but I believe they have to do with running or programming the xBee, not the Arduinos.

Please correct me if I am wrong.

OK. You are wrong.

You need to post a link to the shields you have, not a bunch of text. A picture is worth 1000 words. A link is worth 10 pictures.

The jumper for XBee/USB mode determines whether the XBee is connected to the serial port pins, or not. You do not want it connected while trying to upload a sketch. (Re)moving the jumper is far easier than removing the shield.

Thank you. Far easier to remove the jumpers than the shield itself with all the connections.

Next time I post to the forum, I will use link.