I am having an issue where STM32F7 fails to start on reset. Here is a section of a startup code which fails:
LDR R0, =SystemInit
LDR R0, =__initial_sp ; restore original stack pointer
MSR MSP, R0
LDR R0, =__main
It gets stuck on the line BX R0 and never goes to main. Did anyone ever had similar issues? It only happens if I am trying to put something into external SRAM, though the SystemInit code stays the same regardless, and all registers before BX R0 look identical in both cases.
Any ideas? I am really stuck here