Skip to main content
Associate II
Oct 12, 2023 1:33 AM UTC
Question

Does the built-in bootloader work on a half-duplex UART?

I'm working on an application where the amount of wires is limited. In order to update firmware, the only thing I will have is a single half-duplex RS485 transceiver connected to the UART. I was going to connect this to a single UART pin in single-wire (half-duplex) mode.

Is there any way to make this work with the built-in bootloader?

This topic has been closed for replies.

6 replies

jiangfan
ST Employee
Oct 12, 2023 2:39 AM UTC

interesting question, how do you manage the direction (Tx or Rx) for UART?

Associate II
Oct 14, 2023 12:10 AM UTC

I'm not totally familiar with how the bootloader works. Is there a way to update the code using only one way communication (programmer -> MCU)? Or does the bootloader configuration need to read things from the MCU as well?

jiangfan
ST Employee
Oct 14, 2023 1:59 PM UTC

I suggest you read the document: AN2606 STM32 microcontroller system memory boot mode.

STM32 microcontroller system memory boot mode - Application note