> ## Content Index
> Fetch the complete content index at: https://circuitowl.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# June 8-14, 2022: An open FPGA toolchain and firmware tools for small boards
- URL: https://circuitowl.com/weekly-archive-2022-06-2/
- Published: 2022-06-08T12:00:00.000Z
- Updated: 2026-11-20T00:04:01.000Z
- Description: The keepers of June 8 to 14, 2022 were practical ones: an open FPGA toolchain for the Sipeed Tang Nano, a flash key/value datastore and a dual RP2040 motor controller. On the front pages, a story titled "Hertzbleed Attack" drew 1,461 points on June 14.
- Author: Circuit Owl Lab
- Tags: AI for firmware and embedded code, Weekly archive, 2022, #factory, #humanizer-2026-11-19, #weekly-archive, #weekly-archive-2022-06-2, #weekly-archive-text-6b42a5cc485f27f2

*From the weekly archive: written in 2026 from the sources of June 8-14, 2022.*

## Key takeaways

- On June 12, Sevan Janiyan shared an open FPGA toolchain of yosys, apicula, nextpnr and openFPGAloader for the Sipeed Tang Nano, relatively cheap offerings from Sipeed in China.
- The June 12, 2022 post described the official Tang Nano toolchain as proprietary, with a license to be renewed every year.
- On June 14, Marcelo Barros shared Kved, a key/value datastore for microcontroller flash, with ports listed for the STM32L433RC and STM32F411CE.
- A June 14 post presented the dual RP2040 motor controller from Twisted Fields, a credit-card-size open-source board for the Acorn Precision Farming Robot.
- A story titled "Hertzbleed Attack" drew 1,461 points on June 14.

For readers who want AI in design, firmware and prototyping, June 8 to 14, 2022 was a quiet span. The closest thing to the beat was a headline: a story titled "Differentiable Finite State Machines" drew 206 points on June 8\. What had substance was tooling. On June 12, Sevan Janiyan shared an open FPGA toolchain for the Sipeed Tang Nano. On June 14, Marcelo Barros shared Kved, a key/value datastore for microcontroller flash, and a post presented a dual RP2040 motor controller built for farm robotics.

Markets fell through the span. On June 10 the Dow Jones Industrial Average fell 880 points and the S&P 500 fell 117 points, after an inflation report that showed a faster-than-expected rise in prices and consumer sentiment reaching a record low. On June 13 the S&P 500 closed more than 20% below its January 3 record closing high, confirming the index was in a bear market. Hardware and funding showed up on the front pages too. A story titled "Arduino raises $32M Series B round" drew 234 points on June 10\. A story titled "Hertzbleed Attack" pulled 1,461 points and 393 comments on June 14, a headline saying MIT researchers had uncovered an "unpatchable" flaw in Apple M1 chips drew 885 points on June 11, and a headline saying Lilium had achieved a first main wing transition for an all-electric aircraft drew 442 points on June 12\. A story titled "Blender 3.2" drew 423 points on June 8.

## An open toolchain for the Sipeed Tang Nano

On June 12, Sevan Janiyan shared research on putting an open FPGA toolchain together. The target was the Sipeed Tang Nano FPGAs, relatively cheap offerings from Sipeed in China. As the post described it, the official toolchain was proprietary and required applying for a license that had to be renewed every year, and a limited educational version that could be used more freely was not necessarily sufficient for comfortable work.

The toolchain relies on apicula, an effort to reverse-engineer, reimplement and document the Gowin FPGA bitstream format, along with the gowin integration for nextpnr, an open tool for FPGA place-and-route. Combining yosys, apicula, nextpnr and openFPGAloader, Janiyan put together a set of commands to build gateware for the boards without proprietary limitations, in the post's words. The write-up showed two demos: a basic blinkie, and a parallel LCD connected to the board that operated successfully. For a maker weighing these boards in June 2022, the June 12 post described a route around that yearly renewal.

Timeline: Jun 8, 2022, CaptionIt captioning HUD write-up; Jun 10, 2022, Aerial robotics chat with Nick Rehm; Jun 10, 2022, Arduino Series B funding story; Jun 12, 2022, Open FPGA toolchain for Tang Nano; Jun 14, 2022, Story: Hertzbleed Attack; Jun 14, 2022, Kved flash datastore shared; Jun 14, 2022, Dual RP2040 motor controller post.Jun 8, 2022CaptionIt captioning HUD write-upJun 10, 2022Aerial robotics chat with Nick RehmJun 10, 2022Arduino Series B funding storyJun 12, 2022Open FPGA toolchain for Tang NanoJun 14, 2022Story: Hertzbleed AttackJun 14, 2022Kved flash datastore sharedJun 14, 2022Dual RP2040 motor controller post

What the span of June 8 to 14, 2022 held for hardware builders.

## Captions on a head-up display

A June 8 post described CaptionIt, Basel Saleh's head-up display that provides captions for everyday situations. The hardware was a tiny I2C OLED screen with a reflector and a 3D-printed mount attached to a pair of glasses. The post claimed it would work with almost any ARM v7 SBC, including more recent Raspberry Pi boards.

