-
Parsing Logs Messages for Instant Crash Analysis
Having a logger display execution information on the terminal is pretty common for firmware developers. What’s less common is having an instant stack trace when the program crashes.
-
What we've been reading in July (2020)
Here are the articles, videos, and tools that we’ve been excited about this July.
-
Step-through debugging with no debugger on Cortex-M
This week we explore how to debug running systems with ARM Cortex-M’s DebugMonitor exception handler. We cover how to configure the MCU to operate in this mode and walk through an example of installing breakpoints and single-stepping on a running device!
-
How to Build Drivers for Zephyr
by Jared WolffIn this post, I’ll go over some of the nuances related to creating drivers for your peripherals on Zephyr. We’ll talk about Device Tree organization,
Kconfig
, andCMakeLists.txt
files. By the end, you should have an idea on how to tackle your own Zephyr driver aspirations! -
Firmware Testing with Renode and GitHub Actions
In this post, I cover what it takes to build a simple firmware for use with Renode, how to build and administer tests with Robot Framework, and how to run these tests within GitHub’s continuous integration system.
-
What we've been reading in June (2020)
Here are the articles, videos, and tools that we’ve been excited about this June.
-
Device Firmware Update Cookbook
In this post, I share the device firmware update architecture I would implement knowing everything I know now. I also highlight a few design patterns that are particularly useful. The example comes with a fully functional example of a multi-stage bootloader with DFU functionality.
-
How do breakpoints even work?
In this article, we will discuss the basic types of breakpoints (hardware and software) and how they are utilized by the GNU Project Debugger, GDB. We will then explore how to configure hardware breakpoints on an ARM Cortex-M MCU using the Flash Patch and Breakpoint Unit (FPB) and examine a real-world configuration with an example application.