NefMoto

Technical => Communication Protocols => Topic started by: fastboatster on July 04, 2018, 04:18:35 PM



Title: KWP2000/TP2.0 module coding
Post by: fastboatster on July 04, 2018, 04:18:35 PM
I apologize if this question has been asked and answered before, I wasn't able to find clear instructions on how to do this programmatically, though. I know that many modules return their identification, software version, workshop code and coding info as a response after receiving 1A 9B kwp request. Is there any info on the structure of this response? I was able to clearly see ascii strings with part numbers and software versions and numbers which correspond to coding info obtained by other methods, but I don't know how to decode this response in a general way. Similarly, I'm not exactly sure how to construct write request when trying to update coding info and write it back.


Title: Re: KWP2000/TP2.0 module coding
Post by: fastboatster on July 04, 2018, 07:28:20 PM
So this is what I got from one of the docs from this forum:

ECU-IDP 9B Content Format
1 … 11VW / Audi-Part number7 Bit-ASCII
12Space (0x20)7 Bit-ASCII
13Configuration Program status and programmability37 Bit-ASCII +MSB
147 Bit-ASCII
15Data status7 Bit ASCII
16

Doesn't seem to talk about coding info or anything like that


Title: Re: KWP2000/TP2.0 module coding
Post by: stephanga on August 25, 2020, 08:48:41 AM
So this is what I got from one of the docs from this forum:

ECU-IDP 9B Content Format
1 … 11VW / Audi-Part number7 Bit-ASCII
12Space (0x20)7 Bit-ASCII
13Configuration Program status and programmability37 Bit-ASCII +MSB
147 Bit-ASCII
15Data status7 Bit ASCII
16

Doesn't seem to talk about coding info or anything like that

Could you please let me know where to find this document?


Title: Re: KWP2000/TP2.0 module coding
Post by: aef on August 26, 2020, 03:25:27 AM
Byte 17 contains the number of coding table and the lenght of coding information
Byte 18 to 20 is coding in hex


Title: Re: KWP2000/TP2.0 module coding
Post by: elias on January 15, 2023, 05:24:35 PM
If someone reading this, and still dont know how to figure it out: have a look at the FR of MED9.1 , at page 4338. There is a description of all services.