View previous topic :: View next topic |
Author |
Message |
anon Guest
|
#fuses WDT won't change wdt for MPLAB |
Posted: Thu Aug 12, 2004 4:13 am |
|
|
#fuses hs works ok, but #fuses wdt has no effect on the wdt configuration bit set by MPLAB. Likewise with brownout, power up timer. Why? I'm using a pic 16f87a and a CCS PCM compiler. |
|
|
SocMatt
Joined: 07 Jun 2004 Posts: 6
|
|
Posted: Thu Aug 12, 2004 5:00 am |
|
|
All you need is:
#fuses hs, wdt, brownout, put
That should change all configuration bits when you import it into MPLAB |
|
|
Ttelmah Guest
|
Re: #fuses WDT won't change wdt for MPLAB |
Posted: Thu Aug 12, 2004 5:57 am |
|
|
anon wrote: | #fuses hs works ok, but #fuses wdt has no effect on the wdt configuration bit set by MPLAB. Likewise with brownout, power up timer. Why? I'm using a pic 16f87a and a CCS PCM compiler. |
One possibility, would be the setting in MPLAB, under 'configure', 'settings', 'Program loading'. There is an option here, that will clear the configuration bits whenever a program is loaded, and this will override the fuses from CCS.
Best Wishes |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Thu Aug 12, 2004 6:32 am |
|
|
If you are using the ICD then WDT is not allowed and MPLAB will turn it off. |
|
|
Guest
|
|
Posted: Fri Aug 13, 2004 4:13 am |
|
|
Tried #fuses noput. Likewise that didn't work, with the programmer set to picstart and load config bits on prog loading disabled. Which file shows the state of the config bits? |
|
|
|