Ktema SystemsDemo CenterThe floor: a bare microcontrollerEnquiry Demo

The floor: a bare microcontroller

Ktema

The smallest host the engine runs on: a part with no operating system, no filesystem, 8 MB of flash and 64 kB of working memory, where a record written before the reset is read back after it. Every host above it runs the same build.

An ESP32-S3 mounted on the LiteWing airframe, its status LED lit and the USB bridge connected.
The part the run was made on: an ESP32-S3 mounted on the LiteWing airframe, read with esptool at the bench rather than from a datasheet. Only the application and the partition table were written, so the shipped bootloader starts it.

What the board reported

Over the RAM mediumOver the flash region
Heap peak2,384 B1,648 B
Arena65,552 B65,552 B
MediumThe engine's own map in RAMA 2 MiB partition at 0x130000
RecordsTwo written and walked back in one bootThree from three earlier boots, each reached by its coordinate after a reset
Application356,576 B in a 1 MiB slot447,968 B
BootloaderUntouchedUntouched

The flash run peaks lower than the RAM run because the region channel holds no map in memory. That is the same trade the host measurements show from the other side: the path that keeps nothing per record is the path that answers by reading the log.

The surface the firmware links

A part like this has a flash region, a write, and an erase. It has no key-value medium, so the C surface takes that shape rather than a layout: the region as a slice the engine can read, and two callbacks for the writes and the erases that the driver owns.

The region channel sits above it and carries the log, the segment index, the forward-only write rule, and the recovery of a torn tail. The firmware writes no format and keeps no index of its own, which is why the same application runs unchanged here and on the host.

What the board does not cover yet

Two cases are modelled against a slice and have not run on a part: a power cut in the middle of a write, and a region that has filled and retired its oldest segment. Until both run on the board, the durability claim covers the reopen that the run above performs, and does not cover those two.

Firmware
firmware/litewing, ESP-IDF
Entry point
ktema_open_over_storage, ABI 6
Recorded
2026-10-24