AnsweredAssumed Answered

K64F, MQX RTOS, and trying to configure the memory map.

Question asked by X X on Apr 1, 2016
Latest reply on May 19, 2016 by Carlos_Musich

Hello, I am running the K64F, MQX RTOS, and am trying to configure the memory map. I can run my application using the default linker directive file. However, in order to maximize the available SRAM, I want to put the .bss and Stack in the lower SRAM (64K section) and the .data and Heap in the upper SRAM (192K section). I been able to move the segments around, but the behavior seems somewhat erratic, such as the heap needing to take up all remaining space in the second data region. Has anyone attempted such a non-standard memory layout? Are there limitations as to what segments can be placed in certain sections of the SRAM? Also, it looks like there is code in MQX that is expecting the memory map to be layed out in the traditional order.