FTDI Community

Please login or register.

Login with username, password and session length.
Advanced Search  

News:

Welcome to the FTDI Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ FTDI Support


New Bridgetek Community is now open

Please note that we have created the Bridgetek Community to discuss all Bridgetek products e.g. EVE, MCU.

Please follow this link and create a new user account to get started.

Bridgetek Community

Author Topic: FT81x and available free GRAM  (Read 763 times)

NW27

  • Newbie
  • *
  • Posts: 7
    • View Profile
FT81x and available free GRAM
« on: June 26, 2018, 11:25:49 PM »

Hi,
How can I determine how much available free GRAM I have in the FT81x GPU?
Is there a call to the GPU that I can perform that shows me some stats?

Thanks,
Neil.
Logged

Rudolph

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: FT81x and available free GRAM
« Reply #1 on: June 27, 2018, 01:02:53 PM »

There is no such info available, you need to keep track of GRAM in your application. For the FT8xx this is just a buffer and you tell it to put what where and from where to use it.

The only function I know that helps with that a bit is CMD_GETPTR which returns the end-address of the last data processed by CMD_INFLATE.
But for images that does not help much.
With a known resolution you already can calculate the size in GRAM.
And with some image loaded from somewhere like a SD-Card the uncompressed size is not really helpfull without the width, height and format.

A similar function would be CMD_GETPROPS for CMD_LOADIMAGE but this one does not return the end-address.
But you can calculate that with the format supplied to CMD_LOADIMGE and the resolution.

Anyways, it takes a little planning, maybe a spreadsheet.
Logged

FTDI Community

  • Administrator
  • Full Member
  • *****
  • Posts: 246
    • View Profile
Re: FT81x and available free GRAM
« Reply #2 on: June 27, 2018, 02:46:09 PM »

Hello,

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

and

EVE Screen Editor:
http://www.ftdichip.com/Support/Utilities.htm#EVEScreenEditor

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
Logged