AnsweredAssumed Answered

m_data overflow error

Question asked by Bryce Lembke on Sep 16, 2014
Latest reply on Apr 16, 2015 by Erich Styger

I am using the K10DX128VFT5 which has 16k of RAM.


Upon build, I am getting the error:

'._user_heap_stack' will not fit in region 'm_data'


In the map file I see:


Name             Origin             Length             Attributes

m_interrupts     0x00000000         0x000000f8         xr

m_text           0x00000410         0x0001fbf0         xr

m_data           0x1fffe000         0x00002000         rw

m_data_20000000  0x20000000         0x00002000         rw

m_cfmprotrom     0x00000400         0x00000010         xr

*default*        0x00000000         0xffffffff


I see here that m_data is 8k and m_data_20000000 is 8k. How do I get the linker to use m_data_20000000 as well for the _user_heap_stack segments. I have tried making m_data larger than 8k and m_data_20000000 smaller by the same amount, but I get other errors.


Perhaps I should be asking, what is the appropriate way to take advantage of the full 16k of RAM?