Facebook Pixel Experimenting with CHERI on the Sonata Board | Circuit Cellar - education - Read this story on Magzter.com

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.

- By Colin O'Flynn

Experimenting with CHERI on the Sonata Board

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.

imageFIGURE 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?

MORE STORIES FROM Circuit Cellar

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.

time to read

1 min

July 2026

Circuit Cellar

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.

time to read

16 mins

July 2026

Circuit Cellar

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.

time to read

2 mins

July 2026

Circuit Cellar

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.

time to read

1 min

July 2026

Circuit Cellar

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.

time to read

22 mins

July 2026

Circuit Cellar

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.

time to read

10 mins

July 2026

Circuit Cellar

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.

time to read

2 mins

July 2026

Circuit Cellar

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.

time to read

10 mins

July 2026

Circuit Cellar

Circuit Cellar

IoT Infrastructure: On-Premises Deployment or Cloud Solution?

Designing an IoT system is not only about sensors and dashboards.

time to read

5 mins

July 2026

Circuit Cellar

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.

time to read

4 mins

July 2026

Listen

Translate

Share

-
+

Change font size