2024-09-16 06:59 AM
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?
Solved! Go to Solution.
2024-09-16 07:04 AM - edited 2024-09-16 07:14 AM
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:
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.
2024-09-16 07:04 AM - edited 2024-09-16 07:14 AM
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:
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.
2024-09-16 07:11 AM
... and the line USARTx refers to the previous lines with the supported interfaces, i.e. USART1/2.
2024-09-17 06:18 AM
So it will not work unfortunately, thanks for the answers !