Skip to main content
Associate
March 27, 2026
Question

IN Boot mode firmware load by UART

  • March 27, 2026
  • 2 replies
  • 127 views


Hello,
I am working with the
B-L4S5I-IOT-01A board (MCU: STM32L4S5VIT6) and attempting to load a .hex file using the UART bootloader via USART1 (PB6, PB7).

Since this USART is connected by default to the ST-LINK interface, I removed the necessary resistors (R42, R43) to isolate the ST-LINK connection. I then provided direct RX/TX connections from the MCU side through the corresponding pads.

However, I am unable to detect the MCU UART in the STM32 Programmer IDE. The device does not appear or respond during the bootloader communication attempt.

Could you please guide me on the correct procedure to:

  • Properly enable UART boot mode on this board
  • Ensure USART1 is usable for bootloader communication
  • Identify any additional hardware or configuration requirements

Any reference or clarification would be greatly appreciated.

Thank you.

2 replies

ST Employee
March 27, 2026

Hello ,

You are using PB6/PB7 pins, but according to the AN2606 Application note (see Table 176 – STM32L4Rxxx/4Sxxx configuration in system memory boot mode) you should instead use PA9/PA10 pins.

And since the STM32L4Rxx/4Sxx bootloader is activated by applying Pattern 6 (described in AN2606 Application note Table 2), please ensure that one of the required Pattern 6 conditions is correctly applied on your hardware so that the bootloader is entered.

For additional details and guidance, you can also refer to AN3155 Application note How to use USART protocol in bootloader on STM32 MCUs

I hope this clarifies your question.

With regards

DdAzAuthor
Associate
April 27, 2026

hello,
thanks for your response, actually as per above information I am currently doing pattern 1 as I want to try to enter into the boot mode by hardware. i am no using any software configuration so, can I know the process for the same for pattern 1 (AN2606 Application note table :2).

Any reference or clarification would be greatly appreciated.

Thank you