Skip to main content
Visitor II
September 20, 2022
Solved

Use STM32F411 uart bootloader.

  • September 20, 2022
  • 3 replies
  • 3221 views

UART2 bootloader is not work.Should I flash a bootloader program to enable usart2 booloader.Which uart has default bootloader program.

    This topic has been closed for replies.
    Best answer by KDJEM.1

    Hi @Blue Vincent​ ,

    When we refer to RM0383 and precisely Section2.4, you can conclude that the embedded bootloader mode is used to reprogram the Flash memory using :

    • USART1 (PA9/PA10)

    • USART2 (PD5/PD6)

    I advise you, when you configured the bootloader, to refer at this AN2606 "STM32 microcontroller system memory boot mode" and get inspired form the steps described in this MOOC "STM32 boot and startup tips - 2 Embedded bootloader investigations".

    When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

    Kaouthar

    3 replies

    Super User
    September 20, 2022

    >>Which uart has default bootloader program.

    see F411 manual : 2.4. memory -> embedded bootloader

    KDJEM.1Answer
    Technical Moderator
    September 20, 2022

    Hi @Blue Vincent​ ,

    When we refer to RM0383 and precisely Section2.4, you can conclude that the embedded bootloader mode is used to reprogram the Flash memory using :

    • USART1 (PA9/PA10)

    • USART2 (PD5/PD6)

    I advise you, when you configured the bootloader, to refer at this AN2606 "STM32 microcontroller system memory boot mode" and get inspired form the steps described in this MOOC "STM32 boot and startup tips - 2 Embedded bootloader investigations".

    When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

    Kaouthar

    Visitor II
    September 20, 2022

    ​PD5/PD6 Pin in stm32f411ce is not defined, but defined by USART2 (PA2/PA3) .Is this can explain why i can't use this UART to flash program?

    Technical Moderator
    September 20, 2022

    Hello @Blue Vincent​ ,

    Yes, you can activate the USART2 bootloader with only PD5/PD6 pins.

    The bootloader is used to reprogram the Flash memory using: USART1(PA9/10), USART2(PD5/6), USB OTG FS in device mode (PA11/12) through DFU (device firmware upgrade), I2C1(PB6/7), I2C2(PB10/3), I2C3(PA8/PB4), SPI1(PA4/5/6/7), SPI2(PB12/13/14/15) or SPI3(PA15, PC10/11/12).

    Kaouthar

    Graduate II
    September 20, 2022

    Signal noise on other pins the system loader monitors will likely get it's primary attention. ​