2017-06-16 12:59 AM
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-resetSolved! Go to Solution.
2017-06-16 04:50 AM
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.
2017-06-16 04:50 AM
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.