S32K314 RAM usage

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K314 RAM usage

159件の閲覧回数
hoona75
Contributor I

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,

0 件の賞賛
返信
1 返信

134件の閲覧回数
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @hoona75,

The compiler has the option for code size enabled by default:

Julin_AragnM_0-1718301257160.png

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

0 件の賞賛
返信