2019-04-10 12:06 PM
I'm using the STM32L152 processor. I just noticed that on a reset the value at IVT slot 0, which should be the MSP value, doesn't get put into the MSP. I see another value there on a reset. I added "ldr sp, =_estack" at the start of Reset_Handler, and that seems to work, but I'm curious why a reset didn't force _estack into the MSP.
2020-01-07 05:54 PM
I came across the same problem with my STM32H7. I discovered it was because BOOT0 pin was tied high. That meant the micro assumes the vector table is at address 0x00000000. When I tied BOOT0 low, the micro used the correct vector table at 0x08000000.