AnsweredAssumed Answered

question about startup vector

Question asked by petero.petero on Jan 25, 2012
Latest reply on Jan 25, 2012 by Clive One
I am learning how STM32 works. I looked at startup file and starup vector using simulator and example project.
And I have question (STM32F105):

First dword location of vector is stack pointer and it is initialized to 0x10000 (stack is growing to lower addresess). It is ok, procesor RAM size os 0x10000. 
Second dword location is reset vector and it is 0x8001077D.
But I can see at simulator that program starts at address 0x8001077C. Why is it the difference ?


Startup file is written in assembly. How can i change the location of startup file ? I know how to do it with C functions using sections) but how do it with .s files ?

thanks in advance