Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Engine Management, OBD-II, Engine Diagnostics, etc.


Reply
 
Share Thread Tools Display Modes
Old 07-13-2009, 12:11 PM   #1
Newbie
 
Join Date: Jan 2009
Posts: 17
sonicmule is an unknown quantity at this point
OBD VIN format

Hi there

A quick question about the VIN format returned from PID 0902.
I've decoded the vin ok until the last three bytes which are not ascii codes.

The last 6 numbers in the vin are 623364 and in the response from the ecu, the data also is 62 33 64 so no conversion is needed.

Is there some sort of rule that states take the following bytes as numbers when you find a byte over the ascii value of 'Z' ?
sonicmule is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 07-13-2009, 12:57 PM   #2
Constant Bitrate
 
Join Date: Oct 2008
Posts: 179
p2psmurf is an unknown quantity at this point
All 17 bytes of the Vin should have been send as ASCII characters, in your case:
36 32 33 33 36 34. So, the answer is non-compliant.

Just curious: what car is this (make, model, engine, model year) and where are you located (Usa, Europe, somewhere else).
p2psmurf is offline   Reply With Quote
Old 07-13-2009, 02:31 PM   #3
Newbie
 
Join Date: Jan 2009
Posts: 17
sonicmule is an unknown quantity at this point
The car is an MG ZS 180 2.5 litre V6 manufactured in 2004 with a Siemens ECU.

The ecu responds with EOBD from a 01 1C request.

It seems very strange why the last few numbers have been coded this way as the the VIN is 17 digits like all other VIN numbers

Last edited by sonicmule; 07-13-2009 at 02:36 PM.
sonicmule is offline   Reply With Quote
Old 07-13-2009, 03:52 PM   #4
Constant Bitrate
 
Join Date: Oct 2008
Posts: 179
p2psmurf is an unknown quantity at this point
Software is written by programmers, who are human and make mistakes.
This is not the first bug and it won't be the last either.
p2psmurf is offline   Reply With Quote
Old 07-13-2009, 04:59 PM   #5
Newbie
 
Join Date: Jan 2009
Posts: 17
sonicmule is an unknown quantity at this point
Ha haaaa! After the dealings I have with Siemens at work, why doesn't this surprise me LOL
sonicmule is offline   Reply With Quote
Old 07-13-2009, 08:41 PM   #6
VENDOR - ScanTool
 
Join Date: Dec 2006
Posts: 234
Vitaliy is on a distinguished road
Quote: Originally Posted by sonicmule View Post
Hi there

A quick question about the VIN format returned from PID 0902.
I've decoded the vin ok until the last three bytes which are not ascii codes.

The last 6 numbers in the vin are 623364 and in the response from the ecu, the data also is 62 33 64 so no conversion is needed.

Is there some sort of rule that states take the following bytes as numbers when you find a byte over the ascii value of 'Z' ?

What scan tool and software do you use to get the VIN? Can you post the complete response?

Vitaliy
__________________
— Did you know that MP3Car sells OBD-2 interfaces? Get your ElmScan 5 Compact for only $64.95!
— Need to look up a diagnostic trouble code? Try the most up-to-date, free DTCsearch.com!
Vitaliy is offline   Reply With Quote
Old 07-13-2009, 08:51 PM   #7
VENDOR - ScanTool
 
Join Date: Dec 2006
Posts: 234
Vitaliy is on a distinguished road
Quote: Originally Posted by p2psmurf View Post
Software is written by programmers, who are human and make mistakes.
This is not the first bug and it won't be the last either.

I strongly doubt that this is a bug in the ECU firmware.

Vitaliy
__________________
— Did you know that MP3Car sells OBD-2 interfaces? Get your ElmScan 5 Compact for only $64.95!
— Need to look up a diagnostic trouble code? Try the most up-to-date, free DTCsearch.com!
Vitaliy is offline   Reply With Quote
Old 07-13-2009, 09:25 PM   #8
North of the land of Hey Huns
 
