Why S32K144 SRAM is always 100% used

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

Why S32K144 SRAM is always 100% used

709件の閲覧回数
emb02
Contributor IV

Hi,

I'm using S32K144 in which I've merged SRAM_L and SRAM_U (m_data and m_data_2) region.

So I want to ask why m_data region is always showing as 100% used?

SRAM .png

I'm attaching my test project. Please guide me further.

 

0 件の賞賛
返信
2 返答(返信)

670件の閲覧回数
emb02
Contributor IV

Hi,

How stack and heap is allocating all space? 

I'm getting error as - 

section .m_data LMA [0001bdcc,00020bcb] overlaps section .code LMA [0001bdcc,0001be27]

Please help me with this.

0 件の賞賛
返信

681件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

If you merged both sections, then you have placed there stack and heap. So it does make sense to be used for 100% as it is allocates all unused space in this segment.

0 件の賞賛
返信