NefMoto

Technical => Communication Protocols => Topic started by: jrelder on June 04, 2017, 01:13:10 AM



Title: Does the block length vary between ECU models on KWP1281?
Post by: jrelder on June 04, 2017, 01:13:10 AM
Hi,

I am currently creating an LCD display for sensor values from my ECU, communicating over the KWP1281 protocol. I have successfully performed the 5 baud init and received the correct response from the ECU. The next stage is to read the connection blocks. The code from which I am starting (tested working on a 1995 B5) attempts to read a block of maximum length 64 bytes. However, the ECU responds saying it will send a block of length 85 bytes (0x55 in hex).

I'm just wondering if this block length varies between vehicles/ECUs or if there is some other error I need to figure out...

My vehicle is a Passat B5 and the ECU is model number 8D0 906 018 F.

Thanks,
James