http_client sample BUS FAULT

Hi,

I'm trying to get the http_client sample working on nrf9160dk_nrf9160ns. The code compiled successfully, but there was a runtime error. And the printed messages are like this:

*** Booting Zephyr OS build v2.7.99-ncs1-1 ***
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 32.

SRAM region Domain Permissions
00 03 0x00000 0x08000 Secure rwxl
04 31 0x08000 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 Secure SKIP
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_EGU0 Non-Secure OK
22 NRF_EGU1 Non-Secure OK
23 NRF_EGU2 Non-Secure OK
24 NRF_EGU3 Non-Secure OK
25 NRF_EGU4 Non-Secure OK
26 NRF_EGU5 Non-Secure OK
27 NRF_DPPIC Non-Secure OK
28 NRF_REGULATORS Non-Secure OK
29 NRF_PDM Non-Secure OK
30 NRF_I2S Non-Secure OK
31 NRF_GPIOTE1 Non-Secure OK

SPM: NS image at 0x10000
SPM: NS MSP at 0x20011158
SPM: NS reset vector at 0x153a9
SPM: prepare to jump to Non-Secure image.


uart:~$ *** Booting Zephyr OS build v2.7.99-ncs1-1 ***
[00:00:00.501,708] <inf> net_config: Initializing network
[00:00:00.509,857] <inf> net_config: IPv4 address: 192.0.2.1
[00:00:00.518,463] <err> os: Exception occurred in Secure State
[00:00:00.527,313] <err> os: ***** HARD FAULT *****
[00:00:00.535,125] <err> os: Fault escalation (see below)
[00:00:00.543,640] <err> os: ***** BUS FAULT *****
[00:00:00.551,361] <err> os: Precise data bus error
[00:00:00.559,356] <err> os: BFAR Address: 0x50008158
[00:00:00.567,504] <err> os: r0/a1: 0x00000000 r1/a2: 0x20012774 r2/a3: 0x00000040
[00:00:00.578,491] <err> os: r3/a4: 0x00000000 r12/ip: 0x20010fe0 r14/lr: 0x00017355
[00:00:00.589,447] <err> os: xpsr: 0x01020000
[00:00:00.596,923] <err> os: Faulting instruction address (r15/pc): 0x00017356
[00:00:00.607,086] <err> os: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
[00:00:00.617,187] <err> os: Current thread: 0x2000d4b8 (main)
[00:00:00.625,946] <err> fatal_error: Resetting system

Can I get some help with this bus fault please?

Parents Reply Children
No Data
Related