View previous topic :: View next topic |
Author |
Message |
PICoHolic
Joined: 04 Jan 2005 Posts: 224
|
Missing #FUSES !?! |
Posted: Tue Aug 18, 2009 2:03 am |
|
|
Hi
PCWHD v:4.097
PIC18F2431
INTRC_IO is not present anymore and it gives the following error: Unknown keyword in #FUSES "INTRC_IO"
PCWHD v:4.097
PIC18F87J50
H4_SW is not present anymore and it gives the following error: Unknown keyword in #FUSES "H4_SW"
Is there any alternatives?
Thanks |
|
|
FvM
Joined: 27 Aug 2008 Posts: 2337 Location: Germany
|
|
Posted: Tue Aug 18, 2009 2:53 am |
|
|
Don't know what's the motivation at CCS to arbitrarily rename #fuses keywords from time to time?
The said #fuses still exist, but got new names. |
|
|
PICoHolic
Joined: 04 Jan 2005 Posts: 224
|
|
Posted: Tue Aug 18, 2009 3:05 am |
|
|
What new names? |
|
|
FvM
Joined: 27 Aug 2008 Posts: 2337 Location: Germany
|
|
Posted: Tue Aug 18, 2009 4:04 am |
|
|
There's a Valid Fuses info menu and an informational comment in the respective *.h file. |
|
|
PICoHolic
Joined: 04 Jan 2005 Posts: 224
|
|
Posted: Tue Aug 18, 2009 5:08 am |
|
|
Yeah, I checked that but couldn't find any replacement for INTRC_IO for ex.
Thanks |
|
|
FvM
Joined: 27 Aug 2008 Posts: 2337 Location: Germany
|
|
Posted: Tue Aug 18, 2009 8:49 am |
|
|
I checked the V4.097 devices.dat by the Chipedit Tool and found, that the INTRC_IO entry(mask=0f00 value=0800 CW=1) is now missing for PIC18F2331. So it's actually a newly introduced CCS bug. Sorry for previously misleading you.
You can add the fuse entry to devices.dat by Chipedit again. |
|
|
PICoHolic
Joined: 04 Jan 2005 Posts: 224
|
|
Posted: Tue Aug 18, 2009 9:01 am |
|
|
Thanks, i did that.
Btw, what does CW means?
Thanks again |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Tue Aug 18, 2009 9:32 am |
|
|
I think CCS has a program that automatically generates the .H files
from the Devices4.dat file. I suspect that they are doing changes to
prepare for the vs. 4.100 release. (And causing new bugs ).
You should report the bugs to CCS support. |
|
|
PICoHolic
Joined: 04 Jan 2005 Posts: 224
|
|
Posted: Tue Aug 18, 2009 9:44 am |
|
|
I already did. No reply yet! |
|
|
FvM
Joined: 27 Aug 2008 Posts: 2337 Location: Germany
|
|
Posted: Tue Aug 18, 2009 1:10 pm |
|
|
CW (the abbreviation used in the CCS Chipeditor Tool) means configuration word. |
|
|
kidswizz
Joined: 21 Feb 2013 Posts: 16
|
|
Posted: Fri Feb 22, 2013 7:52 am |
|
|
Hi I have the same problem. How can I fix this? |
|
|
ezflyr
Joined: 25 Oct 2010 Posts: 1019 Location: Tewksbury, MA
|
|
Posted: Fri Feb 22, 2013 8:28 am |
|
|
Hi,
Really? In your prior thread you were using the PIC 16F648A, and now you
are using a 18F series PIC? Are you really using the v4.097 compiler?
Seriously, saying "I have the same problem" tacked onto a 4 year old thread
is kind of pointless. Tell us specifically what chip you are using, what
compiler version you are using, and what is the exact error you are getting.
John |
|
|
kidswizz
Joined: 21 Feb 2013 Posts: 16
|
|
Posted: Tue Feb 26, 2013 6:08 pm |
|
|
Hello John,
It was actually the compiler version that was the problem. Thanks for the reply |
|
|
|