Hi Jan-Erik The rest of my circuit could theoretically wait a week I tried a ten-second delay at the very beginning of main but it didn't change anything. Yes the rest of my circuit is not power cycled when I reset the processor from the IDE but it is not power cycled when I program it either...(at least not that I know about) I'm moving the delay through all the various calls to initialize timers and serial ports to see what happens. Thanks again Phillip Things should be as simple as possible but no simpler Phillip Coiner CTO, GPS Source, Inc. Your source for quality GNSS Networking Solutions and Design Services, Now! -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of Jan-Erik Soderholm Sent: Thursday, September 21, 2006 12:59 PM To: piclist@mit.edu Subject: RE: [PIC] Now I think I have a startup problem?? Phillip wrote : > If I halt the program and leve the power alone... So the rest of your curcuit is not power cycled ? > and reset the processor the > problem is fixed and now my code works just dandy? Sounds that something *else* then the processor isn't starting fast enough. Can you add a *loooong* delay very early in your code. Make 10 sec or more (depends on the rest of the curcuit, of course). Jan-Erik. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist