Notices
Audio & Electronics Use this forum to discuss audio and electronic upgrades for your Mercedes-Benz.
Sponsored by:
Sponsored by: Innova

W211 CAN B Hacking

Thread Tools
 
Search this Thread
 
Rate Thread
 
Old Mar 31, 2018 | 04:30 PM
  #151  
sparks57's Avatar
Newbie
 
Joined: Mar 2018
Posts: 6
Likes: 0
Mercedes CLA
Originally Posted by enzo80
Can anybody tell me the right can codes for w211 ignition-on ?
I have tested ID = 0x000 with 1 byte 0xFF.
This is not right for ignition on ??
Anybody can help ?

Many thanks in advance
did anyone ever come up with the correct can bus codes for ignition on for the CAN B bus ?
I am looking to do the same thing, power up an NTG 4.X unit on a bench.
Reply
Old Aug 3, 2018 | 07:25 AM
  #152  
the88g's Avatar
Junior Member
 
Joined: Aug 2014
Posts: 51
Likes: 0
From: Surrey, UK
CLK320 2009 (W209)
Would you say that 29-bit compatibility on a CAN reader was vital? I'm switching from a W216 to a W209 and wanted to be prepared for CAN experiments. Out of the box, the CANBus Triple does not have 29-bit and I've had problems in the past getting it to work with 83.3kbps, greaaat.
Reply
Old Aug 5, 2018 | 03:00 PM
  #153  
Mitch Detailed's Avatar
Member
 
Joined: Mar 2014
Posts: 95
Likes: 8
From: Murfreesboro TN
2006 E55 AMG Kompressor
Originally Posted by the88g
Would you say that 29-bit compatibility on a CAN reader was vital? I'm switching from a W216 to a W209 and wanted to be prepared for CAN experiments. Out of the box, the CANBus Triple does not have 29-bit and I've had problems in the past getting it to work with 83.3kbps, greaaat.
i personally have 0 care what's going on on can-b, but can-c and can-d all are 11 bit arbitration ids. id suspect can-b to be the same considering it's lower speed and 29 bit id's being unnecessary traffic.
Reply
Old Aug 14, 2018 | 07:39 PM
  #154  
sparks57's Avatar
Newbie
 
Joined: Mar 2018
Posts: 6
Likes: 0
Mercedes CLA
I am trying to power up an NTG5 from Harman (NTG5*2) out of a W205 on a bench.

I thought I would be able to power in on using the control panel on/off button that is connected over CAN-A to the unit, but that is not working so far.
after about 20 seconds it goes into a lower power mode (drawing 0.020 amps) and doesn't respond.

does anyone know the can bus ignition on messages that come over CAN-HMI on that system?
Reply
Old Aug 14, 2018 | 08:03 PM
  #155  
Mackhack's Avatar
Banned
 
Joined: Feb 2008
Posts: 0
Likes: 118
It’s not just one message. It’s a constant flow of messages to keep the COMAND on. If the messages stop, the COMAND shuts off.
Reply
Old Aug 15, 2018 | 07:29 AM
  #156  
sparks57's Avatar
Newbie
 
Joined: Mar 2018
Posts: 6
Likes: 0
Mercedes CLA
Originally Posted by Mackhack
It’s not just one message. It’s a constant flow of messages to keep the COMAND on. If the messages stop, the COMAND shuts off.
Mackhack, I am sending a constant flow of messages on both CAN-A (250kpbs) and CAN-HMI (500kbps) and the NTG5 is talking back at those rates, that's what at least keeps it in the standby state drawing the 0.020 amps

if I stop sending these dummy messages, then it does shut off completely. however, I am trying to find the one (or more) magic messages that keeps it fully powered on. I assume they come from the EIS/EZS ignition switch but I don't have access to one of those to see what the messages from it are.
Reply
Old Aug 15, 2018 | 10:19 AM
  #157  
Mitch Detailed's Avatar
Member
 
Joined: Mar 2014
Posts: 95
Likes: 8
From: Murfreesboro TN
2006 E55 AMG Kompressor
Originally Posted by sparks57
Mackhack, I am sending a constant flow of messages on both CAN-A (250kpbs) and CAN-HMI (500kbps) and the NTG5 is talking back at those rates, that's what at least keeps it in the standby state drawing the 0.020 amps

if I stop sending these dummy messages, then it does shut off completely. however, I am trying to find the one (or more) magic messages that keeps it fully powered on. I assume they come from the EIS/EZS ignition switch but I don't have access to one of those to see what the messages from it are.

