2024-12-03 01:59 AM
Hi,
I tried booting the STM32F103C8T6 via UART following the boot configuration details from the AN2606 document provided by ST. I have outlined the configuration below.
After setting up the boot configuration, I attempted to connect the STM32's UART using a TTL converter and the STM32CubeProgrammer software (Win64, versions 2.18.0 and 2.5.0). However, I encountered some issues, and I have attached a snippet showing the error.
I also tried connecting an STM32L562E-DK board, but I faced similar issues.
Could anyone help identify what might be going wrong? Your suggestions and advice would be greatly appreciated!
Thank you!
2024-12-03 12:52 PM
Hello,
1- Are you sure the UART converter is OK? need to tell us how you did check this converter is working well.
2- How did you set the boot configuration?
2024-12-03 09:55 PM
Hi,
Thank you for your response. Here are the details regarding your queries:
1. TTL Converter:
The TTL converter is working correctly. Before attempting the boot method, I verified its functionality by running a UART communication test application. The test confirmed that the TTL converter is operating without any issues.
2. Boot Configuration:
I followed the bootloader configuration details for STM32F103C8T6 as outlined in the AN2606 document, specifically under the STM32F10xxx devices section. I used Pattern 1 for the boot configuration. Below are the steps and connections I made:
Boot Pin Setup:
I set the boot pins as follows:
BOOT0: High
BOOT1: Low
Refer to the attached image for the configuration.
boot pin setup:
and after TTL side setup as mentioned Bootloader configuration :
TTL Side Setup:
Following the bootloader configuration guidelines, I connected the TTL converter's TX and RX lines as follows:
TTL TX -> STM32 USART1 RX (PA10)
TTL RX -> STM32 USART1 TX (PA9)
After this setup, I sent the 0x7F command to initiate communication but did not receive any response. Additionally, I could not establish a connection using the STM32CubeProgrammer software.
Refer to the attached images for further details.
Let me know if you need more details or if there are additional steps I should try. Thank you!