Pages: 1 [2]
Author Topic: What dictates which protocol is used?  (Read 26269 times)
elRey
Hero Member
*****

Karma: +32/-1
Offline Offline

Posts: 565


« Reply #15 on: March 14, 2011, 09:52:11 AM »

Or....

can we modify the flash to allow a higher baud rate via kwp1281?
Logged
setzi62
Full Member
***

Karma: +142/-0
Offline Offline

Posts: 249


« Reply #16 on: March 14, 2011, 11:05:51 AM »

So, how hard would it be to 'add' this needed service to the ME7 ecus?

Also, what few ME7 ECUs are you referring to that have the needed service?

Thanks,
Rey
'Adding' this would be not impossible but really hard. Too hard compared to the gain.
Still no high performance logging with this method, since you can log only 8 variables per
logging request and the ecu has to do the whole data conversion itself, which is quite a lot
of instructions to perform for each log request.

So far I saw these two images with support for readDBLI:
EPK = 40/1/ME7.5/3/4016.31//24E/Dst06o/071002//
- '0261207931'         (SSECUHN)   
- '1037366920'         (SSECUSN)     
- '4B0906018DA '       (VAG part number)
- '0006'               (VAG sw number)     
               
EPK = 40/1/ME7.5/5/4016.32//24E/Dst02o/180902//
- '0261207941'         (SSECUHN)   
- '1037366871'         (SSECUSN)   
- '8E0909518AH '       (VAG part number)
- '0002'               (VAG sw number)   
   
Or....
can we modify the flash to allow a higher baud rate via kwp1281?
Raising the baud rate could be relatively easy implemented, but the gain would be nearly zero.
The kwp1281 protocol requests echo bytes to be sent by the communication
partner for each transmitted byte, so the "round-trip-time" is limiting. This is mostly
defined by the time slices the ecu uses for processing data, which is 10ms,
the baud rate is not the limiting factor here. Plus you get only four variables per log request.
Logged
Tony@NefMoto
Administrator
Hero Member
*****

Karma: +130/-4
Offline Offline

Posts: 1389


2001.5 Audi S4 Stage 3


« Reply #17 on: March 14, 2011, 12:09:07 PM »

KWP1281 sucks because bytes are sent one at a time by the ECU, and the next byte is not sent until the tester sends back an echo byte. KWP2000 is awesome because you can send messages up to 255 bytes long and then send a positive response at the end. This is the main reason why KWP2000 can run so much faster.

Every ME7 ECU I have looked at does not support the KWP2000 local or global identifiers for reading sensors by ID. What this means is that although the KWP2000 protocol supports reading values by ID, none of the ME7 ECUs implement any IDs, so you can't use this system. To read sensor values over KWP2000 on the ME7 you have to read values by memory address. When you read values by memory address you also need to do the conversion from raw values to actual values yourself. To read sensor values with KWP2000 on the ME7 you will therefore need a memory layout of where all the values are, and you will need the conversion functions for each value type, and then you will need to read these values by address. This is the way ECUx works, and it is the same way the unreleased NefMoto data logger works.
« Last Edit: March 14, 2011, 01:54:13 PM by Tony@NefMoto » Logged

Remember you have to log in if you want to see the file attachments!
Info or questions, please add to the wiki: http://www.nefariousmotorsports.com/wiki
Follow NefMoto developments on Twitter: http://twitter.com/nefmoto
Tony@NefMoto
Administrator
Hero Member
*****

Karma: +130/-4
Offline Offline

Posts: 1389


2001.5 Audi S4 Stage 3


« Reply #18 on: March 14, 2011, 12:10:52 PM »

As far as I know, VAG-COM only supports data logging with the KWP1281 protocol.

You could try to manually connect to address 0x11 in VAG-COM though and see what happens.

I didn't know vagcom had an option to manually connect to an address. Do you have more info on this?

On the screen where you choose which component to connect to, ie engine, instrument, etc, there is a field at the bottom that allows you to manually enter a component address. Try entering 0x11 in there.

This may allow you to start a KWP2000 session with the ECU, but I doubt you will be able to do anything more at this point.
Logged

Remember you have to log in if you want to see the file attachments!
Info or questions, please add to the wiki: http://www.nefariousmotorsports.com/wiki
Follow NefMoto developments on Twitter: http://twitter.com/nefmoto
elRey
Hero Member
*****

Karma: +32/-1
Offline Offline

Posts: 565


« Reply #19 on: March 14, 2011, 12:44:34 PM »

Awesome info! Thanks. I tried connecting to address 11 via VCDS with no luck.

So, what about just dumping one of those two bins onto my ecu and recalibrate any maps that need to be adjusted for my hardware?

I'm only looking to get ~7-10 samples per sec when logging 3 groups. Anything more is just a bonus.

I tried a friend's ECUx with no luck either. It would connect and begin logging, but none of the values would change. Everything was static. I assume the mem map was wrong.
I used the property file that listed my ECU part number, and even others that seemed similar.
« Last Edit: March 14, 2011, 12:48:40 PM by elRey » Logged
elRey
Hero Member
*****

Karma: +32/-1
Offline Offline

Posts: 565


« Reply #20 on: March 19, 2011, 01:52:37 PM »

So far I saw these two images with support for readDBLI:

May I ask how you can tell if an ECU has support for readDBLI by looking at the bin?

Thanks,
Rey
Logged
setzi62
Full Member
***

Karma: +142/-0
Offline Offline

Posts: 249


« Reply #21 on: March 19, 2011, 02:59:13 PM »

May I ask how you can tell if an ECU has support for readDBLI by looking at the bin?

Thanks,
Rey
I was running the bins in my simulation and could see that the ecu responds
to a readDBLI request. It seems like the ecus supporting this service do no longer
support the KWP1285 protocol. At least the entry to initialize the communication
session for this protocol is missing for the images where I found readDBLI support.
Logged
elRey
Hero Member
*****

Karma: +32/-1
Offline Offline

Posts: 565


« Reply #22 on: March 19, 2011, 03:40:29 PM »

Ah. you're hitting it with requests and monitoring reqponses. I thought maybe you could recognize the code by looking at the raw hex.
« Last Edit: March 19, 2011, 09:40:00 PM by elRey » Logged
phila_dot
Hero Member
*****

Karma: +171/-11
Offline Offline

Posts: 1709


« Reply #23 on: March 19, 2011, 08:57:15 PM »

I tried a friend's ECUx with no luck either. It would connect and begin logging, but none of the values would change. Everything was static. I assume the mem map was wrong.
I used the property file that listed my ECU part number, and even others that seemed similar.

I had the same problem with ECUx. It wasn't the properties file it was the settings.
These settings did it for me. I have my cable set to port 2.

Port: 2
Baud rate: 14400
Logged
orienz
Full Member
***

Karma: +12/-2
Offline Offline

Posts: 113


« Reply #24 on: May 16, 2011, 04:02:16 AM »

Try disconnecting cluster fuse, ECUX doesn't work for me at all unless I disconnect cluster.
Logged
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.021 seconds with 16 queries. (Pretty URLs adds 0s, 0q)