RKS+CAN Adapter für CAN-Bus Sniffing
CAN-Interface
CAN Hardware, CAN Software, CAN Protokolle - CAN-Bus Forum für Dein CAN-Bus Projekt. CAN-Bus und Elektronik.

Can Msg Id VIN Number


 
Neues Thema beginnen Auf Beitrag antworten Weitergeben, Thema teilen Lesezeichen setzen Druckansicht CANhack.de - Übersicht » Innenraum- / Komfort CAN
Autor Nachricht
CiccioSAT



CAN Hacker seit: 14.02.2017
Beiträge: 8
Karma: +1 / -0   Danke, gefällt mir!


Kostenloser Account, kein CAN Entwicklungs-Support

Beitrag14-02-2017, 20:24    Titel: Can Msg Id VIN Number Antworten mit Zitat

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
Nach oben CAN Hacker - Profil anzeigen Private Nachricht senden  
gapco



CAN Hacker seit: 12.12.2011
Beiträge: 20
Karma: +1 / -0   Danke, gefällt mir!
Wohnort: Johannesburg,South Africa

CAN Support

Beitrag14-02-2017, 22:14    Titel: Can Msg Id VIN Number Antworten mit Zitat

More information is required.

What year model is the car
What is the scope of your project for this car
Nach oben CAN Hacker - Profil anzeigen Private Nachricht senden  
Paulius
Hacker
Hacker


CAN Hacker seit: 13.11.2013
Beiträge: 61
Karma: +7 / -0   Danke, gefällt mir!


CAN Support

Beitrag15-02-2017, 8:37    Titel: Can Msg Id VIN Number Antworten mit Zitat

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.
Nach oben CAN Hacker - Profil anzeigen Private Nachricht senden  
CiccioSAT



CAN Hacker seit: 14.02.2017
Beiträge: 8
Karma: +1 / -0   Danke, gefällt mir!


Kostenloser Account, kein CAN Entwicklungs-Support

Beitrag15-02-2017, 10:25    Titel: Can Msg Id VIN Number Antworten mit Zitat

gapco hat folgendes geschrieben:
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.
Nach oben CAN Hacker - Profil anzeigen Private Nachricht senden  
CiccioSAT



CAN Hacker seit: 14.02.2017
Beiträge: 8
Karma: +1 / -0   Danke, gefällt mir!


Kostenloser Account, kein CAN Entwicklungs-Support

Beitrag15-02-2017, 10:30    Titel: Can Msg Id VIN Number Antworten mit Zitat

Paulius hat folgendes geschrieben:
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
Nach oben CAN Hacker - Profil anzeigen Private Nachricht senden  
Paulius
Hacker
Hacker


CAN Hacker seit: 13.11.2013
Beiträge: 61
Karma: +7 / -0   Danke, gefällt mir!


CAN Support

CAN-Diagnose gefällt das.
Beitrag15-02-2017, 10:44    Titel: Can Msg Id VIN Number Antworten mit Zitat

CiccioSAT hat folgendes geschrieben:
Paulius hat folgendes geschrieben:
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.
Nach oben CAN Hacker - Profil anzeigen Private Nachricht senden  
CiccioSAT



CAN Hacker seit: 14.02.2017
Beiträge: 8
Karma: +1 / -0   Danke, gefällt mir!


Kostenloser Account, kein CAN Entwicklungs-Support

Beitrag15-02-2017, 11:07    Titel: Can Msg Id VIN Number Antworten mit Zitat

Paulius hat folgendes geschrieben:
CiccioSAT hat folgendes geschrieben:
Paulius hat folgendes geschrieben:
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
Nach oben CAN Hacker - Profil anzeigen Private Nachricht senden  
CAN-Diagnose
Administrator
Administrator
Avatar-CAN-Diagnose

CAN Hacker seit: 07.06.2011
Beiträge: 550
Karma: +27 / -0   Danke, gefällt mir!
Wohnort: Ländle



Beitrag15-02-2017, 11:17    Titel: Can Msg Id VIN Number Antworten mit Zitat

Zitat:
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 @ Kaufmann Automotive GmbH
CANhack.de System RKS+CAN: CAN-Bus Interface


