-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed as not planned
Labels
Stalearea: BluetoothbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugknown issueKnown issueKnown issuepriority: mediumMedium impact/importance bugMedium impact/importance bug
Description
Describe the bug
It seems that bluetooth is non functional on nRF51 devices, running the peripheral_hr sample application gives the following output:
*** Booting Zephyr OS build v3.6.0-6522-g90ecdf0dab8c ***
[00:00:00.316,192] <inf> bt_hci_core: HW Platform: Nordic Semiconductor (0x0002)
[00:00:00.316,345] <inf> bt_hci_core: HW Variant: nRF51x (0x0001)
[00:00:00.316,467] <inf> bt_hci_core: Firmware: Standard Bluetooth controller (0x00) Version 3.6 Build 99
[00:00:00.320,556] <inf> bt_hci_core: Identity: C1:58:CF:2B:AB:12 (random)
[00:00:00.320,739] <inf> bt_hci_core: HCI: version 5.4 (0x0d) revision 0x0000, manufacturer 0x05f1
[00:00:00.320,922] <inf> bt_hci_core: LMP: version 5.4 (0x0d) subver 0xffff
Bluetooth initialized
Starting Legacy Advertising (connectable and scannable)
Advertising successfully started
Connected
[00:00:04.741,607] <err> os: ***** HARD FAULT *****
[00:00:04.741,699] <err> os: r0/a1: 0x02000400 r1/a2: 0x20001acc r2/a3: 0x000100b9
[00:00:04.741,790] <err> os: r3/a4: 0x200025b7 r12/ip: 0xff774201 r14/lr: 0x00013429
[00:00:04.741,821] <err> os: xpsr: 0x01000011
[00:00:04.741,882] <err> os: Faulting instruction address (r15/pc): 0x000100ba
[00:00:04.742,034] <err> os: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
[00:00:04.742,095] <err> os: Fault during interrupt handling
[00:00:04.742,248] <err> os: Current thread: 0x20001010 (unknown)
[00:00:04.815,399] <err> os: Halting system
This address is zephyr/subsys/bluetooth/controller/ll_sw/ull_llcp_common.c:936. I have also tried this in a custom application which has more logic and that faulted with zephyr/subsys/bluetooth/controller/ll_sw/nordic/lll/lll_conn.c:583 (discriminator 3) instead, that one is shown here:
E: ***** HARD FAULT *****
E: ARCH_EXCEPT with reason 3
E: r0/a1: 0x00000003 r1/a2: 0x0203001b r2/a3: 0x40001000
E: r3/a4: 0x00000003 r12/ip: 0x000000a5 r14/lr: 0x0001eae9
E: xpsr: 0x01000011
E: Faulting instruction address (r15/pc): 0x0001eaf8
E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0
E: Fault during interrupt handling
E: Current thread: 0x200010a8 (unknown)
E: Halting system
To Reproduce
Run peripheral_hr with default config on an nrf51-based board
Expected behavior
Bluetooth to work
Impact
Showstopper
Environment (please complete the following information):
- Commit SHA or Version used: 90ecdf0
Metadata
Metadata
Assignees
Labels
Stalearea: BluetoothbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugknown issueKnown issueKnown issuepriority: mediumMedium impact/importance bugMedium impact/importance bug