i am pretty new to MQX and i have question about memory usage. I have successfully ported a K60 MQX BSP to MK20DN512VLK10 MCU on our custom board. I ran into a problem when i wanted to reserve a large memory pool (64 kB) in internal RAM. I get an out of memory error in this case so i looked into a memory usage in CodeWarrior debugger:
Despite i have a very simple application with two tasks using approx. 5 kB of stack there is complete upper part of internal RAM occupied and unavailable (highlighted). Is that something to have to do with the fact, that internal RAM memory on our MCU is split to SRAM_L and SRAM_U? Am i missing something in linker script?
I also tried to run some example applications found in MQX folder but there is no change in usage of upper part of SRAM. I don't believe that MQX kernel and heap should use that much memory in this case...
Any advice would be appreciated.