Determine SRAM usage from map file

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

Determine SRAM usage from map file

1,358 次查看
Ginson
Contributor I

Hi,

 

I have NXP S32G3 board. I have .map file. Is there a way to determine the SRAM usage from .map file.

Help is highly appreciated.

 

Thanks

标签 (1)
标记 (1)
0 项奖励
回复
3 回复数

1,323 次查看
Ginson
Contributor I

Hi @carlos_o ,

Thanks for your response.
I cannot find the section".sram" in the the map file which I have.

I have following sections in the .map file.

.__MEM_int_sram_stack_c0_START__

.__MEM_int_sram_stack_c1_START__

.__MEM_int_sram_stack_c2_START__

.__MEM_int_sram_stack_c0_LIMIT__

.__MEM_int_sram_stack_c1_LIMIT__

.__MEM_int_sram_stack_c2_LIMIT__

.__SAF_BSS_SRAM_1_START__

.__SAF_BSS_SRAM_2_START__

.__SAF_BSS_SRAM_3_START__

.__SAF_BSS_SRAM_4_START__

.OS_SRAM_CODE_Code

 

 Please let me know, with following info whether I can check the sram usage with following sections.

Apologies, I unfortunately cannot upload the .map file due confidentiality reason.

0 项奖励
回复

1,316 次查看
carlos_o
NXP TechSupport
NXP TechSupport

Hi @Ginson

I will need more information about your .map file to help you with the issue. Could you please open a support ticket with my name to track it? 

0 项奖励
回复

1,348 次查看
carlos_o
NXP TechSupport
NXP TechSupport

Hi @Ginson,

Thanks for your questions. 

The SRAM usage depends not only on the .map file (this file describes the usage of the M7 application), but it will change if you are using the A53 cores and some peripherals. 

Screenshot 2025-02-13 114205.png

The sram used by your M7 app can be seen at the .sram where you have the start address of the application and the length. 

0 项奖励
回复