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

PCH #fuses vs. MPLAB Configuration Bits

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



Joined: 13 May 2004
Posts: 90
Location: Nashville, TN

View user's profile Send private message Send e-mail Visit poster's website

PCH #fuses vs. MPLAB Configuration Bits
PostPosted: Mon Aug 16, 2004 11:29 am     Reply with quote

I just used a Microchip ICD2 to program a chip with a program I wrote and compiled in PCW. The C source has a #fuses directive, but I started wondering: does the #fuses directive have any effect on the program at all if I program the device using MPLAB? Or, does MPLAB's "Configuration Bits" dialog take care of that? That is, is the #fuses directive purely a CCS ICD construct?

--
Jeff S.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Aug 16, 2004 11:47 am     Reply with quote

Quote:
Does the #fuses directive have any effect on the program at all if
I program the device using MPLAB? Or, does MPLAB's "Configuration
Bits" dialog take care of that ? That is, is the #fuses directive purely a
CCS ICD construct?

The compiler puts the settings in #fuses statement into the config word
section of the HEX file, when you compile your source program.
When you use MPLAB to program a PIC, it reads the config bit settings
from the HEX file and loads them into the "Configuration Bits" dialog.
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