STM32WB FUS upgrade fails, Segmentation Fault - Nucleo WB55 USB dongle
I follow steps 1-5 for the Release Notes for STM32WB Copro Wireless Binaries (STM32CubeWB 1.1.1 patch):
./STM32_Programmer_CLI -c port=usb1 -fwdelete
-------------------------------------------------------------------
STM32CubeProgrammer v2.1.0
-------------------------------------------------------------------
USB speed : Full Speed (12MBit/s)
Manuf. ID : STMicroelectronics
Product ID : DFU in FS Mode
SN : 206B38933036
FW version : 0x011a
Device ID : 0x0495
Device name : STM32WBxx
Flash size : 1 MBytes
Device type : MCU
Device CPU : Cortex-M0+/M4
RSS state is RSS_ERROR
RSS status is RSS_NOT_RUNNING
RSS state is RSS_IDLE
RSS status is RSS_NO_ERROR
Deleting firmware ...
Firmware delete finished
fwdelete command execution finishedThen I check the FUS version:
./STM32_Programmer_CLI -c port=usb1 -r32 0x20030030 1
-------------------------------------------------------------------
STM32CubeProgrammer v2.1.0
-------------------------------------------------------------------
USB speed : Full Speed (12MBit/s)
Manuf. ID : STMicroelectronics
Product ID : DFU in FS Mode
SN : 206B38933036
FW version : 0x011a
Device ID : 0x0495
Device name : STM32WBxx
Flash size : 1 MBytes
Device type : MCU
Device CPU : Cortex-M0+/M4
0x20030030 : 00050300Then I proceed to update the FUS:
./STM32_Programmer_CLI -c port=usb1 -fwupgrade stm32wb5x_FUS_fw.bin 0x080EC000 firstinstall=0
-------------------------------------------------------------------
STM32CubeProgrammer v2.1.0
-------------------------------------------------------------------
USB speed : Full Speed (12MBit/s)
Manuf. ID : STMicroelectronics
Product ID : DFU in FS Mode
SN : 206B38933036
FW version : 0x011a
Device ID : 0x0495
Device name : STM32WBxx
Flash size : 1 MBytes
Device type : MCU
Device CPU : Cortex-M0+/M4
RSS state is RSS_IDLE
RSS status is RSS_NO_ERROR
Old Firmware delete ...
Deleting firmware ...
Error: Device has been disconnected
Segmentation fault (core dumped)Now nothing works! Any command results in a segmentation fault. As you can see from the code snippets I'm using STM32CubeProgrammer.