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

PIC18F4550 Configuration bits?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Tom-H-PIC



Joined: 08 Sep 2003
Posts: 105
Location: New Castle, DE

View user's profile Send private message

PIC18F4550 Configuration bits?
PostPosted: Tue Mar 08, 2011 8:20 am     Reply with quote

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

View user's profile Send private message

PostPosted: Tue Mar 08, 2011 8:41 am     Reply with quote

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: 19569

View user's profile Send private message

PostPosted: Tue Mar 08, 2011 8:57 am     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group