Compiler ERROR PIC18F57Q84
Posted: Sun May 03, 2026 4:50 am
C:\Share_KDT2\!Project_Ing\Smart_Farm\260323-Motor_Feed_Back_Current_Dectect\V002_Motor_Feed_Back_ACS712\Program>REM DIR: FCD\PIC\batch\pic_xc8_comp.bat
C:\Share_KDT2\!Project_Ing\Smart_Farm\260323-Motor_Feed_Back_Current_Dectect\V002_Motor_Feed_Back_ACS712\Program>"C:\Program Files (x86)\Flowcode\Compilers\picv2\bin\xc8.exe" --chip=18F57Q84 "260502-18F57Q84-1.c" --double=32 --float=32 --msgdisable=359,1273,1388
C:\Program Files (x86)\Flowcode\Compilers\picv2\pic\bin\picc18 --chip=18F57Q84 260502-18F57Q84-1.c --double=32 --float=32 --msgdisable=359,1273,1388
Microchip MPLAB XC8 C Compiler V2.10
Build date: Jul 30 2019
Part Support Version: 2.10
Copyright (C) 2019 Microchip Technology Inc.
C:\Share_KDT2\!Project_Ing\Smart_Farm\260323-Motor_Feed_Back_Current_Dectect\V002_Motor_Feed_Back_ACS712\Program\260502-18F57Q84-1.h:
42: #pragma config FCMENP = 0
^ (1363) unknown configuration setting/register (FCMENP = 0) used
43: #pragma config FCMENS = 0
^ (1363) unknown configuration setting/register (FCMENS = 0) used
55: #pragma config XINST = 0
^ (1504) the PIC18 extended instruction set was enabled but is not supported by this compiler
63: #pragma config DEBUG = 0
^ (1363) unknown configuration setting/register (DEBUG = 0) used
. .
(908) exit status = -1073741819
(908) exit status = 1
Error returned from [xc8.exe]
C:\ProgramData\MatrixTSL\FlowcodeV11\FCD\PIC\batch\pic_xc8_comp.bat reported error code 0x1
Autoclose turned off
FINISHED
MCU : PIC18F57Q84(This is supported by FC11.)
After looking into it through various methods, I learned that the compiler version must be supported. It is said that this version does not properly support register values. Microchip's latest version is XC8 3.10. The FC11 supports XC8 2.1. Several versions exist in between.
Thank you.
C:\Share_KDT2\!Project_Ing\Smart_Farm\260323-Motor_Feed_Back_Current_Dectect\V002_Motor_Feed_Back_ACS712\Program>"C:\Program Files (x86)\Flowcode\Compilers\picv2\bin\xc8.exe" --chip=18F57Q84 "260502-18F57Q84-1.c" --double=32 --float=32 --msgdisable=359,1273,1388
C:\Program Files (x86)\Flowcode\Compilers\picv2\pic\bin\picc18 --chip=18F57Q84 260502-18F57Q84-1.c --double=32 --float=32 --msgdisable=359,1273,1388
Microchip MPLAB XC8 C Compiler V2.10
Build date: Jul 30 2019
Part Support Version: 2.10
Copyright (C) 2019 Microchip Technology Inc.
C:\Share_KDT2\!Project_Ing\Smart_Farm\260323-Motor_Feed_Back_Current_Dectect\V002_Motor_Feed_Back_ACS712\Program\260502-18F57Q84-1.h:
42: #pragma config FCMENP = 0
^ (1363) unknown configuration setting/register (FCMENP = 0) used
43: #pragma config FCMENS = 0
^ (1363) unknown configuration setting/register (FCMENS = 0) used
55: #pragma config XINST = 0
^ (1504) the PIC18 extended instruction set was enabled but is not supported by this compiler
63: #pragma config DEBUG = 0
^ (1363) unknown configuration setting/register (DEBUG = 0) used
. .
(908) exit status = -1073741819
(908) exit status = 1
Error returned from [xc8.exe]
C:\ProgramData\MatrixTSL\FlowcodeV11\FCD\PIC\batch\pic_xc8_comp.bat reported error code 0x1
Autoclose turned off
FINISHED
MCU : PIC18F57Q84(This is supported by FC11.)
After looking into it through various methods, I learned that the compiler version must be supported. It is said that this version does not properly support register values. Microchip's latest version is XC8 3.10. The FC11 supports XC8 2.1. Several versions exist in between.
Thank you.