FC10 COMPILE ERROR

For general Flowcode discussion that does not belong in the other sections.
Post Reply
SILVESTROS
Posts: 124
http://meble-kuchenne.info.pl
Joined: Tue Dec 13, 2022 9:04 pm
Has thanked: 32 times
Been thanked: 2 times

FC10 COMPILE ERROR

Post by SILVESTROS »

Hello,
when I try to compile a code (Test3) in FC10 using component Storage > File > CSV Read/Write, I get an ERROR...

Microchip MPLAB XC8 C Compiler V2.10
Build date: Jul 30 2019
Part Support Version: 2.10
Copyright (C) 2019 Microchip Technology Inc.
Employing 18F458 errata work-arounds:
* Address 4000h boundary
* Faulty table reads at -40 degrees C
* GOTO instruction at reset vector must be preceded by NOP
* Peripherals can misbehave if BSR = 15
* DAW instruction may improperly clear CARRY bit
* Writes to flash must target opposite side of 4000h boundary
C:\Users\30690\Documents\FLOWCODE9-HELP\TEST3.h:
36: __config("__PROG_CONFIG", "pic18", 0x3, 0xFFFF);
^ (0) Can't find config word 3 used in in __PROG_CONFIG() (warning)
TEST3.c: 547: (1250) could not find space (1000 bytes) for variable _FCL_APPENDEDDATA
(908) exit status = 1
(908) exit status = 1

Error returned from [xc8.exe]

C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC\batch\pic_xc8_comp.bat reported error code 0x1

Autoclose turned off

pic programmer ..PICKIT3.
chip..PIC18F458...
I get this error only with CSV Read/Wright component...any help?
Attachments
TEST3.fcfx
(12.08 KiB) Downloaded 193 times

BenR
Matrix Staff
Posts: 1952
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 510 times
Been thanked: 698 times

Re: FC10 COMPILE ERROR

Post by BenR »

Hello,

There was a local variable inside the CSV component causing problems and trying to claim too much memory. I have now found a way to remove this variable altogether and pushed the change to the library update system.

Also here is a slightly modified version of your program, you were missing the component to provide the file and so I have added the FAT component for you.
TEST3.fcfx
(13.67 KiB) Downloaded 128 times
The warning about the config setting is interesting, let us know if you have any problems running on hardware and I'll look into it for you.

Post Reply