2022-09-13 02:21 AM
Hi
I am using STM32WL55
I want to download firmware to MCU using system bootloader.
I set pin4(PB6) to usart1_tx, and pin5(PB7) to usart1_rx.
I installed Flash Loader Demonstrator Ver 2.8.0
I set BOOT0 pin(PH13, pin19) to hight and then power up.
(of course serial cable is connected with pc )
I pressed Next button on Flash Loader Demonstrator
but The following message appears and nothing works.
How can I use system bootloader?
Please Help me.
thank you.
2022-09-13 02:36 AM
Hello @Son, Dong-Seong
I recommend you to use STM32Cubeprogrammer, an all-in-one multi-OS software tool for programming STM32 products.
When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Imen
2022-09-13 04:26 AM
Thank you for your response.
I installed the STM32CubeProgrammer
When I click the connect button after running the program, the following appears.
What's the problem.
Serial port is COM3
Can you tell me what i did wrong?
Thank you.
2022-09-13 04:27 AM
Thank you for your response.
I installed the STM32CubeProgrammer
When I click the connect button after running the program, the following appears.
What's the problem.
Serial port is COM3
Can you tell me what i did wrong?
Thank you.
2022-09-13 06:10 AM
Check NRST, it should be connected to the debugger.
Maybe there is a problem with boot config, board is not in Bootloader mode.
For that, try change Boot0 HIGH and Boot1 LOW. Then, reconnect the board.
Otherwise, try with different board to check if this issue is due to this board or the configuration.
Imen
2022-09-14 03:01 AM
Thank you for your response.
First question :
I want to use only uart port (usart1_tx and usart1_rx) for using bootloader
That picture is the state that appears when I run the above program after turning on the power after setting the boot1 pin to high.
Second question :
I am using Uart1 port with PB6 and PB7.
When I searched about bootloader in RM0453 Reference Manual,
USART1 uses PA9 and PA10.
Can't I use PB6 and PB7 for system bootloader?
please help me.
thank you.