Interactive tools to visualize and understand AUTOSAR DEM behavior in real time
This repository provides a set of interactive web-based simulators for the AUTOSAR Diagnostic Event Manager (DEM).
Instead of only reading specifications, you can experiment and visualize how debounce algorithms and DTC states evolve.
- Implements
DemDebounceCounterBased - Configurable increment/decrement steps
- Counter range: -127 β +127
- State transitions:
PREPASSED β PASSEDPREFAILED β FAILED
- DTC storage & healing visualization
- Implements
DemDebounceTimeBased - Adjustable thresholds:
- FAILED timer
- PASSED timer
- Real-time signal simulation (press & hold)
- Accurate ECU-like timing behavior
- Based on ISO 14229-1 / AUTOSAR SWS_Dem
- Includes:
testFailedpendingDTCconfirmedDTCwarningIndicatorRequested
- Features:
- Drive cycle (DCY)
- Fault confirmation threshold
- Aging mechanism
- DTC clearing
AUTOSAR DEM is often difficult to understand from documentation alone.
This project allows you to:
- ποΈ Visualize behavior
- π§ Understand transitions
- βοΈ Experiment with parameters
- π Learn faster through interaction
- Counter-based vs Time-based debounce
- DTC lifecycle (pending β confirmed β cleared)
- Drive cycle behavior
- Full 8-bit DTC status logic