cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with flashing and FUS on stm32wb55 dongle

Georgeee
Associate

Hello,
I tried to flash a new board stm32wb55 dongle. After the firmware there was no FUS operator, I soldered the st-link and managed to install the FUS operator, but after that, having flashed with my code (which worked on the old stm32wb55 dongle), the board began to blink with three LEDs, as in the stock program, while clearing the memory and flashing the necessary one The situation does not change with the code.Also, having connected to the stm32programmer with a working dongle board, it also stopped working...

How to solve this problem? Thanx.

Georgeee_0-1731059646061.png

Also you can see Rev X, what is this? Working dongle was Rev Y.

Georgeee_1-1731059944040.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hello @Georgeee 

To flash the Wireless Coprocessor Binary via USB (STM32CubeProgrammer GUI), you have to follow this guide available on the ReadMe file of the STM32CubeWB/Projects/STM32WB_Copro_Wireless_Binaries/STM32WB5x at master · STMicroelectronics/STM32CubeWB:

  • Inside the below procedure, the references to binaries name and install address are provided in the section Main Changes of this file.

  • STEP 1: Use STM32CubeProgrammer GUI

    • Version 2.7.0 or higher.

    • It gives access to Firmware Upgrade Service (FUS) (AN5185 : ST firmware upgrade services for STM32WB Series.) through Bootloader.

    • It is currently available as Graphical User Interface (GUI) mode (or Command Line Interface (CLI) mode).

  • STEP 2: Access to Bootloader USB Interface (system flash)

    • For P-NUCLEO-WB55.USBDongle :
      • Move switch SW2 to Boot0
      • Connect P-NUCLEO-WB55.USBDongle
    • Warning: required Option Byte configuration: [nSWboot0=1]

    • Open STM32CubeProgrammer GUI and select “USB” with (Port: USB1) in USB configuration then select “Connect”

  • STEP 3: step bypassed via USB

  • STEP 4: Read and upgrade FUS Version

    • it can been obtained selecting “Read FUS infos”
      • 00050300: FUSv0.5.3 => Must be updated using STEP 5.
      • 010X0Y00: FUSv1.x.y => Must be updated using STEP 6 (when x < 2).
      • 01020000: FUSv1.2.0 => Up to date, you can download the new wireless stack using STEP 7.
  • STEP 5: Download latest FUS for only FUSv0.5.3 upgrade

    • in Firmware Upgrade Service: (File Path: [stm32wb5x_FUS_fw_for_fus_0_5_3.bin], Start Address: [Install@])
    • then select “Firmware Upgrade” Please check Firmware Upgrade Services Binary Table for Install@ parameter depending of the binary.
  • STEP 6: Download latest FUS or Safeboot

    • in Firmware Upgrade Service: (File Path: [FUS_Binary], Start Address: [Install@])
    • then select “Firmware Upgrade” Please check Firmware Upgrade Services Binary Table for Install@ parameter depending of the binary.
  • STEP 7: Download new wireless stack (after “FW Delete” if requested)

    • in Firmware Upgrade Service: (File Path: [Wireless_Coprocessor_Binary], Start Address: [Install@])
    • then select “Firmware Upgrade” (with “Verify download” and “Start stack after upgrade”) Please check Firmware Upgrade Services Binary Table for Install@ parameter depending of the binary.
  • STEP 8: Revert STEP 2 procedure to put back device in normal mode.

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

3 REPLIES 3
STTwo-32
ST Employee

Hello @Georgeee and welcome to The ST Community.

Could you please update your FUS and Stack using the .bin files available on the last version of the STM32CUBEWB. If the issue persists, try to reproduce it using one of our ST Examples available here That use the same stack as yours (BLE, Zigbee, ...). 

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Hello!

Thanks, this helped me! I installed the latest versions of stm32wb5x_FUS_fw and stm32wb5x_Zigbee_FFD_fw (1.20), it helped, but only with the stm32wb55 dongle, which were soldered to the st-link, I tried to flash the dongle in the same way by connecting it to the stm32programmer via usb, unfortunately it didn’t work, it freezes and crashes, I also wanted to clarify that the FUS operator is not installed via USB, but with a soldered st-link it is installed. I wanted to clarify whether it is possible to flash the stm32wb55 dongle via usb so that the FUS operator can be installed?

Georgeee_0-1731154257838.png

About image: since i started working with the new stm32wb55 dongle board, the stack version was v.1.17.1.0, i tried to install the newest version(1.20), but every time stm32programmer crushed.

 

Hello @Georgeee 

To flash the Wireless Coprocessor Binary via USB (STM32CubeProgrammer GUI), you have to follow this guide available on the ReadMe file of the STM32CubeWB/Projects/STM32WB_Copro_Wireless_Binaries/STM32WB5x at master · STMicroelectronics/STM32CubeWB:

  • Inside the below procedure, the references to binaries name and install address are provided in the section Main Changes of this file.

  • STEP 1: Use STM32CubeProgrammer GUI

    • Version 2.7.0 or higher.

    • It gives access to Firmware Upgrade Service (FUS) (AN5185 : ST firmware upgrade services for STM32WB Series.) through Bootloader.

    • It is currently available as Graphical User Interface (GUI) mode (or Command Line Interface (CLI) mode).

  • STEP 2: Access to Bootloader USB Interface (system flash)

    • For P-NUCLEO-WB55.USBDongle :
      • Move switch SW2 to Boot0
      • Connect P-NUCLEO-WB55.USBDongle
    • Warning: required Option Byte configuration: [nSWboot0=1]

    • Open STM32CubeProgrammer GUI and select “USB” with (Port: USB1) in USB configuration then select “Connect”

  • STEP 3: step bypassed via USB

  • STEP 4: Read and upgrade FUS Version

    • it can been obtained selecting “Read FUS infos”
      • 00050300: FUSv0.5.3 => Must be updated using STEP 5.
      • 010X0Y00: FUSv1.x.y => Must be updated using STEP 6 (when x < 2).
      • 01020000: FUSv1.2.0 => Up to date, you can download the new wireless stack using STEP 7.
  • STEP 5: Download latest FUS for only FUSv0.5.3 upgrade

    • in Firmware Upgrade Service: (File Path: [stm32wb5x_FUS_fw_for_fus_0_5_3.bin], Start Address: [Install@])
    • then select “Firmware Upgrade” Please check Firmware Upgrade Services Binary Table for Install@ parameter depending of the binary.
  • STEP 6: Download latest FUS or Safeboot

    • in Firmware Upgrade Service: (File Path: [FUS_Binary], Start Address: [Install@])
    • then select “Firmware Upgrade” Please check Firmware Upgrade Services Binary Table for Install@ parameter depending of the binary.
  • STEP 7: Download new wireless stack (after “FW Delete” if requested)

    • in Firmware Upgrade Service: (File Path: [Wireless_Coprocessor_Binary], Start Address: [Install@])
    • then select “Firmware Upgrade” (with “Verify download” and “Start stack after upgrade”) Please check Firmware Upgrade Services Binary Table for Install@ parameter depending of the binary.
  • STEP 8: Revert STEP 2 procedure to put back device in normal mode.

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.