-
Provision the device:
- Follow the Getting Started guide to connect the device to your nRF Cloud instance.
Once provisioned, the device automatically forwards coredumps and metrics to the Memfault project linked to your nRF Cloud account. Modem traces are also uploaded on crash when using the
-debug-thingy91xrelease artifact or the modem-trace overlay described below. -
Open the Memfault dashboard from nRF Cloud:
- Log in to nRF Cloud.
- click the Memfault entry in the left sidebar to open the linked Memfault project.
-
Upload the firmware symbol file:
-
Upload the
zephyr.elffile once per build, either from the Memfault UI (Symbol Files → Upload Symbol File → selectbuild/app/zephyr/zephyr.elf) or from the command line using the Memfault CLI:memfault \ --org-token <YOUR_ORG_TOKEN> \ --org <YOUR_ORG_SLUG> \ --project <YOUR_PROJECT_SLUG> \ upload-mcu-symbols build/app/zephyr/zephyr.elfMemfault needs the build's
zephyr.elfto decode crash addresses into function names, line numbers, and variable names. -
List your devices:
- In the Memfault UI, click Devices in the left toolbar to see all devices that have reported data.
- Select a device to explore its coredumps, metrics, and modem traces (CDRs).
All standard builds include Memfault coredump capture and fleet metrics via nRF Cloud CoAP. To also upload modem traces on application crashes, either flash the pre-built
-debug-thingy91xfirmware from the release page, or include theoverlay-upload-modem-traces-to-memfault.confKconfig overlay and the devicetree overlayoverlay-upload-modem-traces-to-memfault.overlayin your west build command:west build -p -b <board> -- \ -DEXTRA_CONF_FILE="overlay-upload-modem-traces-to-memfault.conf" \ -DEXTRA_DTC_OVERLAY_FILE="overlay-upload-modem-traces-to-memfault.overlay"
Important
The modem trace upload feature can send upwards of 1 MB of modem trace data in case of application crashes. Consider this when planning your data usage and costs.
Example of a coredump received in Memfault: