Reset STM32(F4) to particular startup address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Labels:
-
STM32F4 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-06-16 4: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.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-06-16 4: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.
Up vote any posts that you find helpful, it shows what's working..
