Skip to main content
AndrewM
Associate III
February 7, 2020
Question

How to measure memory usage?

  • February 7, 2020
  • 2 replies
  • 769 views

I need to measure memory usage in my TouchGFX application. Is there a way to do this?

This topic has been closed for replies.

2 replies

Ozone
Principal
February 7, 2020

First starting point would be the map file generated by the linker.

Not sure if the TouchGfx vendor supplies some additional evaluation tool for gfx-internal memory consumption.

eng23
Senior
February 7, 2020

Another approach would be starting a project in new version CubeMX 5.5 and enabling all necessary peripherals for touchgfx (ltdc, fmc, freertos) and generate code. After, look in CubeIDE>Build Analyzer the memory usage for ram and flash. So generate code with touchgfx v4.13, through X-CUBE-TOUCHGFX, open touchgfx IDE and generate code there. Now touchgfx is enabled and you can see the new memory usage.