I am programing the RAVEN, as you know large part of the code is in stack which we can not edit.
What i am doing is added a switch, which basically say if pressed pair it with the Cordinator.
Is there away of restarting the AVR, so i goes back to first instruction? So when i press a button it would just reboot.
Yess i do agree i could get my self in big loop of start and restarts, but i cann add various flags.
The aim i trying to achive is simple, i make simple change on end node and then press the button so it restarts and joins the network with the new parameters.