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

How to select fuses?

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



Joined: 24 Jun 2004
Posts: 285

View user's profile Send private message

How to select fuses?
PostPosted: Fri Jul 16, 2004 6:49 am     Reply with quote

for a 12f675 device there is
LP Low power osc < 200 khz
XT Crystal osc <= 4mhz
INTRC Internal RC Osc
HS High speed Osc (> 4mhz)
NOWDT No Watch Dog Timer
WDT Watch Dog Timer
CPD Data EEPROM Code Protected
NOCPD No EE protection
PROTECT Code protected from reads
NOPROTECT Code not protected from reading
NOMCLR Master Clear pin used for I/O
MCLR Master Clear pin enabled
PUT Power Up Timer
NOPUT No Power Up Timer
RC Resistor/Capacitor Osc with CLKOUT
EC External clock with CLKOUT
RC_IO Resistor/Capacitor Osc
INTRC_IO Internal RC Osc, no CLKOUT
BROWNOUT Reset when brownout detected
NOBROWNOUT No brownout reset

in the program, according to what to select them, for example, how do you know you to select INTRC, HS, XT? why select NO watchdog timer instead of watch dog timer, etc.?
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Fri Jul 16, 2004 7:04 am     Reply with quote

If you are asking HOW to specify which fuses, there are many examples on this board.
If you want to know WHY one would select certain fuses you should read the chip data sheet. For example XT and HS are determined by the clock source, whether it is an external logic clock or a crystal and if so what frequency crystal. Internally it controls the gain of the oscillator circuit.
One might choose NOWDT if the watchdog becomes annoying during debugging or if resetting the processor is not helpful. For example I believe some PICs are used for internal timing of some of the larger fireworks. It that case you want it to run or die trying. Resetting and trying again later is not an option because by then the shell will have fallen on somebody's head.
_________________
The search for better is endless. Instead simply find very good and get the job done.
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