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 CCS Technical Support

FUSES NOT WORKING

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



Joined: 10 Aug 2013
Posts: 13
Location: bangalore

View user's profile Send private message

FUSES NOT WORKING
PostPosted: Wed Oct 22, 2014 5:16 am     Reply with quote

Hi, all,
I have a problem to set the configuration bits(WDT, PROTECT, PLL).
Even I included the Fuses in my code, when I build the project there is no effect on the configuration bits, by default it is selecting MCLR, INTERNAL OSCILLATOR and all other bits are disabled, whenever I want to send the code to my target I manually setting the configuration bits.

Please anybody tell me what will be the problem persist in my code



SURESH
temtronic



Joined: 01 Jul 2010
Posts: 9245
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Wed Oct 22, 2014 5:20 am     Reply with quote

If you're using MPLAB, there's an 'option' in the programming window to use the fuse configuration in your program and NOT the ones in MPLAB.

When posting questions like this you should say what programmer you're using and IDE. The more information you supply the better we can help.

jay
SSURESHREDDY



Joined: 10 Aug 2013
Posts: 13
Location: bangalore

View user's profile Send private message

FUSES NOT WORKING
PostPosted: Wed Oct 22, 2014 5:43 am     Reply with quote

Thanks jay,
I am using MPLAB v8.91 and CCS C Compiler V4.114,
Yes, there is an option to set the device configuration bits manually, but the FUSES are not selecting the configuration, after build the project again I am doing manually, why the bits are not configuring according to the FUSES.


SURESH
Ttelmah



Joined: 11 Mar 2010
Posts: 19549

View user's profile Send private message

PostPosted: Wed Oct 22, 2014 6:48 am     Reply with quote

Probably DEBUG.

You need to ensure you select 'RELEASE' build, in MPLAB. Otherwise fuses like WDT, which interfere with debugging, are overridden.

Project
Build Configuration
Release.
SSURESHREDDY



Joined: 10 Aug 2013
Posts: 13
Location: bangalore

View user's profile Send private message

PostPosted: Fri Oct 24, 2014 1:02 am     Reply with quote

Maybe the problem is with Build Configuration settings,
Present with my existing project build configuration settings are not activated, it is showing no build configurations. Please tell me whats the problem with the MPLAB or compiler version.


SURESH
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Oct 24, 2014 1:15 am     Reply with quote

Quote:
I am using MPLAB v8.91
it is showing no build configurations.

See this post:
http://www.ccsinfo.com/forum/viewtopic.php?t=50053&start=4
Solution: install the CCS plugin.
SSURESHREDDY



Joined: 10 Aug 2013
Posts: 13
Location: bangalore

View user's profile Send private message

PostPosted: Fri Oct 24, 2014 1:40 am     Reply with quote

Yeah, Thanks to all,
Problem is fixed,
I reinstalled the CCS plugin and I commented the #DEVICE ICD= TRUE in my code. Its working now.
once again thanks to all,


SURESH
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