Join Date: Jun 2004
Location: Westminster, MD
Posts: 1,038
malcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to allmalcom2073 is a name known to all
Quote: Originally Posted by Vitaliy View Post
I strongly doubt that this is a bug in the ECU firmware.

Vitaliy

But it could very likely be a bug in the scantool, especially if it's an ELM knockoff.
__________________
RevFE - Try it, you just might like it.
Carbon - Next Generation Touchscreen Browser
Come join us on IRC: irc.efnet.net #mp3car
Audiophiles make me chuckle as they pad my wallet.
malcom2073 is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 07-14-2009, 03:59 AM   #9
Newbie
 
Join Date: Jan 2009
Posts: 17
sonicmule is an unknown quantity at this point
The scantool is a OBKey bluetooth dongle, wasn't a cheepo ebay thing

Here's the response from the VIN enquiry

49 02 01 00 00 00 53 65 48 6B 13 49 02 02 41 52 52 54 4C 48 6B 13 49 02 03 4C 57 4C 46 49 48 6B 13 49 02 04 34 44 62 33 22 48 6B 13 49 02 05 64 00 00 00
sonicmule is offline   Reply With Quote
Old 07-14-2009, 05:21 AM   #10
Constant Bitrate
 
Join Date: Oct 2008
Posts: 179
p2psmurf is an unknown quantity at this point
You never know with interfaces, but this looks an ecu problem to me.
Could be a problem in the ecu firmware when sending the Vin-number or the Vin-number was incorrectly programmed by a scanner - with no complaints from the ecu firmware.
p2psmurf is offline   Reply With Quote
Old 07-14-2009, 05:45 AM   #11
Newbie
 
Join Date: Jan 2009
Posts: 17
sonicmule is an unknown quantity at this point
Should the response come back in one go?
I'm sure I read something saying you have to send a couple of bytes to receive the next block of data?
sonicmule is offline   Reply With Quote
Old 07-14-2009, 10:01 AM   #12
VENDOR - OBDPros
 
Join Date: Mar 2006
Posts: 350
michbound is on a distinguished road
Quote: Originally Posted by sonicmule View Post
Should the response come back in one go?
I'm sure I read something saying you have to send a couple of bytes to receive the next block of data?

Yeah the response should come back as 5 lines of data, if this is CAN you can send flow control to request next block but for the rest of the protocols that is not needed.

It does look like the ECU is buggy should be returning with ASCII chars

Thanks
Paul
OBDPros scantool
michbound is offline   Reply With Quote
Old 07-14-2009, 01:58 PM   #13
Low Bitrate
 
Join Date: Sep 2008
Posts: 77
Aberk is an unknown quantity at this point
Quote: Originally Posted by sonicmule View Post
Hi there

A quick question about the VIN format returned from PID 0902.
I've decoded the vin ok until the last three bytes which are not ascii codes.

The last 6 numbers in the vin are 623364 and in the response from the ecu, the data also is 62 33 64 so no conversion is needed.

Is there some sort of rule that states take the following bytes as numbers when you find a byte over the ascii value of 'Z' ?

That would be incorrect. You should have seen 36 32 33 33 36 34 in the data fields as the last digits for your VIN.

I have seen a CAN 11 500 2004 Ford F-350 with 6.0L diesel respond with nearly all FF in the VIN data fields. So it is possible that it is an ECU issue.
Aberk is offline   Reply With Quote
Old 07-15-2009, 03:06 AM   #14
VENDOR - ScanTool
 
Join Date: Dec 2006
Posts: 234
Vitaliy is on a distinguished road
Quote: Originally Posted by sonicmule View Post
The scantool is a OBKey bluetooth dongle, wasn't a cheepo ebay thing

Here's the response from the VIN enquiry

49 02 01 00 00 00 53 65 48 6B 13 49 02 02 41 52 52 54 4C 48 6B 13 49 02 03 4C 57 4C 46 49 48 6B 13 49 02 04 34 44 62 33 22 48 6B 13 49 02 05 64 00 00 00

If we try to make sense of it, we get:

