cancel
Showing results for 
Search instead for 
Did you mean: 

Default bootloader source code?

BMich.2
Associate

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?

1 ACCEPTED SOLUTION

Accepted Solutions
BMich.2
Associate

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.

View solution in original post

2 REPLIES 2

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.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
BMich.2
Associate

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.