cancel
Showing results for 
Search instead for 
Did you mean: 

Erasing of flash in STM32WB BLE OTA example not working

tj.1
Associate

I have loaded BLE OTA example (v1.13.1) to my STM32WB50CG. User application starts on default set address 0x08007000. Problem is when I send a BLE command to OTA Reboot characteristic (to load into OTA, first sector + how many to delete) from my Android app to the STM the flash never deletes. I've been debuging the OTA STM example code but everything returns status OK except flash doesn't actually erase. After this command is sent, I disconnect the phone from the STM board.

If I manually delete flash via STMCube Programmer, BLE OTA example then completely works as intended.

Any idea what could be the cause?

1 REPLY 1
Remy ISSALYS
ST Employee

Hello,

Do you see the same behavior when using BLE_HeartRate_ota or BLE_p2pServer_ota examples ?

Best Regards