Update bootloader from firmware
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-13 10:19 AM
Hi! Has anyone developed a firmware that is able to rewrite the bootloader that is written in the flash? Thanks
- Labels:
-
Bootloader
-
STM32G0 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-13 10:25 AM
A bit non-specific.
There are many STM32 parts, perhaps narrow this down.
The ROM (likely OTP) based System Loader cannot be updated.
For your own loader in FLASH, yes those can be updated, along with application code which is more typically upgraded.
Yes, written assorted boot loaders, being a developer working on embedded systems, SoC, etc..
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
‎2022-09-13 11:11 AM
Sorry, I mean my own loader in flash.
I’m able to update my application but, because of the swd conmector is no more accessible, I need, in some cases, to update also my loader.
I’m using a STM32G0 with can interface.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-13 11:47 AM
Write this isnt big , but erasing bootloader part is safety problem if something breaks = brick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-14 8:06 AM
In such cases one can implement a separate updater or second level bootloader. The first bootloader should never be updated, but it must be capable of doing an emergency recovery, in case both - updater and application - fail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-14 9:58 PM
Do you have any example of this?
