SRAM_LOWER utilization

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

SRAM_LOWER utilization

1,442 Views
Jan321
Contributor I

Hi,

I'm using MCUXpresso SDK build for Kinetis MK02FN64xxxx10 which has 8 kB + 8 kB SRAM memory. All the variables are stored only in upper memory. When I reach 8 kB, the Console return me region `SRAM_UPPER' overflowed and the SRAM_LOWER still remain empty. How to use the SRAM_LOWER ?

Thank you,

Jan

Labels (1)
Tags (1)
1 Reply

968 Views
lpcxpresso_supp
NXP Employee
NXP Employee

On the assumption that you are using MCUXpresso IDE, then please see chapter 12, "Memory Configuration and Linker Scripts", of the MCUXpresso IDE v10.0. User Guide for more details of how images are laid out in memory.

There are various ways of moving the heap, stack or global variables into the second RAM bank described in this chapter - the simplest of which is probably to use the "Heap and Stack placement" editor, as shown in section 12.9.

Regards,

MCUXpresso IDE Support