Yep, got 2 underscores. Tom Messenger writes: > Just a wild guess... > > Does your config statement have *2* underscores ahead of it? > This is often missed. > > It should look like this: __CONFIG > and not like this: _CONFIG > > Tom M. > > At 03:41 PM 5/27/02 GMT, you wrote: >>My program is interrupting and resetting at 18ms. If I put 'clrwdt' in the >>program it will stop. I clearly have '_wdt_off' in my configuration word. >> >>I have used 'clrf STATUS' and 'swapf STATUS' in my program, but the >>documentation indicates that these commands will not affect the bit that >>controls the WDT. Is there something that I am missing here? I can post >>the complete code if you need. >> >>The other thing is that when I program the chip with the 'fix' using clwdt, >>the program does not run. >> >>Thanks >> >>-- >>http://www.piclist.com hint: PICList Posts must start with ONE topic: >>[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads >> >> >> > > -- > http://www.piclist.com hint: PICList Posts must start with ONE topic: > [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads > > -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads