2021-08-13 02:32 AM
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
2021-08-18 03:21 AM
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 :
Do not hesitate to contact me if the issue still exist.
Houda
2021-08-18 05:40 AM
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
2021-08-18 05:42 AM
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
2021-08-18 05:46 AM
Hi @Ra.1 ,
can you please confirm The Firmware upgrade is done correctly?
Houda
2021-08-18 05:48 AM
Hello all,
these are for the reference
2021-08-18 05:53 AM
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.
2021-08-18 05:56 AM
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
2021-08-18 06:02 AM
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
2021-08-18 07:24 AM
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
2021-08-19 03:34 AM
yes plz...,, I am waiting..!!