|
|
View previous topic :: View next topic |
Author |
Message |
Guest
|
Compiler errors PCM |
Posted: Mon Jul 21, 2008 12:29 pm |
|
|
Hi
I get this error when compiling.
"
Executing: "C:\Program Files\PICC\Ccsc.exe" +FM "main.c" +DF +LN +T +A +M +Z +Y=9 +EA
*** Error 111 "main.c" Line 2(7,40): Unknown keyword in #FUSES "NOPROTECT)"
1 Errors, 0 Warnings.
"
For some strange reason my preprocessors look like this
Code: | #include <16F690.h>
#fuses NOWDT,INTRC_IO,NOPUT, NOPROTECT)
#use delay (clock=4000000)
#use rs232(baud=2400,parity=N,xmit=PIN_B7,rcv=PIN_B5,bits=9) |
and header file(s) looks like this (Don't know why)
"
//////// Standard Header file for the PIC16F690 device ////////////////
#device PIC16F690
#nolist
//////// Program memory: 4096x14 Data RAM: 253 Stack: 8
-------snip--------
long CCP_1;
#byte CCP_1 = 0x15
#byte CCP_1_LOW= 0x15
#byte CCP_1_HIGH= 0x16
------snip--------
#define COMP_T1_GATE 0x2000000
#bit C1OUT = 0x11B.7
#bit C2OUT = 0x11B.6
////////////////////////////////////////////////////////////////// VREF
// Constants used in setup_vref() are:
------snip--------
#define INT_RB7 0x1800B08
#list
It seems that all of a sudden the header files changed ??
regards |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Mon Jul 21, 2008 1:13 pm |
|
|
Quote: | #fuses NOWDT,INTRC_IO,NOPUT, NOPROTECT) |
The problem is obvious. You have an extra character on the #fuses line.
Please learn to fix these problems. |
|
|
Guest
|
|
Posted: Mon Jul 21, 2008 3:47 pm |
|
|
sorry for asking a stupid question.
|
|
|
|
|
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
|