cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB Can't Use NOTIFY after OTA update without power reset

WSher.1
Associate II

Hello!

I'm trying to use the base OTA firmware updater within the STM32WB github package.

For some reason, when I try to use the notify characteristic in my app after an OTA update, the notifications aren't being sent out.

Is there something that needs to be reset after an OTA update within the BLE stack to re-enable the notify characteristic?

Thanks!

2 REPLIES 2
WSher.1
Associate II

This issue also works in reverse too. If power toggle the STM32WB, and run my firmware then NOTIFY works fine. When I send it a command to go into OTA then NOTIFY via OTA doesn't work.

I've narrowed it down to something within the bluetooth stack or something not being reset within CPU2.

Remy ISSALYS
ST Employee

Hello,

First check if you have the latest firmware version on your board:

  • FUS v1.2.0
  • BLE Stack (stm32wb5x_BLE_Stack_full_fw.bin) v1.13.0

If you need to update your firmware download the latest release (available here https://www.st.com/en/embedded-software/stm32cubewb.html) and follow the instruction of this wiki page:

https://wiki.st.com/stm32mcu/wiki/Connectivity:STM32WB_BLE_Hardware_Setup#FUS_and_wireless_stack_update

Then flash your board with BLE_Ota_reference.hex available in STM32Cube_FW_WB_V1.13.0\Projects\P-NUCLEO-WB55.Nucleo\Applications\BLE\BLE_Ota\Binary.

Download on your smartphone BLE_HeartRate_ota_reference.bin and BLE_p2pServer_ota_reference.bin files.

Take your smartphone with ST BLE Sensor application:

  • Click on Connect one Device
  • Connect to your device STM_OTA
  • Once connection is established select BLE_HeartRate_ota_reference.bin for example by clicking on select file
  • Click on bottom left button
  • Pop up appears when upload is completed
  • Then connect to your new application HRSTM

More informations about OTA process is available in AN5247.

Best Regards