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

E2E Protection Simulator

AUTOSAR End-to-End data protection - CRC calculation, sequence counters, alive counters, state machine, and fault injection

DataID: Length:
Fault Injection:
0
Messages Sent
0
E2E OK
0
Errors Detected
100%
Success Rate

🔄 E2E Data Flow

Idle
SENDER (ECU A) E2E_Protect() Counter: 0 CAN Bus Clean FAULT None RECEIVER (ECU B) E2E_Check() Waiting...

📤 Sender - E2E_Protect()

Application Data (hex bytes)
Protected PDU (output)
Press Send to generate protected PDU
XXCRC XXCounter XXPayload XXCorrupted

🔢 CRC Calculation Detail

CRC-16 / CCITT-FALSE
CRC steps will appear after first message

📊 E2E State Machine (Receiver)

NODATA
INIT
VALID
INVALID
E2E_SMCheckState Transitions:
NODATA → INIT: First valid E2E_Check result received
INIT → VALID: WindowSize consecutive OK results
INIT → INVALID: Too many errors during init window
VALID → INVALID: MaxErrorAllowed exceeded in window
INVALID → VALID: MinOkRequired reached in window
Any → NODATA: No new data for timeout period

📥 Receiver - E2E_Check()

Received PDU
Awaiting data...
Check ResultNONEWDATA
SM StateNODATA
Rx CRC-
Calc CRC-
CRC Match-
Rx Counter-
Expected Counter-
Counter Status-
E2E Protection Log
Ready - Select profile, enter data, and send messages.

📈 Message Timeline

OK CRC Error Loss Repeat
Msg #1-