Loading…
Thursday, June 29 • 12:10 - 12:50
Adding Coredumps to Your Debugging Toolkit - Eric Johnson, Memfault

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
Investigating root causes of device faults is difficult, particularly for deployed devices. Typically local debugging and logging subsystems are used to determine issue causes. However, these tools have limited utility in many complex scenarios. Local debugging requires physical access, lacks a similar operating environment, and is invasive by modifying operation. Logging's unstructured nature makes efficient and effect analysis difficult. Coredumps capture detailed insight into device operation at the time of the fault in a non-invasive manner. Coredumps can be used defensively to catch existing issues. This talk introduces coredumps and how to use them in practice with Zephyr. Coredump data a valueable but often underutilized debugging resource. Coredumps contain highly structured data that can be easily parsed using GDB. Coredumps are flexible regarding what data can be captured. Let your imagination run wild! Got a memory slab that needs usage monitoring? Add it to your coredump! Sensor data that causes a unique stack overflow? Add it to your coredump! Topics covered include a brief overview of Zephyr’s coredump subsystem, how to configure the subsystem for different scenarios, how to use GDB with a coredump, and some examples of coredumps in practice.

Speakers
avatar for Eric Johnson

Eric Johnson

Firmware Solutions Engineer, Memfault
Eric Johnson is a firmware solutions engineer with Memfault, helping customers integrate Memfault into their products and developing the MCU SDK. He has previously worked at Walgreens Health, Athos, Acuity Brands, and Lexmark in embedded systems development. He is a humble Zephyr... Read More →



Thursday June 29, 2023 12:10 - 12:50 CEST
North Hall (Level 2)
  Zephyr Project Developer Summit