> Hello, I'm using PIC16F876 with PCM (from CCS) C-Compiler. > I put the Prescaler from the timer 0 to the Watch Dog because timer 0 > is lead externally and has to be incremented at each falling edge. I > put NOWDT on the configuration bits. in spite of those elements the > PIC resets because of the WDt. I've used NOWDT in CCS with the F876 and it works fine. So: - most programming software allows you to manually change the settings of the configuration bits. Did the watchdog inadvertently get turned on that way? - Are you sure it's a watchdog reset? How do you know? - are you using an emulator? With the ICE2000, for example, you change the watchdog stuff via menu options - the settings in the hex file don't have any effect. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.