View previous topic :: View next topic |
Author |
Message |
Tom-H-PIC
Joined: 08 Sep 2003 Posts: 105 Location: New Castle, DE
|
PIC18F4550 Configuration bits? |
Posted: Tue Mar 08, 2011 8:20 am |
|
|
How do I determine what configuration bit a fuse is mapped to?
As in WDT and NOWDT?
I'm using a PIC18F4550 and compiler 4.119.
Thank You all ahead of time!
Tom |
|
|
bkamen
Joined: 07 Jan 2004 Posts: 1615 Location: Central Illinois, USA
|
|
Posted: Tue Mar 08, 2011 8:41 am |
|
|
There's a file in the installdir FUSES.TXT that's one source...
The other is the DataSheet on the configuration registers... keeping in mind the fuses are somewhat named like the config bits.
Another source is MPLAB where there's a menu that shows the config bits for a given device.
Lastly, you can also look at the PIC-C .H file located in your PIC-C install directory in the "devices" subdirectory. The head of every .H file shows a quick list of fuses that the compiler supports for that device.
CHeers,
-Ben _________________ Dazed and confused? I don't think so. Just "plain lost" will do. :D |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19513
|
|
Posted: Tue Mar 08, 2011 8:57 am |
|
|
and as one other extra bit of data, if you look at the bottom of the .lst file generated when you compile the program, you get a couple of lines 'Configuration fuses', with the CCS names, and against them, the word pattern that results.
Best Wishes |
|
|
|