Programming stm32 using another mcu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-02-07 1:06 AM
Hi,
My project include two MCU with nrf51822 and STM32. I'm upgrading STM32 application firmware by nrf51822 using UART. I'm very new for stm32 world so i don't know what and all modifications need to be perform at stm32 side. Kindly give me some suggestions for solving this problem.
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-02-09 3:09 AM
Hello,
What
Turvey.Clive.002
was suggesting is that you may not need to write your own bootloader to program the STMYou may want to use the one already built-in. Look at
and for details.If you still need to make your own, here is an example using the HAL:
.there are many older examples on ST web site using the STDLIB if needed.
best regards,
Max
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-02-07 4:47 AM
Hello
I have moved your thread to the
‌ where someone should be able to assist you.Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-02-07 9:20 AM
ST provides documentation for the protocol used by the System Loader ROM in the STM32 parts, you should review that.
ST also has many examples of IAP (In-Application Programming), those might give you some ideas and a starting point.
Most of the complexity is not STM32 centric, what experience do you have writing loaders and doing firmware updates?
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-02-08 9:03 PM
Hi,
Thanks for the quick replay.I have basic knowledge on writing loaders.
Dose any one have a custom booloader example which suits my requirement so i can modify that according to my requirement.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-02-09 3:09 AM
Hello,
What
Turvey.Clive.002
was suggesting is that you may not need to write your own bootloader to program the STMYou may want to use the one already built-in. Look at
and for details.If you still need to make your own, here is an example using the HAL:
.there are many older examples on ST web site using the STDLIB if needed.
best regards,
Max
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-01-21 12:31 AM
Please update the links of the documents mentioned above.
