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