Skip to main content
xshen
Associate
Jan 14, 2019 5:49 AM UTC
Question

how dose the PC run to startup.s when the mcu reset

Hi,dear enginner:

  i want to know how the PC run to startup.s when mcu reset?

  The Definitive Guide to the ARM Cortex-M3 says address 0x00000000 is MSP‘,address 0x00000004 is ResetVector.

  But when I look at STM32F767, I find that 0x00000000 and 0x4 addresses are other instructions

Is there any reference material that can solve my confusion?

 Thanks.

Regards.

This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
Jan 14, 2019 6:41 AM UTC

So what 32-bit words do you actually see when you inspect the memory?

​

What words at 0x08000000 ?​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
xshen
xshenAuthor
Associate
Jan 14, 2019 6:57 AM UTC

0690X000006D5A3QAK.png​

This is the instructions in 0x0.

At 0x8000000 is vector table.

Tesla DeLorean
Guru
Jan 14, 2019 1:01 PM UTC

Shouldn't be instructions.

Suspect you don't have BOOT pins configured correctly.​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..