FT813 GRAM usage questions

General discussion on mikroC PRO for FT90x.
Post Reply
Author
Message
PPK
Posts: 18
Joined: 08 Jan 2018 06:27

FT813 GRAM usage questions

#1 Post by PPK » 30 Jun 2018 03:33

Hi,

I have made quite a few screens and basically they work. Now when I start to add the occasional text or button onto the screens, the associated screen turns into a mess of torn up lines.
I'm told this is happening because I have run out of GRAM in the FT813.

1. How do I determine how much actual GRAM I have used in a project and how much is free?

2. Can I just load up the screens into the GRAM as they are required during the execution of the application?
I appreciate it might a short delay between new screen loads.

3. I'm using a 800*480 screen. The bulk of the information is coming from EVE components ie Lines and Text.
I'm using EVE text over the TextLabel due to a) The fonts are displayed better on the screen and b) I can Align (Centre)/Justify the text on a certain X,Y.
By default, when I use the MirkoC Screen Menu to Add a new screen to the project, the background defaults to a grey background. How much does this grey background take from the GRAM resources ie is it 800*480* 4 bytes ($005C5C5C = Grey color) 1536000 Bytes?
If I have a three Basic "Rounded Box"'s on the screen utilizing 100% of the screen, how much memory does this take up in the GRAM?

I need some feed back from Mikroe on how this all comes together with their compiler.

Thanks,
Neil.

P.S. I have asked the same question on the FTDI site with mixed results. http://www.ftdicommunity.com/index.php? ... opic=119.0
Basically, FTDI have the following to say.

Hello,

EVE Screen Designer:
http://www.ftdichip.com/Support/Utilities.htm#ESD4

and

EVE Screen Editor:
http://www.ftdichip.com/Support/Utiliti ... reenEditor

Will give you indications on how much RAM_DL and RAM_G is being used, this may be useful when trying to ascertain available RAM from a given screen.

Best Regards,
FTDI Community

User avatar
petar.suknjaja
mikroElektronika team
Posts: 683
Joined: 05 Mar 2018 09:44
Location: Belgrade

Re: FT813 GRAM usage questions

#2 Post by petar.suknjaja » 03 Jul 2018 15:45

Hi Neil,
As for our compilers - there isn't option to monitor the amount of memory used in GRAM.

Kind regards,
Petar

Post Reply

Return to “mikroC PRO for FT90x General”