2021-09-30 07:48 AM
I just got my STM32WB55 Nucleo boards with FUS v.0.5.3 and trying to upgrade firmware but neither of the provided .bin files in "repository" ("stm32wb5x_FUS_fw.bin" or "stm32wb5x_FUS_fw_for_fus_0_5_3.bin") work. I get the same message for both when trying to program the files using STM32CubeProgrammer tool. (Note: message "Firmware Delete Successful" was present).
Attaching a picture of the error message I get.
Note: I tried to accomplish the same thing using both user USB DFU and ST-LINK interfaces.
Here's log from my flash attempts:
10:43:51 : Warning: Option Byte: nSWboot0, value: 0x0, was not modified.
10:43:51 : Warning: Option Byte: nboot0, value: 0x1, was not modified.
10:43:51 : Warning: Option Byte: nboot1, value: 0x1, was not modified.
10:43:51 : Warning: Option Bytes are unchanged, Data won't be downloaded
10:43:51 : Succeeded to set nSWboot0=0 nboot1=1 nboot0=1
10:43:51 : Memory Programming ...
10:43:51 : Opening and parsing file: 0x495_FUS_Operator.bin
10:43:51 : File : 0x495_FUS_Operator.bin
10:43:51 : Size : 8 KBytes
10:43:51 : Address : 0x08000000
10:43:51 : Erasing memory corresponding to segment 0:
10:43:51 : Erasing internal memory sectors [0 1]
10:43:51 : Download in Progress:
10:43:51 : File download complete
10:43:51 : Time elapsed during download operation: 00:00:00.292
10:43:51 : Application is running, Please Hold on...
10:43:51 : Reconnecting...
10:43:51 : Reconnected !
10:43:52 : FUS_STATE_IDLE
10:43:52 : Read FUS state command execution finished
10:43:52 : UPLOADING ...
10:43:52 : Size : 4 Bytes
10:43:52 : Address : 0x20010010
10:43:52 : Read progress:
10:43:52 : Data read successfully
10:43:52 : Time elapsed during the read operation is: 00:00:00.000
10:44:29 : Option byte command : -ob nSWBOOT0=1
10:44:29 : PROGRAMMING OPTION BYTES AREA ...
10:44:29 : Bank : 0x00
10:44:29 : Address : 0x58004020
10:44:29 : Size : 96 Bytes
10:44:29 : Reconnecting...
10:44:35 : Reconnected !
10:44:35 : UPLOADING OPTION BYTES DATA ...
10:44:35 : Bank : 0x00
10:44:35 : Address : 0x58004020
10:44:35 : Size : 96 Bytes
10:44:35 : Bank : 0x01
10:44:35 : Address : 0x58004080
10:44:35 : Size : 8 Bytes
10:44:35 : OPTION BYTE PROGRAMMING VERIFICATION:
10:44:35 : Option Bytes successfully programmed
10:44:46 : Old Firmware delete ...
10:44:46 : Warning: Option Byte: nboot0, value: 0x1, was not modified.
10:44:46 : Warning: Option Byte: nboot1, value: 0x1, was not modified.
10:44:46 : Reconnecting...
10:44:51 : Reconnected !
10:44:51 : Succeeded to set nSWboot0=0 nboot1=1 nboot0=1
10:44:51 : Memory Programming ...
10:44:51 : Opening and parsing file: 0x495_FUS_Operator.bin
10:44:51 : File : 0x495_FUS_Operator.bin
10:44:51 : Size : 8 KBytes
10:44:51 : Address : 0x08000000
10:44:51 : Erasing memory corresponding to segment 0:
10:44:51 : Erasing internal memory sectors [0 1]
10:44:51 : Download in Progress:
10:44:51 : File download complete
10:44:51 : Time elapsed during download operation: 00:00:00.292
10:44:51 : Application is running, Please Hold on...
10:44:58 : Reconnecting...
10:44:58 : Reconnected !
10:44:58 : Warning: FUS_STATE_IMG_NOT_FOUND, Flash already empty !
10:45:00 : Firmware delete Success
10:45:00 : Download Stack/FUS image at address 0x803a000 ...
10:45:00 : Memory Programming ...
10:45:00 : Opening and parsing file: stm32wb5x_FUS_fw_for_fus_0_5_3.bin
10:45:00 : File : stm32wb5x_FUS_fw_for_fus_0_5_3.bin
10:45:00 : Size : 24492 Bytes
10:45:00 : Address : 0x0803A000
10:45:00 : Erasing memory corresponding to segment 0:
10:45:00 : Erasing internal memory sectors [58 63]
10:45:00 : Download in Progress:
10:45:00 : File download complete
10:45:00 : Time elapsed during download operation: 00:00:00.666
10:45:00 : Firmware Upgrade process started ...
10:45:00 : Application is running, Please Hold on...
10:45:12 : Reconnecting...
10:45:12 : Reconnected !
10:45:12 : Error: FUS_STATE_IMG_NOT_AUTHENTIC
Solved! Go to Solution.
2022-03-03 11:18 PM
Hi! Where do you set that byte?
2022-03-18 08:10 PM
refer FUS_STATE_IMG_NOT_AUTHENTIC error updating FUS from 1.1.0 to 1.2.0 on STM32WB5MM-DK, this worked for me