The device used the vosc speech recognition toolkit to read audio, with the resulting text displayed on the screen, and a video showed it in action. The writer could not comment on its utility without trying it, saw a significant impact as an accessibility aid, and wanted to see it develop coupled with translation software. It stood as a working example of speech recognition on a small single-board computer, worn on the face.

## Onboard state estimation in aerial robotics

A June 10 chat on aerial robotics was hosted by Nick Rehm, an aerospace engineer at Johns Hopkins Applied Physics Laboratory who works on detection and avoidance of mid-air collisions and on vertical take-off and landing systems. His dRehmFlight is a GPLv3 licensed flight control package that runs on relatively low-cost hardware, a Teensy 4.0 microcontroller paired with a GY-521 MPU6050 IMU. It is designed to let hobbyists experiment with VTOL craft, specifically ones that transition between vertical and horizontal flight profiles, and it powered the bulk of his own flying craft.

Two problems stood out in his answers. Designing an autonomous flying vehicle starts with nailing down constraints: what the craft needs to do, and how long it needs to do it, since those answers largely dictate the form of the vehicle. The biggest challenge in aerial robotics, he said, is onboard state estimation, the craft knowing its position and orientation relative to the ground. In his view there was still no substitute for a ground-based tracking system, and formation-flying drone demonstrations almost certainly had motion capture cameras off to the side. He saw promise in pairing traditional autopilots with more onboard computing power, which can enable simultaneous localization and mapping using 3D scans, and in autonomous flight in GPS-denied environments.

Bar chart: Story: Hertzbleed Attack, 1461 points; MIT Apple M1 flaw story, 885 points; Lilium wing transition, 442 points; Story: Blender 3.2, 423 points; MicroPython story, 251 points; Arduino Series B story, 234 points.Story:HertzbleedAttack1461 pointsMIT Apple M1flaw story885 pointsLilium wingtransition442 pointsStory: Blender3.2423 pointsMicroPythonstory251 pointsArduino SeriesB story234 points

Points drawn by six hardware stories from the span's front pages.

## Kved, a key/value datastore in flash

On June 14, Marcelo Barros shared Kved, a key/value database that uses flash memory for storage. The problem it addresses is familiar to firmware writers: many microcontrollers carry a small amount of EEPROM, usually limited if it is provided at all, and formatting values into it while handling wear leveling for parameters that change often is a hassle. Kved implements a dictionary-type data structure with numeric keys and values, supporting a few integer types. It needs a pair of spare flash sectors and ported flash sector read, write and erase functions, and the post noted such code is available for practically any microcontroller.

The write algorithm uses copy-on-write. Changed values are invalidated by overwriting the storage location with all zeros and rewriting the value to a new location, cycling through unused locations until the sector is full. Data-integrity mechanisms prevent corruption from power fail situations, and incorrectly written values are corrected on start-up. The post listed ports for the STM32L433RC and STM32F411CE, plus a simulated version to compile and run on a computer. Language tooling for the same readers also showed up on the front pages. A story about MicroPython, Python for microcontrollers, drew 251 points on June 8\. A story about Toit, a language designed for microcontrollers, drew 110 points on June 8, and a story about CircuitPython, billed as the easiest way to program microcontrollers, drew 105 points.

## A dual RP2040 motor controller and the shortage

A June 14 post presented the dual RP2040 motor controller from Twisted Fields, produced as part of the Acorn Precision Farming Robot platform. It is a fully open-source two-channel controller on a board the same size as a credit card. During the global semiconductor shortage, the post noted, the RP2040 had remained almost alone among microcontrollers in having plenty of fab capacity to keep supplies rolling, and its plain set of ARM peripherals alongside programmable state machines had found it homes it might not otherwise have had.

The post also carried a warning for anyone copying the design. Motor controllers are never as simple as their circuit suggests: heat dissipation, current and transient handling all play a part in a successful design, and the writer expected this one to evolve to fix issues it might still contain. For sourcing in June 2022, the post said an RP2040 design had fab capacity behind it.

A marker flows through the four tools the June 12, 2022 post combined to build gateware for the Sipeed Tang Nano FPGAs.Sipeed Tang Nano FPGA boardyosysapiculanextpnr place-and-routeopenFPGAloader

The open Tang Nano toolchain shared on June 12, 2022.

## Open questions at the time

The span left real questions open. Could an open toolchain keep building gateware for the Tang Nano without the yearly license renewal the June 12 post described? Would speech recognition on an ARM v7 SBC hold up beyond a demo video, when the post only claimed the hardware would work with almost any such board? And what would an Arduino Series B round fund, when the span's record of it was a headline that drew 234 points?

A reader today can put the record beside the present. Compare the state of open toolchains for Gowin parts with the June 12, 2022 combination of yosys, apicula, nextpnr and openFPGAloader. Check whether small flight controllers closed the state estimation gap Nick Rehm named on June 10, or still lean on ground-based tracking. Set today's flash storage options against Kved's June 14, 2022 ports for the STM32L433RC and STM32F411CE.

[The AI Hardware Prototyping Stack](https://circuitowl.com/ai-hardware-stack/) is a free checklist of tools and prompts.

Circuit Owl Lab wrote this archive entry in 2026 with AI from public sources of June 8-14, 2022 and a separate review pass checked its claims against them. Nothing here comes from first-hand testing.