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

Setting configuration fuses manually on PIC24 [how-to]

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







Setting configuration fuses manually on PIC24 [how-to]
PostPosted: Fri Feb 12, 2010 5:26 am     Reply with quote

Hi

I was not able to find this information on the forum, so I thought I would post it here. (from CCS support)

Code:
// First, you need to tell the compiler to stop using any default values like this:

#fuses NONE

// Then you use #rom to place the word at the right value:

#rom CW1={value}
#rom CW2={value}
#rom CW3={value}

//Use #define to give CW1, CW2 and CW3 the correct address.
Oli
Guest







update in PCD 4.099
PostPosted: Mon Jun 07, 2010 2:33 am     Reply with quote

The above doesn't work any more - I have been advised by CCS that this is now the correct way:


Code:
#fuses  1=0xFFFF
#fuses  2=0x207E
#fuses  3=0x3F7F
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