cancel
Showing results for 
Search instead for 
Did you mean: 

Reset STM32(F4) to particular startup address

Kuikui
Associate III
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
1 ACCEPTED SOLUTION

Accepted Solutions
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
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

1 REPLY 1
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
Up vote any posts that you find helpful, it shows what's working..