Automating Firmware Generation from Schematics for Microcontroller based Designs
Christopher Besch, Janis S. Häseker, Hassan Nassar, Norbert Toth, Jörg Henkel • 2nd October 2026

Automating Firmware Generation from Schematics for Microcontroller based Designs

PLUTO's PCDU (Power Conditioning and Distribution Unit)

A Snippet

A Group Netlist

kicad_firmware_generation

github.com/DLR-RY/kicad_firmware_generation

Systematic Fault Injection

  • Inject faults into PCDU schematics:
    swap labels, delete cables
  • 8885 unique faults
  • Result: detected up to 75% of otherwise not found Group Pin swaps

Synthetic Benchmark

Group Netlist

Time Sensitive Network (TSN)

Networking inside Spacecraft

  • Real-time: worst-case delay, jitter
  • Previously: specialized point-to-point connections
    → heavy, costly, power inefficient
  • Can we use Ethernet & IP?

Transport Layer

UDP

  • Unreliable service
    (e.g., packets might be dropped)
  • Simple (3 pages in RFC 768)

TCP

  • Reliable service using
    Automatic Repeat Request (ARQ)
  • Complex (98 pages in RFC 9293)

Time Sensitive Networking (TSN)

  • Standardised under IEEE 802.1Q
  • Reliability at link layer: never drop a packet → no need for TCP
  • Accurate time-stamps based on PTP (Precision Time Protocol)
  • Hard timing guarantees

Redundant TSN Ring for Space

  • Single failure criterion
  • Goal: Demonstrator, Validation

Redundant TSN Ring for Space

  • Single failure criterion
  • Goal: Demonstrator, Validation

TSN VPN

  • Link remote locations with VPN for best-effort and real-time traffic
  • Problem: public Internet without real-time guarantees
  • Idea: separate real-time network into source and drain sections
    synthetic delay to hide jitter, hidden by faked PTP

TSN VPN Development

  • Goal: Implementation, Validation
  • Source and drain at same physical location
  • Proxy in Karlsruhe for real Internet delay
  • Measure latency with 1PPS

Completed Steps

  • 6-module ring demonstrator setup in Karlsruhe
  • Hardware procurement at DLR
  • PTP Test with two devices
  • Investigation into Zephyr and Device Trees
  • Research into Linux networking stack

Completed Artefacts

Next Steps

  • Setup 1PPS Measurement
  • Setup Redundant Ring Networking
  • Simulate TSN Ring Traffic
  • Simulate TSN Ring fault scenario
  • Design & Setup TSN VPN Setup
  • Implement TSN VPN
  • Test TSN VPN