CANhack.de CAN-Interface RKS+CAN
Diesel technology, engine technology, vehicle diagnostics, repair & maintenance.

Can Msg Id VIN Number

 
New Topic 🔒 Locked 🔗 🖨 CANhack.de - Index » Interior / Comfort CAN
Author Message
CiccioSAT



Joined: 02/14/2017
Posts: 8
Karma: +1 / -0   Thank you, like it!


Free account, no CAN development support

Post14-02-2017, 21:24    Subject: Can Msg Id VIN Number Translating...

[Translating...]

Hi,
I need to sniff a VIN number on my Mercedes w207 (e class).
I have connected to can bus to 125k, but cannot find it.

Best regards

Francesco
Back to top Profile PM
gapco



Joined: 12/12/2011
Posts: 20
Karma: +1 / -0   Thank you, like it!
Location: Johannesburg,South Africa

CAN Support

Post14-02-2017, 23:14    Subject: Can Msg Id VIN Number Translating...

[Translating...]

More information is required.

What year model is the car
What is the scope of your project for this car
Back to top Profile PM
Paulius
Hacker
Hacker


Joined: 11/13/2013
Posts: 61
Karma: +7 / -0   Thank you, like it!


CAN Support

Post15-02-2017, 9:37    Subject: Can Msg Id VIN Number Translating...

[Translating...]

your car should be compatible with w212 mercedes.

If you are on comfort CAN (Brown/ brown-red wires). Because in your car you have at least 3 or event 4 CAN buses.
VIN id 0x204.
Of course it's multiplexed by 3 messages.
Back to top Profile PM
CiccioSAT



Joined: 02/14/2017
Posts: 8
Karma: +1 / -0   Thank you, like it!


Free account, no CAN development support

Post15-02-2017, 11:25    Subject: Can Msg Id VIN Number Translating...

[Translating...]

gapco wrote:
More information is required.

What year model is the car
What is the scope of your project for this car


The year model is 2011.

I have a problem with my radio. When turn on the starter key the display show "anti theft".
Mercedes dealer told me that the radio does not reach the vin number for a problem to cdi unit.
Back to top Profile PM
CiccioSAT



Joined: 02/14/2017
Posts: 8
Karma: +1 / -0   Thank you, like it!


Free account, no CAN development support

Post15-02-2017, 11:30    Subject: Can Msg Id VIN Number Translating...

[Translating...]

Paulius wrote:
your car should be compatible with w212 mercedes.

If you are on comfort CAN (Brown/ brown-red wires). Because in your car you have at least 3 or event 4 CAN buses.
VIN id 0x204.
Of course it's multiplexed by 3 messages.


Thank you! you can give me an example of what I'm supposed to find?

My VIN number is WDD2073021F16xxxx

regards
Francesco
Back to top Profile PM
Paulius
Hacker
Hacker


Joined: 11/13/2013
Posts: 61
Karma: +7 / -0   Thank you, like it!


CAN Support

CAN-Diagnose likes this.
Post15-02-2017, 11:44    Subject: Can Msg Id VIN Number Translating...

[Translating...]

CiccioSAT wrote:
Paulius wrote:
your car should be compatible with w212 mercedes.

If you are on comfort CAN (Brown/ brown-red wires). Because in your car you have at least 3 or event 4 CAN buses.
VIN id 0x204.
Of course it's multiplexed by 3 messages.


Thank you! you can give me an example of what I'm supposed to find?

My VIN number is WDD2073021F16xxxx

regards
Francesco

Connect your CAN reader and display data in ASCII format (or make log file and convert it to ASCII) and you will see everything. Its 3 messages.
First byte is index (0x00, 0x01, 0x02) and rest bytes are your VIN in ASCII.
Back to top Profile PM
CiccioSAT



Joined: 02/14/2017
Posts: 8
Karma: +1 / -0   Thank you, like it!


Free account, no CAN development support

Post15-02-2017, 12:07    Subject: Can Msg Id VIN Number Translating...

[Translating...]

Paulius wrote:
CiccioSAT wrote:
Paulius wrote:
your car should be compatible with w212 mercedes.

If you are on comfort CAN (Brown/ brown-red wires). Because in your car you have at least 3 or event 4 CAN buses.
VIN id 0x204.
Of course it's multiplexed by 3 messages.


Thank you! you can give me an example of what I'm supposed to find?

My VIN number is WDD2073021F16xxxx

regards
Francesco

Connect your CAN reader and display data in ASCII format (or make log file and convert it to ASCII) and you will see everything. Its 3 messages.
First byte is index (0x00, 0x01, 0x02) and rest bytes are your VIN in ASCII.


Thanks, you have been very kind!!!
One last information....

If my VIN number is WDD2073021F16xxxx, if DLC is 8... my can message are:

