8 bit PIC microcontroller (876) syntax error

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
ramkrish
Posts: 1
Joined: Fri Jun 23, 2023 9:58 am

8 bit PIC microcontroller (876) syntax error

Post by ramkrish »

dear sir

I am using flow code v8.2.2.15 professional version, and I am using XC8 pro mode compiler, and when ever I a am trying to compile a project its showing (876) syntax error, but actually it was not a syntax error, and the program memory consumed is 72 percent, if I compiled the old program exactly it is compiling without any error, but when ever I try to add few blocks in the program and compile it is giving the error like below

for the same program previously i didn't face any problem even though the code memory goes up to 90 percent even,

but recently i am getting this kind of error

please help me to resolve this


Target folder: E:\AASHRITHA PROJECT FLOW CODE
Source name: E:\AASHRITHA PROJECT FLOW CODE\AASHRITHA PROJECT G+7.fcfx
Title:
Description:
Device: PIC.16F.16F18877
Generated by: Flowcode v8.2.2.15
Date: Friday, June 23, 2023 14:35:04
Users: 1
Registered to: Ramakrishnan
License key: xxxxxx
https://www.matrixtsl.com
Launching the compiler...
C:\Program Files (x86)\Flowcode\Common\Compilers\pic\batch\pic_xc8_comp.bat 16F18877 "E:\AASHRITHA PROJECT FLOW CODE\" "AASHRITHA PROJECT G+7"

E:\AASHRITHA PROJECT FLOW CODE>C:\PROGRA~2\Flowcode\Common\COMPIL~1\pic\batch\..\bin\xc8.exe --chip=16F18877 "AASHRITHA PROJECT G+7.c" --MSGDISABLE=359,1273,1388 --FLOAT=32 --DOUBLE=32
Microchip MPLAB XC8 C Compiler (Pro Mode) V1.45
Build date: Nov 15 2017
Part Support Version: 1.45
Copyright (C) 2017 Microchip Technology Inc.
License type: Node Configuration

AASHRITHA PROJECT G+7.c:
32822: #warning "This interrupt has previously been enabled, so the macro <TIMER1_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER1_INT> may never get called." (warning)
32835: #warning "This interrupt has previously been enabled, so the macro <TIMER3_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER3_INT> may never get called." (warning)
32861: #warning "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called." (warning)
32874: #warning "This interrupt has previously been enabled, so the macro <TIMER1_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER1_INT> may never get called." (warning)
32900: #warning "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called." (warning)
32926: #warning "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called." (warning)
32939: #warning "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called." (warning)
32952: #warning "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called." (warning)
32965: #warning "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called." (warning)
32978: #warning "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called." (warning)
33004: #warning "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called." (warning)
33017: #warning "This interrupt has previously been enabled, so the macro <TIMER6_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER6_INT> may never get called." (warning)
33030: #warning "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called." (warning)
33043: #warning "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called." (warning)
33056: #warning "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called." (warning)
33069: #warning "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called." (warning)
33082: #warning "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER4_INT> may never get called." (warning)
33095: #warning "This interrupt has previously been enabled, so the macro <TIMER6_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER6_INT> may never get called." (warning)
33108: #warning "This interrupt has previously been enabled, so the macro <TIMER6_INT> may never get called."
^ (162) #warning: "This interrupt has previously been enabled, so the macro <TIMER6_INT> may never get called." (warning)
AASHRITHA PROJECT G+7.c: FCM_SERV_SAFETY_CHECK()
8730: }
^ (350) unused label "FCC_SERV_SAFETY_CHECK_A" (from line 0) (warning)
^ (350) unused label "FCC_SERV_SAFETY_CHECK_D" (from line 0) (warning)
^ (350) unused label "FCC_SERV_SAFETY_CHECK_E" (from line 0) (warning)
AASHRITHA PROJECT G+7.c: FCM_ARD_MODE()
12497: }
^ (350) unused label "FCC_ARD_MODE_D" (from line 0) (warning)
. . . . . . . . . . . . . .

using updated 32-bit floating-point libraries; improved accuracy might increase code size
.

C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC\PIC_CAL_Delay.c: 105: non-reentrant function "_delay_ms" appears in multiple call graphs and has been duplicated by the compiler
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC\PIC_CAL_SPI.c: 285: non-reentrant function "_FC_CAL_SPI_Master_Byte_1" appears in multiple call graphs and has been duplicated by the compiler
AASHRITHA PROJECT G+7.c: 3757: non-reentrant function "_FCD_01532_cal_spi1__Master_Enable_CS" appears in multiple call graphs and has been duplicated by the compiler
AASHRITHA PROJECT G+7.c: 3942: non-reentrant function "_FCD_01532_cal_spi1__Master_Disable_CS" appears in multiple call graphs and has been duplicated by the compiler
AASHRITHA PROJECT G+7.c: 4147: non-reentrant function "_FCD_0e152_MCP23S17U7__WritePortPin" appears in multiple call graphs and has been duplicated by the compiler
AASHRITHA PROJECT G+7.c: 4170: non-reentrant function "_FCD_0e152_MCP23S17U7__WritePort" appears in multiple call graphs and has been duplicated by the compiler
AASHRITHA PROJECT G+7.c: 4298: non-reentrant function "_FCD_0e152_MCP23S17U7__ReadRegister" appears in multiple call graphs and has been duplicated by the compiler
AASHRITHA PROJECT G+7.c: 4326: non-reentrant function "_FCD_0e152_MCP23S17U7__WriteRegister" appears in multiple call graphs and has been duplicated by the compiler
AASHRITHA PROJECT G+7.c: 4402: non-reentrant function "_FCD_01531_cal_spi1__Master_Enable_CS" appears in multiple call graphs and has been duplicated by the compiler
AASHRITHA PROJECT G+7.c: 4587: non-reentrant function "_FCD_01531_cal_spi1__Master_Disable_CS" appears in multiple call graphs and has been duplicated by the compiler
AASHRITHA PROJECT G+7.c: 4815: non-reentrant function "_FCD_0e151_MCP23S17U6__WritePort" appears in multiple call graphs and has been duplicated by the compiler
AASHRITHA PROJECT G+7.c: 4943: non-reentrant function "_FCD_0e151_MCP23S17U6__ReadRegister" appears in multiple call graphs and has been duplicated by the compiler
AASHRITHA PROJECT G+7.c: 4971: non-reentrant function "_FCD_0e151_MCP23S17U6__WriteRegister" appears in multiple call graphs and has been duplicated by the compiler
. . . . . . . . . . . . . . . .

AASHRITHA PROJECT G+7.as: 12184: (876) syntax error
AASHRITHA PROJECT G+7.as: 12188: (876) syntax error
(908) exit status = 1
(908) exit status = 1

Error returned from [xc8.exe]

C:\Program Files (x86)\Flowcode\Common\Compilers\pic\batch\pic_xc8_comp.bat reported error code 1

Autoclose turned off


FINISHED

chipfryer27
Valued Contributor
Valued Contributor
Posts: 784
Joined: Fri Jun 06, 2014 3:53 pm
Has thanked: 186 times
Been thanked: 205 times

Re: 8 bit PIC microcontroller (876) syntax error

Post by chipfryer27 »

Hi

If you post your chart we may be able to help.

Regards

Post Reply