# Blog

**URL:** https://community.memfault.com/c/blog/5.md

[Latest](https://community.memfault.com/latest.md) · [Categories](https://community.memfault.com/categories.md)

---

## [About the Blog category](https://community.memfault.com/t/about-the-blog-category/15)

<div class="topic-metadata">

**Author:** [@francois](https://community.memfault.com/u/francois)\
**Replies:** 0

</div>

Discuss and comment on articles posted on Interrupt (interrupt.memfault.com). Posts are automatically created for each blog post.

---

## [Tracing & Logging with the TRICE Library (Interrupts too!) | Interrupt](https://community.memfault.com/t/tracing-logging-with-the-trice-library-interrupts-too-interrupt/481)

<div class="topic-metadata">

**Author:** [@discobot](https://community.memfault.com/u/discobot)\
**Replies:** 12\
**Last updated:** [November 6, 2026, 11:09am UTC](https://community.memfault.com/t/tracing-logging-with-the-trice-library-interrupts-too-interrupt/481 "2026-11-06T11:09:40Z")

</div>

If you develop software for an embedded system, you need some kind of system feedback. Debuggers are awesome tools, but when it comes to analyzing dynamic behavior in the field, they cannot be used. This is a companion…

---

## [Diving into JTAG — Usage Scenarios (Part 5) | Interrupt](https://community.memfault.com/t/diving-into-jtag-usage-scenarios-part-5-interrupt/850)

<div class="topic-metadata">

**Author:** [@discobot](https://community.memfault.com/u/discobot)\
**Replies:** 2\
**Last updated:** [June 3, 2026, 6:28pm UTC](https://community.memfault.com/t/diving-into-jtag-usage-scenarios-part-5-interrupt/850 "2026-06-03T18:28:03Z")

</div>

In previous articles, we have considered the primary uses of JTAG, including debugging and testing boards in production. For firmware developers, the first - debugging - is the most common. In this article, I want to loo…

---

## [What we’ve been reading in February (2026) | Interrupt](https://community.memfault.com/t/what-we-ve-been-reading-in-february-2026-interrupt/1019)

<div class="topic-metadata">

**Author:** [@discobot](https://community.memfault.com/u/discobot)\
**Replies:** 0\
**Last updated:** [March 6, 2026, 8:06pm UTC](https://community.memfault.com/t/what-we-ve-been-reading-in-february-2026-interrupt/1019 "2026-03-06T20:06:26Z")

</div>

Here are the articles, videos, and tools that we’ve been excited about this February. Explore the Stratosphere with a DIY Pico Balloon | IEEE Spectrum High-altitude balloon with a Raspberry Pi Pico. － Noah This is a …

---

## [Comparing Firmware Development Environments — Linux, Windows, WSL2, and VMWare | Interrupt](https://community.memfault.com/t/comparing-firmware-development-environments-linux-windows-wsl2-and-vmware-interrupt/887)

<div class="topic-metadata">

**Author:** [@discobot](https://community.memfault.com/u/discobot)\
**Replies:** 2\
**Last updated:** [April 5, 2026, 4:05pm UTC](https://community.memfault.com/t/comparing-firmware-development-environments-linux-windows-wsl2-and-vmware-interrupt/887 "2026-04-05T16:05:18Z")

</div>

About a year and a half ago, I decided to take a different approach to setting up a Zephyr environment for a new project at Intercreate. Instead of using my trusty VMWare Workstation Linux VM, I opted for WSL2. I was cur…

---

## [WSL2 for Firmware Development | Interrupt](https://community.memfault.com/t/wsl2-for-firmware-development-interrupt/902)

<div class="topic-metadata">

**Author:** [@discobot](https://community.memfault.com/u/discobot)\
**Replies:** 2\
**Last updated:** [April 5, 2026, 3:57pm UTC](https://community.memfault.com/t/wsl2-for-firmware-development-interrupt/902 "2026-04-05T15:57:43Z")

</div>

This guide provides instructions for setting up an environment for developing, debugging, and programming embedded systems firmware in the Windows Subsystem for Linux (WSL2). This is a companion discussion topic for th…

---

## [Connecting Matter-over-Thread Devices to the Internet | Interrupt](https://community.memfault.com/t/connecting-matter-over-thread-devices-to-the-internet-interrupt/1020)

<div class="topic-metadata">

**Author:** [@discobot](https://community.memfault.com/u/discobot)\
**Replies:** 2\
**Last updated:** [April 1, 2026, 2:02pm UTC](https://community.memfault.com/t/connecting-matter-over-thread-devices-to-the-internet-interrupt/1020 "2026-04-01T14:02:37Z")

</div>

While it has taken longer than some people expected, Matter is finally going mainstream. Brands including Ikea, Kwikset, and Bosch have shipped matter devices, and matter hubs can increasingly be found in people’s homes. …

---

## [Device Firmware Update Cookbook | Interrupt](https://community.memfault.com/t/device-firmware-update-cookbook-interrupt/223)

<div class="topic-metadata">

**Author:** [@discobot](https://community.memfault.com/u/discobot)\
**Replies:** 30\
**Last updated:** [March 12, 2026, 12:01pm UTC](https://community.memfault.com/t/device-firmware-update-cookbook-interrupt/223 "2026-03-12T12:01:09Z")

</div>

Implementing OTA (Over The Air) firmware updates is a rite of passage for firmware engineers. Device firmware update is a key component of most hardware projects. Often, it is also one of the more complicated components. …

---

## [Practical Zephyr - Devicetree basics (Part 3) | Interrupt](https://community.memfault.com/t/practical-zephyr-devicetree-basics-part-3-interrupt/808)

<div class="topic-metadata">

**Author:** [@discobot](https://community.memfault.com/u/discobot)\
**Replies:** 4\
**Last updated:** [February 9, 2026, 7:26pm UTC](https://community.memfault.com/t/practical-zephyr-devicetree-basics-part-3-interrupt/808 "2026-02-09T19:26:36Z")

</div>

In the previous article, we configured software using the kernel configuration tool Kconfig, and we’ve silently assumed that there’s a UART interface on our board that is configurable and used for logging. This is a co…

---

## [Smart Ring Development (Part 2) － Hardware Design | Interrupt](https://community.memfault.com/t/smart-ring-development-part-2-hardware-design-interrupt/981)

<div class="topic-metadata">

**Author:** [@discobot](https://community.memfault.com/u/discobot)\
**Replies:** 2\
**Last updated:** [January 18, 2026, 11:36am UTC](https://community.memfault.com/t/smart-ring-development-part-2-hardware-design-interrupt/981 "2026-01-18T11:36:30Z")

</div>

This series of articles discusses the development of a SOTA Open Smart Ring － a tiny wearable packed with electronics that fits on your (even the smallest) finger. We dive deep into what it means to develop such a produc…

---

## [Practical Zephyr - Zephyr Basics (Part 1) | Interrupt](https://community.memfault.com/t/practical-zephyr-zephyr-basics-part-1-interrupt/799)

<div class="topic-metadata">

**Author:** [@discobot](https://community.memfault.com/u/discobot)\
**Replies:** 6\
**Last updated:** [January 15, 2026, 7:20am UTC](https://community.memfault.com/t/practical-zephyr-zephyr-basics-part-1-interrupt/799 "2026-01-15T07:20:57Z")

</div>

This is the start of a new article series about Zephyr’s basics: It will walk you through Zephyr’s build and configuration systems West, Kconfig and devicetree. This is a companion discussion topic for the original ent…

---

## [Smart Ring Development (Part 1) － Research and Prototype | Interrupt](https://community.memfault.com/t/smart-ring-development-part-1-research-and-prototype-interrupt/975)

<div class="topic-metadata">

**Author:** [@discobot](https://community.memfault.com/u/discobot)\
**Replies:** 3\
**Last updated:** [October 21, 2025, 3:25pm UTC](https://community.memfault.com/t/smart-ring-development-part-1-research-and-prototype-interrupt/975 "2025-10-21T15:25:10Z")

</div>

This series of articles discusses the development of a SOTA Open Smart Ring － a tiny wearable packed with electronics that fits on your (even the smallest) finger. We dive deep into what it means to develop such a produc…

---

## [What we’ve been reading in August (2025) | Interrupt](https://community.memfault.com/t/what-we-ve-been-reading-in-august-2025-interrupt/999)

<div class="topic-metadata">

**Author:** [@discobot](https://community.memfault.com/u/discobot)\
**Replies:** 1\
**Last updated:** [September 15, 2025, 4:01pm UTC](https://community.memfault.com/t/what-we-ve-been-reading-in-august-2025-interrupt/999 "2025-09-15T16:01:35Z")

</div>

Here are the articles, videos, and tools that we’ve been excited about this August. What have you been reading? Share in the comments or on the Interrupt Slack. This is a companion discussion topic for the original ent…

---

## [Emulating a Raspberry Pi in QEMU | Interrupt](https://community.memfault.com/t/emulating-a-raspberry-pi-in-qemu-interrupt/684)

<div class="topic-metadata">

**Author:** [@discobot](https://community.memfault.com/u/discobot)\
**Replies:** 11\
**Last updated:** [September 4, 2025, 2:11am UTC](https://community.memfault.com/t/emulating-a-raspberry-pi-in-qemu-interrupt/684 "2025-09-04T02:11:16Z")

</div>

The Raspberry Pi, a compact single-board computer, is widely used for DIY projects to industrial applications. These devices ship with a customized Linux distribution that differs from standard Linux, adding a layer of c…

---

## [Profiling Firmware on Cortex-M | Interrupt](https://community.memfault.com/t/profiling-firmware-on-cortex-m-interrupt/210)

<div class="topic-metadata">

**Author:** [@discobot](https://community.memfault.com/u/discobot)\
**Replies:** 15\
**Last updated:** [August 21, 2025, 12:34pm UTC](https://community.memfault.com/t/profiling-firmware-on-cortex-m-interrupt/210 "2025-08-21T12:34:55Z")

</div>

Although microcontrollers in 2020 sometimes come with GHz clock frequencies and even multiple cores, performance is a major concern when developing embedded applications. Indeed, most firmware projects face some real-tim…

---

## [Secure firmware updates with code signing | Interrupt](https://community.memfault.com/t/secure-firmware-updates-with-code-signing-interrupt/261)

<div class="topic-metadata">

**Author:** [@discobot](https://community.memfault.com/u/discobot)\
**Replies:** 12\
**Last updated:** [July 24, 2025, 1:49pm UTC](https://community.memfault.com/t/secure-firmware-updates-with-code-signing-interrupt/261 "2025-07-24T13:49:46Z")

</div>

Previously, we wrote about implementing firmware update for our devices. One important detail we did not cover is firmware update security. This is a companion discussion topic for the original entry at https://interru…

---

## [Visualizing Real-time Data With STMViewer | Interrupt](https://community.memfault.com/t/visualizing-real-time-data-with-stmviewer-interrupt/758)

<div class="topic-metadata">

**Author:** [@discobot](https://community.memfault.com/u/discobot)\
**Replies:** 7\
**Last updated:** [December 15, 2023, 11:21am UTC](https://community.memfault.com/t/visualizing-real-time-data-with-stmviewer-interrupt/758 "2023-12-15T11:21:18Z")

</div>

If you’ve ever wanted to plot data acquired on your embedded target, this article is for you. It explores common use cases for real-time data visualization using STMViewer. Say goodbye to manual, time-consuming, and erro…

---

## [Linux Coredumps (Part 2) － Shrinking the Core | Interrupt](https://community.memfault.com/t/linux-coredumps-part-2-shrinking-the-core-interrupt/962)

<div class="topic-metadata">

**Author:** [@discobot](https://community.memfault.com/u/discobot)\
**Replies:** 1\
**Last updated:** [May 9, 2025, 9:30am UTC](https://community.memfault.com/t/linux-coredumps-part-2-shrinking-the-core-interrupt/962 "2025-05-09T09:30:02Z")

</div>

In our previous article, we outlined what a Linux coredump is and how they work under the hood. One common constraint we see in embedded Linux, however, is a limited amount of storage space. Whether we’re trying to limit…

---

## [Managing Developer Environments with Conda | Interrupt](https://community.memfault.com/t/managing-developer-environments-with-conda-interrupt/122)

<div class="topic-metadata">

**Author:** [@discobot](https://community.memfault.com/u/discobot)\
**Replies:** 9\
**Last updated:** [May 8, 2025, 10:34pm UTC](https://community.memfault.com/t/managing-developer-environments-with-conda-interrupt/122 "2025-05-08T22:34:26Z")

</div>

We’ve all had the experience of checking out an old release branch to debug an issue, only to find out that it depends on toolchains and packages that are no longer installed. This can be a major pain, and people have co…

---

## [Beyond Error Codes - Debugging Ill-Defined Problems | Interrupt](https://community.memfault.com/t/beyond-error-codes-debugging-ill-defined-problems-interrupt/960)

<div class="topic-metadata">

**Author:** [@discobot](https://community.memfault.com/u/discobot)\
**Replies:** 1\
**Last updated:** [April 21, 2025, 3:10pm UTC](https://community.memfault.com/t/beyond-error-codes-debugging-ill-defined-problems-interrupt/960 "2025-04-21T15:10:10Z")

</div>

It’s Friday around 4 PM. You’ve been on a productivity tear and are getting to wrap up for the week when, all of a sudden, things go off the rails. Logging has stopped entirely with no clues to the problem, your LED has …

---

## [Profiling newlib-nano’s memcpy | Interrupt](https://community.memfault.com/t/profiling-newlib-nano-s-memcpy-interrupt/442)

<div class="topic-metadata">

**Author:** [@discobot](https://community.memfault.com/u/discobot)\
**Replies:** 6\
**Last updated:** [April 17, 2025, 9:30am UTC](https://community.memfault.com/t/profiling-newlib-nano-s-memcpy-interrupt/442 "2025-04-17T09:30:09Z")

</div>

Newlib is a very popular libc targeting embedded systems. It’s the libc that ships with the GNU Arm Embedded Toolchain published by ARM. This is a companion discussion topic for the original entry at https://interrupt.…

---

## [Practical Zephyr - West workspaces (Part 6) | Interrupt](https://community.memfault.com/t/practical-zephyr-west-workspaces-part-6-interrupt/843)

<div class="topic-metadata">

**Author:** [@discobot](https://community.memfault.com/u/discobot)\
**Replies:** 3\
**Last updated:** [April 14, 2025, 8:02am UTC](https://community.memfault.com/t/practical-zephyr-west-workspaces-part-6-interrupt/843 "2025-04-14T08:02:09Z")

</div>

In the previous articles, we used freestanding applications and relied on a global Zephyr installation. In this article, we’ll see how we can use West to resolve global dependencies by using workspace applications. We fi…

---

## [A Schematic Review Checklist for Firmware Engineers | Interrupt](https://community.memfault.com/t/a-schematic-review-checklist-for-firmware-engineers-interrupt/858)

<div class="topic-metadata">

**Author:** [@discobot](https://community.memfault.com/u/discobot)\
**Replies:** 3\
**Last updated:** [March 19, 2025, 4:08pm UTC](https://community.memfault.com/t/a-schematic-review-checklist-for-firmware-engineers-interrupt/858 "2025-03-19T16:08:42Z")

</div>

Schematic reviews are a part of the hardware development cycle in many if not most, hardware development companies. Typically led by the electrical engineering team, it is easy to overlook design issues that will be impo…

---

## [Counting Crashes to Improve Device Reliability | Interrupt](https://community.memfault.com/t/counting-crashes-to-improve-device-reliability-interrupt/757)

<div class="topic-metadata">

**Author:** [@discobot](https://community.memfault.com/u/discobot)\
**Replies:** 2\
**Last updated:** [March 7, 2025, 4:22pm UTC](https://community.memfault.com/t/counting-crashes-to-improve-device-reliability-interrupt/757 "2025-03-07T16:22:30Z")

</div>

The first step to making reliable IoT devices is understanding that they are inherently unreliable. They will never work 100% of the time. This is partially because we firmware engineers will never write perfect code. Ev…

---

## [ARM Cortex-M RTOS Context Switching | Interrupt](https://community.memfault.com/t/arm-cortex-m-rtos-context-switching-interrupt/95)

<div class="topic-metadata">

**Author:** [@discobot](https://community.memfault.com/u/discobot)\
**Replies:** 4\
**Last updated:** [February 28, 2025, 6:07pm UTC](https://community.memfault.com/t/arm-cortex-m-rtos-context-switching-interrupt/95 "2025-02-28T18:07:35Z")

</div>

Many embedded systems reach a level of complexity where having a basic set of scheduling primitives and ability to run different tasks can be helpful. The operation of switching from one task to another is known as a con…

---

## [Saving bandwidth with delta firmware updates | Interrupt](https://community.memfault.com/t/saving-bandwidth-with-delta-firmware-updates-interrupt/585)

<div class="topic-metadata">

**Author:** [@discobot](https://community.memfault.com/u/discobot)\
**Replies:** 2\
**Last updated:** [February 6, 2025, 6:54pm UTC](https://community.memfault.com/t/saving-bandwidth-with-delta-firmware-updates-interrupt/585 "2025-02-06T18:54:48Z")

</div>

Firmware update capability has become a must-have for most devices. Whether to add new features after launch, fix bugs, or urgently patch a security hole, firmware update gives modern teams the flexibility they need to …

---

## [How to Build Drivers for Zephyr | Interrupt](https://community.memfault.com/t/how-to-build-drivers-for-zephyr-interrupt/238)

<div class="topic-metadata">

**Author:** [@discobot](https://community.memfault.com/u/discobot)\
**Replies:** 19\
**Last updated:** [January 27, 2025, 7:33pm UTC](https://community.memfault.com/t/how-to-build-drivers-for-zephyr-interrupt/238 "2025-01-27T19:33:10Z")

</div>

If you’ve heard the news about the nRF9160 then you know it’s a game-changer. ARM Cortex M33 + LTE Cat-M + NB-IoT and GPS all included under one System in Package. Drool-worthy, right? This is a companion discussion to…

---

## [How to Transition from nRF5 SDK to Zephyr NCS － Lessons from Ultrahuman’s Journey | Interrupt](https://community.memfault.com/t/how-to-transition-from-nrf5-sdk-to-zephyr-ncs-lessons-from-ultrahuman-s-journey-interrupt/900)

<div class="topic-metadata">

**Author:** [@discobot](https://community.memfault.com/u/discobot)\
**Replies:** 1\
**Last updated:** [January 3, 2025, 5:18pm UTC](https://community.memfault.com/t/how-to-transition-from-nrf5-sdk-to-zephyr-ncs-lessons-from-ultrahuman-s-journey-interrupt/900 "2025-01-03T17:18:37Z")

</div>

At Ultrahuman, innovation is at the core of everything we do. Our health devices, powered by the nRF52840 SoC for BLE functionality, rely on Nordic Semiconductor’s renowned wireless technology. For years, the nRF5 SDK wa…

---

## [A Simple Scheduler via an Interrupt-driven Actor Model | Interrupt](https://community.memfault.com/t/a-simple-scheduler-via-an-interrupt-driven-actor-model-interrupt/723)

<div class="topic-metadata">

**Author:** [@discobot](https://community.memfault.com/u/discobot)\
**Replies:** 5\
**Last updated:** [December 20, 2024, 12:16pm UTC](https://community.memfault.com/t/a-simple-scheduler-via-an-interrupt-driven-actor-model-interrupt/723 "2024-12-20T12:16:59Z")

</div>

Using an RTOS is often a tradeoff between the ease of decomposing tasks, with the complexity of the scheduler itself. There exists a middle ground between highly complex systems that may require an RTOS, and simpler ones…

---

## [Cortex-M Exception Handling | Interrupt](https://community.memfault.com/t/cortex-m-exception-handling-interrupt/75)

<div class="topic-metadata">

**Author:** [@discobot](https://community.memfault.com/u/discobot)\
**Replies:** 6\
**Last updated:** [December 7, 2024, 7:08pm UTC](https://community.memfault.com/t/cortex-m-exception-handling-interrupt/75 "2024-12-07T19:08:55Z")

</div>

Nearly all embedded systems at one point or another rely on the ability to handle asynchronous events. For example, it could be reading external sensor data from an accelerometer in order to count steps or handling perio…

[Next page](https://community.memfault.com/c/blog/5.md?page=1)
