My stack is placed at location 0x20080000 on my LPC1766. Thats AHB SRAM - bank 1. I like to have my stack on the On-chip SRAM(0x10000000). my linker script is defined like this:
PROVIDE(_pvHeapStart = DEFINED(__user_heap_base) ? __user_heap_base : .);
PROVIDE(_vStackTop = DEFINED(__user_stack_top) ? __user_stack_top : __top_RamLoc32 - 0);
What can be the reason that it still writing in RAM2(bank1)?