cancel
Showing results for 
Search instead for 
Did you mean: 

How to measure memory usage?

AndrewM
Associate III

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

2 REPLIES 2
Ozone
Lead

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

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.