Repository navigation
Firmware EN
Sprache / Language: Deutsch | English
Firmware is built for STM32H723 using CMake and Ninja. Requirements are the ARM GCC toolchain, Python for build checks, and STM32CubeH7 v1.11.0 including HAL, CMSIS, USB Device Library and FatFs.
From the project root, replace the Cube path with your installation:
cmake -S firmware -B firmware/build -G Ninja -DCMAKE_BUILD_TYPE=Release -DSTM32CUBE_PATH=C:/STM32Cube/STM32Cube_FW_H7_V1.11.0
cmake --build firmware/buildOn Linux, the last argument might point to /opt/STM32Cube_FW_H7_V1.11.0. These are example installation paths, not automatically created directories.
Outputs include ufi_firmware.elf, .bin, .hex, a map, and memory/stack reports. A failed build may leave an older BIN behind. Flash only the result of a completely successful build.
| Option | Purpose |
|---|---|
UFI_WATCHDOG |
Watchdog; enabled in the normal build |
UFI_FORCE_INTERNAL_FLUX_STORE |
Bypass PSRAM for deliberate fallback testing |
UFI_RELEASE_OPTIMIZATION |
2, 3 or s; default 2
|
UFI_GIT_REV |
Explicit embedded source revision |
Use separate build directories for variants to avoid carrying cached settings into the normal image. The embedded revision gets a + when working-tree changes are detected.
J4 is the v1.0 SWD connector. Match adapter, target voltage, ground, SWDIO, SWCLK and reset to the actual pinout. With a suitable ST-LINK/OpenOCD setup:
openocd -f interface/stlink.cfg -f target/stm32h7x.cfg -c "program firmware/build/ufi_firmware.elf verify reset exit"The documented bench also used a Tigard/FT2232H adapter, which needs a different configuration. Do not program firmware during a write operation.
After restart, check ufi info and compare the revision and binary hash with the intended image.
Firmware and host implement entry into the STM32 ROM bootloader. The DFU device did not enumerate on the documented v1.0 bench; the cause remains open. SWD is the demonstrated programming route for that setup.
If DFU demonstrably enumerates on your setup, the intended command is:
dfu-util -a 0 -s 0x08000000:leave -D firmware/build/ufi_firmware.binSee Development and tests for the offline gate, static analysis and fuzzing. Device acceptance is separate: Bring-up and write-path acceptance plan, German.
Source: CMake configuration.
Deutsch · English · Projektstatus · Project status · Source · Issues · MIT
Stand / Updated: 2026-11-14 · UFI Headless v1.0 · Firmware 1.18-dev
Deutsch
Erste Schritte
- UnifiedFloppyTool mit UFI
- Schnellstart
- Installation
- Hardware
- Beschriftete Platinenübersicht
- Anschlüsse
- Inbetriebnahme
- Firmware bauen und flashen
Disketten bearbeiten
Betrieb und Systeme
Nachschlagen und Entwickeln
English
Getting started
- UnifiedFloppyTool with UFI
- Quickstart
- Installation
- Hardware
- Annotated board overview
- Connections
- Bring-up
- Building and flashing firmware
Working with disks
Operation and systems
- Operating modes
- SD and standalone operation
- LAN
- Greaseweazle
- Amiga
- Apple and Macintosh
- Commodore IEC
Reference and development