Skip to main content
Associate III
June 12, 2024
Solved

Bootloader on UART1

  • June 12, 2024
  • 1 reply
  • 1315 views

Hi St-family

I'm encountering a problem transferring a bin file via UART on my Stm32f103c8t6. While UART3 functions correctly with a USB TTL converter, UART1 doesn't seem to establish a connection.

 

  • I've verified the connections between the device's UART1 pins (TX and RX) and the USB TTL converter.
  • I'm using the appropriate baud rate settings on both the device and the terminal software.snehadakhare01_0-1718184993732.png

     

Best answer by Imen.D

Hello @snehadakhare01 ,

Make sure that BOOT0 is High.

Check that you are properly connecting the pins supported by the bootloader, as described in AN2606 STM32 microcontroller system memory boot mode - Application note.

This video "STM32 boot and startup tips - 2 Embedded bootloader investigations" described some aspects related to the boot process and bootloader management.

1 reply

Imen.DBest answer
Technical Moderator
June 12, 2024

Hello @snehadakhare01 ,

Make sure that BOOT0 is High.

Check that you are properly connecting the pins supported by the bootloader, as described in AN2606 STM32 microcontroller system memory boot mode - Application note.

This video "STM32 boot and startup tips - 2 Embedded bootloader investigations" described some aspects related to the boot process and bootloader management.

"When your question is answered, please close this topic by clicking ""Accept as Solution"".ThanksImen"
Associate III
June 13, 2024

Hi @Imen.D 

Bootloader status was set like this

snehadakhare01_0-1718255445479.png

When TTL Rx and TX are connect to PA9 and PA10 (UART3) it is working 
But I  want to connect TX and RX to PB6 and PB7(UART1) of Bluepill that time it is showing error

snehadakhare01_1-1718256093504.png

 


Connection

                    TTL                         Bluepill
                  TX                           PB7(Rx)
                  RX                           PB6(Tx)
                  VCC=3.3                            VCC=3.3
                 GND                           GND