How to know RAM memory consumption for application on S32K144 EVB

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to know RAM memory consumption for application on S32K144 EVB

跳至解决方案
5,265 次查看
mrajanna
Contributor V

Hi,

 

I have attached .map file for one of the application.

From .map file I extracted below information.

 

Memory sections

Size in bytes

.data

2436

.text

11320

.rodata

48

.bss

316

 

I would like to know how much RAM memory will be used when this application run on S32K144 MCU ?

 

Is there any provision in S32 design studio to monitor amount of RAM used when debugging this application on S32K144 evaluation board ?

 

Thanks

Mohan

Original Attachment has been moved to: S32K144_CSEC_KEYCONFIG_Example.map.zip

标签 (2)
标记 (4)
1 解答
3,947 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

you can enable printing target size by right click on project name -> properties  and check the Print size checkbox 

pastedImage_1.png

In build console you can see something like this:

pastedImage_3.png

Here is detailed description of each block (text, data, bss...)

Jiri

在原帖中查看解决方案

4 回复数
3,948 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

you can enable printing target size by right click on project name -> properties  and check the Print size checkbox 

pastedImage_1.png

In build console you can see something like this:

pastedImage_3.png

Here is detailed description of each block (text, data, bss...)

Jiri

3,947 次查看
mrajanna
Contributor V

Hi Jiri,
Thank you for the information.

From your experience can you please suggest how much of RAM is required in below scenario.
Use case Scenario:
   a. freeRTOS
   b. Load secure key to CSEc + Perform encryption and decryption on plain text using loaded secure key + Prepare for       secure boot.
   c. Run OBD CAN stack
   d. Other hardware initialization if any

Thanks
Mohan

0 项奖励
回复
3,947 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

well - I have no idea how many RAM your project will need - it depends on implementation. But I'm sure that 64kB of RAM on S32K144 is okay for your scenario. 

Jiri 

0 项奖励
回复
3,947 次查看
mrajanna
Contributor V

Hi Jiri,

Okay.

If you can share any sample project details like what all components were running on S32K144's 64K SRAM, it will be helpful to me.

Thanks

Mohan

0 项奖励
回复