Hallo Leute,
ich brauch (mal wieder) eure Hilfe
bin gerade an einem Projekt mit einem PIC18F87K22.
In meinem C code steht folgendes:
/** Configuration ********************************************************/
#pragma config RETEN = ON //On-Chip Voltage Regulator
#pragma config SOSCSEL = DIG //SOSC Power Selection and mode Configuration bits
#pragma config XINST = ON //!!!!!!!!PRÜFEN!!!!!!!! Extended Instruction Set
#pragma config FOSC = EC3 //EC oscillator (High power, 16 MHz - 64 MHz)
#pragma config PLLCFG = OFF //PLL x4 Disabled
#pragma config FCMEN = OFF //Fail-Safe Clock Monitor
#pragma config IESO = OFF //Internal External Oscillator Switch Over Mode
#pragma config PWRTEN = OFF //PWRTEN = OFF
#pragma config BOREN = OFF //Brown Out Detect
#pragma config WDTEN = OFF //Watchdog Timer:
#pragma config RTCOSC = SOSCREF //RTCC Clock Select (ext. Quarz)
#pragma config EASHFT = OFF //External Address Shift bit
#pragma config WAIT = OFF //External Bus Wait
#pragma config MCLRE = ON //Master Clear Enable
#pragma config STVREN = ON //Stack Overflow Reset
#pragma config WRTD = OFF //Data EE Write Protect
#pragma config CPD = OFF //Data EE Read Protect
So wenn ich nun den Compiler starten funktioniert das ohne Fehler, nur kommt folgende Fehlermeldung:
The Extended CPU Mode configuration bit is enabled, but the program that was loaded was not built using extended CPU instructions.
Therefore, your code may not work properly.
Hat jemand eine Ahnung wo ich noch suchen könnte?
PS: unter Configure => Configuration Bits... ist ein haken gesetzt wo steht Configuration Bits set in Code.
Besten Dank vorab
rising