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
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..
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
2022-09-13 11:47 AM
Write this isnt big , but erasing bootloader part is safety problem if something breaks = brick
2022-09-14 08: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.
2022-09-14 09:58 PM
Do you have any example of this?