View previous topic :: View next topic |
Author |
Message |
SSURESHREDDY
Joined: 10 Aug 2013 Posts: 13 Location: bangalore
|
FUSES NOT WORKING |
Posted: Wed Oct 22, 2014 5:16 am |
|
|
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: 9226 Location: Greensville,Ontario
|
|
Posted: Wed Oct 22, 2014 5:20 am |
|
|
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
|
FUSES NOT WORKING |
Posted: Wed Oct 22, 2014 5:43 am |
|
|
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: 19515
|
|
Posted: Wed Oct 22, 2014 6:48 am |
|
|
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
|
|
Posted: Fri Oct 24, 2014 1:02 am |
|
|
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
|
|
|
SSURESHREDDY
Joined: 10 Aug 2013 Posts: 13 Location: bangalore
|
|
Posted: Fri Oct 24, 2014 1:40 am |
|
|
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 |
|
|
|