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

PIC24HJ #fuses options

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



Joined: 28 Mar 2008
Posts: 2

View user's profile Send private message

PIC24HJ #fuses options
PostPosted: Mon Mar 31, 2008 7:35 am     Reply with quote

I can't find the configuration settings for the C30, C18 shows all the options for the PIC18 devices, any similar list for the PIC24s or is it all the same?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Mar 31, 2008 2:31 pm     Reply with quote

I don't have the PCD compiler, but normally the include files (.H) for
each PIC have the list of available fuses at the start of the file.
Look in this directory:
Quote:
c:\Program Files\picc\Devices


For example, the 16F877.H file has these lines in it:
Code:
// Fuses: LP,XT,HS,RC,NOWDT,WDT,NOPUT,PUT,PROTECT,PROTECT_5%
// Fuses: PROTECT_50%,NOPROTECT,NOBROWNOUT,BROWNOUT,LVP,NOLVP,CPD
// Fuses: NOCPD,WRT,NOWRT,DEBUG,NODEBUG
mickent



Joined: 18 Feb 2007
Posts: 22
Location: TN, USA

View user's profile Send private message

PostPosted: Mon Mar 31, 2008 6:49 pm     Reply with quote

C30 and C18 are the names of Microchip compiliers. CCS compilers are PCM, PCD, PCW etc. Are you in the right forum?
In PCW the valid fuse list can be found under "View", "valid fuses". Set your chip number at the top.
Microchip forum: http://forum.microchip.com/default.aspx
_________________
Mick
nickpnh



Joined: 28 Mar 2008
Posts: 2

View user's profile Send private message

PCW related to MPLAB
PostPosted: Mon Mar 31, 2008 7:28 pm     Reply with quote

I know the fuses are all listed in the header file but I don't know what they all mean. I know they should be available in the PCW with an explanation but I don't know how to open/invoke that. I purchased PIC MCU compiler and installed it. My vendor tied it together with MPLAB IDE so that MPLAB uses the PIC MCU compiler (I believe this is how it is working).

I am jumping into co-development in an arena I am inexperienced with. He says I only need to write the functional C code and not worry about the back-end BUT I want to understand it all.

So with things installed the way they are, I should be able to invoke PCW but can't figure out how. My laptop has PICC LITE options that let me choose a device but that just opens the header file - again with no explanation of the fuses.

I am more comfortable in Linux/Unix than windows for solving tool issues.
HELP!!!
_________________
What is this thing? I mean there's no useful purpose for there to be a bunch of choppy, crushy things in the middle of a hallway!
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Mar 31, 2008 8:24 pm     Reply with quote

http://www.ccsinfo.com/forum/viewtopic.php?t=32876
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