AnsweredAssumed Answered

What registers do I need to change when switching execution context with goto-statement?

Question asked by arnold_w on Dec 4, 2017
Latest reply on Dec 5, 2017 by arnold_w

I am working with the stm32f7 microcontroller and I have 2 projects, a bootloader project and an application project. The bootloader resides in the beginning of the flash memory and the application resides in the end. If I want to switch execution from application to bootloader or vice versa with a goto-statement to the other project's main-function, what registers (stack pointer, program counter, etc?) do I need to change to ensure correct execution?

Outcomes