cancel
Showing results for 
Search instead for 
Did you mean: 

[STM32WB55] Launch app after FUS/BLE stack update without power cycling

apous.1
Associate II

Hi,

I am working with a STM32WB55 MCU connected using a STLINK probe (SWD).

In the flashing flow, I use STM32_Programmer_CLI to erase the device, put it in FUS mode, update the FUS, update the BLE stack image, and then flash the app image.

One thing I realized was that after those steps, I couldn't start the app image without powering off and on the device. No reset, hardrst, core_rst nor anything I could find in the

STM32_Programmer_CLI --help

command allowed me to launch my app.

Is there any way to launch the app without having to manually power-off and on the board?

Is it quite annoying to have this extra step in the flow!

Kind regards,

A.P.

2 REPLIES 2
Remy ISSALYS
ST Employee

Hello,

According to UM2237, you can use the start command (see part 3.2.7) which enables execution of the device memory starting from the specified address. 

Best Regards

apous.1
Associate II

Hi Rémy,

Thank you for your answer.

Unfortunately, this doesn't work either!

Here is the output I receive:

$ STM32_Programmer_CLI -c port=swd sn=$MY_SN --start 0x8000000   
   
      -------------------------------------------------------------------
                        STM32CubeProgrammer v2.13.0                  
      -------------------------------------------------------------------
 
ST-LINK SN  : $MY_SN
ST-LINK FW  : V3J10M3B5S1
Board       : STLINK-V3SET
Voltage     : 0.00V
SWD freq    : 8000 KHz
Connect mode: Normal
Reset mode  : Software reset
Device ID   : 0x495
Revision ID : Rev Y
Device name : STM32WB5x/35xx
Flash size  : 1 MBytes
Device type : MCU
Device CPU  : Cortex-M4
BL Version  : 0xD5
Debug in Low Power mode enabled
 
 
RUNNING Program ... 
  Address:      : 0x8000000
Application is running, Please Hold on...
Start operation achieved successfully

After this, the device never boots. If I power it off then on, it starts nicely.

The Voltage = 0.00V is not surprising as there is no Vdd cable between the probe and the device.

Kind regards,

A.P.