How to know RAM memory consumption for application on S32K144 EVB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to know RAM memory consumption for application on S32K144 EVB

Jump to solution
4,413 Views
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

Labels (2)
1 Solution
3,095 Views
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

View solution in original post

4 Replies
3,096 Views
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,095 Views
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 Kudos
3,095 Views
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 Kudos
3,095 Views
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 Kudos