Zuletzt bearbeitet am 15-02-2017, 11:22, insgesamt 2-mal bearbeitet.
Nach oben CAN Hacker - Profil anzeigen Private Nachricht senden Website dieses Benutzers besuchen
Paulius
Hacker
Hacker


CAN Hacker seit: 13.11.2013
Beiträge: 61
Karma: +7 / -0   Danke, gefällt mir!


CAN Support

Beitrag15-02-2017, 11:30    Titel: Can Msg Id VIN Number Antworten mit Zitat

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..
Nach oben CAN Hacker - Profil anzeigen Private Nachricht senden  
Paulius
Hacker
Hacker


CAN Hacker seit: 13.11.2013
Beiträge: 61
Karma: +7 / -0   Danke, gefällt mir!


CAN Support

Beitrag15-02-2017, 11:31    Titel: Can Msg Id VIN Number Antworten mit Zitat

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


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


Zuletzt bearbeitet am 15-02-2017, 11:31, insgesamt 1-mal bearbeitet.
Nach oben CAN Hacker - Profil anzeigen Private Nachricht senden  
CiccioSAT



CAN Hacker seit: 14.02.2017
Beiträge: 8
Karma: +1 / -0   Danke, gefällt mir!


Kostenloser Account, kein CAN Entwicklungs-Support

Beitrag15-02-2017, 12:17    Titel: Can Msg Id VIN Number Antworten mit Zitat

CAN-Diagnose hat folgendes geschrieben:
Zitat:
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
Nach oben CAN Hacker - Profil anzeigen Private Nachricht senden  
gapco



CAN Hacker seit: 12.12.2011
Beiträge: 20
Karma: +1 / -0   Danke, gefällt mir!
Wohnort: Johannesburg,South Africa

CAN Support

CAN-Diagnose gefällt das.
Beitrag15-02-2017, 12:19    Titel: Can Msg Id VIN Number Antworten mit Zitat

CiccioSAT hat folgendes geschrieben:
gapco hat folgendes geschrieben:
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
Nach oben CAN Hacker - Profil anzeigen Private Nachricht senden  
CiccioSAT



CAN Hacker seit: 14.02.2017
Beiträge: 8
Karma: +1 / -0   Danke, gefällt mir!


Kostenloser Account, kein CAN Entwicklungs-Support

CAN-Diagnose gefällt das.
Beitrag15-02-2017, 12:29    Titel: Can Msg Id VIN Number Antworten mit Zitat

Paulius hat folgendes geschrieben:
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
Nach oben CAN Hacker - Profil anzeigen Private Nachricht senden  
CiccioSAT



CAN Hacker seit: 14.02.2017
Beiträge: 8
Karma: +1 / -0   Danke, gefällt mir!


Kostenloser Account, kein CAN Entwicklungs-Support

Beitrag15-02-2017, 12:39    Titel: Can Msg Id VIN Number Antworten mit Zitat

gapco hat folgendes geschrieben:
CiccioSAT hat folgendes geschrieben:
gapco hat folgendes geschrieben:
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...
Nach oben CAN Hacker - Profil anzeigen Private Nachricht senden  
Paulius
Hacker
Hacker


CAN Hacker seit: 13.11.2013
Beiträge: 61
Karma: +7 / -0   Danke, gefällt mir!


CAN Support

Beitrag15-02-2017, 12:50    Titel: Can Msg Id VIN Number Antworten mit Zitat

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.


Zuletzt bearbeitet am 15-02-2017, 12:52, insgesamt 1-mal bearbeitet.
Nach oben CAN Hacker - Profil anzeigen Private Nachricht senden  
CiccioSAT



CAN Hacker seit: 14.02.2017
Beiträge: 8
Karma: +1 / -0   Danke, gefällt mir!


Kostenloser Account, kein CAN Entwicklungs-Support

Beitrag15-02-2017, 13:23    Titel: Can Msg Id VIN Number Antworten mit Zitat

Paulius hat folgendes geschrieben:
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
Nach oben CAN Hacker - Profil anzeigen Private Nachricht senden  
Neues Thema beginnen Auf Beitrag antworten Weitergeben, Thema teilen Lesezeichen setzen Druckansicht CANhack.de - Übersicht » Innenraum- / Komfort CAN
Gehe zu:  
Du kannst keine Beiträge in dieses Forum schreiben.