hello everybody,
before format my PC, my code worked well and the compilator too
after I installed all my programs (same programs) on my fresh windows, I got a error that I don't understand why...
this is my code simplified :
Code:
#CONFIG
CONFIG PLLSEL = PLL3X ;3x clock multiplier
CONFIG CFGPLLEN = ON ;PLL Disabled (firmware controlled)
CONFIG CPUDIV = NOCLKDIV ;CPU uses system clock (no divide)
CONFIG LS48MHZ = SYS48X8 ;System clock at 48 MHz, USB clock divider is set to 8
CONFIG FOSC = INTOSCIO ;HS oscillator, high power 16MHz to 25MHz
CONFIG PCLKEN = OFF ;Primary oscillator enabled
CONFIG FCMEN = OFF ;Fail-Safe Clock Monitor disabled
CONFIG IESO = OFF ;Oscillator Switchover mode disabled
CONFIG nPWRTEN = OFF ;Power up timer enabled
CONFIG BOREN = OFF ;BOR controlled by firmware (SBOREN is enabled)
CONFIG BORV = 285 ;BOR set to 1.9V nominal
CONFIG nLPBOR = OFF ;Low-Power Brown-out Reset disabled
CONFIG WDTEN = ON ;WDT enabled in hardware (SWDTEN ignored)
CONFIG WDTPS = 512 ;1:512
CONFIG CCP2MX = RC1 ;CCP2 input/output is multiplexed with RC1
CONFIG PBADEN = OFF ;PORTB<5:0> pins are configured as digital I/O on Reset
CONFIG T3CMX = RC0 ;T3CKI function is on RC0
CONFIG SDOMX = RB3 ;SDO function is on RB3
CONFIG MCLRE = ON ;MCLR pin enabled; RE3 input disabled
CONFIG STVREN = ON ;Stack full/underflow will cause Reset
CONFIG LVP = OFF ;Single-Supply ICSP disabled
CONFIG XINST = OFF ;Instruction set extension and Indexed Addressing mode disabled
#ENDCONFIG
DEFINE OSC 48
OSCCON = %01110000 'OSCint = 16Mhz
OSCCON2 = %00010000
ACTCON = %10010000
ProgramStart:
clearwdt
goto programstart
with this code, I got a config directive error

and the error file :

someboby can help me to resolve this error?
thanks
Bookmarks