Skip to content
joravarPublic

About

Console and firmware studio for the Radtel RT-950 Pro running Ferrite: channels, live view, APRS, satellites, firmware updates and a radio simulator. Windows, Linux and browser.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

RustPlug

Website · Manual · Open in browser · Download

A 100% pure-Rust Console, Firmware Builder/Packager, and Hardware Simulator for the Radtel RT-950 Pro running open-source Ferrite firmware, built with egui / eframe for native Windows / Linux / macOS and desktop browsers (WebAssembly) — with zero JavaScript, TypeScript, Node, or Python required.

Complete Feature Matrix

1. Firmware Studio & In-Process Hardware Simulator (crates/fw-studio)

  • ARM Cortex-M4F Firmware Builder (thumbv7em-none-eabihf): Build all 6 firmware flavours (tx, rx, tx-bench, bringup, ferrite-reader, ferrite-restorer) directly from GUI or rustplug-fw CLI, with pure-Rust 32-bit ELF (PT_LOAD) → flat .bin extraction (no external llvm-objcopy required).
  • Pure-Rust .btf & .ffw Packager + SPI Parts Generator: Generates all 5 SPI flash assets (FTXT text.bin, FLGO logo.bin, FVTP vt100.bin, FDIC words.bin, and FAIR airlines.bin), packs bootloader .btf images and self-verified .ffw update archives, and checks Minisign signatures.
  • Si4732 HF SSB / CW Patch Extractor & Bundler: Extracts the Silicon Labs Si4732 SSB patch from stock .BTF firmware either to bundle into .ffw or upload live to a running Ferrite radio over SSB_WRITE.
  • Update, First-Time Install & Back to Stock:
    • Update: Stock UART bootloader flasher (115200 8N1), Layout 2 → Layout 3 automatic SPI flash migration (Finish the update…), and .ffw SPI parts writer.
    • First-Time Install: 3-step backup-first wizard (ferrite-reader.btf → whole-chip fdumpz dump + calibration/region CRC-32 checks + live MCU SSB extraction → mandatory .bin save gate → .ffw install).
    • Back to Stock: STOCK_RESTORE over USB cable with never_written calibration/update-area guard, per-range CRC verification, UID confirmation on renamed backups, and marker-padded stock .BTF flashing.
  • Pixel-Exact RT-950 Pro Hardware Simulator (SimCore): Runs the real RT-950 Pro firmware (ferrite-app, ferrite-ui, ferrite-store, FakeRadio) inside the GUI with clickable front-panel keys, mouse-wheel rotary knob, 15 RF/hardware event triggers (APRS Msg, Weather SAME Alert, GPS, Bluetooth, Broadcast FM RDS, Crossband, etc.), PNG screenshot export, and 1-click live Studio connection (SimAsyncTransport).

