This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Where is the stack pointer initialized

I'm trying to get the ble_app_hrs example working in Eclipse, but the stack pointer is not setup correctly. It's at the start of the RAM (0x20000000), and therefore it already breaks in the SystemInit. It seems that memory map is correct. According to this the stack top is the start of the RAM + 0x2000. I'm using the S110 SD.

ble_hrs_gcc_s110_xxaa.zip

Related