Home Learning Paths ECU Lab Assessments Interview Preparation Arena Pricing Log In Sign Up
Engineer+

DEM Simulator

AUTOSAR Diagnostic Event Manager - complete debouncing, DTC status byte management, event memory, freeze frames, operation cycles, aging, UDS ReadDTCInformation & enable conditions

IGN
ENGINE
DRIVING
Cycle #1 Time: 0.0s

DTC Status Overview

0 DTCs
DTCStatusDebounceStateFDCAge
No events reported yet. Use controls above to report diagnostic events.

DTC State Machine

-
INIT
No Event
PRE-FAILED
Debouncing
PENDING
pendingDTC=1
CONFIRMED
confirmedDTC=1
AGED
Cleared by aging
PASSED
testFailed=0
PRE-PASSED
Debouncing ↓

Debounce Counter - -

Algorithm:
-128 (Passed)0+127 (Failed)
0
FDC (Fault Detection Counter): 0 / 127
Max FDC this cycle: 0
0
Total Events
0
Confirmed
0
Pending
0/40
Memory Used

Enable Conditions

-
All conditions must be met for event processing to be active.
DEM Event Log - Active
╔══════════════════════════════════════════╗
║ AUTOSAR DEM Simulator v4.3.1 ║
║ Diagnostic Event Manager ║
╚══════════════════════════════════════════╝
Dem_Init() called. Module initialized.
Dem_PreInit() - NvM block loaded.
✓ DEM ready. Ignition ON. Operation cycle #1 started.
─────────────────────────────────

UDS Status Byte Bits - Select DTC

0x00

Status Byte Binary Breakdown

Report events to see binary breakdown

Status Byte Transition History

#EventOldNewChanged Bits
No transitions yet

Bit Definitions (ISO 14229-1)

BitNameDescription
0testFailedDTC is currently failing (result of most recent test)
1testFailedThisOperationCycleDTC tested failed at least once during current op cycle
2pendingDTCDTC failed during current or last completed op cycle
3confirmedDTCDTC is confirmed (trip counter ≥ threshold)
4testNotCompletedSinceLastClearDTC test not yet run since last ClearDTC
5testFailedSinceLastClearDTC failed at least once since last ClearDTC
6testNotCompletedThisOperationCycleDTC test not yet run this op cycle
7warningIndicatorRequestedMIL / warning indicator is on for this DTC

Primary Event Memory

0/20 entries
Empty
DTCStatusOccurrenceAgingAction
Primary memory empty

Secondary Event Memory

0/10 entries
Empty
DTCStatusType
Secondary memory empty

Memory Management

0
Overflow Events
0
Displaced
0
Aged Out
Overflow Strategy

Extended Data Records

-
Record #ParameterValue
Select a confirmed DTC to view extended data

Freeze Frame Data

Freeze frames are captured when a DTC becomes confirmed.
Select a confirmed DTC above to view its snapshot data.

Freeze Frame Capture Log

DTCCapture TimeTriggerRecords
No freeze frames captured yet

Snapshot Comparison

When multiple freeze frames exist for the same DTC, a comparison view will appear here showing parameter deltas between captures.

Debounce Configuration

Debounce Algorithm
Failed Threshold
(-128 to +127 range)
Passed Threshold
(negative value)
Step Size (Pre-Failed)
Step Size (Pre-Passed)
Jump-To-Zero on Qualify

Confirmation & Aging

Trip Confirmation Threshold
operation cycles
Aging Cycle Threshold
operation cycles
Aging Requires Tested
Warning Indicator (MIL) Cycles
heal cycles before MIL off

Event Memory Configuration

Primary Memory Size
entries
Secondary Memory Size
entries
Max Freeze Frame Records
per DTC
Displacement Priority

Enable Conditions Setup

UDS Service 0x19 - ReadDTCInformation

Sub-Function
Status Mask Filter
Request:

UDS Service 0x14 - ClearDiagnosticInformation

UDS Communication Log
UDS Diagnostic Session ready.
Waiting for ReadDTCInformation (0x19) or ClearDTC (0x14) requests...
─────────────────────────────────