Could not update FUS at STM32WB55CG chip in my custom board
Hi,
I'm using a custom board with STM32WB55CG. When I uploaded my custom BLE program with STM32IDE, the program could not work. Then I found the chip had an error with FUS and wireless stack. When I read the FUS info, the fus version was v1.1.1.0 and the stack version was v0.0.0.0.
When I push the Start Wireless Stack button, the error with FUS_STATE_IMG_NOT_FOUND was occurred.
Then I tried to upgrade FUS with stm32wb5x_BLE_Stack_full_extended_fw.bin(Release v1.13.3) and encountered with the problems. I tried the upgrade with cubeProgrammer v2.10.0, v2.9.0, and v2.8.0, and it returned the same results.
09:07:04 : Old Firmware delete ...
09:07:04 : Warning: Option Byte: nSWboot0, value: 0x0, was not modified.
09:07:04 : Warning: Option Byte: nboot0, value: 0x1, was not modified.
09:07:04 : Warning: Option Byte: nboot1, value: 0x1, was not modified.
09:07:04 : Warning: Option Bytes are unchanged, Data won't be downloaded
09:07:04 : Time elapsed during option Bytes configuration: 00:00:00.000
09:07:04 : Succeeded to set nSWboot0=0 nboot1=1 nboot0=1
09:07:04 : Memory Programming ...
09:07:04 : Opening and parsing file: 0x495_FUS_Operator.bin
09:07:04 : File : 0x495_FUS_Operator.bin
09:07:04 : Size : 8.00 KB
09:07:04 : Address : 0x08000000
09:07:04 : Erasing memory corresponding to segment 0:
09:07:04 : Erasing internal memory sectors [0 1]
09:07:04 : Download in Progress:
09:07:04 : File download complete
09:07:04 : Time elapsed during download operation: 00:00:00.249
09:07:04 : Application is running, Please Hold on...
09:07:11 : Reconnecting...
09:07:11 : Reconnected !
09:07:11 : Warning: FUS_STATE_IMG_NOT_FOUND, Flash already empty !
09:07:12 : Firmware delete Success
09:07:12 : Download Stack/FUS image at address 0x80c7000 ...
09:07:12 : Memory Programming ...
09:07:12 : Opening and parsing file: stm32wb5x_BLE_Stack_full_extended_fw.bin
09:07:12 : File : stm32wb5x_BLE_Stack_full_extended_fw.bin
09:07:12 : Size : 177.46 KB
09:07:12 : Address : 0x080C7000
09:07:12 : Erasing memory corresponding to segment 0:
09:07:12 : Erasing internal memory sectors [199 243]
09:07:13 : Download in Progress:
09:07:16 : File download complete
09:07:16 : Time elapsed during download operation: 00:00:04.098
09:07:16 : Firmware Upgrade process started ...
09:07:16 : Application is running, Please Hold on...
09:07:28 : Reconnecting...
09:07:28 : Reconnected !
09:07:28 : Error: The FUS version you're trying to install is older/equal to the FUS version already installed !
Also, I found some strange things at option bytes. The SNBRSA and SBRSA have different values and addresses from NUCLEO55USB-DONGLE. Here is the picture.
Any suggestions to fix this issue ?
