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

Search found 8 matches
CCS Forum Index
Author Message
  Topic: WDT not working
maaply

Replies: 18
Views: 20756

PostForum: General CCS C Discussion   Posted: Sun Mar 28, 2010 8:01 pm   Subject: WDT not working
Dear all,

I tried to set WDT in " configuration bit " menu in mplab IDE. I enable the WDT. ( by selecting WDT - ON ). almost out all the code is working.

Ok. if i want to enable WDT, b ...
  Topic: WDT not working
maaply

Replies: 18
Views: 20756

PostForum: General CCS C Discussion   Posted: Sun Mar 28, 2010 7:52 pm   Subject: WDT not working
Thanks PCM programmer,


#use delay(clock=2000000,PLLEN)


my internal oscillator works fine with the above setting.

I tried your code. its not working.
  Topic: WDT not working
maaply

Replies: 18
Views: 20756

PostForum: General CCS C Discussion   Posted: Wed Mar 24, 2010 6:37 pm   Subject: WDT not working
CS PCM C Compiler, Version 4.082, 45061 24-Mar-10 14:54
  Topic: WDT not working
maaply

Replies: 18
Views: 20756

PostForum: General CCS C Discussion   Posted: Wed Mar 24, 2010 12:52 am   Subject: WDT not working
Yes, I tried all the values given in device.h file.

#define WDT_18MS 8
#define WDT_36MS 9
#define WDT_72MS 10
#define WDT_144MS 11
#define WDT_288MS 12 ...
  Topic: WDT not working
maaply

Replies: 18
Views: 20756

PostForum: General CCS C Discussion   Posted: Wed Mar 24, 2010 12:08 am   Subject: WDT not working
Yes I can blink LED, without WDT. Just with some delay,

while(1)
{
output_a(0xFF);
delay_ms(1000);
output_a(0x00);
delay_ms(1000);
...
  Topic: WDT not working
maaply

Replies: 18
Views: 20756

PostForum: General CCS C Discussion   Posted: Tue Mar 23, 2010 11:54 pm   Subject: WDT not working
Dear Robomaniac,

Yes have that line. refer my code, #fuses wdt is there in first line. I tried your code with PIC16F727, NOT working.

Thanks,
  Topic: WDT not working
maaply

Replies: 18
Views: 20756

PostForum: General CCS C Discussion   Posted: Tue Mar 23, 2010 9:54 pm   Subject: WDT not working
Thanks Robomaniac,

I tried with PORT B and PORT D also, but not working. My code is below.

#include <16F727.h>
#device adc=8

#FUSES WDT //Watch Dog Timer
//#FUSES H ...
  Topic: WDT not working
maaply

Replies: 18
Views: 20756

PostForum: General CCS C Discussion   Posted: Tue Mar 23, 2010 6:57 pm   Subject: WDT not working
Hi,

I implemented WDT in my code. It is not working. Someone can help me to find, what I am doing wrong? My code is below,

#include <16F723.h>

#device adc = 8

#FUSES WDT /* Wat ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group