Pages: 1 ... 9 10 [11] 12 13 ... 35
Author Topic: Logging ME7 fast and flexible => ME7Logger  (Read 534217 times)
setzi62
Full Member
***

Karma: +142/-0
Offline Offline

Posts: 249


« Reply #150 on: March 05, 2012, 09:25:07 AM »

I'm not sure if this is supposed to work, but I just tried it on a Volvo ME7 with limited success.

Sorry, but that is the expected outcome. The Volvo ME7 is not compatible with ME7L.
A custom protocol is used for logging which depends on the bootrom in ME7 found in
VAG cars (VW,Audi,Seat,Skoda).
Logged
setzi62
Full Member
***

Karma: +142/-0
Offline Offline

Posts: 249


« Reply #151 on: March 05, 2012, 09:33:15 AM »

I have a RossTech KII-USB cable. Works fine with NefMoto Flasher. Was wondering if ME7Logger can work with this USB cable or just the ebay USB cables?
If Nefmoto works with this cable, also ME7L should be able to do.
It just needs to be a "dumb" cable with FTDI chip.
Logged
speed51133
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 9


« Reply #152 on: March 27, 2012, 05:59:07 AM »

-> Reading log config file C:\Users\Speed51133\Downloads\me7logger\logs\my 1st.c
fg .... done
-> Reading ecu characteristics file C:\Users\Speed51133\Downloads\me7logger\ecus
\example.ecu .... done
Used Ecu definition is:
[Communication]
Connect      = SLOW-0x01
Communicate  = HM0
LogSpeed     = 56000

[Identification]
HWNumber           = "0261207931"
SWNumber           = "1037366920"
PartNumber         = "4B0906018DA"
SWVersion          = "0006"
EngineId           = "1.8L R4/5VT"

Logged variables are:
#no.: name                , alias                           , addr  ,sz, bitm, S
, I,  A         ,   B, unit
#069: tmot                , CoolantTemperature              , 380A63, 1, 0000, 0
, 0,        0.75,  48, '░C'
#070: tmotlin             , CoolantTemperature              , 3848B5, 1, 0000, 0
, 0,        0.75,  48, '░C'
#071: tmotsoll            , CoolantTemperatureRequested     , 384969, 1, 0000, 0
, 0,        0.75,  48, '░C'
#072: tmst                , EngineStartTemperature          , 3848BB, 1, 0000, 0
, 0,        0.75,  48, '░C'
#073: tnst_w              , TimeSinceStart                  , 382C14, 2, 0000, 0
, 0,        0.01,   0, 's'
Logged data size is 124 bytes.
Start connecting to ECU at 26.03.2012 22:36:07.154
try connect slow(01)
received wrong inverted address 0x0F (expected 0xFE)
try connect slow(01)
received wrong inverted address 0x0F (expected 0xFE)
Could not connect
try connect slow(01)
02:36:12.473-756,1 os_setspeed(speed=10400)
02:36:12.788-569,9 os_receiver_off()
02:36:12.789-426,2 os_setbreak()
02:36:12.993-594,5 os_clrbreak()
02:36:13.196-619,7 os_setbreak()
02:36:13.399-628,3 os_setbreak()
02:36:13.603-799,1 os_setbreak()
02:36:13.806-637,0 os_setbreak()
02:36:14.009-659,7 os_setbreak()
02:36:14.212-651,5 os_setbreak()
02:36:14.415-705,6 os_setbreak()
02:36:14.618-663,5 os_clrbreak()
02:36:14.621-645,5 os_receiver_on()
02:36:14.889-692,2 os_rcvbyte(timeout=500) -> 55
02:36:14.900-123,1 os_rcvbyte(timeout=100) -> 01
02:36:14.909-663,7 os_rcvbyte(timeout=100) -> 8A
02:36:14.935-488,9 os_sendbyte(data=75)
02:36:14.969-662,8 os_rcvbyte(timeout=100) -> 0F
received wrong inverted address 0x0F (expected 0xFE)
try connect slow(01)
02:36:14.975-568,4 os_setspeed(speed=10400)
02:36:15.291-652,3 os_receiver_off()
02:36:15.292-527,2 os_setbreak()
02:36:15.496-680,1 os_clrbreak()
02:36:15.700-667,4 os_setbreak()
02:36:15.903-716,4 os_setbreak()
02:36:16.106-733,3 os_setbreak()
02:36:16.309-709,8 os_setbreak()
02:36:16.512-710,6 os_setbreak()
02:36:16.715-735,8 os_setbreak()
02:36:16.918-766,2 os_setbreak()
02:36:17.121-733,7 os_clrbreak()
02:36:17.124-729,8 os_receiver_on()
02:36:17.393-778,4 os_rcvbyte(timeout=500) -> 55
02:36:17.403-823,2 os_rcvbyte(timeout=100) -> 01
02:36:17.413-825,0 os_rcvbyte(timeout=100) -> 8A
02:36:17.440-131,2 os_sendbyte(data=75)
02:36:17.473-754,2 os_rcvbyte(timeout=100) -> 0F
received wrong inverted address 0x0F (expected 0xFE)
Could not connect
=> Could not connect to ECU, exiting ...
=> Logging failed
exiting (cause=0x4)...

