2021-11-01 08:41 AM
I have followed the steps detailed in the release notes, but both using the GUI and the CLI I still get the error about the firmware being not authentic (despite having downloaded it from ST's website).
Here's the log from the CLI:
./STM32_Programmer_CLI -c port=usb1 -fwupgrade /home/rob/Downloads/stm32/STM32Cube_FW_WB_V1.12.0/Projects/STM32WB_Copro_Wireless_Binaries/STM32WB5x/stm32wb5x_FUS_fw_for_fus_0_5_3.bin 0x080EC000 firstinstall=0
-------------------------------------------------------------------
STM32CubeProgrammer v2.8.0
-------------------------------------------------------------------
USB speed : Full Speed (12MBit/s)
Manuf. ID : STMicroelectronics
Product ID : DFU in FS Mode
SN : 206332A3544E
FW version : 0x011a
Device ID : 0x0495
Device name : STM32WB5x
Flash size : 1 MBytes
Device type : MCU
Device CPU : Cortex-M4
Current FUS Version : 0x00050300==================] 100%
Uploaded FUS Version : 0x01002000
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_for_fus_0_5_3.bin
File : stm32wb5x_FUS_fw_for_fus_0_5_3.bin
Size : 24492 Bytes
Address : 0x080EC000
Erasing memory corresponding to segment 0:
Erasing internal memory sectors [236 241]
rasing 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:
[==================================================] 100% 4%
File download complete
Time elapsed during download operation: 00:00:00.487
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_IMAGE_NOT_AUTHENTIC
Error: Firmware not authentic!
What am I doing wrong?
Thanks a lot in advance!
Best,
Rob
Solved! Go to Solution.
2021-11-01 10:16 AM
Hello @RRob.746 and welcome to the Community :)
Try set RDP option byte to 0xBB (level 1) and back to 0xAA (level 0). Then, upgrade the FUS.
I advise you to have a look at this AN5185 on the table explains possible errors.
I'll be waiting for your update on this post.
When your issue is solved, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Imen
2021-11-01 10:16 AM
Hello @RRob.746 and welcome to the Community :)
Try set RDP option byte to 0xBB (level 1) and back to 0xAA (level 0). Then, upgrade the FUS.
I advise you to have a look at this AN5185 on the table explains possible errors.
I'll be waiting for your update on this post.
When your issue is solved, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Imen
2021-11-02 09:12 AM
Helo Imen,
Thanks a lot!! That worked like a charm :)