cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to start FUS

ATaba.1
Associate II

I am using the STM32WB55RG MCU, Bluetooth feature with stack version 1.13.0 and FUS version 1.2.0. Everything was working normal until I tried doing the firmware upgrade of stack from v12.0 to v13.0. I am not able to perform FUS related operations. The version reading shows 0.0.0 for FUS. And following is the log when I hit "Start FUS"

 11:09:47 : Warning: Option Byte: nSWboot0, value: 0x0, was not modified.

 11:09:47 : Warning: Option Byte: nboot0, value: 0x1, was not modified.

 11:09:47 : Warning: Option Byte: nboot1, value: 0x1, was not modified.

 11:09:47 : Warning: Option Bytes are unchanged, Data won't be downloaded

 11:09:47 : Succeeded to set nSWboot0=0 nboot1=1 nboot0=1 

 11:09:47 : Memory Programming ...

 11:09:47 : Opening and parsing file: 0x495_FUS_Operator.bin

 11:09:47 :  File     : 0x495_FUS_Operator.bin

 11:09:47 :  Size     : 8 KBytes

 11:09:47 :  Address    : 0x08000000 

 11:09:47 : Erasing memory corresponding to segment 0:

 11:09:47 : Erasing internal memory sectors [0 1]

 11:09:47 : Download in Progress:

 11:09:47 : File download complete

 11:09:47 : Time elapsed during download operation: 00:00:00.272

 11:09:47 : Application is running, Please Hold on...

 11:09:47 : Reconnecting...

 11:09:47 : Reconnected !

 11:09:51 : Reconnecting...

 11:09:51 : Reconnected !

 11:09:51 : Error: FUS_STATE_ERR_UNKNOWN

 11:09:51 : Start FUS failed !

 11:09:51 : Error: Start FUS Operation Failure! Please, try again

Following is OB info attached. Cube programmer version I am using is : v2.9.0

What could be the issue, please let me know how to resolve FUS and start wireless stack successfully ?

Thanks.

Arshiya Tabassum

@bponnanavenkat@actalentservices.com

27 REPLIES 27
ATaba.1
Associate II

Sorry about that, here it is:0693W00000KbzEcQAJ.png

Remy ISSALYS
ST Employee

Hello,

Load this diagnostic binary in M4 which display Wireless Stack and FUS version on debug trace and allow to perform some action:

  • Press SW1 to delete the installed Wireless Stack
  • Press SW2 to install the CPU2 update (either FUS or Wireless Stack), file already in flash memory
  • Press SW3 to switch between FUS and Wireless Stack

In your case, FUS is running, so try to delete the installed Wireless Stack and then with STM32CubeProgrammer install the stack with address indicated in release notes.

Best Regards

ATaba.1
Associate II

Hi @Remy ISSALYS​ ,

Thank you for the binary. I have the following questions regarding how to use this binary:

  • How to load it onto M4?
  • Can I use CubeProgrammer to load this? If yes, what is the address I should flash it at?
  • Where is the SW1, SW2 or SW3 located?
  • Are you referring to switches on some board? I am currently using the STM32WB55RG chip on a custom board.

Thank you,

Arshiya Tabassum

Remy ISSALYS
ST Employee

Hello,

You can use STM32CubeProgrammer to load the binary into M4 at 0x08000000. Yes, I refers to P-NUCLEO-WB55 board. So, I think you can try this binary only to see wireless stack and FUS version.

Best Regards

ATaba.1
Associate II

Okay, if I understand correctly, I can flash this via programmer at 0x08000000 and hit the "Read FUS Info" button to read FUS and stack versions?

Can I use the same binary and try deleting the wireless stack through cube programmer by hitting "Firmware Delete" button?

Thanks

Remy ISSALYS
ST Employee

You can flash the binary via STM32CubeProgrammer in "Erasing and Programming" window at 0x08000000. When it's done, if you are able to connect your board to a HyperTerminal (TeraTerm for example), you have some logs which displayed FUS and Wireless Stack version like this:

0693W00000Kc8oQQAR.pngYou can also see if the FUS is runnning or if WS is running.

Others solution with STM32CubeProgrammer, try to delete Wireless Stack with "Firmware Delete" button.

Regards

dnj
Associate III

I have similar problem, I have old Nucleo Board and new one, on the old one I can't do wireless stack update and FUS update, and even examples with BLE don't work.


_legacyfs_online_stmicro_images_0693W00000bjshRQAQ.png
_legacyfs_online_stmicro_images_0693W00000bjshWQAQ.png
_legacyfs_online_stmicro_images_0693W00000bjshbQAA.pngI flashed your binary and don't see any information on VCP i TeraTerm, tried 115200 and 9600 baudrate.
_legacyfs_online_stmicro_images_0693W00000bjsieQAA.pngWhat can I do to make it work? Please help me.

Remi QUINTIN
ST Employee

Just missing the ESE and SBRV value.

For the old board, you may need to update the FUS version.

Can you try to read the FUS version via the USB port in DFU mode at address 0x0x20030030?

Use cube programmer or the command in line below:

STM32_Programmer_CLI.exe -c port=usb1 -r32 0x20030030 1

Remy ISSALYS
ST Employee

Hello,

According to your screenshot, SBRV is equal to 0x3D800 that indicate FUS v0.5.3 is running on your board. So, you must update the FUS using the stm32wb5x_FUS_fw_for_fus_0_5_3.bin binary.

Best Regards

Remi QUINTIN
ST Employee

oups I did not see the small window below :) for the SBRV value.