Xbee, Arduino Due and wireless Sketch Upload

Hi All,

Looks like no one has a clue about this.

I have been doing some research into how to do this and I hope I'm on the right track.

I will say what I am going to try and someone might be able to pick me up and tell me if I'm doing it right.

I have removed the erase button off the Arduino Due, I have soldered a wire onto the ERASE_S line, I am going to get the Xbee to send a packet to make the Xbee attached to the due to set one of the digital pins to high. This will be connected to a NPN transistor which will first give 3.3v to the ERASE_S line to erase the due, then reset the whole board.

Then I will send through the sketch to upload it.

Does anyone see any problem with my plan. Will it work do you think??

Anyones comments would be very much appreciated...