Im compiling an app in nrf sdk 2.0.0 which works well on the nrf52811
Memory region Used Size Region Size %age Used
FLASH: 38100 B 192 KB 19.38%
SRAM: 9408 B 24 KB 38.28%
IDT_LIST: 0 GB 2 KB 0.00%
as soon as I add
CONFIG_NRF_802154_RADIO_DRIVER=y
into prj.conf
without even initializing (nrf_802154_init();)
Im getting the following in rtt console:
Memory region Used Size Region Size %age Used
FLASH: 62856 B 192 KB 31.97%
SRAM: 17568 B 24 KB 71.48%
IDT_LIST: 0 GB 2 KB 0.00%
[00:00:00.000,000] <err> os: ***** HARD FAULT ***** [00:00:00.000,030] <err> os: Fault escalation (see below) [00:00:00.000,030] <err> os: ***** MPU FAULT ***** [00:00:00.000,061] <err> os: Data Access Violation [00:00:00.000,061] <err> os: MMFAR Address: 0x0 [00:00:00.000,091] <err> os: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 [00:00:00.000,122] <err> os: r3/a4: 0x00[00:00:00.000,18[00:00:00.000,213] <err> 4] <err> os: MMFAR Address: 0x0 [00:00:00.000,274] <err> ATAL ERROR 0: CPU exception on Clation (see below) [00:00:00.000,21[00:00:00.000,244] <err> ATAL ERROR 0: CPU exception on Clation (see below) 0m [00:00:00.000,27os: >>> ZEPHYR FATAL ERROR 0: CPATAL ERROR 0: CPU exception on C [00:00:00.000,244] <err> os: xpsr: 0x21000000 5] <err> os: >>> ZEPHYR FATAL ERROR 0: CPfatal_error: Resetting system[0 [00:00:00.000,244] <err> os: xpsr: 0x21000000 os: xpsr: 0x21000000 5] <err> os: >>> ZEPHYR F2] <err> fatal_error: Resos: Fault escalation (see belo5] <err> os: xpsr: 0x213] <err> os: Fault esca[00:00:00.000,305] <err> [00:00:00.000,335] <err> os: >>> ZEPHYR FAULT ***** [00:00:00.000,183] <err> ad: 0x20001980 (unknown) os: ***** HARD FAULT ***** 3] <err> os: Data Acces (r15/pc): 0x0000d73c [00:00:00.000,334] <err> os: r0/a1: 0x00r: 0x0000d73b [00:00:00.000,30ad: 0x20001980 (unknown) [00:00:00.000,213] <err> os: Data Acces (r15/pc): 0x0000d73c ad: 0x20001980 (unknown) [00:00:00.000,213] <err> os: r0/a1: 0x00000000 r1/a2: (r15/pc): 0x0000d73c [00:00:00.000,33
Can you please help me to walk me through this to debug the situation. Im hoping Im not hitting memory limits of the nrf52811
====== EDIT
I have removed the SPI and TWI code and completely rmoved the call to 802154 header, but kept the prj config to enable 802154 stack ant this is the output on the rtt console
00> [00:00:00.000,335] <err> os: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 00> [00:00:00.000,335] <err> os: Current thread: 0x20001268 (unknown) 00> [00:00:00.285,644] <err> fatal_error: Resetting system 00> [00:00:00.000,183] <err> os: ***** HARD FAULT ***** 00> [00:00:00.000,183] <err> os: Fault escalation (see below) 00> [00:00:00.000,213] <err> os: ***** MPU FAULT ***** 00> [00:00:00.000,213] <err> os: Data Access Violation 00> [00:00:00.000,244] <err> os: MMFAR Address: 0x0 00> [00:00:00.000,244] <err> os: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 00> [00:00:00.000,274] <err> os: r3/a4: 0x00000009 r12/ip: 0x00000000 r14/lr: 0x0000b80d 00> [00:00:00.000,274] <err> os: xpsr: 0x21000000 00> [00:00:00.000,305] <err> os: Faulting instruction address (r15/pc): 0x0000b80e 00> [00:00:00.000,335] <err> os: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 00> [00:00:00.000,335] <err> os: Current thread: 0x20001268 (unknown) 00> [00:00:00.285,705] <err> fatal_error: Resetting system 00> [00:00:00.000,183] <err> os: ***** HARD FAULT ***** 00> [00:00:00.000,183] <err> os: Fault escalation (see below) 00> [00:00:00.000,213] <err> os: ***** MPU FAULT ***** 00> [00:00:00.000,213] <err> os: Data Access Violation 00> [00:00:00.000,244] <err> os: MMFAR Address: 0x0 00> [00:00:00.000,274] <err> os: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 00> [00:00:00.000,274] <err> os: r3/a4: 0x00000009 r12/ip: 0x00000000 r14/lr: 0x0000b80d 00> [00:00:00.000,305] <err> os: xpsr: 0x21000000 00> [00:00:00.000,305] <err> os: Faulting instruction address (r15/pc): 0x0000b80e
Im unsure about which KConfig options to enable here - what I want to run is a simple 802.15.4 in node mode.
Marcel