Determine SRAM usage from map file

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

Determine SRAM usage from map file

883件の閲覧回数
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 返答(返信)

848件の閲覧回数
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 件の賞賛
返信

841件の閲覧回数
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 件の賞賛
返信

873件の閲覧回数
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 件の賞賛
返信