Page 1 of 1

pic 16f1939

Posted: Mon Oct 22, 2018 2:02 pm
by anugani12
Graphic display ssd1306 and esp8266 not working.

please give me the suggestion

. . . .

test.c: 863: (1250) could not find space (100 bytes) for variable _FCL_COMMAND
test.c: 1825: (1250) could not find space (100 bytes) for variable _FCL_COMMAND
(908) exit status = 1
(908) exit status = 1

C:\Program Files (x86)\Flowcode 7\compilers\pic\bin\xc8.exe reported error code 1



FINISHED

Re: pic 16f877a

Posted: Tue Oct 23, 2018 3:30 am
by linktech
Hi, i also have same issue when compile HEX file ,i was connected with I2C communication with LCD display 16x2

C:\Program Files (x86)\Flowcode 7\compilers\pic\bin\xc8.exe reported error code 1


need technical support

thanks

Re: pic 16f1939

Posted: Tue Oct 23, 2018 9:52 am
by Benj
Hello,
could not find space (100 bytes) for variable
The error message is saying you have run out of RAM on your target device. You need to use less variables or switch to a device with more RAM available onboard.

Some components e.g. the ESP8266 have a variable buffer you can alter via the component properties to increase or decrease the RAM usage.
i also have same issue when compile HEX file ,i was connected with I2C communication with LCD display 16x2
Your program was compiling correctly for me using Flowcode 7. Are you using v7.3 and then applied the updates from here.

viewtopic.php?f=63&t=19743

If your fully up to date and still having problems then please can you post your compiler messages to the forums so we can see the error messages your receiving.

Re: pic 16f1939

Posted: Wed Oct 24, 2018 8:57 am
by anugani12
http://www.matrixtsl.com
Launching the compiler...
C:\Program Files (x86)\Flowcode 7\compilers\pic\bin\xc8.exe --chip=16F1939 "v2.c" --MSGDISABLE=359,1273,1388
Microchip MPLAB XC8 C Compiler (Free Mode) V1.41
Build date: Jan 24 2017
Part Support Version: 1.41
Copyright (C) 2017 Microchip Technology Inc.
License type: Node Configuration

.

v2.c: 897: (1250) could not find space (100 bytes) for variable _FCL_COMMAND
v2.c: 1859: (1250) could not find space (100 bytes) for variable _FCL_COMMAND
(908) exit status = 1
(908) exit status = 1

C:\Program Files (x86)\Flowcode 7\compilers\pic\bin\xc8.exe reported error code 1



FINISHED

Re: pic 16f1939

Posted: Thu Oct 25, 2018 10:57 pm
by Benj
The LCD in your program uses 1K of RAM to store the display buffer this could explain the higher than expected RAM usage. There could be an unbuffered version of the component you could use but this may limit functionality.

However first try reducing the size of the Wifi component's receive buffer and scan buffer properties. Maybe try the receive buffer at 200 or 100.