View previous topic :: View next topic |
Author |
Message |
Ed_Bennett
Joined: 12 Aug 2007 Posts: 2 Location: Chicago
|
CCS names for Fuses |
Posted: Sun Aug 12, 2007 8:32 pm |
|
|
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
|
|
Posted: Mon Aug 13, 2007 1:37 am |
|
|
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
|
CCS names for Fuses |
Posted: Mon Aug 13, 2007 1:50 am |
|
|
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
|
|
Posted: Mon Aug 13, 2007 2:12 am |
|
|
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
|
|
Posted: Mon Aug 13, 2007 11:11 am |
|
|
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
|
|
Posted: Mon Aug 13, 2007 3:39 pm |
|
|
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. |
|
|
|