cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB FUS upgrade fail from 1.1.0 to 1.1.2

WD
Associate II

 Please, Help me.

Attach log:

PS C:\> STM32_Programmer_CLI.exe -c port=usb1 -fwdelete

     -------------------------------------------------------------------

                      STM32CubeProgrammer v2.6.0

     -------------------------------------------------------------------

USB speed  : Full Speed (12MBit/s)

Manuf. ID  : STMicroelectronics

Product ID : DFU in FS Mode

SN         : 20583172544E

FW version : 0x011a

Device ID  : 0x0495

Device name : STM32WBxx

Flash size : 1 MBytes

Device type : MCU

Device CPU : Cortex-M4

FUS state is FUS_ERROR

FUS status is FUS_NOT_RUNNING

FUS state is FUS_IDLE

FUS status is FUS_NO_ERROR

Deleting firmware ...

Firmware delete finished

1 ACCEPTED SOLUTION

Accepted Solutions
Remi QUINTIN
ST Employee

FUS V1.1.2 is an intermediate version dedicated for optimization of flash usage and some internal security enhancements.

It doesn’t contain any major changes and so there is no need for a customer to move to V1.1.2.

It may even be considered as being the same version as the current one installed.

Hence the message you get: older/equal to the FUS version already installed !

View solution in original post

4 REPLIES 4
WD
Associate II

PS C:\> STM32_Programmer_CLI.exe -c port=usb1 -r32 0x20030030 1

     -------------------------------------------------------------------

                      STM32CubeProgrammer v2.6.0

     -------------------------------------------------------------------

USB speed  : Full Speed (12MBit/s)

Manuf. ID  : STMicroelectronics

Product ID : DFU in FS Mode

SN         : 20583172544E

FW version : 0x011a

Device ID  : 0x0495

Device name : STM32WBxx

Flash size : 1 MBytes

Device type : MCU

 100%e CPU : Cortex-M4

Reading 32-bit memory content

 Size         : 4 Bytes

 Address:     : 0x20030030

0x20030030 : 01010000

WD
Associate II

PS C:\> STM32_Programmer_CLI.exe -c port=usb1 -fwupgrade C:\STM32Cube\Repository\STM32Cube_FW_WB_V1.11.0\Projects\STM32WB_Copro_Wireless_Binaries\STM32WB5x\stm32wb5x_FUS_fw.bin 0x080EC000 firstinstall=0

     -------------------------------------------------------------------

                      STM32CubeProgrammer v2.6.0

     -------------------------------------------------------------------

USB speed  : Full Speed (12MBit/s)

Manuf. ID  : STMicroelectronics

Product ID : DFU in FS Mode

SN         : 20583172544E

FW version : 0x011a

Device ID  : 0x0495

Device name : STM32WBxx

Flash size : 1 MBytes

Device type : MCU

Device CPU : Cortex-M4

栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢Current FUS Version : 0x01010000

Uploaded FUS Version : 0x01010200

FUS state is FUS_SERVICE_ONGOING

FUS status is FUS_IMAGE_NOT_FOUND

FUS state is FUS_IDLE

FUS status is FUS_NO_ERROR

Old wireless stack delete ...

Deleting firmware ...

Firmware delete finished

FUS state is FUS_SERVICE_ONGOING

FUS status is FUS_IMAGE_NOT_FOUND

FUS state is FUS_IDLE

FUS status is FUS_NO_ERROR

Download firmware image at address 0x80ec000 ...

Memory Programming ...

Opening and parsing file: stm32wb5x_FUS_fw.bin

 File         : stm32wb5x_FUS_fw.bin

 Size         : 24492 Bytes

 Address      : 0x080EC000

Erasing memory corresponding to segment 0:

Erasing internal memory sectors [236 241]

erasing sector 0236 @: 0x080ec000 done

erasing sector 0237 @: 0x080ed000 done

erasing sector 0238 @: 0x080ee000 done

erasing sector 0239 @: 0x080ef000 done

erasing sector 0240 @: 0x080f0000 done

erasing sector 0241 @: 0x080f1000 done

Download in Progress:

栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢굇?100%%

File download complete

Time elapsed during download operation: 00:00:00.594

FUS state is FUS_IDLE

FUS status is FUS_NO_ERROR

Firmware Upgrade process started ...

Updating firmware ...

Waiting for firmware upgrade end

FUS state is WIRELESS_STACK_UPGRADE_ONGOING

FUS status is FUS_FW_ROLLBACK_ERROR

Error: The FUS version you're trying to install is older/equal to the FUS version already installed !

WD
Associate II

PS C:\> STM32_Programmer_CLI.exe -c port=usb1 -ob displ

     -------------------------------------------------------------------

                      STM32CubeProgrammer v2.6.0

     -------------------------------------------------------------------

USB speed  : Full Speed (12MBit/s)

Manuf. ID  : STMicroelectronics

Product ID : DFU in FS Mode

SN         : 20583172544E

FW version : 0x011a

Device ID  : 0x0495

Device name : STM32WBxx

Flash size : 1 MBytes

Device type : MCU

Device CPU : Cortex-M4

UPLOADING OPTION BYTES DATA ...

 Bank         : 0x00

 Address      : 0x1fff8000

 Size         : 128 Bytes

栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢 100%

OPTION BYTES BANK: 0

  Read Out Protection:

    RDP         : 0xAA (Level 0, no protection)

  BOR Level:

    BOR_LEV     : 0x0 (BOR Level 0 reset level threshold is around 1.7 V)

  User Configuration:

    nBOOT0      : 0x1 (nBOOT0=1 Boot from main Flash)

    nBOOT1      : 0x1 (Boot from Flash if nBoot0=0 otherwise system memory)

    nSWBOOT0    : 0x1 (BOOT0 taken from PH3/BOOT0 pin)

    SRAM2RST    : 0x0 (SRAM2 erased when a system reset occurs)

    SRAM2PE     : 0x1 (SRAM2 parity check disable)

    nRST_STOP   : 0x1 (No reset generated when entering the Stop mode)

    nRST_STDBY  : 0x1 (No reset generated when entering the Standby mode)

    nRSTSHDW    : 0x1 (No reset generated when entering the Shutdown mode)

    WWDGSW      : 0x1 (Software window watchdog)

    IWGDSTDBY   : 0x1 (Independent watchdog counter running in Standby mode)

    IWDGSTOP    : 0x1 (Independent watchdog counter running in Stop mode)

    IWDGSW      : 0x1 (Software independent watchdog)

    IPCCDBA     : 0x0 (0x0)

  Security Configuration Option bytes:

    ESE         : 0x1 (Security enabled)

    SFSA        : 0xF4 (0xF4)

    FSD         : 0x0 (System and Flash secure)

    DDS         : 0x1 (CPU2 debug access disabled)

    C2OPT       : 0x1 (SBRV will address Flash)

    NBRSD       : 0x0 (SRAM2b is secure)

    SNBRSA      : 0x10 (0x10)

    BRSD        : 0x1 (SRAM2a is non-secure)

    SBRSA       : 0x0 (0x0)

    SBRV        : 0x3D000 (0x3D000)

  PCROP Protection:

    PCROP1A_STRT : 0x1FF (0x80FF800)

    PCROP1A_END : 0x0 (0x8000800)

    PCROP_RDP   : 0x0 (PCROP zone is kept when RDP is decreased)

    PCROP1B_STRT : 0x1FF (0x80FF800)

    PCROP1B_END : 0x0 (0x8000800)

  Write Protection:

    WRP1A_STRT  : 0xFF (0x80FF000)

    WRP1A_END   : 0x0 (0x8000000)

    WRP1B_STRT  : 0xFF (0x80FF000)

    WRP1B_END   : 0x0 (0x8000000)

Remi QUINTIN
ST Employee

FUS V1.1.2 is an intermediate version dedicated for optimization of flash usage and some internal security enhancements.

It doesn’t contain any major changes and so there is no need for a customer to move to V1.1.2.

It may even be considered as being the same version as the current one installed.

Hence the message you get: older/equal to the FUS version already installed !