CANhack.de CAN-Interface RKS+CAN
CAN Hardware, CAN Software, CAN Protocols - CAN Bus Forum for Your CAN Bus Project.

MERCEDES W205 CANBUS CRC

 
New Topic Reply 🔗 🖨 CANhack.de - Index » General
Author Message
E91330D



Joined: 11/29/2022
Posts: 3
Karma: +1 / -0   Thank you, like it!


Free account, no CAN development support

Post17-01-2024, 1:13    Subject: MERCEDES W205 CANBUS CRC Quote

Hello, can anyone help me calculate the CRC for an electronic parking brake control unit (EPB)?

Sure, here is the translation of the text from German to English:

"For example, the following ID:"

0x411, 0x2F, 0x00, 0x00, 0
0x411, 0xB2, 0x01, 0x00, 0x0.
0x411, 0x08, 0x02, 0x00, 0
0x411, 0x95, 0x03, 0x00, 0x00
0x411, 0x61, 0x04, 0x00, 0
0x411, 0xFC, 0x05, 0x00, 0x00
0x411, 0x46, 0x06, 0x00, 0x00
0x411, 0xDB, 0x07, 0x00, 0x00
0x411, 0xB3, 0x08, 0x00, 0x0.
0x411, 0x2E, 0x09, 0x00, 0x00
0x411, 0x94, 0x0A, 0x00, 0x00
0x411, 0x09, 0x0B, 0x00, 0x00
0x411, 0xFD, 0x0C, 0x00, 0x00
0x411, 0x60, 0x0D, 0x00, 0x00
0x411, 0xDE, 0x0E, 0x00, 0x00
0x411, 0x47, 0x0F, 0x00, 0x00

Byte 0 looks like a CRC (Cyclic Redundancy Check) to me.
Byte 1 is a sequence counter ranging from 0 to 15.
Byte 3 represents the value for the parking brake (0x00 = released, 0x04 = engaged).
Tachopfuscher vom feinsten


Translated on 15-07-2026, 13:07.
Back to top Profile PM
postmann
CAN-Profi
CAN-Profi


Joined: 05/23/2013
Posts: 142
Karma: +63 / -0   Thank you, like it!


CAN Support

CAN-Diagnose likes this.
Post18-01-2024, 23:49    Subject: MERCEDES W205 CANBUS CRC Quote

If byte 0 is a CRC (8 bits) and byte 1 is a sequence counter (4 bits), then it's likely an AUTOSAR Profile 5 CRC.

Just check the autosar.org website for the document "Specification of CRC Routines." The calculation profiles are defined there. However, that won't necessarily help you, because profile 5 uses a new start polynomial for each sequence. If you don't know those polynomials, you can't calculate a valid CRC value.

You could try to determine the starting polynomials using a brute-force approach.


Translated on 15-07-2026, 13:11.
Back to top Profile PM
New Topic Reply 🔗 🖨 CANhack.de - Index » General
Similar articles and topics
Topic Forum
No new posts Mercedes W204 EIS/EZS CAN bus messages General
No new posts CanBus Standheizung Eberspächer, Auto ohne CanBus Interior / Comfort CAN
No new posts CAN bus to OBDII CAN Smalltalk, CAN News, Smalltalk
No new posts Harley Davidson Canbus CAN Bus General
Jump to:  
You cannot post new topics in this forum.