View previous topic :: View next topic |
Author |
Message |
ye
Joined: 11 May 2005 Posts: 57 Location: london
|
Configuration bits override fuses |
Posted: Tue Nov 29, 2005 10:09 am |
|
|
Hi all,
I realise configuration bits override my fuses in the code. I wanted to disable the wdt by putting down NOWDT in the fuses but forgot to set the same in mplab configuration bits. Certainly it didn't work. Then I realised the fuses were overriden by mplab. why is that? I think it should work in the reverse way!
Any thoughts,please? |
|
|
Ttelmah Guest
|
|
Posted: Tue Nov 29, 2005 11:29 am |
|
|
Why on earth would you think it should be the other way?. When you load the file into MPLAB (which is what you effectively do, when you compile it), the configuration bits are set by the fuses. You then have the ability to override this in the program. If the values were overriden by the 'source', there would be no point at all in having the settings inside MPLAB at all. The 'point' of the MPLAB settings, are to allow you to override the bits for development, or to set them if your compiler does not generate them.
Best Wishes |
|
|
Guest
|
|
Posted: Tue Nov 29, 2005 11:47 am |
|
|
thanks for that~ |
|
|
|