Skip to main content
dnj
Associate III
May 16, 2023
Question

I have to unplug Nucleo after flash to start BLE stack.

  • May 16, 2023
  • 3 replies
  • 1364 views

Whenever I upload code to my STM32 WB55 Nucleo to start Wireless stack (when I do not unplug and plug again there is no BLE device when I open ST BLE Toolbox) I have to manually reset device.

Is there a way to skip that step? I mean, when I do debug it is kind of annoying that I have to upload firmware and then only attach debugger without reset. Can anybody help me? It is firmware related problem (lack of Wireless stack reset at start?) oraz just debuggersettings (force "hard" reset after upload firmware)?

Thanks in advance.

This topic has been closed for replies.

3 replies

dnj
dnjAuthor
Associate III
May 25, 2023

Maybe, I didn't say it clear. I have to unplug my STM32 WB55 Dongle, plug it again to USB PC and then attach debuger. If I do it in other way I cannot see on ST BLE Toolbox my device.

It is log from ST BLE debug trace after click "Debug".
_legacyfs_online_stmicro_images_0693W00000bkr9aQAA.png 

dnj
dnjAuthor
Associate III
May 25, 2023

As you can see, it initalizes stack twice. Once before get to "HAL_Init();" breakpoint and after that.

dnj
dnjAuthor
Associate III
May 25, 2023

If I unplug and plug it again I can see only one stack initialization. Picture below.
_legacyfs_online_stmicro_images_0693W00000bkrB7QAI.png