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

I switched ON the system. When I read FUS state, I got this error (image1). I plugged the power off to the Nucleo board by removing both the USB connectors (ST-Link and user USB), plugged again. This time when I read I get no error. However the green LED does not blink. Yesterday I used the "Firmware Delete" key to delete the BLE stack and programmed it again.

0693W0000059P8hQAE.jpg0693W0000059P9zQAE.jpg

Remi QUINTIN
ST Employee

​At the time you plug the board, the FUS is not running. You need to activate it to get its version. As mentioned in AN5185, you may have to call the FUS_GET_STATE command twice before getting the result. The “READ FUS STATE�? button is issuing this FUS_GET_STATE command. If you press it twice, you will get the information displayed for sure.

Use the programming sequence I exposed above and it should be OK.

Thank you so much Remi QUINTIN. I shall do as advised.

Parmin Nayani
Associate III

Hi Remi QUINTIN,

Help needed please. This is driving me crazy. Looks like everything is in order but the sample application is not running. I am trying to program the Nucleo board (not the dongle). I have been able to load V1.1.0.0 FUS. Thereafter to load the RF stack steps followed:

  1. Did a "Firmware Delete".
  2. Programmed the "stm32wb5x_BLE_Stack_full_fw.bin" at the given address (0x080cb000) from the folder "STM32WB5x".
  3. Programmed the application .HEX file "BLE_p2pServer_reference". This application is supposed allow a client to connect and change the LED. I wanted to use my Android phone as client and hence installed ST BLE Sensor app. As per application note the green LED will blink to indicate that the BLE server is advertising
  4. I tried programming the code more than once. Every time the application code is loaded, I see the Green LED ON but nothing else happens. The mobile app keeps scanning for a BLE device and after some time stops.

Except reloading the FUS V 1.1.0.0, I tried loading the RF stack and the application program more than once. When I read the FUS status it shows IDLE most times. Is this correct (if RF stack is running FUS must be stopped. Right?)

What am doing wrong in the above steps?

Thank you for your time.

Regards

PS: Should I start a new thread as my above question is not really related to the topic?

Remi QUINTIN
ST Employee

​Did you remove the jumper used to set PHY/BOOT0 to 1? to boot from main flash.

Yes start a new thread if the issue is not solved with this check.

Hi Remi QUINTIN,

Thank you very much. You hit the bulls eye!!! Yes I missed the jumper, but then the "run after programming" is ticked, hence did not really bother to check with the jumper setting. Sorry to have disturbed so very often and hope not to trouble you further. Best regards

NPS