C:\Users\Speed51133\Downloads\me7logger>


the above is all i can get to happen. i can log fine with vcds and EVEN WITH ECUX! I would like to try this out, but i have seen others with the same errors, and no solutions.

using a real vcds cable set it to NOT intelligent. no com port works, have to use that other selection.

any help?
Logged
setzi62
Full Member
***

Karma: +142/-0
Offline Offline

Posts: 249


« Reply #153 on: March 29, 2012, 07:07:21 AM »

the above is all i can get to happen. i can log fine with vcds and EVEN WITH ECUX! I would like to try this out, but i have seen others with the same errors, and no solutions.

using a real vcds cable set it to NOT intelligent. no com port works, have to use that other selection.

any help?

You are using the example.ecu file, which matches the 4B0906018DA, 0006 image.
This image allows connection to KWP2000 with slowinit to 0x01,
but on your car/ecu you get a KWP1285 connection on the address 0x01.

I don't think your ecu has the image file 018DA inside! You need to follow
the instructions in the README and generate your own .ecu file that matches your image.
To do this, you will need to read out the image of your ecu first
or you can try find an original file with matching ecu ID's somewhere on the forum.
Logged
speed51133
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 9


« Reply #154 on: March 29, 2012, 11:27:53 AM »

I did not even know there was a README. I found it buried in the DOC folder.

So i need my ecu's binary. It says to "get it" or find someone that has it.

So how do I get it?
Logged
setzi62
Full Member
***

Karma: +142/-0
Offline Offline

Posts: 249


« Reply #155 on: April 02, 2012, 04:43:23 AM »

Read the image out of the ecu with the Nefmoto ECU flasher
http://nefariousmotorsports.com/forum/index.php?topic=1686.0title=
Logged
setzi62
Full Member
***

Karma: +142/-0
Offline Offline

Posts: 249


« Reply #156 on: April 02, 2012, 05:05:36 AM »

Finally I was able to put together a "cleanup" build of ME7Logger
with all the small changes that have piled up over the time.
Find an updated version 1.17 of ME7Logger and ME7Info in the first post.

Roughly the changes in ME7Logger:
- Reworked general timing calculations, timestamps, sync to full second
- Fixed local time in absolute timestamps (option -a)
- Supress logfile writing when output goes to stdout (option -R)
  useful if output is piped to external evaluation tool/filter
- Added option -m: Timestamp format milliseconds
- Added option -h: supress printing header information in logfiles
- Added option -b: set logging baudrate for communication,
                   overrides baudrate from ecu file
- connection method "double slowinit" added (helps with "instrument cluster" problem)
  To use double slowinit set in the [Communication] section of the .ecu file:
    Connect      = SLOW-0x00
    DoubleDelay  = 12           ; Possible values 1 .. 100 (delay in 100ms)
  This allows to connect only while engine not yet started.

And the changes in ME7Info:
- Reverted back to zwbasar_0 .. zwbasar_3
  (Array size NOT dependent on number of cylinders)
