cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L152RET6 bootloader via huart3

mt1
Associate

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?

1 ACCEPTED SOLUTION

Accepted Solutions
STTwo-32
ST Employee

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

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

3 REPLIES 3
STTwo-32
ST Employee

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

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Peter BENSCH
ST Employee

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

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
mt1
Associate

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