Bob Segrest wrote: > > Greetings, > > I am writing code to use the PIC chip as a classic embedded controller. > One of the commands I would like to implement is a remote reset. This > would allow the controlling system to issue a command that would tell the > PIC to restart and re initialize itself. > > Is there an easy way to reset the PIC processor from a running application ??? > > The PIC in this particular endeavor is a 16C73A... > > Bob Segrest I use a similar command. Clear PCLATH and PCL. It works fine for me, because I save the output states in EEPROM, so when the PIC starts up, its loads all the default output values. The stack overflows badly when you do this, so the emulator doesn't like the command, but it works well in the OTP parts. -- Friendly Regards Tjaart van der Walt mailto:tjaart@wasp.co.za _____________________________________________________________ | Another sun-deprived R&D Engineer slaving away in a dungeon | | ASP International http://wasp.co.za | | GSM and GPS value-added applications | | Voice : +27-(0)11-622-8686 | Fax : +27-(0)11-622-8686 | |_____________________________________________________________|