Are you using socketcan ? If so, use the cangen from thw can-utils package, and send only arbitration id's (data length of 0)and gap to 200ms, and verbose, when it wakes up, crtl+c and try individual arb id's 1 by 1 using cansend.

Id be willing to bet it wakes up on an arbitration id itself , and pays no attention to the data for wakeup
Reply
Old Aug 15, 2018 | 11:31 AM
  #158  
gapcobenz's Avatar
Junior Member
 
Joined: Sep 2010
Posts: 48
Likes: 2
From: Johannesburg, South Africa
Various Fiat
Originally Posted by sparks57
I am trying to power up an NTG5 from Harman (NTG5*2) out of a W205 on a bench.

I thought I would be able to power in on using the control panel on/off button that is connected over CAN-A to the unit, but that is not working so far.
after about 20 seconds it goes into a lower power mode (drawing 0.020 amps) and doesn't respond.

does anyone know the can bus ignition on messages that come over CAN-HMI on that system?

Apart from getting the HU to work on a bench please explain exactly what you are wanting to accomplish.
Reply
MB World Stories

The Best of Mercedes & AMG

story-0

New Mercedes-AMG SUVs Arrive With NEW V8 Engine: 12 Things You Need to Know

 Verdad Gallardo
story-1

8 Oddball Mercedes Ideas That Actually Made it to Production

 Verdad Gallardo
story-2

Dubai Tuner Gives the Mercedes G-Class An Entirely New Look

 Verdad Gallardo
story-3

Six Gift Ideas Your AMG Loving Dad or Grad Will Cherish

 
story-4

7 Craziest Things AMG Gas Ever Built

 Verdad Gallardo
story-5

New Electric Mercedes-AMG GT 4-Door Coupe Unveiled: 10 Things You Need to Know

 Verdad Gallardo
story-6

6 Mercedes Models That Did NOT Age Well (But Are Somehow Still Cool)

 Verdad Gallardo
story-7

Manual Mercedes? 6 Times Sindelfingen Let Drivers Have All The Fun

 Verdad Gallardo
story-8

Mercedes SLR McLaren 722 S Is Extremely Rare Example Modified by McLaren

 Verdad Gallardo
story-9

8 Classic Boxy Mercedes Designs That Have Aged Like Fine Wine

 Verdad Gallardo
Old Aug 15, 2018 | 11:41 AM
  #159  
sparks57's Avatar
Newbie
 
Joined: Mar 2018
Posts: 6
Likes: 0
Mercedes CLA
Originally Posted by Mitch Detailed
Are you using socketcan ? If so, use the cangen from thw can-utils package, and send only arbitration id's (data length of 0)and gap to 200ms, and verbose, when it wakes up, crtl+c and try individual arb id's 1 by 1 using cansend.

Id be willing to bet it wakes up on an arbitration id itself , and pays no attention to the data for wakeup
Mitch, I've been trying exactly that. I've sent every arb ID from 0 to 0x500 with packet length of 0 to 8 with either all 00's or all 0xFF's and haven't had any success.

if I am sending no data at all, it drops to 0 amps. when I resume sending on CAN-HMI, it wakes up drawing over 1 amp for the 20 seconds or so, the drops down to the standby state.

all I know to try next is to vary the values in the packets; that is going to take a while. was hoping someone knew the exact data.
Reply
Old Sep 7, 2018 | 11:15 AM
  #160  
Mitch Detailed's Avatar
Member
 
Joined: Mar 2014
Posts: 95
Likes: 8
From: Murfreesboro TN
2006 E55 AMG Kompressor
Can anyone tell me where I can find the can hub for can-b in the w211? Can - c is under the front left side floorboard, where is the can-b equivalent for this ? Tia
Reply
Old Sep 7, 2018 | 12:59 PM
  #161  
bbirdwell's Avatar
MBWorld Fanatic!
Veteran: Army
10 Year Member
Liked
Community Favorite
 
Joined: Jan 2014
Posts: 3,975
Likes: 1,321
From: Republic of Texas
'99 and '05 E55 AMG
CAN B connector X30/4 located in passenger side footwell next to the passenger-side SAM under the floor.
CAN B connector X30/6 located passenger side HVAC case (sort of tucked up next to it near the transmission tunnel).
CAN B connector X30/7 located in driver's side rocker panel wiring trough; more towards the rear of the car as the CAN C connector should be more towards the front of the car in the same trough.

