I am trying to adapt the zigbee light_bulb sample to run on nrf52840-Dongle which does not have a QSPI flash chip. I see that it crashes unexpectedly during settings_subsys_init():
I: nRF5 802154 radio initialized
*** Booting Zephyr OS build v2.7.0-ncs1 ***
I: Starting ZBOSS Light Bulb example
E: XXX before settings_subsys_init
I: No GC Done marker found: restarting gc
E: ***** BUS FAULT *****
E: Imprecise data bus error
E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000
E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x00019d3f
E: xpsr: 0x61000000
E: s[ 0]: 0x00000000 s[ 1]: 0x00000000 s[ 2]: 0x00000000 s[ 3]: 0x00000000
E: s[ 4]: 0xffffffff s[ 5]: 0x00000000 s[ 6]: 0xffffffff s[ 7]: 0x00000000
E: s[ 8]: 0x00000000 s[ 9]: 0x00000000 s[10]: 0x00000000 s[11]: 0x00000000
E: s[12]: 0x00000000 s[13]: 0x00000000 s[14]: 0xffffffff s[15]: 0xffffffff
E: fpscr: 0xba672f9d
E: Faulting instruction address (r15/pc): 0x00007bd8
E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
E: Current thread: 0x20001538 (unknown)
Do I need to manually alter the way that the persistent Zigbee pairing data is stored in flash? partitions.yml says:
zboss_nvram:
address: 0xf5000
end_address: 0xfd000
placement:
after:
- app
align:
start: 0x1000
region: flash_primary
size: 0x8000
zboss_product_config:
address: 0xfd000
end_address: 0xfe000
placement:
after:
- zboss_nvram
region: flash_primary
size: 0x1000