STM32F417 Stack memory
My application use lots of RAM, I'm concern about the stack memory.
The RAM size is 128KB,from 0x20000000 to 0x20020000.
Form the linker script (.ld) file,
_Min_Heap_Size = 0x200; /* required amount of heap */
_Min_Stack_Size = 0x400; /* required amount of stack */
Use "Build Analyzer" to check Memory Details, it says "._user_heap_stack Run Address 0x2000d160 1.5K ".
But when I run the debugger, SP starting at 0x20020000; when call functions it goes to 0x2001ffe8; 0x2001ffe0...
My question are:
1. The ._user_heap_stack Run Address should be 0x2001FA00 (size 0x400 + 0x200 ==>0x600), end at 0x20020000.
2. During debugging, I can use SP to view the stack pointer address. How can I view Heap address?
3. Stack area should be from 0x2001FC01 to 0x20020000; and heap area is from 0x2001FA00 to 0x2001FC00?
If stack overflow, it will corrupt heap area data?
