Dev Blog
Forum
Wiki
About
NefMoto
>
Technical
>
Communication Protocols
>
Read VAG DTCs with KWP2000?
Pages: [
1
]
« previous
next »
Author
Topic: Read VAG DTCs with KWP2000? (Read 5988 times)
trichard3000
Full Member
Karma: +6/-1
Offline
Posts: 57
Read VAG DTCs with KWP2000?
« on: July 14, 2015, 03:07:12 PM »
Anyone know the protocol spec for the VAG version of 14230-3?
I'm noodling on my old, python-based, KWP2000 implementation and I'm trying to figure out how VAG implements the "ReadDiagnosticTroubleCodesByStatus" service from ISO 14230-3.
The service ID is 0x18. In the Swedish version, it looks like this service should take 0x18, 0x02, 0xFF, 0xFF and return all DTCs with status. 0x02 is "RequestStoredDTCAndStatus" and FFFF is the group ID for all DTCs.
I'm getting a response code of 0x12 (subFunctionNotSupported-invalidFormat) which suggests that I'm feeding the service the wrong parameters. If I look at the generic 14230-3 spec, the grouping function (groupOfDTC) is individual to manufacturer.
Thanks for any info you can share!
Logged
trichard3000
Full Member
Karma: +6/-1
Offline
Posts: 57
Re: Read VAG DTCs with KWP2000?
« Reply #1 on: July 14, 2015, 03:26:28 PM »
Whoops, I may have just answered my own question.
I dug back in to the Fiat spec for KWP2000 here in the forum and they use 0x18 0x00 0xff 0x00 for the service. That's now returning data successfully.
I haven't parsed through the data to see if the data actually makes sense yet, but I think I'm on the right track. If you have any info about this, please share, thanks.
Update: Yep, this sequence returns the number of stored codes and then a list of three bytes where the first two represent the "P" code and the third is a bitmap showing the code status. Good stuff!
I'm running on an M-box btw.
«
Last Edit: July 14, 2015, 08:14:30 PM by trichard3000
»
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Introductions
=> General Discussion
-----------------------------
Noob Zone
-----------------------------
=> Noob Questions
=> Noob Guides and FAQs
-----------------------------
Technical
-----------------------------
=> NefMoto Software
=> Tuning
===> Documents & Helpers & How To's
===> Community Projects
=> Diagnostics
=> Flashing and Chipping
=> Cluster and Immobilizer
===> ECU EEPROM images
===> Original Cluster dumps
===> Original Cluster dump requests
=> Data Logging
=> Reverse Engineering
=> Communication Protocols
-----------------------------
ECU Files
-----------------------------
=> ECU Definition Files
===> ECU Definition File Requests
=> Original ECU Files
===> Original ECU File Requests
=> Checksum Update Requests
-----------------------------
Vehicles
-----------------------------
=> Vehicle Tech
=> Project Cars
-----------------------------
Regional
-----------------------------
=> Canadian Regional Discussion
=> US Regional Discussion
-----------------------------
Classifieds
-----------------------------
=> For Sale
=> Wanted
=> Services
-----------------------------
Miscellaneous
-----------------------------
=> Off Topic
=> Forum Tech Support
=> Bizarro Messages Posted by Bots and Spammers
Navigation
Home
Help
Login
Register
Personal Tools
April 05, 2025, 09:54:20 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search
Advanced Search
Loading...