Author |
Message |
Topic: Watchdog with 18F26J50 |
jinmoon
Replies: 4
Views: 6667
|
Forum: General CCS C Discussion Posted: Thu Dec 06, 2012 9:59 am Subject: Watchdog with 18F26J50 |
I have two code versions, both of which should be functioning identical.
The first one is using 'WDT', and the second one is using 'NOWDT' and controlling the WDT with software. The first one works ... |
Topic: Watchdog with 18F26J50 |
jinmoon
Replies: 4
Views: 6667
|
Forum: General CCS C Discussion Posted: Thu Dec 06, 2012 8:44 am Subject: Watchdog with 18F26J50 |
Thanks Ttelmah,
I tried sleep(SLEEP_IDLE), and it's not still working. When using '#fuse INTRC', I could see on the scope that the main clock is still running even after sleep(), but still stuck at ... |
Topic: Watchdog with 18F26J50 |
jinmoon
Replies: 4
Views: 6667
|
Forum: General CCS C Discussion Posted: Wed Dec 05, 2012 11:09 pm Subject: Watchdog with 18F26J50 |
Hi, I'm trying to figure out how the watchdog works.. Below's the full code. I set NOWDT for software control. It never comes out of sleep()... What can be possibly wrong? The compiler version is 4.12 ... |
|