Try GOLD - Free
Experimenting with CHERI on the Sonata Board
Circuit Cellar
|May 2025
The CHERI extension for RISC-V provides a promising way of designing fundamentally secure systems. I introduced this back in November 2023, but at the time there was no easy hardware to work with. This article introduces the open-source hardware (OSHW) Sonata board, which lets you experiment with CHERIot on a more user-friendly platform.
FIGURE 1 An overview of the Sonata Board
Back in my November 2023 article in Issue #400 of Circuit Cellar I introduced you to the CHERI and CHERIot architecture, which I presented as a promising way of securing your existing C/C++ code with minimal effort. At the time, I lamented that it was difficult to “get started” with CHERIot, as it required you to build your own soft-core processor.
Since then, the Sunburst Project has released a board with prebuilt FPGA images, called the Sonata Board. While it’s still not as cheap as a simple microcontroller development kit, it has a similar development flow, only requiring you to compile code for the target. The project provides reference code, and the physical platform can be expanded with a variety of add-on boards (shields).
In this article, I'll quickly remind you of what CHERIot is, before showing you how you could use this with the physical system. The physical board is something I helped design, but the real effort behind Sonata is the FPGA work and the reference platform, which was developed by a team at lowRISC. The physical board is fully open-source, so you can build your own or modify it for specific tasks as you see fit.
FIGURE 2 This diagram shows the various blocks on the Sonata Board, some of which are implemented inside the FPGA in a soft-core microcontroller.WHAT’S CHERI ALL ABOUT?
This story is from the May 2025 edition of Circuit Cellar.
Subscribe to Magzter GOLD to access thousands of curated premium stories, and 10,000+ magazines and newspapers.
Already a subscriber? Sign In
MORE STORIES FROM Circuit Cellar
Circuit Cellar
Vishay Intertechnology Automotive-Grade Optocouplers Deliver High Isolation Voltage Ratings and Distance for EVs and Solar Inverters
Vishay Intertechnology, Inc. introduced two new Automotive-Grade optocouplers with phototransistor output in a widebody package featuring a comparative tracking index (CTI) of 600.
1 min
July 2026
Circuit Cellar
WWVB Timecode Generator A Tool for Testing Radio-Controlled Clocks
In this article, Robert describes how he built a timecode generator that provides simulated code from WWVB, a radio station operated by the National Institute of Standards and Technology, which is used to synchronize millions of radio-controlled clocks.
16 mins
July 2026
Circuit Cellar
MCUs at the Heart of the Edge Modern MCUs Go Beyond Simple Process Control
Microcontroller Units (MCUs) are the power at the heart of modern embedded systems.
2 mins
July 2026
Circuit Cellar
650V ICeGaN Device for Automotive Applications from CGD Helps Increase EV Range
Cambridge GaN Devices (CGD) has developed a 650V GaN IC for automotive applications that addresses automakers' desires to improve inverter efficiency.
1 min
July 2026
Circuit Cellar
Blues Latest IoT Modules Notecard for Skylo and Notecarrier CX
Satellite comms for IoT projects may seem the domain of enterprise customers, but new modules from Blues can bring satellites within reach even for small professional and research projects.
22 mins
July 2026
Circuit Cellar
Rust: An Embedded Lightning Rod Nothing Is Quite as It Seems
Linus Torvald’s release of Linux 7.0 announced the finalization of Rust-related projects in the kernel: From now on, the programming language is to be considered a first-class member of Linux.
10 mins
July 2026
Circuit Cellar
PLS' Debug and Trace Tool UDE Supports ST's Stellar P3E Automotive Microcontroller
The debug, trace, and test tool UDE Universal Debug Engine from PLS Programmierbare Logik & Systeme, has expanded its support to encompass the Stellar P3E.
2 mins
July 2026
Circuit Cellar
The Tireless Intern: LLM Coding Agents for Embedded Work Using AI Speeds Security Tooling
This article discusses a case study of using a large language model (LLM) to develop a tool for embedded security, that would have otherwise taken several weeks (or months) of effort in a few days.
10 mins
July 2026
Circuit Cellar
IoT Infrastructure: On-Premises Deployment or Cloud Solution?
Designing an IoT system is not only about sensors and dashboards.
5 mins
July 2026
Circuit Cellar
Signal-to-Noise Ratio for Voice Activity Detection Devices
Users needs to be able to give AI glasses voice commands and be sure the device is only picking up their speech, not other sounds.
4 mins
July 2026
Listen
Translate
Change font size
