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.
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…
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.