I have written the latest thigy91 firmware, thingy91_fw_2021-10-20_d29f1dde to a Thingy:91 PCA20035 1.4.0. It outputs a serial console the following messages and restarts:
ASSERTION FAIL [err == 0] @ WEST_TOPDIR/zephyr/subsys/bluetooth/host/hci_core.c:305
k_sem_take failed with err -11
How could I do to resolve this issue?
Hardware:
Thingy:91
PCA20035 1.4.0
Development environment:
macOS Big Sure ver11.6
JLink ver 7.56b
nRF Connect v3.7.2
Firmware:
thingy91_fw_2021-10-20_d29f1dde
Witten images:
image_fota_dfu_hex/debug/thingy91_asset_tracker_v2_debug_ltem_2021-10-20_d29f1dde.hex
image_fota_dfu_hex/thingy91_nrf52_connectivity_bridge_2021-10-20_d29f1dde.hex
mfw_nrf9160_1.3.1.zip
Serial console log:
$screen /dev/tty.usbmodem0009600176301 115200
03 NRF_RTC1 Non-Secure OK
04 NRF_NVMC Non-Secure OK
05 NRF_UARTE1 Non-Secure OK
06 NRF_UARTE2 Non-Secure OK
07 NRF_TWIM2 Non-Secure OK
08 NRF_SPIM3 Non-Secure OK
09 NRF_TIMER0 Non-Secure OK
10 NRF_TIMER1 Non-Secure OK
11 NRF_TIMER2 Non-Secure OK
12 NRF_SAADC Non-Secure OK
13 NRF_PWM0 Non-Secure OK
14 NRF_PWM1 Non-Secure OK
15 NRF_PWM2 Non-Secure OK
16 NRF_PWM3 Non-Secure OK
17 NRF_WDT Non-Secure OK
18 NRF_IPC Non-Secure OK
19 NRF_VMC Non-Secure OK
20 NRF_FPU Non-Secure OK
21 NRF_EGU1 Non-Secure OK
22 NRF_EGU2 Non-Secure OK
23 NRF_DPPIC Non-Secure OK
24 NRF_REGULATORS Non-Secure OK
25 NRF_PDM Non-Secure OK
26 NRF_I2S Non-Secure OK
27 NRF_GPIOTE1 Non-Secure OK
SPM: NS image at 0x10000
SPM: NS MSP at 0x20021fc0
SPM: NS reset vector at 0x195b9
SPM: prepare to jump to Non-Secure image.
*** Booting Zephyr OS build v2.6.99-ncs1 ***
LTE Sensor Gateway sample started
Initializing Bluetooth..
Establishing LTE link (this may take some time) ...
+CEREG: 90
ASSERTION FAIL [err == 0] @ WEST_TOPDIR/zephyr/subsys/bluetooth/host/hci_core.c:305
k_sem_take failed with err -11
[00:00:10.233,886] <err> os: r0/a1: 0x00000003 r1/a2: 0x00000000 r2/a3: 0x00000000
[00:00:10.233,917] <err> os: r3/a4: 0x00021751 r12/ip: 0x00001000 r14/lr: 0x0001a9e9
[00:00:10.233,917] <err> os: xpsr: 0x41000000
[00:00:10.233,917] <err> os: Faulting instruction address (r15/pc): 0x0001a9f4
[00:00:10.233,947] <err> os: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0
[00:00:10.233,947] <err> os: Current thread: 0x200174e0 (unknown)
*** Booting Zephyr OS build v2.6.99-ncs1 ***ng system
Flash regions Domain Permissions
00 01 0x00000 0x10000 Secure rwxl
02 31 0x10000 0x100000 Non-Secure rwxl
Non-secure callable region 0 placed in flash region 1 with size 64.
SRAM region Domain Permissions
00 07 0x00000 0x10000 Secure rwxl
08 31 0x10000 0x40000 Non-Secure rwxl
Peripheral Domain Status
00 NRF_P0 Non-Secure OK
01 NRF_CLOCK Non-Secure OK
02 NRF_RTC0 Non-Secure OK
03 NRF_RTC1 Non-Secure OK
04 NRF_NVMC Non-Secure OK
05 NRF_UARTE1 Non-Secure OK
06 NRF_UARTE2 Non-Secure OK
07 NRF_TWIM2 Non-Secure OK
08 NRF_SPIM3 Non-Secure OK
09 NRF_TIMER0 Non-Secure OK
10 NRF_TIMER1 Non-Secure OK
11 NRF_TIMER2 Non-Secure OK
12 NRF_SAADC Non-Secure OK
13 NRF_PWM0 Non-Secure OK
14 NRF_PWM1 Non-Secure OK
15 NRF_PWM2 Non-Secure OK
16 NRF_PWM3 Non-Secure OK
17 NRF_WDT Non-Secure OK
18 NRF_IPC Non-Secure OK
19 NRF_VMC Non-Secure OK
20 NRF_FPU Non-Secure OK
21 NRF_EGU1 Non-Secure OK
22 NRF_EGU2 Non-Secure OK
23 NRF_DPPIC Non-Secure OK
24 NRF_REGULATORS Non-Secure OK
25 NRF_PDM Non-Secure OK
26 NRF_I2S Non-Secure OK
27 NRF_GPIOTE1 Non-Secure OK
SPM: NS image at 0x10000
SPM: NS MSP at 0x20021fc0
SPM: NS reset vector at 0x195b9
SPM: prepare to jump to Non-Secure image.
*** Booting Zephyr OS build v2.6.99-ncs1 ***
LTE Sensor Gateway sample started
Initializing Bluetooth..
Establishing LTE link (this may take some time) ...
+CEREG: 90