AnsweredAssumed Answered

STM32F103 HD - Initial Stack Pointer is Wrong

Question asked by lewis.william on Jul 7, 2013
Latest reply on Jul 7, 2013 by lewis.william
I'm trying to set up a project (Eclipse, gcc, OpenOCD) for a hand made prototype board using an STM32F103RC chip (48K RAM).  It works, sort of.  My linker script specifies the initial stack pointer as

_estack = 0x2000C000;

And that shows up in the .hex file.  But when the debugger starts up, SP contains 20005000.

Any ideas why that would happen?

-Bill

Outcomes