cancel
Showing results for 
Search instead for 
Did you mean: 

FUS default version programmed in STM32WB5CG has been upgraded to 1.1.0?

lbo.1
Associate II

I got some STM32WB55CG samples from st office and the date code is 034. The read out FUS version is 1.1.0. Has the default firmware been upgraded? So the customer doesn't have to upgrade FUS anymore?

D:\Program Files\STMicroelectronics\stm32cube\STM32CubeProgrammer\bin>STM32_Programmer_CLI.exe -c port=SWD mode=HOTPLUG -r32 0x20030030 4 -r32 0x20030024 50

     -------------------------------------------------------------------

                      STM32CubeProgrammer v2.5.0

     -------------------------------------------------------------------

ST-LINK SN : 32FF6C063047463341421351

ST-LINK FW : V2J37S7

Board      : --

Voltage    : 3.23V

SWD freq   : 4000 KHz

Connect mode: Hot Plug

Reset mode : Software reset

Device ID  : 0x495

Revision ID : Rev Y

Device name : STM32WBxx

Flash size : 1 MBytes

Device type : MCU

Device CPU : Cortex-M0+/M4

Reading 32-bit memory content

 Size         : 4 Bytes

 Address:     : 0x20030030

0x20030030 : 01010100

Reading 32-bit memory content

 Size         : 52 Bytes

 Address:     : 0x20030024

0x20030024 : A94656B9 00000001 01010000 01010100

0x20030034 : 00000006 00000000 00000000 00000000

0x20030044 : 00000000 00000000 00658473 0080E126

0x20030054 : 00000496

55 REPLIES 55
Parmin Nayani
Associate III

Hi,

I have an STM32WB55 Nucleo Pack. The FUS version was 053 (I don't remember the correct number, but it is old version) which needed upgrade. So I deleted the current version and now I am stuck.Not able to upgrade to newer version as I keep getting wrong address message, though I followed the addresses given in the table for binaries. Hope I don't have to kiss goodbye to this board set. Please help. Thank you.

Remi QUINTIN
ST Employee

Note that you never can delete the FUS as it located in a protected area. Use the USB port in DFU mode to read the FUS version at 0x20030030.

Please download all the option bytes to understand the status of your board.

Parmin Nayani
Associate III

Hello Remi QUINTIN,

Thank you very much for your suggestion. I will check version as suggested and post. How do I download all option bytes? I will check how to read them but will be obliged if you can provide a link to all the commands. Regards

Remi QUINTIN
ST Employee

To display the option byte you can use CubeProgrammer in CLI mode. In that case the command is

 STM32_Programmer_CLI.exe -c port=usb1 -ob displ

Or you can use CubeProgrammer in GUI mode.

In that just make a screen shot of the Option Bytes section (OB).

Parmin Nayani
Associate III

Hi Remi QUINTIN,

Thank you so much for immediate reply. Helps a lot. Will post the bits so you can guide further.

Best Regards

NPS

Parmin Nayani
Associate III

Hi Remi QUINTIN,

Here are the screenshots.

Parmin Nayani
Associate III

Not able to upload many files simultaneously

Parmin Nayani
Associate III

One more

Parmin Nayani
Associate III

Last one

Remi QUINTIN
ST Employee

​OK. So according to the SFSA value (0xF6), your FUS version is still V0.5.3 which is the very first version of FUS.

You have to upgrade it to be able to program one of the RF stack of the latest CubeWB FW pacakage.

Please use the last CubeWB FW package v1.9.

Perform a mass erase of the flash memory. Dont worry , you will get an error when the tool tries to erase the FUS protected sectors (above SFSA location).  But in the end, the user part of the memory becomes clean.

Then perform a fwdelete. Here you may not need it as there is no RF stack on your chip curently.

Then program the stm32wb5x_FUS_fw_1_0_2.bin  binary (= FUS V1.0.2)

Then program the stm32wb5x_FUS_fw..bin binary (= FUS V1.1.0)

Then program the RF stack you want using the start address listed in the release notes.

Finnaly program your application at 0x08000000.

Normally it should work!!! anyhow cross the fingers, it may help :)