OS:Ubuntu
Board: nrf52840DK
SDK: NRF Connect SDK (master branch)
After building provided example: Bluetooth: HCI Power Control and flashing the board, in serial monitor I get the following errors:
[00:00:00.000,091] <err> os: ***** MPU FAULT ***** [00:00:00.000,091] <err> os: Data Access Violation [00:00:00.000,122] <err> os: MMFAR Address: 0x20004e80 [00:00:00.000,122] <err> os: r0/a1: 0x20004e38 r1/a2: 0x00000000 r2/a3: 0x00000220 [00:00:00.000,122] <err> os: r3/a4: 0x20004e80 r12/ip: 0xe000ed90 r14/lr: 0x0001c993 [00:00:00.000,122] <err> os: xpsr: 0x81000000 [00:00:00.000,122] <err> os: Faulting instruction address (r15/pc): 0x0001e976 [00:00:00.000,122] <err> os: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 [00:00:00.000,152] <err> os: Current thread: 0x20002500 (unknown) [00:00:01.049,957] <err> fatal_error: Resetting system
Commands used to build and flash:
west build -p auto -b nrf52840dk_nrf52840 samples/bluetooth/hci_pwr_ctrl west flash
When I tried building and flashing just with zephyr original code, from their master branch, everything worked without any problems. What can be wrong?