EasyPIC7 - VisualGLCD project memory size

General discussion on Visual GLCD Software.
Post Reply
Author
Message
amalawi
Posts: 4
Joined: 07 May 2012 17:34

EasyPIC7 - VisualGLCD project memory size

#1 Post by amalawi » 29 Jul 2012 21:08

Hi,

I have EasyPIC7, mikroC compiler, and VisualGLCD program. I also have a GLCD project that contains 16 screens.

When I try to compile the project, It gives errors about 'No enough RAM' !?

and I do not see any indication about the requirements for the whole project (16 screens). how many bytes it needs (either ram or flash)

Should I use another PIC18, other than the one supplied with EP7 (PIC18F45k22)? Am I missing something here?
Regards,

Ala'a

User avatar
dejan.odabasic
mikroElektronika team
Posts: 2649
Joined: 30 Apr 2012 14:20

Re: EasyPIC7 - VisualGLCD project memory size

#2 Post by dejan.odabasic » 30 Jul 2012 10:38

Hello,

First thing which could significantly reduce RAM occupancy, is to use static property for all objects that will not change in run time.
If you have a constant object on the screen, set it's static property on true, and this object will be stored in ROM instead of RAM.

In order to see how many RAM is required for you project you will need to compile your project first, because there is no way of determining it before successful compiling.
You could select chip with more RAM memory in Project Settings window and then try to compile it. That way you can check will some other MCU suit the needs of your project.

Best regards.

amalawi
Posts: 4
Joined: 07 May 2012 17:34

Re: EasyPIC7 - VisualGLCD project memory size

#3 Post by amalawi » 31 Jul 2012 15:29

Thanks.

Post Reply

Return to “Visual GLCD General”