Last edited by bbirdwell; Sep 7, 2018 at 01:01 PM.
Reply
Old Sep 7, 2018 | 03:57 PM
  #162  
Mackhack's Avatar
Banned
 
Joined: Feb 2008
Posts: 0
Likes: 118
Brown/Brown-Red is CAN B (interior CAN Bus).
Green/Green-White is CAN C (engine CAN Bus).

Just so nobody gets confused.
Reply
Old Mar 22, 2019 | 05:36 AM
  #163  
maleenock@gmail's Avatar
Newbie
 
Joined: Mar 2019
Posts: 1
Likes: 0
none
Originally Posted by the88g
Awesome! Look forward to hearing your findings.

I suspect the information I provide below may not be that helpful cause the message positions might end up in different locations, but you never know.

One thing to note is that important information has higher priority so will appear as a lower message ID (Parameter ID in CAN terms)

For example I can see the rev counter on PID 002 but window controls are on PID 219 and steering wheel buttons are on PID 330.

You will be looking at logged packets for a while, it can be a slow process. You should be able to see everything on the CAN wires behind the Audio 20, but you may not be able to send everything through those cables cause of CAN firewalls but that is okay if you are mostly looking to capture information rather than control the car with your tablet (i.e I can send steering wheel button presses but can't send seat control module buttons).

With regards to sending information to the MFD, I have been spamming PID 328 (MFD/OEM display on a w215) and having a tough time figuring it out. I've managed to change the text by mistake a few times. It is sent in ASCII. You need to analyse what the current Audio 20 sends to the screen. I've also seen navigational arrows and remaining miles change on the NAVI screen, it just seems inconsistent. Problem is, the first byte rotates from 10 to 2F depending on the last message sent to the MFD.

My current OEM Display notes (All WIP, messy, scroll down to the colour coded section)
https://docs.google.com/spreadsheets...it?usp=sharing

First successful text change hahaa
http://imgur.com/vucYBka

Good luck!
Interesting success!

I've been trying to sniff the CAN B message for a W164 Climate Control Module (N22 -AAC) using Kvaser CANKing and Raptor CAN. I was wondering how/where I can get the full CAN messages to power it off-vehicle. In the vehicle, the unit comes on with just Power and CAN (brown and red-brown wires). Off the vehicle, I can't seem to figure out the full CAN message(s) that enables the unit to work.

Reply
Old Mar 22, 2019 | 06:03 AM
  #164  
Mitch Detailed's Avatar
Member
 
Joined: Mar 2014
Posts: 95
Likes: 8
From: Murfreesboro TN
2006 E55 AMG Kompressor
Originally Posted by maleenock@gmail
Interesting success!

I've been trying to sniff the CAN B message for a W164 Climate Control Module (N22 -AAC) using Kvaser CANKing and Raptor CAN. I was wondering how/where I can get the full CAN messages to power it off-vehicle. In the vehicle, the unit comes on with just Power and CAN (brown and red-brown wires). Off the vehicle, I can't seem to figure out the full CAN message(s) that enables the unit to work.

You can solve this 2 ways, subtracting msg id:s in a replayed message until it stops working or adding them from saved logs
Reply
Old Nov 5, 2019 | 03:42 PM
  #165  
rnd_ash's Avatar
Junior Member
 
Joined: Sep 2019
Posts: 73
Likes: 46
From: Reading, UK
2003 E55 AMG
If anyone is interested. I've created a project to get track information to be displayed on the W203's instrument cluster using an Arduino!. It should work on the W211's, but need some testers .

It uses an android app to relay track data of what song's playing to an Arduino via bluetooth, which the sends can frames to the car to display custom text on the IC.

Link to repo here:
https://github.com/UKSFM99/W203-canbus
Reply
Old Nov 5, 2019 | 03:54 PM
  #166  
Mitch Detailed's Avatar
Member
 
Joined: Mar 2014
Posts: 95
Likes: 8
From: Murfreesboro TN
2006 E55 AMG Kompressor
Originally Posted by rnd_ash
If anyone is interested. I've created a project to get track information to be displayed on the W203's instrument cluster using an Arduino!. It should work on the W211's, but need some testers .

It uses an android app to relay track data of what song's playing to an Arduino via bluetooth, which the sends can frames to the car to display custom text on the IC.

Link to repo here:
https://github.com/UKSFM99/W203-canbus
Great work! Ill dig into it later tonight to understand the data structure
Reply
Old Nov 5, 2019 | 03:58 PM
  #167  
rnd_ash's Avatar
Junior Member
 
Joined: Sep 2019
Posts: 73
Likes: 46
From: Reading, UK
2003 E55 AMG
no problem! I'm doing this as part of my university project.

If you have any questions or issues please open up issues on the repository. I shall respond promptly.

Also, here is a Video I submitted to reddit of me getting Engine RPM to be displayed digitally
https://www.reddit.com/r/mercedes_be...3s_to_display/
Reply
Old Nov 5, 2019 | 04:15 PM
  #168  
Mackhack's Avatar
Banned
 
Joined: Feb 2008
Posts: 0
Likes: 118
Originally Posted by rnd_ash
no problem! I'm doing this as part of my university project.

If you have any questions or issues please open up issues on the repository. I shall respond promptly.

Also, here is a Video I submitted to reddit of me getting Engine RPM to be displayed digitally
https://www.reddit.com/r/mercedes_be...3s_to_display/
Do you use two CAN transceivers for the cluster? One to get the data from the engine CAN (C) Bus and one for the interior CAN (B) Bus?
Reply
Old Nov 5, 2019 | 04:23 PM
  #169  
rnd_ash's Avatar
Junior Member
 
Joined: Sep 2019
Posts: 73
Likes: 46
From: Reading, UK
2003 E55 AMG
No. I only have 1 canshield at this moment in time.

That said, some PID's from Can C are filtered and sent in Can B. Thats what I'm playing with at the moment. I'm worried playing with Can C would invalidate my insurance in the UK.

My big project would be to reverse engineer the 722.6 controller, use an arduino in its place, and let my phone application 'tune' the transmission to define lock up points and shift points etc.

Baby steps first obviously
Reply
Old Nov 7, 2019 | 12:12 PM
  #170  
rnd_ash's Avatar
Junior Member
 
Joined: Sep 2019
Posts: 73
Likes: 46
From: Reading, UK
2003 E55 AMG
Big news

I'm now running 2 mcp2515s. 1 in canB and 1 in canC (using the instrument cluster as my connection points).

With the help of a friend, I took the untranslated parts from Alex's sheet of PIDs, and have been able to get transmission oil temperature on the IC display!
Reply
Old Nov 7, 2019 | 01:39 PM
  #171  
Mackhack's Avatar
Banned
 
Joined: Feb 2008
Posts: 0
Likes: 118
Originally Posted by rnd_ash
I'm now running 2 mcp2515s. 1 in canB and 1 in canC (using the instrument cluster as my connection points).

With the help of a friend, I took the untranslated parts from Alex's sheet of PIDs, and have been able to get transmission oil temperature on the IC display!
That’s what the AMG menu is for

In all seriousness, can you show a video?

Keep up the good work.
Reply
Old Nov 7, 2019 | 03:04 PM
  #172  
rnd_ash's Avatar
Junior Member
 
Joined: Sep 2019
Posts: 73
Likes: 46
From: Reading, UK
2003 E55 AMG
Originally Posted by Mackhack
That’s what the AMG menu is for

In all seriousness, can you show a video?

Keep up the good work.
Thanks!

Can do a video tomorrow. It's quite late here in UK

Oh and I can add more readings. Coolant temp, rpm, speed, interior temp, exterior temp.

I'll try and tackle more transmission can readouts tomorrow's may be possible to get current gear and torque converter lockups
Reply
Old Nov 7, 2019 | 03:35 PM
  #173  
Polar Bear's Avatar
MBWorld Fanatic!
 
Joined: Nov 2004
Posts: 1,691
Likes: 143
W221 S600, W220 S55 AMG Kompressor, W124 300E, W140 S320, W210 E3204M W164 ML320 Bluetec
Originally Posted by rnd_ash
Thanks!

Can do a video tomorrow. It's quite late here in UK

Oh and I can add more readings. Coolant temp, rpm, speed, interior temp, exterior temp.

I'll try and tackle more transmission can readouts tomorrow's may be possible to get current gear and torque converter lockups
Something that I always thought would be cool to implement on the W211 cluster would be a boost gauge - either numeric or using the Distronic ring as a relative readout at a glance assuming one knows what the pressure is equivalent to at 200mph.
Reply
Old Nov 7, 2019 | 03:55 PM
  #174  
Mackhack's Avatar
Banned
 
Joined: Feb 2008
Posts: 0
Likes: 118
Originally Posted by Polar Bear
Something that I always thought would be cool to implement on the W211 cluster would be a boost gauge - either numeric or using the Distronic ring as a relative readout at a glance assuming one knows what the pressure is equivalent to at 200mph.
Pressure sensor B/28 (E55) can be read via SD. Should have a corresponding PID I would assume. And I’m with you on that info.
Reply
Old Nov 7, 2019 | 07:16 PM
  #175  
Polar Bear's Avatar
MBWorld Fanatic!
 
Joined: Nov 2004
Posts: 1,691
Likes: 143
W221 S600, W220 S55 AMG Kompressor, W124 300E, W140 S320, W210 E3204M W164 ML320 Bluetec
Originally Posted by Mackhack
Pressure sensor B/28 (E55) can be read via SD. Should have a corresponding PID I would assume. And I’m with you on that info.
I feel sure it does although I don’t own an M113k (I should because it is the most car for the money on the market). The S600 biturbo needs one too - I can’t think of a location in the W221 to place one. Distronic ring would not be ideal on that cluster - a digital representation would be nice. If you comb the firmware for a W221 cluster, there is a menu labeled “Smoke Screen” which is interesting.
Reply


You have already rated this thread Rating: Thread Rating: 0 votes,  average.


All times are GMT -4. The time now is 12:10 PM.

story-0
New Mercedes-AMG SUVs Arrive With NEW V8 Engine: 12 Things You Need to Know

Slideshow: Mercedes-AMG's updated GLE 63 S and GLS 63 bring a new-generation V8, subtle design revisions, and familiar supercar-rivaling performance figures.

By Verdad Gallardo | 2026-06-17 12:52:51


VIEW MORE
story-1
8 Oddball Mercedes Ideas That Actually Made it to Production

Slideshow: Mercedes has never been afraid to experiment, and some of its strangest ideas turned out to be surprisingly successful.

By Verdad Gallardo | 2026-06-10 17:43:40


VIEW MORE
story-2
Dubai Tuner Gives the Mercedes G-Class An Entirely New Look

Sideshow: A Middle Eastern tuner has transformed the Mercedes-AMG G 63 into an open-top special, replacing nearly every exterior panel in the process.

By Verdad Gallardo | 2026-06-10 15:29:50


VIEW MORE
story-3
Six Gift Ideas Your AMG Loving Dad or Grad Will Cherish

Slideshow: Six gift ideas your AMG loving dad or grad will cherish.

By | 2026-06-03 17:26:18


VIEW MORE
story-4
7 Craziest Things AMG Gas Ever Built

Slideshow: Sometimes AMG builds fast sedans. Other times, it builds twin-turbo V12 land missiles and six-wheeled off-road monsters.

By Verdad Gallardo | 2026-05-26 17:59:58


VIEW MORE
story-5
New Electric Mercedes-AMG GT 4-Door Coupe Unveiled: 10 Things You Need to Know

Slideshow: Mercedes-AMG's new electric GT 4-Door Coupe trades combustion for software, synthetic noise, and more than 1,100 horsepower.

By Verdad Gallardo | 2026-05-20 20:08:15


VIEW MORE
story-6
6 Mercedes Models That Did NOT Age Well (But Are Somehow Still Cool)

Slideshow: Not every Mercedes design becomes timeless, some feel stuck in the era they came from.

By Verdad Gallardo | 2026-05-12 18:09:07


VIEW MORE
story-7
Manual Mercedes? 6 Times Sindelfingen Let Drivers Have All The Fun

Slideshow: Yes, Mercedes built manual cars, and some of them are far more interesting than you'd expect.

By Verdad Gallardo | 2026-05-02 12:36:58


VIEW MORE
story-8
Mercedes SLR McLaren 722 S Is Extremely Rare Example Modified by McLaren

Slideshow: A one-of-one U.S.-spec Mercedes-Benz SLR McLaren Roadster became even rarer after a factory-backed transformation at McLaren's headquarters.

By Verdad Gallardo | 2026-04-29 11:19:28


VIEW MORE
story-9
8 Classic Boxy Mercedes Designs That Have Aged Like Fine Wine

Slideshow: Before curves took over, Mercedes mastered the art of the straight line, and some of those shapes still look right today.

By Verdad Gallardo | 2026-04-25 12:05:49


VIEW MORE