Skip to main content
lbo.1
Associate II
October 15, 2020
Solved

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

  • October 15, 2020
  • 55 replies
  • 9599 views

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

This topic has been closed for replies.
Best answer by Remi QUINTIN

​The trend is to have all devices pre-loaded with FUS v1.1.1 in the mean term but the process is done step by step, line by line, package by package, ...

So it is hard to give you an exact answer as it depends on what type of WB devices and when you'll purchase them.

55 replies

Parmin Nayani
Associate III
October 26, 2020

Hello Remi QUINTIN,

I programmed the controller as advised. Now SFSA shows 0xcb. I programmed the application hex file, still problem remains same. Only once after programming the device the GREEN LED was ON, but the application in the mobile could not detect any BL devices. I removed power and applied again. Now the GREEN LED is OFF and app is unable to detect any BL device.

Remi QUINTIN
ST Technical Moderator
October 26, 2020

​Are you selecting the right BLE_p2pserver application for the dongle (not the one for the nucleo)?

The green LED should blink (not light on only).

Green led off means the RF stack is not advertising => Strange.

Could you recheck the option byte?

Parmin Nayani
Associate III
October 27, 2020

Hello Remi QUINTIN,

Sorry for the delayed reply. I am using the Nucleo board and am using the programmes for this board. To connect to the board I am using my mobile (Android based). I will redo everything again and post the results. I would also like to get ZigBee working. I guess once BL is working I may be able to get ZigBee working without bothering you. Kindly help me solve these issues. Thank you.

Remi QUINTIN
ST Technical Moderator
October 27, 2020

​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.

Parmin Nayani
Associate III
October 27, 2020

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

Parmin Nayani
Associate III
November 2, 2020

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 Technical Moderator
November 2, 2020

​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.

Parmin Nayani
Associate III
November 3, 2020

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