0x204 8 00 57 44 44 32 30 37 33
0x204 8 01 30 32 31 46 31 36 XX
0x204 8 02 XX XX XX ?? ?? ?? ??

XX are the are the masked bytes, but what are the 4 bytes in front of the VIN?

Regards
Francesco
Back to top Profile PM
CAN-Diagnose
Administrator
Administrator
Avatar-CAN-Diagnose

Joined: 06/07/2011
Posts: 573
Karma: +29 / -0   Thank you, like it!
Location: Ländle



Post15-02-2017, 12:17    Subject: Can Msg Id VIN Number Translating...

[Translating...]

Quote:
57 44 44 32 30 37 33 30 32 31 46 31 36

is in ascii: WDD2073021F16

Now find that in your VIN. icon_smile.gif And guess what the first byte in each CAN frame means. Number of CAN frame may be? I do not understand your problem.
Dipl.-Ing. (FH) Rainer Kaufmann - Embedded Software Freelancer
System RKS+CAN: CANHack.de CAN-Bus Interface


Last edited on 15-02-2017, 12:22, edited 2 times in total.
Back to top Profile PM WWW
Paulius
Hacker
Hacker


Joined: 11/13/2013
Posts: 61
Karma: +7 / -0   Thank you, like it!


CAN Support

Post15-02-2017, 12:30    Subject: Can Msg Id VIN Number Translating...

[Translating...]

Maybe you're talking about last 4 bytes in 3rd message?
Because in my message they are FF FF FF FF. Since VIN is shorter, car fills empty spaces with FF.

Or I do not understand your question properly..
Back to top Profile PM
Paulius
Hacker
Hacker


Joined: 11/13/2013
Posts: 61
Karma: +7 / -0   Thank you, like it!


CAN Support

Post15-02-2017, 12:31    Subject: Can Msg Id VIN Number Translating...

[Translating...]

CAN-Diagnose wrote:
And guess what the first byte in each CAN frame means. Number of CAN frame may be?


Paulius wrote:
First byte is index (0x00, 0x01, 0x02) and rest bytes are your VIN in ASCII.


Last edited on 15-02-2017, 12:31, edited 1 time in total.
Back to top Profile PM
CiccioSAT



Joined: 02/14/2017
Posts: 8
Karma: +1 / -0   Thank you, like it!


Free account, no CAN development support

Post15-02-2017, 13:17    Subject: Can Msg Id VIN Number Translating...

[Translating...]

CAN-Diagnose wrote:
Quote:
57 44 44 32 30 37 33 30 32 31 46 31 36

is in ascii: WDD2073021F16

Now find that in your VIN. icon_smile.gif And guess what the first byte in each CAN frame means. Number of CAN frame may be? I do not understand your problem.


No problem, I have tried to simulate on my computer. I will attach the analyzer can later. icon_smile_thumb_up.gif icon_smile_thumb_up.gif icon_smile_thumb_up.gif
Back to top Profile PM
gapco



Joined: 12/12/2011
Posts: 20
Karma: +1 / -0   Thank you, like it!
Location: Johannesburg,South Africa

CAN Support

CAN-Diagnose likes this.
Post15-02-2017, 13:19    Subject: Can Msg Id VIN Number Translating...

[Translating...]

CiccioSAT wrote:
gapco wrote:
More information is required.

What year model is the car
What is the scope of your project for this car


The year model is 2011.

I have a problem with my radio. When turn on the starter key the display show "anti theft".
Mercedes dealer told me that the radio does not reach the vin number for a problem to cdi unit.


Cicciobello,

Not possible that the cdi unit has caused the anti theft system activation.

Possible reasons for this are;

1. The radio is from another car and not the original one
2. Work was done on the car EIS (electronic ignition system) and wrong reflashing of the car afterwards
3. The car was mistakenly reflashed with the flash files from another car of
a different model
4. A CANBUS emulator for video in motion or similar is added to the car which works for some time and then causes problems

Basically any radio in that mode can only be fixed by the manufacturer which is either Mitsubishi or Panasonic or their service agents who have the tools
to do the job

Changing the VIN number to try fix the radio is not a good idea as it will cause further problems in the car
Back to top Profile PM
CiccioSAT



Joined: 02/14/2017
Posts: 8
Karma: +1 / -0   Thank you, like it!


Free account, no CAN development support

CAN-Diagnose likes this.
Post15-02-2017, 13:29    Subject: Can Msg Id VIN Number Translating...

[Translating...]

Paulius wrote:
Maybe you're talking about last 4 bytes in 3rd message?
Because in my message they are FF FF FF FF. Since VIN is shorter, car fills empty spaces with FF.

Or I do not understand your question properly..



