Skip to main content
vchau.1
Visitor II
January 6, 2023
Solved

Custom Bootloader design for STM32F4

Hi All,

Kindly let me know how to customize standard ST bootloader and change the default UART pins, Currently bootloader working on UART1 and UART3, but i want bootloader on UART2

Microcontroller Details -STM32F4

This topic has been closed for replies.
MM..1
MM..1Best answer
Super User
January 6, 2023

Microcontroller Details -STM32F4 is as all stars in one galaxy. Read AN2606

3 replies

KnarfB
Super User
January 6, 2023

The in-chip bootloader is in ROM and cannot be changed. You may look into https://github.com/STMicroelectronics/stm32-mw-openbl for a SW based solution.

hth

KnarfB

Tesla DeLorean
Guru
January 6, 2023

You can code your own software to do whatever you want

The front flash sectors are 16KB to accommodate you creating you own loader/startup methods.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
MM..1
MM..1Best answer
Super User
January 6, 2023

Microcontroller Details -STM32F4 is as all stars in one galaxy. Read AN2606