AnsweredAssumed Answered

How to use Kinetis entire RAM?

Question asked by Ashley Duncan on Nov 1, 2016
Latest reply on Nov 7, 2016 by Alice_Yang

Hi,

 

The linker file for K22 presents the RMA as two 64k blocks m_data and M_data_2.  Presumably this is to prevent the risk of locating across the RAM boundaries etc.  It locates the heap and stack into m_data_2 and bss into m_data.  But otherwise leaves m_data_2 as empty.

 

I need more RAM!  It seems odd to me not to have the unused space in m_data_2 used also for bss!

 

I tried to change the linker file and add a new section then locate my bigger arrays into this new section but I couldn't make it happen, instead the arrays just vanished from the map file!!!

 

Any advice on how to use all the available RAM?

 

Regards

 

Ashley

Outcomes