2022-09-19 08:34 PM
UART2 bootloader is not work.Should I flash a bootloader program to enable usart2 booloader.Which uart has default bootloader program.
Solved! Go to Solution.
2022-09-20 01:19 AM
Hi @Blue Vincent ,
When we refer to RM0383 and precisely Section2.4, you can conclude that the embedded bootloader mode is used to reprogram the Flash memory using :
• USART1 (PA9/PA10)
• USART2 (PD5/PD6)
I advise you, when you configured the bootloader, to refer at this AN2606 "STM32 microcontroller system memory boot mode" and get inspired form the steps described in this MOOC "STM32 boot and startup tips - 2 Embedded bootloader investigations".
When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Kaouthar
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.
2022-09-20 01:15 AM
>>Which uart has default bootloader program.
see F411 manual : 2.4. memory -> embedded bootloader
2022-09-20 01:19 AM
Hi @Blue Vincent ,
When we refer to RM0383 and precisely Section2.4, you can conclude that the embedded bootloader mode is used to reprogram the Flash memory using :
• USART1 (PA9/PA10)
• USART2 (PD5/PD6)
I advise you, when you configured the bootloader, to refer at this AN2606 "STM32 microcontroller system memory boot mode" and get inspired form the steps described in this MOOC "STM32 boot and startup tips - 2 Embedded bootloader investigations".
When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Kaouthar
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.
2022-09-20 01:41 AM
Signal noise on other pins the system loader monitors will likely get it's primary attention.
2022-09-20 01:50 AM
PD5/PD6 Pin in stm32f411ce is not defined, but defined by USART2 (PA2/PA3) .Is this can explain why i can't use this UART to flash program?
2022-09-20 09:29 AM
Hello @Blue Vincent ,
Yes, you can activate the USART2 bootloader with only PD5/PD6 pins.
The bootloader is used to reprogram the Flash memory using: USART1(PA9/10), USART2(PD5/6), USB OTG FS in device mode (PA11/12) through DFU (device firmware upgrade), I2C1(PB6/7), I2C2(PB10/3), I2C3(PA8/PB4), SPI1(PA4/5/6/7), SPI2(PB12/13/14/15) or SPI3(PA15, PC10/11/12).
Kaouthar
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.