cancel
Showing results for 
Search instead for 
Did you mean: 

About flash download with STM32WL55

Son, Dong-Seong
Associate III

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.

0693W00000SvF8VQAV.pngHow can I use system bootloader?

Please Help me.

thank you.

5 REPLIES 5
Imen.D
ST Employee

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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Son, Dong-Seong
Associate III

Thank you for your response.

I installed the STM32CubeProgrammer

When I click the connect button after running the program, the following appears.

0693W00000SvFzkQAF.pngWhat's the problem.

Serial port is COM3

Can you tell me what i did wrong?

Thank you.

Thank you for your response.

I installed the STM32CubeProgrammer

When I click the connect button after running the program, the following appears.

0693W00000SvFzkQAF.pngWhat's the problem.

Serial port is COM3

Can you tell me what i did wrong?

Thank you.

Check N​RST, 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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

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.