Yes, I was referring to the last 4 bytes of the 3rd message. icon_smile_thumb_up.gif

This morning I tried it on a Mercedes sprinter in 2015 and mercedes ML63AMG.
Mercedes ML63AMG and the id is 0x0B2 (index 01, 02, 03).
Mercedes Sprinter and the id is 0x204 (index 00, 01, 02).

Thank you all for the information.

Later I'll try to see if the VIN message is received from the radio.

Has it ever happened that the radio went into "anti-theft" although radio is encoded with the correct VIN?

Regard
Francesco
Back to top Profile PM
CiccioSAT



Joined: 02/14/2017
Posts: 8
Karma: +1 / -0   Thank you, like it!


Free account, no CAN development support

Post15-02-2017, 13:39    Subject: Can Msg Id VIN Number Translating...

[Translating...]

gapco wrote:
CiccioSAT wrote:
gapco wrote:
More information is required.

What year model is the car
What is the scope of your project for this car


The year model is 2011.

I have a problem with my radio. When turn on the starter key the display show "anti theft".
Mercedes dealer told me that the radio does not reach the vin number for a problem to cdi unit.


Cicciobello,

Not possible that the cdi unit has caused the anti theft system activation.

Possible reasons for this are;

1. The radio is from another car and not the original one
2. Work was done on the car EIS (electronic ignition system) and wrong reflashing of the car afterwards
3. The car was mistakenly reflashed with the flash files from another car of
a different model
4. A CANBUS emulator for video in motion or similar is added to the car which works for some time and then causes problems

Basically any radio in that mode can only be fixed by the manufacturer which is either Mitsubishi or Panasonic or their service agents who have the tools
to do the job

Changing the VIN number to try fix the radio is not a good idea as it will cause further problems in the car


The radio is 100% original and was purchased with the car.

The tests I would make are:
1) Check if the radio gets the correct VIN.
2) Disconnect the radio from the CAN and simulate CAN with the computer.
3) Program an interface that changes or blocks the VIN before arriving on the radio.

May be that would help...
Back to top Profile PM
Paulius
Hacker
Hacker


Joined: 11/13/2013
Posts: 61
Karma: +7 / -0   Thank you, like it!


CAN Support

Post15-02-2017, 13:50    Subject: Can Msg Id VIN Number Translating...

[Translating...]

Of course radio is storing "original VIN".
Not only mercedes radios are doing that.
Because if radio is in "original car", then everything works, if you will connect the same radio in another car - you should know radio code.
So i think, send correct VIN to radio is good thing, i would do the same.
But in car everything is not that easy.
Because if you will connect your interface on CAN bus which goes to radio, you will overwrite VIN message for all ECUs, which are connected on this CAN bus. Actually not overwrite, but sequence will be destroyed. And fake data would be available on bus - thats very bad .
If you will cut CAN bus which goes to radio, you will loose a lot of radio functionality - steering wheels buttons control, messages on display and on/off with key. So for you need like gateway with 2 CAN channels.
All messages from car to radio you should pass through except VIN. VIN should be sent by your interface.


Last edited on 15-02-2017, 13:52, edited 1 time in total.
Back to top Profile PM
CiccioSAT



Joined: 02/14/2017
Posts: 8
Karma: +1 / -0   Thank you, like it!


Free account, no CAN development support

Post15-02-2017, 14:23    Subject: Can Msg Id VIN Number Translating...

[Translating...]

Paulius wrote:
Of course radio is storing "original VIN".
Not only mercedes radios are doing that.
Because if radio is in "original car", then everything works, if you will connect the same radio in another car - you should know radio code.
So i think, send correct VIN to radio is good thing, i would do the same.
But in car everything is not that easy.
Because if you will connect your interface on CAN bus which goes to radio, you will overwrite VIN message for all ECUs, which are connected on this CAN bus. Actually not overwrite, but sequence will be destroyed. And fake data would be available on bus - thats very bad .
If you will cut CAN bus which goes to radio, you will loose a lot of radio functionality - steering wheels buttons control, messages on display and on/off with key. So for you need like gateway with 2 CAN channels.
All messages from car to radio you should pass through except VIN. VIN should be sent by your interface.


Exact! If this were the only solution available, I will create an interface with 2 CANbus. the first connected to the machine. This will make that passes all messages except those of the VIN to the second interface.

I tried to reset the radio by pressing the power button for 10 seconds. The radio works until it does not open a door or turning the key.
I suppose is due on waking of can..... icon_cry.gif
Back to top Profile PM
New Topic 🔒 Locked 🔗 🖨 CANhack.de - Index » Interior / Comfort CAN
Similar articles and topics
Topic Forum
No new posts Parameter group number für Canbus in Bussen General
Jump to:  
You cannot post new topics in this forum.