Custom Boot loader Development code for STM32.
I want to develop my own boot loader for STM32 MCU so is there any resources or video or example code for how to do this?
I want to develop my own boot loader for STM32 MCU so is there any resources or video or example code for how to do this?
Hello @parth kothiya ,
ST does not provide the Bootloader source code.
To develop/use code of Bootloader, you can use a similar package called OpenBootloader (OpenBL) that behaves exactly like the system bootloader and uses same interfaces but is open source code.
OpenBL supports only STM32G0 and STM32G4 series for the moment. So, you can customize it for other products series according to your needs.
\STM32Cube_FW_G4_V1.4.0\Middlewares\ST\OpenBootloader
\STM32Cube_FW_G4_V1.4.0\Projects\NUCLEO-G491RE\Applications\OpenBootloader
More information on OpenBL is available for example in USART protocol used in the STM32 bootloader (AN3155).
Note that ST OpenBL Wiki page link will be available soon.
Hope my answer helped you! :smiling_face_with_smiling_eyes:
When your question is answered, please close this topic by choosing "Select as Best". This will help other users find that answer faster.
Imen
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.