Both TO and PD indicate that a wdt or wake from sleep has not occurred. All I'm doing is calling the affected routine like this: start: bank0 ;start in ram bank 0 call clear_ram ; call initialise ;initialise registers, etc bsf l_red ;turn red led on call delay_250 ;wait 250ms bcf l_red ;turn red led off ... It's spinning off into space during the delay_250 routine. David... Tamas Rudnai wrote: > Do you have testing routine in the reset area so that you can find out what > type of reset you have? > Can you show the code especially how you call that routine? > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist