Skip to main content
Kuikui
Associate III
June 16, 2017
Solved

Reset STM32(F4) to particular startup address

  • June 16, 2017
  • 1 reply
  • 799 views
Posted on June 16, 2017 at 09:59

Hi,

I have partitionned my STM32F4 memory into 2 parts :

1 part, starting from the default startup address ( 0x8000004 ), and 1 part starting from a custom startup address ( 0x8004004).

When running code from the 2nd part, I would like to RESET the STM32, but restart at my custom startup address instead of the default one.

Is there any special way to achieve this ?

Thanks.

Best regards,

Vincent.

#stm32f4-reset
This topic has been closed for replies.
Best answer by Tesla DeLorean
Posted on June 16, 2017 at 13:50

The hardware doesn't support that.

Use a magic value in ram and have the reset handler in the loader recognize that and immediately transfer control to the application. 

1 reply

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
June 16, 2017
Posted on June 16, 2017 at 13:50

The hardware doesn't support that.

Use a magic value in ram and have the reset handler in the loader recognize that and immediately transfer control to the application. 

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