Skip to main content
Visitor II
September 16, 2024
Solved

STM32L152RET6 bootloader via huart3

  • September 16, 2024
  • 3 replies
  • 969 views

Is it possible to use UART3 as the bootloader interface on this chip?

I’m able to communicate with UART3 (so the hardware connection seems fine), but I’m unsure about the baud rate—does the bootloader autodetect it, or is it fixed? The bootloader works fine over USB, and I can successfully enter bootloader mode. However, when I disconnect the USB and attempt to use UART3, I can’t establish a connection.

I understand that not all chips support all UARTs for bootloading, and in the documentation, I see references to UART1, UART2, and some mention of other UART interfaces. Could you clarify if UART3 is supported for bootloader flashing on this chip?

    This topic has been closed for replies.
    Best answer by STTwo-32

    Hello @mt1 and welcome to the ST Community.

    The Bootloader is not available throw the STM32L152RET6. It is only available on the USART1 and USART2 only according to the AN2606:

    STTwo32_0-1726495420193.png

    For the Usartx Line, it refers to x=1 or 2. Systick timer should be enables to automatically detect the serial baud
    rate from the host for USART1/2 bootloader

    Best Regards.

    STTwo-32

    3 replies

    STTwo-32Answer
    Technical Moderator
    September 16, 2024

    Hello @mt1 and welcome to the ST Community.

    The Bootloader is not available throw the STM32L152RET6. It is only available on the USART1 and USART2 only according to the AN2606:

    STTwo32_0-1726495420193.png

    For the Usartx Line, it refers to x=1 or 2. Systick timer should be enables to automatically detect the serial baud
    rate from the host for USART1/2 bootloader

    Best Regards.

    STTwo-32

    Technical Moderator
    September 16, 2024

    ... and the line USARTx refers to the previous lines with the supported interfaces, i.e. USART1/2.

    mt1Author
    Visitor II
    September 17, 2024

    So it will not work unfortunately, thanks for the answers !