cancel
Showing results for 
Search instead for 
Did you mean: 

Error: fwdelete Operation Failure! Please, try again

Ra.1
Associate II

Hello I am using stm32wb55 nucleo i am tring to delete the firmware but it shows error

C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin>STM32_Programmer_CLI.exe -c port=SWD -fwdelete

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

            STM32CubeProgrammer v2.6.0

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

ST-LINK SN : 066CFF303430484257141344

ST-LINK FW : V2J37M26

Board    : P-NUCLEO-WB55

Voltage   : 3.25V

SWD freq  : 4000 KHz

Connect mode: Normal

Reset mode : Software reset

Device ID  : 0x495

Revision ID : Rev Y

Device name : STM32WBxx

Flash size : 1 MBytes

Device type : MCU

Device CPU : Cortex-M4

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

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

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

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

Succeeded to set nSWboot0=0 nboot1=1 nboot0=1

Memory Programming ...

Opening and parsing file: 0x495_FUS_Operator.bin

 File     : 0x495_FUS_Operator.bin

 Size     : 11584 Bytes

 Address    : 0x08000000

Erasing memory corresponding to segment 0:

Erasing internal memory sectors [0 2]

Download in Progress:

██████████████████████████████████████████████████ 100%

File download complete

Time elapsed during download operation: 00:00:00.401

Application is running

Reconnecting...

Reconnected !

Error: FUS_STATE_ERR_UNKNOWN

Firmware delete n░1 failed after retrying!

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

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

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

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

Succeeded to set nSWboot0=0 nboot1=1 nboot0=1

Memory Programming ...

Opening and parsing file: 0x495_FUS_Operator.bin

 File     : 0x495_FUS_Operator.bin

 Size     : 11584 Bytes

 Address    : 0x08000000

Erasing memory corresponding to segment 0:

Erasing internal memory sectors [0 2]

Download in Progress:

██████████████████████████████████████████████████ 100%

File download complete

Time elapsed during download operation: 00:00:00.406

Application is running

Reconnecting...

Reconnected !

Error: FUS_STATE_ERR_UNKNOWN

Firmware delete n░1 failed after retrying!

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

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

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

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

Succeeded to set nSWboot0=0 nboot1=1 nboot0=1

Memory Programming ...

Opening and parsing file: 0x495_FUS_Operator.bin

 File     : 0x495_FUS_Operator.bin

 Size     : 11584 Bytes

 Address    : 0x08000000

Erasing memory corresponding to segment 0:

Erasing internal memory sectors [0 2]

Download in Progress:

██████████████████████████████████████████████████ 100%

File download complete

Time elapsed during download operation: 00:00:00.343

Application is running

Reconnecting...

Reconnected !

Error: FUS_STATE_ERR_UNKNOWN

Firmware delete n░1 failed after retrying!

Error: fwdelete Operation Failure! Please, try again

plz give me the solution

36 REPLIES 36
Houda GHABRI
ST Employee

Hi @Ra.1​ ,

Sorry for the delay.

According to your screenshot your FUS is not started (fus version : v0.0.0.0).

You need to start it using "Start FUS " button because M0 cortex can either operate the FUS or the FW not both in same time.

So you need to :

  • upgrade to the last FUS version v1.2.0 , you can find it under STM32Cube_FW_WB_V1.12.0RC1\Projects\STM32WB_Copro_Wireless_Binaries\STM32WB5xWB FW\stm32wb5x_FUS_fw.bin please be sure to put the correct address 0x080EC000 (address may change please read the release note for more information )
  • Start the FUS then do the FW delete.

0693W00000DpfnSQAR.png 

Do not hesitate to contact me if the issue still exist.

Houda

Ra.1
Associate II

Hello Houda,

As per your suggestion i started FUS

after that i tried to delete so i am facing same issue, another thing we need to observe here that FUS version still showing v0.0.0.0

0693W00000Dpgv8QAB.png

Ra.1
Associate II

