r/AutomotiveEngineering • • 2h ago

Informative Built a cross-platform Vector CANoe alternative in Rust + WebAssembly — zero-upload browser DBC/ARXML bit-matrix, BLF/MF4 oscilloscope, UDS & STL CI

1 Upvotes

Sharing Fieldbench — a cross-platform (Linux, macOS, Windows, Browser WASM) CAN/CAN-FD engineering bench and headless CI tool for teams looking to inspect DBC/ARXML files, plot binary BLF/MF4 captures, transpile portable CAPL scripts, and run UDS/STL checks without booting a Windows VM or tying up a dongle.

You can test it on your own files locally in your browser tab right now (runs 100% in WebAssembly — zero file upload):

Key verification & engineering details (all reproducible via ./bench/scoreboard):

  • Schema parity: DBC, KCD, SYM, AUTOSAR 4.3 ARXML, LIN LDF, ODX/CDD, 25-PGN J1939 registry, 15 lint rules + Tindell-Davis WCRT schedulability — 100% parity against cantools 45.3 across 12 format matrices (7,859 assertions).
  • Binary logs & E2E: Native zlib BLF (Classic + 64B CAN-FD), ASAM MDF 4.10 (##DT/##DZ), ASC, TRC, Candump, PCAPNG, plus all 7 AUTOSAR R22-11 E2E CRC profiles — 967 checks vs crccheck, cantools, python-can, and asammdf.
  • Diagnostics & STL CI: ISO 14229-1 UDS client + virtual ECU (multi-block ISO-TP flashing + CRC-32), 56-PID OBD-II, XCP DAQ, and quantitative STL temporal assertions (12 ms for 15 rules over 60 s) emitting JUnit XML / SARIF 2.1 / HTML reports.

Honest boundaries: Vector Win32 .dll CAPL pragmas, CANoe COM panels, FlexRay/MOST MDF4 blocks, and Windows XL-API / PCAN-Basic vendor DLLs are outside scope (hardware connects via Linux SocketCAN, Lawicel SLCAN, or UDP/TCP-CAN bridge).

Browser viewer, Apache-2.0 core crates, and CLI up to 100k frames are free; paid offline Ed25519 keys ($490/yr Pro or $1,290 perpetual) unlock unlimited traces, binary BLF/MF4 export, Restbus/CAPL/UDS, and CI reports with zero phone-home. Would appreciate feedback from anyone working on EV, BMS, or HIL validation.