Why S32K144 SRAM is always 100% used

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

Why S32K144 SRAM is always 100% used

616 Views
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 Kudos
Reply
2 Replies

577 Views
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 Kudos
Reply

588 Views
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 Kudos
Reply