cancel
Showing results for 
Search instead for 
Did you mean: 

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

dnj
Associate III

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.

3 REPLIES 3
dnj
Associate III

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
Associate III

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

dnj
Associate III

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