Skip to main content
Associate
January 17, 2025
Solved

Updating BLE stack with command line tool requires power cycle

  • January 17, 2025
  • 1 reply
  • 688 views

We have been running into an issue on brand new custom hardware with the STM32wb55 chip that when we perform a FUS and BLE stack update using the stm_programmer CLI tool we need to perform a full power removal and apply before the BLE stack will actually work. When we run our tools to provision a board after the wireless stack upgrade is done we gave it the start stack command and when we boot into our application the cpu2 is failing to init. To recover from this we need to completely remove power and re apply for it to work.

Does the wireless stack upgrade require a full power cycle to complete.  We are using the command line tools connect under reset to try and trigger a reset of cpu2 but it does not.

Best answer by Lubos KOUDELKA

Hello,
please check chapter 2.3 Empty check in STM32WB55 reference manual 
"...A power reset or setting the OBL_LAUNCH bit in FLASH_CR register is needed to clear this flag after programming of a virgin device..."
Setting option bytes during your initial reset should prevent need for power reset during our initial programming.

Best regards,
Lubos

1 reply

Lubos KOUDELKA
Lubos KOUDELKABest answer
ST Employee
January 23, 2025

Hello,
please check chapter 2.3 Empty check in STM32WB55 reference manual 
"...A power reset or setting the OBL_LAUNCH bit in FLASH_CR register is needed to clear this flag after programming of a virgin device..."
Setting option bytes during your initial reset should prevent need for power reset during our initial programming.

Best regards,
Lubos