cancel
Showing results for 
Search instead for 
Did you mean: 

Nucleo STM32WB55RG BLE with Zephyr Project HCI issue

AkbarShah
Visitor

Hi ST community,

I wanted to develop BLE application using the nucleo stm32wb55rg and the zephyr project v4.3.0. what i did is take a nucleo stm32wb55rg board first i upgraded the FUS from the STM32Cube/Repository/STM32Cube_FW_WB_V1.23.0/Projects/STM32WB_Copro_Wireless_Binaries/STM32WB5x/stm32wb5x_FUS_fw_1_2_0.bin

then after this i updated the wireless stack firmware with this one STM32Cube/Repository/STM32Cube_FW_WB_V1.23.0/Projects/STM32WB_Copro_Wireless_Binaries/STM32WB5x/stm32wb5x_BLE_HCILayer_extended_fw.bin.

after this i power cycle the board, which is required for the wireless stack to load.
after that i build a sample from the zephyr v4.3.0 buluetooth samples "Peripheral_dis sample"
i build it for the nucleo_wb55rg board and flash it, the flash logs can be seen below.

after this i connected a serial terminal to view the logs and the logs can be seen below. the zephyr is unable to communicate with the wireless stack with error timeout.

i have tested this setup with multiple wireless stack binaries such is from 1.13.0 and 1.17.0 and 1.19.0 wireless binaries but all resulted in the same error. 

what i want is an guide to get started with, or may be look at my current flow and tell me where am i going wrong.

looking forward to hear from you.

thanks and regards
Akbar Shah


*** Booting Zephyr OS build v4.3.0-rc2-127-gf2428c68ff2f ***
ASSERTION FAIL [err == 0] @ WEST_TOPDIR/zephyr/subsys/bluetooth/host/hci_core.c:504
        Controller unresponsive, command opcode 0xfc0c timeout with err -11
r0/a1:  0x00000003  r1/a2:  0x08010dfc  r2/a3:  0x00000000
r3/a4:  0x00000003 r12/ip:  0x00000000 r14/lr:  0x08002a7b
 xpsr:  0x21000000
Faulting instruction address (r15/pc): 0x08002a8a
(.venv) flash@Ghost:~/zephyrproject/peripheral_dis$ west flash
-- west flash: rebuilding
ninja: no work to do.
-- west flash: using runner stm32cubeprogrammer
      -------------------------------------------------------------------
                        STM32CubeProgrammer v2.21.0                  
      -------------------------------------------------------------------

ST-LINK SN  : 0674FF524957787187011712
ST-LINK FW  : V2J39M27
Board       : NUCLEO-WB55RG
Voltage     : 3.24V
SWD freq    : 4000 KHz
Connect mode: Under Reset
Reset mode  : Hardware reset
Device ID   : 0x495
Revision ID : Rev X
Device name : STM32WB5x/35xx
Flash size  : 1 MBytes
Device type : MCU
Device CPU  : Cortex-M4
BL Version  : 0xD5
Debug in Low Power mode enabled



Opening and parsing file: zephyr.hex


Memory Programming ...
  File          : zephyr.hex
  Size          : 71.07 KB 
  Address       : 0x08000000


Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 17]
Download in Progress:
[==================================================] 100% 

File download complete
Time elapsed during download operation: 00:00:01.704

RUNNING Program ... 
  Address:      : 0x8000000
Application is running, Please Hold on...
Start operation achieved successfully
(.venv) flash@Ghost:~/zephyrproject/peripheral_dis$ 

Screenshot From 2025-11-17 17-11-41.png

0 REPLIES 0