Compiling issues

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

Moderator: Benj

Post Reply
Lord Grezington
Flowcode V4 User
Posts: 288
Joined: Wed Nov 02, 2011 11:15 pm
Has thanked: 29 times
Been thanked: 30 times
Contact:

Compiling issues

Post by Lord Grezington »

Hello All

I was out at the customer this week and installed flowcode onto the laptop with a program I did from the office desktop. I then got compiling errors, and to get rid of them I had to cut back the code by a very large proportion. So much so that I could only demponstrate the bare basic's of the program.

The compiling errors are below, can anyone let me know what wwnet wrong and how I can make sure this does not happen again in the future?

Thanks

using updated 32-bit floating-point libraries; improved accuracy might increase code size
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC\PIC_CAL_IO.c: 216: non-reentrant function "_FC_CAL_Port_In_DDR__x" appears in multiple call graphs and has been duplicated by the compiler
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC\PIC_CAL_Delay.c: 85: non-reentrant function "_delay_us" appears in multiple call graphs and has been duplicated by the compiler
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC\PIC_CAL_ADC.c: 6518: non-reentrant function "_FC_CAL_ADC_Enable" appears in multiple call graphs and has been duplicated by the compiler
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC\PIC_CAL_ADC.c: 6717: non-reentrant function "_FC_CAL_ADC_Sample" appears in multiple call graphs and has been duplicated by the compiler
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC\PIC_CAL_ADC.c: 6740: non-reentrant function "_FC_CAL_ADC_Disable" appears in multiple call graphs and has been duplicated by the compiler
POC V2.7.c: 1106: non-reentrant function "_FCD_03d92_led_base__TurnOn" appears in multiple call graphs and has been duplicated by the compiler
POC V2.7.c: 1124: non-reentrant function "_FCD_03d92_led_base__TurnOff" appears in multiple call graphs and has been duplicated by the compiler
POC V2.7.c: 4550: non-reentrant function "_FCD_08f41_adc_base__GetInt" appears in multiple call graphs and has been duplicated by the compiler
C:\PROGRA~2\Flowcode\Common\COMPIL~1\pic\sources\common\flge.c: 4: non-reentrant function "___flge" appears in multiple call graphs and has been duplicated by the compiler
C:\PROGRA~2\Flowcode\Common\COMPIL~1\pic\sources\common\lwdiv.c: 8: non-reentrant function "___lwdiv" appears in multiple call graphs and has been duplicated by the compiler
POC V2.7.c: 3832: (1257) local variable "_FCR_RETVAL" is used but never given a value (warning)
0: (1347) can't find 0x24 words (0x24 withtotal) for psect "text63" in class "CODE" (largest unused contiguous range 0xC)
updated 32-bit floating-point routines might trigger "can't find space" messages appearing after updating to this release; consider using the smaller 24-bit floating-point types

0: (1347) can't find 0x20 words (0x20 withtotal) for psect "text28" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x20 words (0x20 withtotal) for psect "text39" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x20 words (0x20 withtotal) for psect "text43" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x20 words (0x20 withtotal) for psect "text55" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x20 words (0x20 withtotal) for psect "text77" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x1E words (0x1e withtotal) for psect "text11" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x1E words (0x1e withtotal) for psect "text42" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x1E words (0x1e withtotal) for psect "text47" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x1E words (0x1e withtotal) for psect "text56" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x1C words (0x1c withtotal) for psect "text35" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x18 words (0x18 withtotal) for psect "text45" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x18 words (0x18 withtotal) for psect "text50" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x16 words (0x16 withtotal) for psect "text44" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x16 words (0x16 withtotal) for psect "text49" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x16 words (0x16 withtotal) for psect "text82" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x14 words (0x14 withtotal) for psect "text9" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0x10 words (0x10 withtotal) for psect "text12" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0xE words (0xe withtotal) for psect "text7" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0xE words (0xe withtotal) for psect "text10" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0xE words (0xe withtotal) for psect "text25" in class "CODE" (largest unused contiguous range 0xC)
0: (1347) can't find 0xA words (0xa withtotal) for psect "idataBANK1" in class "CODE" (largest unused contiguous range 0x0)
0: (1347) can't find 0xA words (0xa withtotal) for psect "text16" in class "CODE" (largest unused contiguous range 0x0)
0: (1347) can't find 0xA words (0xa withtotal) for psect "text65" in class "CODE" (largest unused contiguous range 0x0)
0: (1347) can't find 0xA words (0xa withtotal) for psect "text66" in class "CODE" (largest unused contiguous range 0x0)
0: (1347) can't find 0xA words (0xa withtotal) for psect "text67" in class "CODE" (largest unused contiguous range 0x0)
0: (1347) can't find 0xA words (0xa withtotal) for psect "text68" in class "CODE" (largest unused contiguous range 0x0)
0: (1347) can't find 0xA words (0xa withtotal) for psect "text78" in class "CODE" (largest unused contiguous range 0x0)
0: (1347) can't find 0xA words (0xa withtotal) for psect "text79" in class "CODE" (largest unused contiguous range 0x0)
0: (1347) can't find 0x8 words (0x8 withtotal) for psect "text15" in class "CODE" (largest unused contiguous range 0x0)
0: too many errors (31)
(908) exit status = 1
(908) exit status = 1

Error returned from [xc8.exe]

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Compiling issues

Post by Benj »

I think that's saying your out of ROM.

What device are you using?

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Compiling issues

Post by medelec35 »

I had a huge program that uses a load of bitmaps on a touch gLCD.
Not had issues with PIC18F27K40
It runs really well at 48MHz internal osc (can go up to 64MHz)/
Try changing your target device to that chip.
Martin

Post Reply