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.
Compiler ERROR PIC18F57Q84
-
seokgi
- Posts: 227
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 03, 2020 1:43 pm
- Has thanked: 8 times
- Been thanked: 8 times
-
medelec35
- Valued Contributor
- Posts: 2276
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 709 times
- Been thanked: 771 times
Re: Compiler ERROR PIC18F57Q84
Hello.
Flowcode v11 does indeed support PIC18F57Q84, but the default compiler does not.
I believe PIC18F57Q84 was added in xc8 2.20 and the default xc8 used in Flowcode is 2.10
It is very easy for you to fix this.
Follow the top section (option 1) of this wiki page.
Flowcode v11 does indeed support PIC18F57Q84, but the default compiler does not.
I believe PIC18F57Q84 was added in xc8 2.20 and the default xc8 used in Flowcode is 2.10
It is very easy for you to fix this.
Follow the top section (option 1) of this wiki page.
Martin