-
Open Memfault from nRF Cloud:
- Log in to nRF Cloud.
- Click Memfault in the left sidebar.
- This opens the Memfault project linked to your account.
-
Upload the firmware symbol file - Memfault needs the build's
zephyr.elfto decode crash addresses into function names and line numbers. Upload it once per firmware build, before or as soon as devices start reporting data:- In the Memfault UI, navigate to Software.
- Select Symbol Files.
- Click on Upload Symbol File.
- Select
build/zephyr/zephyr.elffrom your west build directory (the default output when building fromapplications/91m1_ppp).
Alternatively, upload from the command line with the Memfault CLI:
memfault \ --org-token <token> \ --org <org> \ --project <project> \ upload-mcu-symbols build/zephyr/zephyr.elf -
Verify data is flowing - After the device connects to nRF Cloud, periodic Memfault uploads run in the background (
CONFIG_MEMFAULT_PERIODIC_UPLOAD). Look for:<inf> mflt: Periodic background upload scheduled - initial delay=... period=...To trigger a manual upload from the shell:
uart:~$ mflt test heartbeat uart:~$ mflt post_chunks