XCP measurement, calibration and analysis
for motor control & embedded debugging
Capture every sample with Watch variables, Scope waveforms and triggered Recorder. Then compute on the real data: flux observers, EmAdapt and gain sweeps run side by side with measurements, with error resolved down to a single sample — exportable as a report or frozen into a regression test case.
Six everyday debugging problems
Real issues from motor-control benches, and how the tool handles them.
The fault lasts a few milliseconds and won't repeat on demand.
Condition-triggered recording with a pre-trigger buffer keeps the data from before the event, so you can replay and locate the root cause.
By the time the tool connects, the inrush and initialisation are already gone.
Power-on Recorder starts capturing the moment the board powers up, preserving the whole startup sequence.
Verifying estimated angle or gain means another build, another flash cycle.
Built-in algorithms run directly on recorded data; estimates and measurements share one screen, with automatic error statistics and gain sweeps.
Regression runs compete for scarce bench time and people.
Freeze real test data into cases with stimulus, expectation and tolerance; super-realtime replay judges results automatically and exports reports.
Injecting speed ramps or fault waveforms means extra hardware or stopping acquisition.
STIM injects values or waveforms (step, sine, sweep, PRBS, table) on the DAQ cycle while acquisition keeps running; originals are restored on stop.
Field upgrades break continuous bench runs and reconnect cycles.
In-service upgrade reuses the XCP serial link with dual-bank A/B switching, then resets and reconnects automatically.
From symptom to conclusion on one screen
Projects, waveforms, variables and logs live together — no tool switching.
Hover to play
Scope: multiple channels in sync, cursors and measurement rulers resolve ΔX / ΔY down to the sample hover to play
Watch: live values and trend curves; apply whole calibration parameter sets in one click hover to play
Recorder: capture on demand, keep a recording list, double-click to replay hover to play
STIM: inject a sine into a setpoint without stopping acquisition; originals restore on stop hover to play
Comparison · reports · algorithm analysis
Side-by-side: curves before and after a parameter change
Point-by-point: differences down to every sample
Report: one click turns findings into an archivable document
EmAdapt parameter adaptation
Real motors are not linear: inductance moves with current and speed, resistance drifts with temperature. EmAdapt adapts control parameters from measured operating data, with every step visible and traceable.
One toolchain, end to end
From device connection to acquisition, offline analysis and regression — no external scripts to glue stages together.
Acquisition & observation
- Standard XCP over serial: multi-channel synchronous DAQ with live values and waveforms.
- Watch & calibration: struct / array / pointer expansion, value write-back, trend curves and STIM stimulation.
- Variable resolution: ELF (DWARF), A2L and MAP sources, with IQ fixed-point scaling.
Recording & triggering
- Condition triggers: threshold or combined conditions, 0–10000 ms pre-trigger buffer.
- Power-on recording: captures initialisation and startup automatically.
- Export: native XCPData, standard MDF4 and CSV.
Analysis & algorithms
- Waveform analysis: cursors, rulers, annotated regions and difference overlays.
- Error quantification: statistics, threshold lines, out-of-range markers, error channels.
- Motor algorithms: PMSM flux observer, EmAdapt, gain sweep, quasi-online run, formula engine.
Delivery & regression
- Multi-version comparison: parallel views, per-sample list, tolerance checks and parameter sets.
- Reports: single-file HTML with embedded screenshots, printable to PDF.
- Test-case library: stimulus + expectation + tolerance, batch runs and traceable results.
Project & deployment infrastructure
Workspaces, projects and acquisition settings travel with the folder; firmware loading via SWD (OpenOCD) or UDS over serial; emXCP target library plus an open lightweight frame protocol for custom boards.
Build, flash, observe
Three loading paths: in-service upgrade over the XCP link with dual-bank switching, serial Bootloader (UDS), and direct SWD flashing. BIN / HEX / ELF / AXF are accepted with partition management and address checks; the board resets and reconnects automatically.
In-service upgrade: reuse the XCP port, switch banks A/B without stopping the motor
Serial UDS: erase, transfer, CRC32 check and reset with a full log
SWD: CMSIS-DAP / ST-Link / J-Link flashing with verify and auto reset
Let the data speak from your next debug session
Start with the free Basic edition and the built-in simulated target, then add a license tier when you need on-target measurement, long recording or regression testing.