XBee Pro 900 XSC Wireless Programming

Could anyone help me in getting a set of XBee Pro 900 XSC modules to program an Arduino mega 2560?

I’m not sure of a way to get the mega to reset properly. I started looking at this [LadyAda tutorial that uses series 1 XBees and apparently propagates the RTS signal by using one of its DIO lines on each device. However, this module does not have any DIO.

Does anyone have any ideas on how to get the arduino to reset?](Xbee Adapter - wireless Arduino programming)

Since it has no DIO, there is no direct way. You may be able to tap into D03, which is active when receiving data, therefore able to reset the arduino on demand. Maybe…

Yea but then it wouldn’t be useful for wireless communications either.

Perhaps I could send a signal to the mega to reset itself and incorporate that into the arduino programming sequence.

I did manage to setup my software to listen for “!CMD:RESET” and then reset itself using the following code which seems to work well. However now I need to figure out how to get ardunio or avrdude to send that before starting the upload.

void(* resetFunc) (void) = 0; //declare reset function @ address 0