Hello,
We would like to get RAM usage of our software on S32K314, including remained RAM size.
Due to DTCU, ITCU, standby RAM, it seems complicated to calculate the remained RAM size.
Could you let us know how to calculate the same.
Best Regards,
Hi @hoona75,
The compiler has the option for code size enabled by default:
This blog from MCU on Eclipse explains the differences between these values: text, data and bss: Code and Data Size Explained | MCU on Eclipse.
In short, ‘data’ is for initialized variables, and it counts for RAM and FLASH. The linker allocates the data in FLASH which then is copied from ROM to RAM in the startup code.
Unfortunately, there are no integrated functions for specific monitoring - customer needs to write his own utility for memory management.
Best regards,
Julián