About the only sure way I've found to end a program consists of the following procedure: 1. Delete all files concerning it from your hard disk. 2. Use a program to wipe the disk to ensure they're gone. 3. Do the same with any floppies that ever may have held the code. 4. Shred all printed copies. 5. Burn the shredded paper. 6. Crush all devices into which the code may have been programmed. 7. Witness the crushed remains buried in landfill. 8. Change your name. 9. Move. Anything less and it will surely find you again. Gary Crowell > -----Original Message----- > From: WEBB,TIM (A-Sonoma,ex1) [mailto:tim_webb@AGILENT.COM] > Sent: Thursday, February 07, 2002 1:57 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: [PIC]:What is the best way to end a program > > > For development purposes, I have tried two different > approaches to ending a > program > > Run the program to "end" or create an endless loop like "stop goto > stop" > > I have noticed that sometimes my 16F877 will just suddenly > re-boot or reset > and re-run the program after it has > been sitting in either a endless loop or sent to end. > > There are not any voltage spikes present on the circuit at the time of > reset. > > Has anybody experienced this before? > > -- > http://www.piclist.com hint: The list server can filter out subtopics > (like ads or off topics) for you. See http://www.piclist.com/#topics > > -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.