cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB55REV6 custom target board BLE wireless stack program issue.

VDesa.1
Associate III

I have STM32WB55REV6 based custom target board which contains 512KB flash. I tried to

download FUS and BLE stack, but it seems like did not programmed correctly and Host controller (CM4) is in wait for event from network processor (CM0). Following batch file command sequence and address used for target STM32WB55REV6 as per release note.

0693W000004GtA9QAK.jpg

SET BIN=STM32WB5x/stm32wb5x_FUS_fw_1_0_2.bin
SET STACK=STM32WB5x/stm32wb5x_BLE_Stack_full_fw.bin
 
STM32_Programmer_CLI.exe -c port=SWD -fwdelete
timeout 2 >NUL
STM32_Programmer_CLI.exe -c port=SWD -r32 0x20030030 1
timeout 2 >NUL
STM32_Programmer_CLI.exe -c port=SWD -fwupgrade "%BIN%" 0x0807A000 firstinstall=0 -v
timeout 2 >NUL
STM32_Programmer_CLI.exe -c port=SWD -fwupgrade "%STACK%" 0x08057000 firstinstall=0 -v
 
pause

I have tried with firstinstall = 1 flag too.

I have also attached the log.txt file of executed commands from bat

Request to guide for the same.

11 REPLIES 11
Remi QUINTIN
ST Employee

The start wireless stack button must be checked when you install the RF stack.​

So once you know the FUS version is correct. Erase the sector required to download the RF stack and then install it with the start wireless stack button must be checked .

VDesa.1
Associate III

For successful program wireless stack, two major points are helpful in my case

1). There must be need to program stack using USB mode. one can enter in usb program mode by change setting in option bits.

2). There must be high accurate external crystal connected for HSE as well as LSE, if try to configure internal clock source (HSI) the BLE wireless stack will not

work as BLE required high accurate clock generation.

It work for me by STM32cubeProgrammer GUI mode.

Thanks for support ST.