2026-04-17 6:51 PM - last edited on 2026-05-06 3:56 AM by Andrew Neil
Board / SoC
Software
Issue summary
When building a very small Zephyr application for NUCLEO-WB09KE, simply enabling:
CONFIG_BT=ycan cause intermittent boot failure.
The failure happens very early in boot:
This happens even when the application does not call any Bluetooth API.
Minimal application
main.c
#include <zephyr/kernel.h>
#include <zephyr/sys/printk.h>
int main(void)
{
while (1) {
printk("M\n");
k_busy_wait(100000);
}
return 0;
}Minimal project configuration
prj.conf
CONFIG_BT=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_EARLY_CONSOLE=y
CONFIG_PRINTK=y
CONFIG_ASSERT=y
CONFIG_ASSERT_VERBOSE=y
CONFIG_LOG=n
CONFIG_PM=nObserved behavior
With Bluetooth disabled, the board boots and repeatedly prints:
M
M
M
...2026-04-27 10:54 AM
Hello @Eyck-Huang ,
This may be caused by hardware bootloader activation.
Did you check the jumper settings and hardware reset sequence to ensure the bootloader is running and UART is enabled?
2026-04-28 5:06 AM
Hi @Imen.D ,
Yes, I’ve checked all the configurations you mentioned above. This issue only occurs when CONFIG_BT=y. If CONFIG_BT=n, everything works normally.
2026-04-30 2:57 PM
Hi @Eyck-Huang ,
Did you try to run another project on the same boards, not a zephyr one. This is to identify if it is a hardware issue or a Zephyr issue. You cant try a BLE example from CubeWB0 package.
What is the error log that you have?
2026-05-05 5:47 PM
Hi @Imen.D ,
I have tried running the STM32 PAwR example, and I did not encounter any issues. So I suspect the problem is related to Zephyr.
2026-05-06 3:51 AM
Are you using latest release of STM32CubeWB0 MCU package?
Maybe you have issue with Zephyr, so try with the revision shared in github.