The 52840 chip is stable with this and I have extended the code for my project, but I can't seem to get the 54L15 to be stable.
I will add the coredump and rebuild as well, but I think just trying this, commission on Apple and wait and you will get the crash as well, also you can try building with debug and it should crash on commission.
Build in vscode
* Executing task: nRF Connect: Generate config nrf54l15dk/nrf54l15/cpuapp for /Users/stevenriedl/Github/thermostat_3 Building thermostat_3 west build --build-dir /Users/stevenriedl/Github/thermostat_3/build /Users/stevenriedl/Github/thermostat_3 --pristine --board nrf54l15dk/nrf54l15/cpuapp -- -DNCS_TOOLCHAIN_VERSION=NONE -DBOARD_ROOT=/Users/stevenriedl/Github/thermostat_3 -- west build: generating a build system Loading Zephyr module(s) (Zephyr base): sysbuild_default -- Found Python3: /opt/nordic/ncs/toolchains/15b490767d/opt/[email protected]/bin/python3.12 (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: /Users/stevenriedl/Library/Caches/zephyr -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf54l15dk, qualifiers: nrf54l15/cpuapp Parsing /Users/stevenriedl/Github/thermostat_3/Kconfig.sysbuild Loaded configuration '/Users/stevenriedl/Github/thermostat_3/build/_sysbuild/empty.conf' Merged configuration '/Users/stevenriedl/Github/thermostat_3/sysbuild.conf' Configuration saved to '/Users/stevenriedl/Github/thermostat_3/build/zephyr/.config' Kconfig header saved to '/Users/stevenriedl/Github/thermostat_3/build/_sysbuild/autoconf.h' -- ***************************** * Running CMake for mcuboot * ***************************** Loading Zephyr default modules (Zephyr base). -- Application: /opt/nordic/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr -- CMake version: 3.21.0 -- Found Python3: /opt/nordic/ncs/toolchains/15b490767d/bin/python (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: /Users/stevenriedl/Library/Caches/zephyr -- Zephyr version: 3.7.99 (/opt/nordic/ncs/v2.8.0/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf54l15dk, qualifiers: nrf54l15/cpuapp -- Found host-tools: zephyr 0.16.8 (/opt/nordic/ncs/toolchains/15b490767d/opt/zephyr-sdk) -- Found toolchain: zephyr 0.16.8 (/opt/nordic/ncs/toolchains/15b490767d/opt/zephyr-sdk) -- Found Dtc: /opt/nordic/ncs/toolchains/15b490767d/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6") -- Found BOARD.dts: /opt/nordic/ncs/v2.8.0/zephyr/boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l15_cpuapp.dts -- Found devicetree overlay: /Users/stevenriedl/Github/thermostat_3/sysbuild/mcuboot/boards/nrf54l15dk_nrf54l15_cpuapp.overlay unit address and first address in 'reg' (0x5004c000) don't match for /soc/peripheral@50000000/vpr@4c000/mailbox@1 -- Generated zephyr.dts: /Users/stevenriedl/Github/thermostat_3/build/mcuboot/zephyr/zephyr.dts -- Generated devicetree_generated.h: /Users/stevenriedl/Github/thermostat_3/build/mcuboot/zephyr/include/generated/zephyr/devicetree_generated.h -- Including generated dts.cmake file: /Users/stevenriedl/Github/thermostat_3/build/mcuboot/zephyr/dts.cmake Parsing /opt/nordic/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr/Kconfig Loaded configuration '/opt/nordic/ncs/v2.8.0/zephyr/boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l15_cpuapp_defconfig' Merged configuration '/Users/stevenriedl/Github/thermostat_3/sysbuild/mcuboot/prj.conf' Merged configuration '/Users/stevenriedl/Github/thermostat_3/sysbuild/mcuboot/boards/nrf54l15dk_nrf54l15_cpuapp.conf' Merged configuration '/opt/nordic/ncs/v2.8.0/nrf/subsys/partition_manager/ext_flash_mcuboot_secondary.conf' Merged configuration '/Users/stevenriedl/Github/thermostat_3/build/mcuboot/zephyr/.config.sysbuild' Configuration saved to '/Users/stevenriedl/Github/thermostat_3/build/mcuboot/zephyr/.config' Kconfig header saved to '/Users/stevenriedl/Github/thermostat_3/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h' -- Found GnuLd: /opt/nordic/ncs/toolchains/15b490767d/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38") -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- The ASM compiler identification is GNU -- Found assembler: /opt/nordic/ncs/toolchains/15b490767d/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -- Setting build type to 'MinSizeRel' as none was specified. -- Using ccache: /opt/nordic/ncs/toolchains/15b490767d/bin/ccache MCUBoot bootloader key file: /opt/nordic/ncs/v2.8.0/bootloader/mcuboot/root-rsa-2048.pem -- Configuring done -- Generating done -- Build files have been written to: /Users/stevenriedl/Github/thermostat_3/build/mcuboot -- ********************************** * Running CMake for thermostat_3 * ********************************** -- Application: /Users/stevenriedl/Github/thermostat_3 -- CMake version: 3.21.0 Loading Zephyr default modules (Zephyr base). -- Found Python3: /opt/nordic/ncs/toolchains/15b490767d/bin/python (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: /Users/stevenriedl/Library/Caches/zephyr -- Zephyr version: 3.7.99 (/opt/nordic/ncs/v2.8.0/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf54l15dk, qualifiers: nrf54l15/cpuapp -- Found host-tools: zephyr 0.16.8 (/opt/nordic/ncs/toolchains/15b490767d/opt/zephyr-sdk) -- Found toolchain: zephyr 0.16.8 (/opt/nordic/ncs/toolchains/15b490767d/opt/zephyr-sdk) -- Found Dtc: /opt/nordic/ncs/toolchains/15b490767d/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6") -- Found BOARD.dts: /opt/nordic/ncs/v2.8.0/zephyr/boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l15_cpuapp.dts -- Found devicetree overlay: /Users/stevenriedl/Github/thermostat_3/boards/nrf54l15dk_nrf54l15_cpuapp.overlay unit address and first address in 'reg' (0x5004c000) don't match for /soc/peripheral@50000000/vpr@4c000/mailbox@1 -- Generated zephyr.dts: /Users/stevenriedl/Github/thermostat_3/build/thermostat_3/zephyr/zephyr.dts -- Generated devicetree_generated.h: /Users/stevenriedl/Github/thermostat_3/build/thermostat_3/zephyr/include/generated/zephyr/devicetree_generated.h -- Including generated dts.cmake file: /Users/stevenriedl/Github/thermostat_3/build/thermostat_3/zephyr/dts.cmake warning: Deprecated symbol NET_SOCKETS_POSIX_NAMES is enabled. Parsing /Users/stevenriedl/Github/thermostat_3/Kconfig Loaded configuration '/opt/nordic/ncs/v2.8.0/zephyr/boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l15_cpuapp_defconfig' Merged configuration '/Users/stevenriedl/Github/thermostat_3/prj.conf' Merged configuration '/Users/stevenriedl/Github/thermostat_3/boards/nrf54l15dk_nrf54l15_cpuapp.conf' Merged configuration '/Users/stevenriedl/Github/thermostat_3/build/thermostat_3/zephyr/.config.sysbuild' Configuration saved to '/Users/stevenriedl/Github/thermostat_3/build/thermostat_3/zephyr/.config' Kconfig header saved to '/Users/stevenriedl/Github/thermostat_3/build/thermostat_3/zephyr/include/generated/zephyr/autoconf.h' -- Found GnuLd: /opt/nordic/ncs/toolchains/15b490767d/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38") -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- The ASM compiler identification is GNU -- Found assembler: /opt/nordic/ncs/toolchains/15b490767d/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc =========== Generating psa_crypto_config =============== Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: True Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Backup: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False Backup: CONFIG_MBEDTLS_THREADING: False Backup: CONFIG_MBEDTLS_THREADING_ALT: True =========== Checkpoint: backup =============== Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: True Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Restore: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False Restore: CONFIG_MBEDTLS_THREADING: False Restore: CONFIG_MBEDTLS_THREADING_ALT: True =========== End psa_crypto_config =============== =========== Generating psa_crypto_library_config =============== Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: True Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Backup: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True Backup: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False Backup: CONFIG_MBEDTLS_THREADING: False Backup: CONFIG_MBEDTLS_THREADING_ALT: True =========== Checkpoint: backup =============== Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: True Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Restore: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True Restore: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False Restore: CONFIG_MBEDTLS_THREADING: False Restore: CONFIG_MBEDTLS_THREADING_ALT: True =========== End psa_crypto_library_config =============== ################### OPENTHREAD REPORT ################### + Target device: nrf54l15 + Thread version: v1.4 + OpenThread library feature set: Minimal Thread Device (MTD) + Thread device type: Minimal End Device (MED) + OpenThread Library: openthread/lib/nrf54l15_cpuapp/soft-float/v1.4/mtd/ + OpenThread NCS revision: ncs-thread-reference-20241002 + OpenThread NCS SHA: ee86dc26d + NCS revision: v2.8.0 + NCS SHA: a2386bfc84 + No differences in the used Thread library in comparison to the NCS v2.8.0 release. ################### END ################### -- Setting build type to 'MinSizeRel' as none was specified. -- Using ccache: /opt/nordic/ncs/toolchains/15b490767d/bin/ccache -- Found Python3: /opt/nordic/ncs/toolchains/15b490767d/bin/python (found version "3.12.4") found components: Interpreter -- Including signing script: /opt/nordic/ncs/v2.8.0/nrf/cmake/sysbuild/image_signing.cmake CMake Warning at /opt/nordic/ncs/v2.8.0/zephyr/CMakeLists.txt:2134 (message): __ASSERT() statements are globally ENABLED -- Configuring done -- Generating done -- Build files have been written to: /Users/stevenriedl/Github/thermostat_3/build/thermostat_3 -- Found Python3: /opt/nordic/ncs/toolchains/15b490767d/opt/[email protected]/bin/python3.12 (found version "3.12.4") found components: Interpreter -- Found partition manager static configuration : /Users/stevenriedl/Github/thermostat_3/pm_static_nrf54l15dk_nrf54l15_cpuapp.yml Partition 'mcuboot' is not included in the dynamic resolving since it is statically defined. Partition 'mcuboot_pad' is not included in the dynamic resolving since it is statically defined. Partition 'mcuboot_primary' is not included in the dynamic resolving since it is statically defined. Partition 'mcuboot_primary_app' is not included in the dynamic resolving since it is statically defined. Partition 'settings_storage' is not included in the dynamic resolving since it is statically defined. Partition 'mcuboot_secondary' is not included in the dynamic resolving since it is statically defined. -- Configuring done -- Generating done -- Build files have been written to: /Users/stevenriedl/Github/thermostat_3/build -- west build: building application [0/1] Re-running CMake... Loading Zephyr default modules (Zephyr base (cached)). -- Application: /Users/stevenriedl/Github/thermostat_3 -- CMake version: 3.21.0 -- Found Python3: /opt/nordic/ncs/toolchains/15b490767d/bin/python (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: /Users/stevenriedl/Library/Caches/zephyr -- Zephyr version: 3.7.99 (/opt/nordic/ncs/v2.8.0/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf54l15dk, qualifiers: nrf54l15/cpuapp -- Found host-tools: zephyr 0.16.8 (/opt/nordic/ncs/toolchains/15b490767d/opt/zephyr-sdk) -- Found toolchain: zephyr 0.16.8 (/opt/nordic/ncs/toolchains/15b490767d/opt/zephyr-sdk) -- Found BOARD.dts: /opt/nordic/ncs/v2.8.0/zephyr/boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l15_cpuapp.dts -- Found devicetree overlay: /Users/stevenriedl/Github/thermostat_3/boards/nrf54l15dk_nrf54l15_cpuapp.overlay unit address and first address in 'reg' (0x5004c000) don't match for /soc/peripheral@50000000/vpr@4c000/mailbox@1 -- Generated zephyr.dts: /Users/stevenriedl/Github/thermostat_3/build/thermostat_3/zephyr/zephyr.dts -- Generated devicetree_generated.h: /Users/stevenriedl/Github/thermostat_3/build/thermostat_3/zephyr/include/generated/zephyr/devicetree_generated.h -- Including generated dts.cmake file: /Users/stevenriedl/Github/thermostat_3/build/thermostat_3/zephyr/dts.cmake warning: Deprecated symbol NET_SOCKETS_POSIX_NAMES is enabled. Parsing /Users/stevenriedl/Github/thermostat_3/Kconfig Loaded configuration '/Users/stevenriedl/Github/thermostat_3/build/thermostat_3/zephyr/.config' Merged configuration '/Users/stevenriedl/Github/thermostat_3/build/thermostat_3/zephyr/.config.sysbuild' No change to configuration in '/Users/stevenriedl/Github/thermostat_3/build/thermostat_3/zephyr/.config' No change to Kconfig header in '/Users/stevenriedl/Github/thermostat_3/build/thermostat_3/zephyr/include/generated/zephyr/autoconf.h' =========== Generating psa_crypto_config =============== Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: True Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Backup: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False Backup: CONFIG_MBEDTLS_THREADING: False Backup: CONFIG_MBEDTLS_THREADING_ALT: True =========== Checkpoint: backup =============== Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: True Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Restore: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False Restore: CONFIG_MBEDTLS_THREADING: False Restore: CONFIG_MBEDTLS_THREADING_ALT: True =========== End psa_crypto_config =============== =========== Generating psa_crypto_library_config =============== Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: True Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Backup: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True Backup: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False Backup: CONFIG_MBEDTLS_THREADING: False Backup: CONFIG_MBEDTLS_THREADING_ALT: True =========== Checkpoint: backup =============== Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: True Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Restore: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True Restore: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False Restore: CONFIG_MBEDTLS_THREADING: False Restore: CONFIG_MBEDTLS_THREADING_ALT: True =========== End psa_crypto_library_config =============== ################### OPENTHREAD REPORT ################### + Target device: nrf54l15 + Thread version: v1.4 + OpenThread library feature set: Minimal Thread Device (MTD) + Thread device type: Minimal End Device (MED) + OpenThread Library: openthread/lib/nrf54l15_cpuapp/soft-float/v1.4/mtd/ + OpenThread NCS revision: ncs-thread-reference-20241002 + OpenThread NCS SHA: ee86dc26d + NCS SHA: a2386bfc84 + No differences in the used Thread library in comparison to the NCS v2.8.0 release. ################### END ################### -- Using ccache: /opt/nordic/ncs/toolchains/15b490767d/bin/ccache -- Found Python3: /opt/nordic/ncs/toolchains/15b490767d/bin/python (found version "3.12.4") found components: Interpreter -- Including signing script: /opt/nordic/ncs/v2.8.0/nrf/cmake/sysbuild/image_signing.cmake CMake Warning at /opt/nordic/ncs/v2.8.0/zephyr/CMakeLists.txt:2134 (message): __ASSERT() statements are globally ENABLED -- Configuring done -- Generating done -- Build files have been written to: /Users/stevenriedl/Github/thermostat_3/build/thermostat_3 [1/552] Preparing syscall dependency handling [8/552] Generating include/generated/zephyr/version.h -- Zephyr version: 3.7.99 (/opt/nordic/ncs/v2.8.0/zephyr), build: v3.7.99-ncs1 [456/552] Performing build step for 'chip-gn' Starting Matter library build in /Users/stevenriedl/Github/thermostat_3/build/thermostat_3/modules/connectedhomeip Done. Made 3623 targets from 277 files in 1625ms [348/348] ar libCHIP.a Matter library build complete [552/552] Linking CXX executable zephyr/zephyr.elf Memory region Used Size Region Size %age Used FLASH: 805800 B 1430 KB 55.03% RAM: 188360 B 256 KB 71.85% IDT_LIST: 0 GB 32 KB 0.00% Generating files from /Users/stevenriedl/Github/thermostat_3/build/thermostat_3/zephyr/zephyr.elf for board: nrf54l15dk image.py: sign the payload image.py: sign the payload [11/23] Generating new Factory Data... [INFO] Generating SPAKE2+ Verifier... [WARNING] KEY password has not been provided. It means that DAC key is not encrypted. [INFO] Validating JSON with schema... [INFO] Validate OK [1/295] Preparing syscall dependency handling [8/295] Generating include/generated/zephyr/version.h -- Zephyr version: 3.7.99 (/opt/nordic/ncs/v2.8.0/zephyr), build: v3.7.99-ncs1 [295/295] Linking C executable zephyr/zephyr.elf Memory region Used Size Region Size %age Used FLASH: 40622 B 48 KB 82.65% RAM: 29504 B 256 KB 11.25% IDT_LIST: 0 GB 32 KB 0.00% Generating files from /Users/stevenriedl/Github/thermostat_3/build/mcuboot/zephyr/zephyr.elf for board: nrf54l15dk [23/23] Generating ../merged.hex * Terminal will be reused by tasks, press any key to close it. * Executing task: nRF Connect: Build: thermostat_3/build (active) Building thermostat_3 west build --build-dir /Users/stevenriedl/Github/thermostat_3/build /Users/stevenriedl/Github/thermostat_3 [0/1] Re-running CMake... Loading Zephyr module(s) (Zephyr base (cached)): sysbuild_default -- Found Python3: /opt/nordic/ncs/toolchains/15b490767d/opt/[email protected]/bin/python3.12 (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: /Users/stevenriedl/Library/Caches/zephyr -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf54l15dk, qualifiers: nrf54l15/cpuapp Parsing /Users/stevenriedl/Github/thermostat_3/Kconfig.sysbuild Loaded configuration '/Users/stevenriedl/Github/thermostat_3/build/zephyr/.config' No change to configuration in '/Users/stevenriedl/Github/thermostat_3/build/zephyr/.config' No change to Kconfig header in '/Users/stevenriedl/Github/thermostat_3/build/_sysbuild/autoconf.h' -- ***************************** * Running CMake for mcuboot * ***************************** Loading Zephyr default modules (Zephyr base (cached)). -- Application: /opt/nordic/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr -- CMake version: 3.21.0 -- Cache files will be written to: /Users/stevenriedl/Library/Caches/zephyr -- Zephyr version: 3.7.99 (/opt/nordic/ncs/v2.8.0/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf54l15dk, qualifiers: nrf54l15/cpuapp -- Found host-tools: zephyr 0.16.8 (/opt/nordic/ncs/toolchains/15b490767d/opt/zephyr-sdk) -- Found toolchain: zephyr 0.16.8 (/opt/nordic/ncs/toolchains/15b490767d/opt/zephyr-sdk) -- Found BOARD.dts: /opt/nordic/ncs/v2.8.0/zephyr/boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l15_cpuapp.dts -- Found devicetree overlay: /Users/stevenriedl/Github/thermostat_3/sysbuild/mcuboot/boards/nrf54l15dk_nrf54l15_cpuapp.overlay unit address and first address in 'reg' (0x5004c000) don't match for /soc/peripheral@50000000/vpr@4c000/mailbox@1 -- Generated zephyr.dts: /Users/stevenriedl/Github/thermostat_3/build/mcuboot/zephyr/zephyr.dts -- Generated devicetree_generated.h: /Users/stevenriedl/Github/thermostat_3/build/mcuboot/zephyr/include/generated/zephyr/devicetree_generated.h -- Including generated dts.cmake file: /Users/stevenriedl/Github/thermostat_3/build/mcuboot/zephyr/dts.cmake Parsing /opt/nordic/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr/Kconfig Loaded configuration '/Users/stevenriedl/Github/thermostat_3/build/mcuboot/zephyr/.config' Merged configuration '/Users/stevenriedl/Github/thermostat_3/build/mcuboot/zephyr/.config.sysbuild' No change to configuration in '/Users/stevenriedl/Github/thermostat_3/build/mcuboot/zephyr/.config' No change to Kconfig header in '/Users/stevenriedl/Github/thermostat_3/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h' -- Using ccache: /opt/nordic/ncs/toolchains/15b490767d/bin/ccache MCUBoot bootloader key file: /opt/nordic/ncs/v2.8.0/bootloader/mcuboot/root-rsa-2048.pem -- Configuring done -- Generating done -- Build files have been written to: /Users/stevenriedl/Github/thermostat_3/build/mcuboot -- ********************************** * Running CMake for thermostat_3 * ********************************** Loading Zephyr default modules (Zephyr base (cached)). -- Application: /Users/stevenriedl/Github/thermostat_3 -- CMake version: 3.21.0 -- Found Python3: /opt/nordic/ncs/toolchains/15b490767d/bin/python (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: /Users/stevenriedl/Library/Caches/zephyr -- Zephyr version: 3.7.99 (/opt/nordic/ncs/v2.8.0/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf54l15dk, qualifiers: nrf54l15/cpuapp -- Found host-tools: zephyr 0.16.8 (/opt/nordic/ncs/toolchains/15b490767d/opt/zephyr-sdk) -- Found toolchain: zephyr 0.16.8 (/opt/nordic/ncs/toolchains/15b490767d/opt/zephyr-sdk) -- Found BOARD.dts: /opt/nordic/ncs/v2.8.0/zephyr/boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l15_cpuapp.dts -- Found devicetree overlay: /Users/stevenriedl/Github/thermostat_3/boards/nrf54l15dk_nrf54l15_cpuapp.overlay unit address and first address in 'reg' (0x5004c000) don't match for /soc/peripheral@50000000/vpr@4c000/mailbox@1 -- Generated zephyr.dts: /Users/stevenriedl/Github/thermostat_3/build/thermostat_3/zephyr/zephyr.dts -- Generated devicetree_generated.h: /Users/stevenriedl/Github/thermostat_3/build/thermostat_3/zephyr/include/generated/zephyr/devicetree_generated.h -- Including generated dts.cmake file: /Users/stevenriedl/Github/thermostat_3/build/thermostat_3/zephyr/dts.cmake warning: Deprecated symbol NET_SOCKETS_POSIX_NAMES is enabled. Parsing /Users/stevenriedl/Github/thermostat_3/Kconfig Loaded configuration '/Users/stevenriedl/Github/thermostat_3/build/thermostat_3/zephyr/.config' Merged configuration '/Users/stevenriedl/Github/thermostat_3/build/thermostat_3/zephyr/.config.sysbuild' No change to configuration in '/Users/stevenriedl/Github/thermostat_3/build/thermostat_3/zephyr/.config' No change to Kconfig header in '/Users/stevenriedl/Github/thermostat_3/build/thermostat_3/zephyr/include/generated/zephyr/autoconf.h' =========== Generating psa_crypto_config =============== Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: True Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Backup: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False Backup: CONFIG_MBEDTLS_THREADING: False Backup: CONFIG_MBEDTLS_THREADING_ALT: True =========== Checkpoint: backup =============== Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: True Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Restore: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False Restore: CONFIG_MBEDTLS_THREADING: False Restore: CONFIG_MBEDTLS_THREADING_ALT: True =========== End psa_crypto_config =============== =========== Generating psa_crypto_library_config =============== Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: True Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Backup: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True Backup: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False Backup: CONFIG_MBEDTLS_THREADING: False Backup: CONFIG_MBEDTLS_THREADING_ALT: True =========== Checkpoint: backup =============== Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: True Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Restore: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True Restore: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False Restore: CONFIG_MBEDTLS_THREADING: False Restore: CONFIG_MBEDTLS_THREADING_ALT: True =========== End psa_crypto_library_config =============== ################### OPENTHREAD REPORT ################### + Target device: nrf54l15 + Thread version: v1.4 + OpenThread library feature set: Minimal Thread Device (MTD) + Thread device type: Minimal End Device (MED) + OpenThread Library: openthread/lib/nrf54l15_cpuapp/soft-float/v1.4/mtd/ + OpenThread NCS revision: ncs-thread-reference-20241002 + OpenThread NCS SHA: ee86dc26d + NCS SHA: a2386bfc84 + No differences in the used Thread library in comparison to the NCS v2.8.0 release. ################### END ################### -- Using ccache: /opt/nordic/ncs/toolchains/15b490767d/bin/ccache -- Found Python3: /opt/nordic/ncs/toolchains/15b490767d/bin/python (found version "3.12.4") found components: Interpreter -- Including signing script: /opt/nordic/ncs/v2.8.0/nrf/cmake/sysbuild/image_signing.cmake CMake Warning at /opt/nordic/ncs/v2.8.0/zephyr/CMakeLists.txt:2134 (message): __ASSERT() statements are globally ENABLED -- Configuring done -- Generating done -- Build files have been written to: /Users/stevenriedl/Github/thermostat_3/build/thermostat_3 -- Found Python3: /opt/nordic/ncs/toolchains/15b490767d/opt/[email protected]/bin/python3.12 (found version "3.12.4") found components: Interpreter -- Found partition manager static configuration : /Users/stevenriedl/Github/thermostat_3/pm_static_nrf54l15dk_nrf54l15_cpuapp.yml Partition 'mcuboot' is not included in the dynamic resolving since it is statically defined. Partition 'mcuboot_pad' is not included in the dynamic resolving since it is statically defined. Partition 'mcuboot_primary' is not included in the dynamic resolving since it is statically defined. Partition 'mcuboot_primary_app' is not included in the dynamic resolving since it is statically defined. Partition 'settings_storage' is not included in the dynamic resolving since it is statically defined. Partition 'mcuboot_secondary' is not included in the dynamic resolving since it is statically defined. -- Configuring done -- Generating done -- Build files have been written to: /Users/stevenriedl/Github/thermostat_3/build [29/29] Linking C executable zephyr/zephyr.elf Memory region Used Size Region Size %age Used FLASH: 40622 B 48 KB 82.65% RAM: 29504 B 256 KB 11.25% IDT_LIST: 0 GB 32 KB 0.00% Generating files from /Users/stevenriedl/Github/thermostat_3/build/mcuboot/zephyr/zephyr.elf for board: nrf54l15dk [57/158] Performing build step for 'chip-gn' Starting Matter library build in /Users/stevenriedl/Github/thermostat_3/build/thermostat_3/modules/connectedhomeip Done. Made 3623 targets from 277 files in 628ms ninja: no work to do. Matter library build complete [156/156] Linking CXX executable zephyr/zephyr.elf Memory region Used Size Region Size %age Used FLASH: 805800 B 1430 KB 55.03% RAM: 188360 B 256 KB 71.85% IDT_LIST: 0 GB 32 KB 0.00% Generating files from /Users/stevenriedl/Github/thermostat_3/build/thermostat_3/zephyr/zephyr.elf for board: nrf54l15dk image.py: sign the payload image.py: sign the payload [12/12] Generating ../merged.hex * Terminal will be reused by tasks, press any key to close it. * Executing task: nRF Connect: Flash: thermostat_3/build (active) Flashing build to 1057730902 west flash -d /Users/stevenriedl/Github/thermostat_3/build --skip-rebuild --dev-id 1057730902 --erase -- west flash: using runner nrfutil -- runners.nrfutil: mass erase requested -- runners.nrfutil: reset after flashing requested -- runners.nrfutil: Flashing file: /Users/stevenriedl/Github/thermostat_3/build/merged.hex Error: nrfutil command `device` not found. See `nrfutil list` for full list of installed commands, `nrfutil search` for installable commands, and `nrfutil install` for installation of new commands. Caused by: Subcommand nrfutil-device not found -- runners.nrfutil: Board with serial number 1057730902 flashed successfully. * Terminal will be reused by tasks, press any key to close it.
Initial boot and commission works
uart:~$ *** Booting My Application v2.8.0-a31d2786ed4c *** *** Using nRF Connect SDK v2.8.0-a2386bfc8401 *** *** Using Zephyr OS v3.7.99-0bc3393fb112 *** I: 1406 [DL]BLE address: D8:24:72:E2:16:48 I: 1413 [DL]CHIP task running I: Init CHIP stack I: 1418 [DL]OpenThread started: OK I: 1421 [DL]Setting OpenThread device type to MINIMAL END DEVICE I: 1427 [DL]Found DAC Private Key in factory data set. Copying to secure storage... I: 1439 [DL]The device does not support hardware protection against write. D: Registered new test event: 0xffffffff00000000 D: Registered new test event: 0xffffffff10000000 I: 1454 [SVR]Subscription persistence not supported I: 1458 [SVR]Server initializing... I: 1462 [TS]Last Known Good Time: [unknown] I: 1465 [TS]Setting Last Known Good Time to firmware build time 2023-10-14T01:16:48 I: 1474 [DMG]AccessControl: initializing I: 1478 [DMG]Examples::AccessControlDelegate::Init I: 1482 [DMG]AccessControl: setting I: 1485 [DMG]DefaultAclStorage: initializing I: 1489 [DMG]DefaultAclStorage: 0 entries loaded D: 1493 [IN]UDP::Init bind&listen port=5540 E: 1497 [IN]IPV6_PKTINFO failed: 109 D: 1501 [IN]UDP::Init bound to port=5540 D: 1504 [IN]BLEBase::Init - setting/overriding transport D: 1509 [IN]TransportMgr initialized D: 1515 [DL]Using Thread extended MAC for hostname. I: 1521 [ZCL]Using ZAP configuration... I: 1525 [DMG]AccessControlCluster: initializing I: 1530 [ZCL]Cluster callback: 0x0000_0030 D: 1533 [DL]Boot reason: 1 I: 1536 [ZCL]Initiating Admin Commissioning cluster. I: 1541 [ZCL]Cluster callback: 0x0000_0003 I: 1544 [ZCL]Identify attribute ID: 0x0000_0001 Type: 48 Value: 2, length 1 I: 1551 [ZCL]Cluster callback: 0x0000_0004 I: 1555 [ZCL]Cluster callback: 0x0000_0004 D: 1559 [IN]SecureSession[0x20004400]: Allocated Type:1 LSID:30654 D: 1565 [DL]CHIPoBLE advertising set to on I: 1569 [DIS]Updating services using commissioning mode 1 E: 1574 [DIS]Failed to remove advertised services: 3 D: 1578 [DL]Using Thread extended MAC for hostname. I: 1583 [DIS]Advertise commission parameter vendorID=65521 productID=32782 discriminator=3840/15 cm=1 cp=0 E: 1592 [DIS]Failed to advertise commissionable node: 3 E: 1597 [DIS]Failed to finalize service update: 3 I: 1602 [DIS]Updating services using commissioning mode 1 E: 1607 [DIS]Failed to remove advertised services: 3 D: 1611 [DL]Using Thread extended MAC for hostname. I: 1616 [DIS]Advertise commission parameter vendorID=65521 productID=32782 discriminator=3840/15 cm=1 cp=0 E: 1625 [DIS]Failed to advertise commissionable node: 3 E: 1630 [DIS]Failed to finalize service update: 3 I: 1634 [IN]CASE Server enabling CASE session setups D: 1639 [IN]SecureSession[0x200044d0]: Allocated Type:2 LSID:30655 I: 1645 [SVR]Joining Multicast groups I: 1649 [SVR]Server Listening... I: 1651 [DL]Device Configuration: I: 1654 [DL] Serial Number: 11223344556677889900 I: 1659 [DL] Vendor Id: 65521 (0xFFF1) I: 1662 [DL] Product Id: 32782 (0x800E) I: 1666 [DL] Product Name: not-specified I: 1670 [DL] Hardware Version: 0 I: 1673 [DL] Setup Pin Code (0 for UNKNOWN/ERROR): 20202021 I: 1678 [DL] Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00) I: 1685 [DL] Manufacturing Date: 2022-01-01 I: 1688 [DL] Device Type: 65535 (0xFFFF) I: 1692 [SVR]SetupQRCode: [MT:O4CT342C00KA0648G00] I: 1697 [SVR]Copy/paste the below URL in a browser to see the QR Code: I: 1703 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3AO4CT342C00KA0648G00 I: 1712 [SVR]Manual pairing code: [34970112332] I: 1716 [ZCL]Cluster callback: 0x0000_0201 I: Thermostat: I: Mode - 0 I: LocalTemperature - No Value I: OutdoorTemperature - No Value I: HeatingSetpoint - 0,0'C I: CoolingSetpoint - 0,0'C I: 1734 [ZCL]Cluster callback: 0x0000_0201 I: Thermostat: I: Mode - 0 I: LocalTemperature - No Value I: OutdoorTemperature - No Value I: HeatingSetpoint - 0,0'C I: CoolingSetpoint - 0,0'C I: Initialize binding Handler I: 1754 [SVR]Cannot load binding table: a0 I: Binding Table size: [0]: I: 1760 [ZCL]Cluster callback: 0x0000_0201 I: Thermostat: I: Mode - 0 I: LocalTemperature - 20,0'C I: OutdoorTemperature - No Value I: HeatingSetpoint - 0,0'C I: CoolingSetpoint - 0,0'C
After random interval 5-30 minutes usually it crashes
I: 9311802 [EM]<<< [E:15176i S:33333 M:258404860] (S) Msg TX to 1:00000000B717E355 [7653] [UDP:[fd53:5edf:a58c:0:1e19:6470:2715:f430]:56180] --- Type 0001:05 (IM:ReportData)
I: NO DEVICE BOUND
I: 9311860 [EM]>>> [E:15176i S:33333 M:44246942 (Ack:258404860)] (S) Msg RX from 1:00000000B717E355 [7653] --- Type 0001:01 (IM:StatusResponse)
I: 9311872 [IM]Received status response, status is 0x00
I: 9311878 [EM]<<< [E:15176i S:33333 M:258404861 (Ack:44246942)] (S) Msg TX to 1:00000000B717E355 [7653] [UDP:[fd53:5edf:a58c:0:1e19:6470:2715:f430]:56180] --- Type 0000:10 (SecureChannel:StandaloneAck)
I: 9341780 [ZCL]Cluster callback: 0x0000_0201
I: Thermostat:
I: Mode - 4
I: LocalTemperature - 16,0'C
I: OutdoorTemperature - No Value
I: HeatingSetpoint - 16,1'C
I: CoolingSetpoint - 26,0'C
I: 9341802 [EM]<<< [E:15177i S:33333 M:258404862] (S) Msg TX to 1:00000000B717E355 [7653] [UDP:[fd53:5edf:a58c:0:1e19:6470:2715:f430]:56180] --- Type 0001:05 (IM:ReportData)
I: NO DEVICE BOUND
I: 9341862 [EM]>>> [E:15177i S:33333 M:44246943 (Ack:258404862)] (S) Msg RX from 1:00000000B717E355 [7653] --- Type 0001:01 (IM:StatusResponse)
I: 9341874 [IM]Received status response, status is 0x00
I: 9341880 [EM]<<< [E:15177i S:33333 M:258404863 (Ack:44246943)] (S) Msg TX to 1:00000000B717E355 [7653] [UDP:[fd53:5edf:a58c:0:1e19:6470:2715:f430]:56180] --- Type 0000:10 (SecureChannel:StandaloneAck)
I: 9371780 [ZCL]Cluster callback: 0x0000_0201
I: Thermostat:
I: Mode - 4
I: LocalTemperature - 16,0'C
I: OutdoorTemperature - No Value
I: HeatingSetpoint - 16,1'C
I: CoolingSetpoint - 26,0'C
E: ***** BUS FAULT *****
E: Precise data bus error
E: BFAR Address: 0x8
E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x2000eef0
E: r3/a4: 0x00000000 r12/ip: 0x000bc128 r14/lr: 0x00056f1b
E: xpsr: 0x49000000
E: Faulting instruction address (r15/pc): 0x0001fc30
E: >>> ZEPHYR FATAL ERROR 25: Unknown error on CPU 0
E: Current thread: 0x2000eef0 (main)
E: Halting system
I can add a coredump to the prj file and get the core dump, have not been able to do much to debug the issue with that.
When I turn on the -Og flag for debugging, It crashes immediately when trying to commission it.