AnsweredAssumed Answered

Set Stack onto external memory

Question asked by abderrezak on Feb 9, 2017
Latest reply on Feb 10, 2017 by abderrezak


On my custom board, I have set an external RAM on 32MB. I use it as heap with the following:



since Redlib offers this symbols. It works fine.

Now I want to try using the external RAM for both heap and stack using this symbols:



My code end with a HardFault trying to execute a NULL pointer.

Why this is happening? For sure I'm messing something about memory segmentation, or about its initialization.

I am thankful for your help