Skip to main content
Mnema.2055
Visitor II
December 20, 2019
Question

What is the minimum RAM requirement to create Image animation using touchgfx designer?

  • December 20, 2019
  • 0 replies
  • 378 views

Hello,

In our custom board we are using STM32F429VG controller. Which has internal RAM of 256K. 

I want to creating a screen with some animation using touchgfx designer. In that animation I want to create 3 circular rings each ring will contain 40 dots of a small circle image.

I have used array on image class as follows and used setXY, setBitmap to draw a circle.

  Image imagering1[40];

  Image imagering2[40];

  Image imagering3[40];  

But after code compilation I am getting error "unable to allocate space for sections/blocks with a total estimated minimum size of 0x3'027c bytes (max align 0x8) in <[0x2000'0000-0x2002'ffff]> (total uncommitted space 0x3'0000). " .

Board RAM utilization as follows

frameBuf0      0x2000'0048     0x25800 Data Lc BoardConfiguration.o [1] 

dma         0x2002'e9dc     0x00aa0 Data Gb BoardConfiguration.o [1]

ucHeap       0x2002'5848     0x08000 Data Lc heap_4.o [1]

CSTACK       0x2002'f958      0x00400 <Block>

So I want to understand how Image Widget allocate memory. Is there any alternative way to create such animation.

This topic has been closed for replies.