- Some variables added:
 + zwoutar_0 .. zwoutar_3
 + zwsol
 + redist / evz_austot
 + lamfaws_w / lamfawkr_w / lamfaw_w / lamfwl_w / lamrlmn_w
 + perffilt_w / perfmax_w   => This is CPU-Load
    It helps in finding out the max. logging capabilities of your ECU.
    Around 90% CPU-Load might be a limit for the ECU.

I think it would be useful if you put perffilt_w (CPU load) into your logging profiles and
make some tests to see how you ECU performs underr different logging conditions (sample rate/#variables).
My ECU is 32MHz, so I have plenty of headroom for wildest logging. But most ECUs run at 24MHz and some
even have only 20MHz, so these could probably suffer from excessive logging.
Logged
nyet
Administrator
Hero Member
*****

Karma: +607/-168
Offline Offline

Posts: 12268


WWW
« Reply #157 on: April 02, 2012, 09:53:21 AM »

THANK YOU!

BTW, seeing as I am attempting to debug torque monitoring issues in my ECU, can you add:

dzws
etazws
wkrdy
zaldy
B_krldya
B_krldyv

thanks!

I have them in my ecu defs, but they get overwritten when i dload a new version from you, and i have to hand patch them back Smiley

Or, alternately, have some sort of file that you read that has custom values to automatically add to .ecu and the template.cfg?

i just cat them on, but i have to remember to do so Smiley
Logged

ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
-SlowSilverTIPJason-
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 11


« Reply #158 on: April 02, 2012, 01:08:39 PM »

Nice!  TY setzi!
Logged
lulu2003
Full Member
***

Karma: +11/-1
Offline Offline

Posts: 242



« Reply #159 on: April 03, 2012, 12:42:16 PM »

seems the default paths to /def is not working as before?

getting "can't open map file defs\me7_std.map"
and
"can't open alias file defs\me7_alias.map"
and
"can't open output file ecus\xy.ecu"

it works when I specify the pathes.....

Logged
setzi62
Full Member
***

Karma: +142/-0
Offline Offline

Posts: 249


« Reply #160 on: April 04, 2012, 12:20:46 AM »

seems the default paths to /def is not working as before?

getting "can't open map file defs\me7_std.map"
and "can't open alias file defs\me7_alias.map"
and "can't open output file ecus\xy.ecu"

it works when I specify the pathes.....

Sorry, that was a build error, so it worked only under cygwin but not in DOS shell.
I fixed this and updated the .zip in the first post, please download this again,
it contains an updated ME7Info.exe
Logged
lulu2003
Full Member
***

Karma: +11/-1
Offline Offline

Posts: 242



« Reply #161 on: April 04, 2012, 01:13:15 AM »

thx, it works again  Cheesy
Logged
lulu2003
Full Member
***

Karma: +11/-1
Offline Offline

Posts: 242



« Reply #162 on: April 04, 2012, 02:27:27 AM »

thx, it works again  Cheesy

first test of the logger on a ME7.8:

Quote
try connect slow(11)
=> FLASH (slowinit)
ecuid reports software version
Started session86, speed=56000
-> Read ECU ID's .... done
-> Checked ECU ID's
Found bootrom version 05.12/05.32 via readmem
Read pointer ... done
Store handler ... writemem failed, got error: 0x12
=> Logging failed
exiting (cause=0x4)...

any idea?
(more details provided in PM)
Logged
nyet
Administrator
Hero Member
*****

Karma: +607/-168
Offline Offline

Posts: 12268


WWW
« Reply #163 on: April 04, 2012, 09:37:32 AM »

Sorry, that was a build error, so it worked only under cygwin but not in DOS shell.
I fixed this and updated the .zip in the first post, please download this again,
it contains an updated ME7Info.exe


ha ha. glad I use cygwin Smiley
Logged

ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
elRey
Hero Member
*****

Karma: +32/-1
Offline Offline

Posts: 565


« Reply #164 on: April 04, 2012, 11:35:01 PM »

request fupsrl_w
Logged
Pages: 1 ... 9 10 [11] 12 13 ... 35
  Print  
 
Jump to:  

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