cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB OTA FUS_STATE_ERROR_IMG_NOT_AUTHENTIC

APort
Associate III

Hello,

We are having an issue updating the BLE FW v1.13.3 to 1.17.2 using FUS 1.2.0.

Everything is working as expected until (after SHCI_C2_FUS_FwUpgrade(0, 0)) we are polling for SHCI_C2_FUS_GetState()

At first, its FUS_STATE_VALUE_FW_UPGRD_ONGOING as expected, which changes to FUS_STATE_ERROR_IMG_NOT_AUTHENTIC, then FUS_STATE_VALUE_IDLE.

After the reset, we are still on v1.13.3 (as expected after the failure).

Both stacks are stm32wb5x_BLE_Stack_full_extended_fw, load address calculated as per AN5185. We do erase one page before the load address.

P.S. This exact flow used to work on older versions ~1.10.x

Please advise.

Thanks in advance.

2 REPLIES 2
Issamos
Lead II

Hello @APort 

I suggest you to verify your updating steps using this wiki. Else, I think you should take a look on the FUS description in this wiki. It may be helpful.

Best regards.

II

APort
Associate III

Update:

We tried the same update using the BLE_OTA and STs android app on Nucleo board - with similar result. The app thinks everything alright, but after restart its the old stack version (it doesn't even check SHCI_FUS_GetState_ErrorCode_t).

Also same thing happens doing 1.13.3 to 1.14.1 or 1.13.3 to 1.17.2

Programmer flashes any of those versions without a problem.

I can safely say the OTA is broken, probably for a while now.