49 02 01 00 00 00 53 65
48 6B 13 49 02 02 41 52 52 54 4C
48 6B 13 49 02 03 4C 57 4C 46 49
48 6B 13 49 02 04 34 44 62 33 22
48 6B 13 49 02 05 64 00 00 00


So from the headers we know that the protocol is either ISO9141-2 or J1850 VPW. The ECU address is $13, and for some reason the header of the first message is missing. Another thing to pay attention to, is that the last three bytes are zeroes, which should not happen with a VIN. The standard says "Message #5 shall contain VIN characters #14 to #17 inclusive".

The actual VIN payload is:

53 41 52 52 54 4C 57 4C 46 34 44 62 33 64 00 00 00

Which translates as:

SARRTLWLF4Db3d????

Weird. I would get a second opinion, using another scan tool.

Vitaliy
__________________
— Did you know that MP3Car sells OBD-2 interfaces? Get your ElmScan 5 Compact for only $64.95!
— Need to look up a diagnostic trouble code? Try the most up-to-date, free DTCsearch.com!
Vitaliy is offline   Reply With Quote
Old 07-16-2009, 03:50 PM   #15
Newbie
 
sinclairvital's Avatar
 
Join Date: Jun 2005
Posts: 44
sinclairvital is on a distinguished road
OBDKey formatting

Thanks Vitaliy. You got the formatting right there. It does look like the VIN wasn't set correctly inside the ECU.

Another example with OBDKey 1.10k (not VIN in this example)
13:05[8mS]>Tx:0904
13:06[477mS]>Rx:0904
49 04 01 30 36 41 39 F1 48 6B 10 49 04 02 30 36 30 33 DB 48 6B 10 49 04 03 32 54 4C 20 05 48 6B 10 49 04 04 30 30 34 30

Note how OBDKey 1.10K presents the ISO multiple frame responses as a single line. This is the same if multiple responses are received from ECU’s responding to the same command.

What has happened is that the checksum from the first frame is presented and so are the three header bytes from the next frame, except in the last frame received where the checksum/CRC is stripped out.
49 04 01 30 36 41 39 F1 48 6B 10 49 04 02 30 36 30 33 DB 48 6B 10 49 04 03 32 54 4C 20 05 48 6B 10 49 04 04 30 30 34 30
As the frame lengths are static it should be simple to skip the header bytes for multiple frame responses from single ECU’s. In the case of multiple ECU responses, all the responding ECU addresses can be acquired with headers on.

For a VIN example:

13:39:41: (@18.109s)Sending {0902}, attempt #0
Quote:
0:9:0:2:0D:0A:
4:9: :0:2: :0:1: :0:0: :0:0: :0:0: :5:7: :6:8: :4:8: :6:B: :1:2: :4:9: :0:2: :0:2: :4:2: :4:1: :4:2: :4:4: :1:B: :4:8: :6:B: :1:2: :4:9: :0:2: :0:3: :3:5: :3:2: :3:0: :3:5: :F: :4:8: :6:B: :1:2: :4:9: :0:2: :0:4: :3:0: :5:0: :4: :3:0: :1:1: :4:8: :6:B: :1:2: :4:9: :0:2: :0:5: :3:9: :3:4: :3:3: :3:1: :0D:
0A:>:

Would be interpreted as

13:39:42: (@19.359s)WBABD52050PM09431
Any guesses which car this was??
I hope this helps.

Sinclair
KBM Systems.

Last edited by sinclairvital; 07-16-2009 at 03:51 PM. Reason: smilies in data stream
sinclairvital is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is OBD GPS Logger, and Welcome! chunkyks OBDII GPS Logger 0 04-05-2009 12:25 PM
OBD II connector on an OBD I car HearseNurse Engine Management, OBD-II, Engine Diagnostics, etc. 6 03-23-2009 10:52 AM
OBD response format mctodd00 Engine Management, OBD-II, Engine Diagnostics, etc. 5 11-14-2008 08:10 AM
OBD or special hardware? Jirka Jirout General Hardware Discussion 2 03-04-2007 06:01 AM



All times are GMT -5. The time now is 04:23 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics