2017-02-07 01: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.
2017-02-09 03: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
2017-02-07 04:47 AM
Hello
I have moved your thread to the
‌ where someone should be able to assist you.Thanks
2017-02-07 09: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?
2017-02-08 09: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.
2017-02-09 03: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
2020-01-21 12:31 AM
Please update the links of the documents mentioned above.