Open
Description
Describe the bug
When I'm trying to upload stm32wb5x_BLE_HCILayer_fw.bin (i tried STM32CubeWB versions 1.17.0 and 1.13.0) to NUCLEO-WB55 (Nucleo68) board using STM32CubeProgrammer v2.14.0 and then flash beacon sample, I observe errors in minicom console and can not detect the beacon.
With stm32wb5x_BLE_HCILayer_extended_fw.bin this sample works fine.
To Reproduce
Steps to reproduce the behavior:
- upload to the board stm32wb5x_BLE_HCILayer_fw.bin from STM32CubeWB (from https://www.st.com/en/embedded-software/stm32cubewb.html#get-software ), instructions are in the file en.stm32cubewb-v1-17-0/STM32Cube_FW_WB_V1.17.0/Projects/STM32WB_Copro_Wireless_Binaries/STM32WB5x/Release_Notes.html
minicom -D /dev/ttyACM0
- (in another tab)
west build -p always -b nucleo_wb55rg samples/bluetooth/beacon/
west flash
- observe error in minicom console
Expected behavior
Beacon working and detectable by smartphone
Impact
I needed to stop and try things until I tried extended HCI version
Logs and console output
Starting Beacon Demo
ASSERTION FAIL [err == 0] @ WEST_TOPDIR/zephyr/subsys/bluetooth/host/hci_core.c:331
command opcode 0xfc0c timeout with err -11
[00:00:43.002,000] <err> os: r0/a1: 0x00000003 r1/a2: 0x00000000 r2/a3: 0x00000002
[00:00:43.002,000] <err> os: r3/a4: 0x20000340 r12/ip: 0x0000a7fa r14/lr: 0x080038cb
[00:00:43.002,000] <err> os: xpsr: 0x41000000
[00:00:43.002,000] <err> os: Faulting instruction address (r15/pc): 0x080038d6
[00:00:43.002,000] <err> os: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0
[00:00:43.002,000] <err> os: Current thread: 0x20000b58 (unknown)
[00:00:43.058,000] <err> os: Halting system
Environment (please complete the following information):
- OS: Ubuntu 22.04.2 LTS
- Toolchain: Zephyr SDK
- Version used: 0.16.1