CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

PIC16F818 And #fuses WDT

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
SlavaZ
Guest







PIC16F818 And #fuses WDT
PostPosted: Thu Apr 02, 2009 10:00 am     Reply with quote

I'm setting
Code:
#fuses WDT

but the hex file invariably has WDT disabled. I had to manually override it in MPLAB IDE to enable WDT. That's not the way to go. Is there any other way to specify config bit in the source file?

All other fuses that I use do have effect:
Code:
#fuses WDT,NOPUT,INTRC,MCLR

just not the WDT

Any suggestions?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Apr 02, 2009 12:00 pm     Reply with quote

WDT is automatically disabled by the compiler if you are in Debug mode.
Debugging with WDT enabled is not supported.
http://www.ccsinfo.com/forum/viewtopic.php?t=36293&start=1

If you still have problems then,
1. Post a very short (but complete) test program that shows the problem.
The posted code must be able to be pasted into MPLAB and then compile
with no errors.

2. Post your compiler version.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group