WEBB,TIM (A-Sonoma,ex1) wrote: > How do you disable interupts? Make your "stop" code look like this: STOP: CLRWDT BCF INTCON,GIE GOTO STOP It's a good idea to keep the BCF inside the "stop" loop, as shown above, to help avoid the race condition that occurs if an interrupt is triggered while the BCF instruction is being executed. To avoid that potential problem entirely, do the above and also add the following code at the interrupt vector (address 0x04): ORG 0x04 RETURN If this doesn't solve your problem, you may have to go back and re-check your cornerstone assumptions (e.g., MCLR is high and stable, Vdd is high and stable, the PIC is actually getting to the "stop" code, etc.). -Andy === Andrew Warren -- aiw@cypress.com === Principal Design Engineer === Cypress Semiconductor Corporation === === Opinions expressed above do not === necessarily represent those of === Cypress Semiconductor Corporation -- 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