2021-09-08 04:35 AM
My dedicated hardware does not support uart/i2c/spi on the pins that are mentioned in AN2606. To update firmware IAP, I need to write my own bootloader that behaves the same as the default one (I want to use stm32flash tool as host, which fasten my work) with only changed uart pins and maybe disabled other serial communication peripherals.
Is this bootloader source code available anywhere?
Solved! Go to Solution.
2021-09-14 08:17 AM
I have already written my own, but for the future I will tell you what I have found.
ST provide OpenBootloader project within stm32g0 stm32cube repository in the middleware directory. As far as I know it can realize the same functionality as the built int bootloader.
2021-09-08 04:45 AM
No, ST has not released the source for these loaders.
The protocol is documented.
If you have a terminal app or program which supports XMODEM, that might be simpler and more available on more platforms.
2021-09-14 08:17 AM
I have already written my own, but for the future I will tell you what I have found.
ST provide OpenBootloader project within stm32g0 stm32cube repository in the middleware directory. As far as I know it can realize the same functionality as the built int bootloader.