Skip to main content
MP.17
Associate II
July 22, 2026
Question

STM32WB09 - BLE Heartrate OTA Example after powercycle flash reverted back

  • July 22, 2026
  • 0 replies
  • 6 views

System: STM32CubeIDE 2.2.0, Win11
 

Hi there,

I am using the STM32WB09 and I am running the BLE Heartrate OTA Example via debugger.
There is only one thing I don’t understand:

When I create a release version of this example (= hex file) and execute a “run” command in STM32CubeIDE, the program is running until I powercycle the device. Then suddenly there seems to be an old application in Flash?

But when I create a new project, execute the same “run” command the program remains also after powercycle.

Here’s a log of my run command with the application which will be reverted back after power cycle:
 

ST-LINK SN : 0044004E3137510E33333639

ST-LINK FW : V3J17M11

Board : STLINK-V3MINI

Voltage : 3.30V

SWD freq : 8000 KHz

Connect mode: hwRstPulse

Reset mode : Software reset

Device ID : 0x032

Revision ID : Rev A

Device name : STM32WB09

NVM size : 512 KBytes (default)

Device type : MCU

Device CPU : Cortex-M0

BL Version : --

Opening and parsing file: ST-LINK_GDB_server_a16044.srec

Memory Programming ...

File : ST-LINK_GDB_server_a16044.srec

Size : 120.28 KB

Address : 0x10041000

Erasing memory corresponding to segment 0:

Erasing internal memory sectors [2 62]

Download in Progress:

File download complete

Time elapsed during download operation: 00:00:02.439

Verifying...

Time elapsed during verifying operation: 00:00:00.380

Download verified successfully

Shutting down...

Exit.