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 support@ccsinfo.com

CCS names for Fuses

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



Joined: 12 Aug 2007
Posts: 2
Location: Chicago

View user's profile Send private message Visit poster's website

CCS names for Fuses
PostPosted: Sun Aug 12, 2007 8:32 pm     Reply with quote

Code:

These are for the '690, but they cover a few more chips. It was fun ferreting out the functions of the fuses/configuration bits. Additions and corrections are requested!

"FUSES" (CCS names)
------------

OSCILLATOR
-------------
HS              high speed clock (external xtal)
XT              medium gain crystal or ceramic resonator
INTRC           8 MHZ Internal RC clock
                    OSC1=Gen Purpose I/O, OSC2=Fosc/4
INTRC_IO        8 MHZ Internal RC clock
                    OSC1 and OSC2 pins are normal I/O
LP              low power 32kHz crystal
EC              external clock with I/O on OSC2
EC_IO           same as EC_IO (?)
RC              external RC clock with Fosc/4 on OSC2
RC_IO           external RC clock with I/O on OSC2

FCMEN           failsafe clock monitor enabled
NOFCMEN         no FCMEN

IESO            Internal External Switchover
NOIESO
                Switchover means two-speed clock startup:
                1024 cycles at low speed, then go to external
                oscillator for high speed

------------------

SECURITY
---------
PROTECT         turn on code protect -
                    blocks reading of the MCU program
NOPROTECT       no code protect
CPD             data eeprom protect -
                    only cpu can access eeprom
NOCPD           no CPD protection

------------------

RESET
-------------

WDT             activate watchdog timer
NOWDT           no watchdog timer

BROWNOUT        enable brownout protection
NOBROWNOUT      no brownout protection
BROWNOUT_SW     enable software control (?) of brownout
BROWNOUT_NOSL   disable brownout sensing during sleep

PUT             power up timer enabled
NOPUT           power up timer disabled
--> PUT is enabled by default when BROWNOUT is enabled

MCLR            enable master clear (reset pin)
NOMCLR          reset pin is normal I/O (input ONLY)

ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Mon Aug 13, 2007 1:37 am     Reply with quote

A (short) description of all CCS fuse names can be found in C:\Program Files\PICC\fuses.txt
Ed_Bennett



Joined: 12 Aug 2007
Posts: 2
Location: Chicago

View user's profile Send private message Visit poster's website

CCS names for Fuses
PostPosted: Mon Aug 13, 2007 1:50 am     Reply with quote

That must be a version 4 thing. Good for CCS. I'm using 3.249.

-e

ckielstra wrote:
A (short) description of all CCS fuse names can be found in C:\Program Files\PICC\fuses.txt
Ttelmah
Guest







PostPosted: Mon Aug 13, 2007 2:12 am     Reply with quote

No. It is there even in the old 3.1xx compiler versions. Change 'PICC' for the directory where your compiler is installed, if you didn't use the defaults...

Best Wishes
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Aug 13, 2007 11:11 am     Reply with quote

The fuses.txt file only comes with the full IDE. You don't get it with
the command line compilers.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Aug 13, 2007 3:39 pm     Reply with quote

However, there is still a way to get it. It's included in the CCS demo.
http://www.ccsinfo.com/faq.php?page=compiler_demo
After installing it, the fuses.txt file is in this directory:
c:\Program Files\Picc

If you have the command line compiler, I would advise installing the
demo on a different PC, so it doesn't interfere with your existing compiler
installation. Even if you install it in a different directory, when you
un-install it, it can delete your crg files for your command line compiler.
See my post in this thread about this:
http://www.ccsinfo.com/forum/viewtopic.php?t=23835&highlight=crg+files+deletes
Installing the demo on a different PC eliminates this problem.
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