Hello Remi QUINTIN,

1) while going to option bytes it shows that check the flash protection, and another thing i am not able to connect ST-link utility

2) 8 months back i have purchased

Houda GHABRI
ST Employee

Hi @Ra.1​ ,

can you please confirm The Firmware upgrade is done correctly?

Houda

Ra.1
Associate II

Hello all,

these are for the reference

0693W00000Dph1VQAR.png0693W00000DpgzLQAR.png0693W00000Dph1LQAR.png0693W00000Dph1BQAR.png0693W00000Dph16QAB.png0693W00000Dph11QAB.png 

Remi QUINTIN
ST Employee

Thanks for the download but I am just missing the 2 most important ones: SFSA and SBRV which are part of the security configuration. They do not appear on the first screenshot.

Ra.1
Associate II

Hello houda,

this is the log which i got after updating

18:24:42 : Warning: Option Byte: nSWboot0, value: 0x0, was not modified.

18:24:42 : Warning: Option Byte: nboot0, value: 0x1, was not modified.

18:24:42 : Warning: Option Byte: nboot1, value: 0x1, was not modified.

18:24:42 : Warning: Option Bytes are unchanged, Data won't be downloaded

18:24:42 : Succeeded to set nSWboot0=0 nboot1=1 nboot0=1 

18:24:42 : Memory Programming ...

18:24:42 : Opening and parsing file: 0x495_FUS_Operator.bin

18:24:42 :  File     : 0x495_FUS_Operator.bin

18:24:42 :  Size     : 8 KBytes

18:24:42 :  Address    : 0x08000000 

18:24:42 : Erasing memory corresponding to segment 0:

18:24:42 : Erasing internal memory sectors [0 1]

18:24:42 : Download in Progress:

18:24:43 : File download complete

18:24:43 : Time elapsed during download operation: 00:00:00.280

18:24:43 : Application is running, Please Hold on...

18:24:43 : Reconnecting...

18:24:43 : Reconnected !

18:24:47 : Reconnecting...

18:24:47 : Reconnected !

18:24:48 : StartFus activated successfully

18:24:48 : FUS_STATE_IDLE

18:24:48 : Start FUS execution finished

0693W00000Dph6BQAR.png0693W00000Dph82QAB.png

Hello houda,

this is the log which i got after updating

18:24:42 : Warning: Option Byte: nSWboot0, value: 0x0, was not modified.

18:24:42 : Warning: Option Byte: nboot0, value: 0x1, was not modified.

18:24:42 : Warning: Option Byte: nboot1, value: 0x1, was not modified.

18:24:42 : Warning: Option Bytes are unchanged, Data won't be downloaded

18:24:42 : Succeeded to set nSWboot0=0 nboot1=1 nboot0=1 

18:24:42 : Memory Programming ...

18:24:42 : Opening and parsing file: 0x495_FUS_Operator.bin

18:24:42 :  File     : 0x495_FUS_Operator.bin

18:24:42 :  Size     : 8 KBytes

18:24:42 :  Address    : 0x08000000 

18:24:42 : Erasing memory corresponding to segment 0:

18:24:42 : Erasing internal memory sectors [0 1]

18:24:42 : Download in Progress:

18:24:43 : File download complete

18:24:43 : Time elapsed during download operation: 00:00:00.280

18:24:43 : Application is running, Please Hold on...

18:24:43 : Reconnecting...

18:24:43 : Reconnected !

18:24:47 : Reconnecting...

18:24:47 : Reconnected !

18:24:48 : StartFus activated successfully

18:24:48 : FUS_STATE_IDLE

18:24:48 : Start FUS execution finished

0693W00000Dph6BQAR.png0693W00000Dph82QAB.png

Hi @Ra.1​ 

Yes the FUS seems to be upgraded successfully according to your traces so I eliminate a FUS version issue.

I will check with our experts what can be the reason to have this issue and come back to you with updates very soon.

Houda

yes plz...,, I am waiting..!!