2. Full Ferrite Console Parity (crates/link-io, crates/codeplug, crates/app, crates/lint)

  • All Hardware & Virtual Transports: Native USB-serial (115200 / 230400 high-speed switch), Native Bluetooth LE (btleplug 0xFFE0/0xFFE1 + 0xFF31 unlock), Browser Web Serial & Web Bluetooth (wasm32), Live Hardware Simulator (SimCore), and in-memory DemoRadio.
  • Live View & 12 kHz Receive Audio: Real-time 240×320 radio screen (Home 3-slot cards + S-meter + RDS, Menu/Group rows, Popup/Toast, Hints, and exact LINK-19.5 Item geometry; compact delta subscription over BLE), interactive keypad + knob + macro runner (never keys remote PTT), direct VFO Slot A/B/C tuner, 12 kHz µ-law Receive Audio (Listen) via native Windows winmm audio + 16-bit PCM .wav recorder, and PNG screenshot export.
  • Channels, Zones, Range Presets & Add from Library:
    • Virtualized 4,000-channel table, bulk edit bar, channel inspector, 100-step Undo/Redo, and CHIRP CSV import/export.
    • Add from Library (in both Channels & Zones + dedicated sub-tab): bundled US, Canada, International, and Quick channel sets; Near Me search (lat,lon, Maidenhead grid square, NMEA GGA) over bundled & imported columnar-1 tiles (airports, repeaters, fcc, tafl) + RepeaterBook CSV; Crossband Repeater Helper; 1-click Live Slot Tune; and auto-splitting zones > 256 channels.
  • Radio Settings, Custom ACARS & DTMF Memories: Full menu-mirrored settings with 3-way merge on write, 8 Custom Airband ACARS Frequencies (what::ACARS_OWN), Crossband settings (xb.*), and 16 DTMF Memories (what::DTMF).
  • 7-Tab APRS Studio: Messages (inbox/outbox + live compose/send/delete), Quick Messages (9 slots + factory reset), Heard Stations, Interactive Pan/Zoom Vector Map (world coastlines + graticule + stations + waypoints), Waypoints (up to 2,032 + delta sync + CSV), Contacts (up to 1,016 + CSV), and APRS Settings (MENU 0 5 + Auto-Reply + Retries).
  • POCSAG Pager & Multi-Decoder Studio: POCSAG Pager feed with capcode count sidebar, search, CSV export & inline 0 4 2 settings; 16 Pager Capcode Names (what::PAGER_NAME); and live SAME / DSC / AIS / DTMF / Selcall feed.
  • Amateur Satellites: Bundled sats.json + Custom 3-line NORAD/Alpha-5 TLE builder, up to 32 radio picks, WMM2025 magnetic declination, UTC clock sync, auto-refresh on connect, and Interactive 2-Orbit SGP4 Ground-Track & Footprint World Map + 48h Pass Predictor.
  • SSTV Pictures: Read all 4 SPI flash slots (0x15D000 + k * 0x29000), view & save received Robot 36 / Martin M1 / Scottie S1 / PD90 / PD120 images as PNG, and center-crop/upload any PNG/JPEG to Slot 0 (320 × 256 RGB565) with CRC-32 verification.
  • Event Log, Terminal, Regional RF Linter & 8-Part .ferrite v2 Codeplugs: Full 8-source LOG_READ viewer with CSV export, interactive LINE_CMDS terminal, ITU Region 1/2/3 RF linter with 1-click fixes, 8-part .ferrite v2 zip read/write (channels, presets, settings, aprs, contacts, quick, waypoints, dtmf), Diff/Merge, Zone Packs, and About (with 20-char Base32 Radio UID).
  • Bridges (desktop): Hamlib-compatible rigctld server (NET rigctl, model 2; port 4532) for Gpredict Doppler, WSJT-X, fldigi and loggers: frequency, FM/FMN/AM mode, VFO A/B/C, S-meter, and opt-in remote PTT with keepalive and unkey-on-disconnect. KISS TNC over TCP (port 8001) relaying the radio's cable KISS port (MENU 0 5 8 = Cable) to KISS-over-TCP clients (Xastir, YAAC, APRSIS32, PinPoint, Direwolf's kissutil) in whole frames; tested end-to-end with Direwolf 1.6 as the TNC (examples/kiss_bridge).

Quick Start

# 1. Clone pinned upstream Ferrite crates
git clone https://github.com/FerriteFW/console.git upstream/console && git -C upstream/console checkout 2ab4af85edd6c66a1c63fcb9849a5f32aa4cad65  # v0.9.10
git clone https://github.com/FerriteFW/ferrite.git upstream/ferrite && git -C upstream/ferrite checkout b5fd2a7baa71a3cea2b58ac99e045617849b8c73  # v0.9.10

# 2. Run workspace unit tests
cargo test

# 3. Launch native desktop Studio (with Bluetooth LE)
cargo run -p rustplug --features native-ble

# 4. Or on Windows (native GPU + COM + BLE helper)
run-windows.cmd --build

# 5. Firmware packager & builder CLI
cargo run -p rustplug-fw-studio --bin rustplug-fw -- help

Release

Releases ship the app per platform with Ferrite's firmware built in (as Ferrite Console does): the update file, the First-Time Install reader and the Back-to-Stock restorer. Firmware Studio's Use built-in buttons load them, so no separate firmware download is needed.

# Linux tar.gz and web zip (WSL); builds the firmware from a clean upstream/ferrite checkout into target/release-fw
tools/release.sh 0.9.11 0.9.10   # RustPlug version, then the Ferrite release built in

# Windows portable .exe (GNU toolchain), embedding the same firmware
set RUSTPLUG_FIRMWARE_DIR=<repo>\target\release-fw
set RUSTPLUG_FIRMWARE_VERSION=0.9.10
cargo build --offline --release -p rustplug --target x86_64-pc-windows-gnu --features native-ble,bundled-firmware

# Website (site/) and the browser build (dist/) to the gh-pages branch
tools/publish-site.sh

Licence & Attribution

Licensed under PolyForm Noncommercial 1.0.0 (LICENSE.md). Reuses unmodified protocol, simulator, and radio-side validation crates from FerriteFW (copyright 2026 Alex Harvey). RustPlug is an independent noncommercial project and is not affiliated with or endorsed by FerriteFW.

About

Console and firmware studio for the Radtel RT-950 Pro running Ferrite: channels, live view, APRS, satellites, firmware updates and a radio simulator. Windows, Linux and browser.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages