piclist 2002\08\27\111605a >
Thread: problem with Watch-Dog
face BY : Mike Mansheim email (remove spam text)

> 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.


See also: www.piclist.com/techref/microchip/devices.htm?key=pic
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) problem with Watch-Dog

month overview.

new search...