pic 16f1939

An area to discuss 8-bit PIC specific problems and examples

Moderator: Benj

Post Reply
anugani12
Posts: 17
Joined: Wed Apr 26, 2017 8:36 am
Been thanked: 3 times
Contact:

pic 16f1939

Post 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
Attachments
test.fcfx
(10.18 KiB) Downloaded 276 times

linktech
Posts: 27
Joined: Wed Aug 17, 2016 5:03 pm
Been thanked: 1 time
Contact:

Re: pic 16f877a

Post 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
Attachments
My Sample I2C.fcfx
(8.34 KiB) Downloaded 269 times

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: pic 16f1939

Post 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.

anugani12
Posts: 17
Joined: Wed Apr 26, 2017 8:36 am
Been thanked: 3 times
Contact:

Re: pic 16f1939

Post 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

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: pic 16f1939

Post 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.

Post Reply