2020-03-22 03:48 AM
Hello, i'm using ST32 p-Nucleo WB55 and i'm trying to upgrade FUS, latest version. I 'm getting an error (FUS_IMAGE_NOT_FOUND) during the upload phase. This is the code:
-------------------------------------------------------------------
STM32CubeProgrammer v2.4.0
-------------------------------------------------------------------
USB speed : Full Speed (12MBit/s)
Manuf. ID : STMicroelectronics
Product ID : DFU in FS Mode
SN : 20523174554D
FW version : 0x011a
Device ID : 0x0495
Device name : STM32WB55xx
Flash size : 1 MBytes
Device type : MCU
Device CPU : Cortex-M0+/M4
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:
[== ] 4%
[==== ] 8%
[====== ] 12%
[======== ] 16%
[========== ] 20%
[============ ] 25%
[============== ] 29%
[================ ] 33%
[================== ] 37%
[==================== ] 41%
[====================== ] 45%
[========================= ] 50%
[=========================== ] 54%
[============================= ] 58%
[=============================== ] 62%
[================================= ] 66%
[=================================== ] 70%
[===================================== ] 75%
[======================================= ] 79%
[========================================= ] 83%
[=========================================== ] 87%
[============================================= ] 91%
[=============================================== ] 95%
[==================================================] 100%
File download complete
Time elapsed during download operation: 00:00:00.502
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_NO_ERROR
FUS state is WIRELESS_STACK_UPGRADE_ONGOING
FUS status is FUS_ERROR_UNKNOWN
Warning: Firmware upgrade Error! Retrying...
Retry -- 0
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
If anyone knows how to solve it, answer soon.
2020-03-26 10:14 AM
Hi,
I spent literally the whole day on the same problem.
I think I found a solution. But I am using the STM32CubeProgrammer GUI, not CLI.
I was facing the same FUS_IMAGE_NOT_FOUND error and sometimes the FUS NOT AUTHENTICATE.
What I did is (I have the Nucleo board too) :
Hope this helps. I don"t know if it is the right way/solution, but it worked for me.
Regards
Marc