zephyr: Enabling Bluetooth on nRF5340 fails

Describe the bug Call to bt_enable() on nRF5340 fails on bttester with -11 error:

[00:00:02.163,299] <err> bt_hci_core: HCI driver open failed (-11)

To Reproduce Build and flash bttester on nRF5340

Expected behavior Bluetooth is enabled on BTP GAP service registration.

Impact Blocker for running qualification tests on nRF5340

Logs and console output *** Booting Zephyr OS build v4.0.0-rc2 *** [00:00:00.253,356] <dbg> bttester: tester_init: Initializing tester [00:00:06.055,450] <dbg> bttester: cmd_handler: cmd service 0 opcode 3 index 255 [00:00:07.055,694] <err> bt_hci_driver: Endpoint binding failed with -11 [00:00:07.055,694] <err> bt_hci_core: HCI driver open failed (-11) [00:00:07.055,725] <err> bttester_gap: Unable to enable Bluetooth: -11 [00:00:07.055,725] <dbg> bttester: tester_rsp_with_index: service 0 opcode 3 index 255 status 1

23f03dcd84381e14e28c8a4ca1b21933bf14ec97 is the first bad commit

    samples: Bluetooth: hci_uart hci_ipc configuration update

    Updates to project configuration extras to build with
    Zephyr Controller.

    Configure for 2 broadcast audio sources in 2 groups,
    2 unicast audio source in 1 group and, 2 audio sinks
    for 1 group for both broadcast and unicast usecases.

    Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 19 (19 by maintainers)

Most upvoted comments

OVERLAY_CONFIG was deprecated and replaced with EXTRA_CONF_FILE in Zephyr 3.4: https://docs.zephyrproject.org/latest/releases/release-notes-3.4.html#build-system-and-infrastructure

I’m bit puzzled cause this is now also set from nrf5340_cpunet_iso-bt_ll_sw_split.conf

No, it is commented out in the samples/bluetooth/hci_ipc sample: https://github.com/zephyrproject-rtos/zephyr/blob/23fb3b77a2b2cf53eff1697888f443236069b30c/samples/bluetooth/hci_ipc/nrf5340_cpunet_iso-bt_ll_sw_split.conf#L140-L141