RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Tue Dec 23, 2025 11:13 am

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 520 posts ]  Go to page Previous  1 ... 31, 32, 33, 34, 35  Next
Author Message
 Post subject: DS2 - datalogging MS41/43 by serial protocol
PostPosted: Fri May 03, 2019 10:40 am 
Offline
Newbie
User avatar

Joined: Wed Mar 08, 2017 5:34 pm
Posts: 11
Location: Chicago suburbs
To clarify: it IS possible to log AFR in RR logger using the downstream lambda sensors?

For example, my SCG-1 wideband/boost controller has a 0-5v output; I would plug that into the DME at the appropriate pins ?

DME is 41.2


Sent from my iPhone using Tapatalk


Top
 Profile  
 
 Post subject: Re: DS2 - datalogging MS41/43 by serial protocol
PostPosted: Wed Aug 14, 2019 3:53 pm 
Offline
Newbie

Joined: Fri Jan 04, 2019 12:44 pm
Posts: 1
SilverE36 wrote:
To clarify: it IS possible to log AFR in RR logger using the downstream lambda sensors?

For example, my SCG-1 wideband/boost controller has a 0-5v output; I would plug that into the DME at the appropriate pins ?

DME is 41.2


Sent from my iPhone using Tapatalk


Yes, I was able to do exactly this - wideband lambda from analog output of an Innovate LC-2 controller fed into the downstream lambda 2 input plus an additional MAP sensor, as I have done a supercharger conversion, via downstream lambda 1 input on my MS43. The MAP sensor is a MPX4250AP type, actually a multi purpose absolute pressure sensor I had available - conversion formula taken from the datasheet, dont really mind the accuracy. For the Innovate LC-2 analog output I found a working formula somewhere on the internet. As SCG-1 is also from Innovate i guess it has the same analog output voltages configured as the LC-2 controller.
What I havent done so far is checking the accuracy by comparing with the serial output of the Innovate controller but MS43 input accuracy should be not that bad...
Actually I use this recycled O2 sensor inputs just for displaying interesting live values on an Android headunit using DeepOBD software (in which you can also use custom formulas/functions for value conversion) and added it to the logger definition just for fun/testing/proof-of-concept :) . Up till now I did all logging with 2 cables connected (Innovate + OBD2).

I added the following lines to the MS43 definition section in the logger_METRIC_EN_v346.xml:

Code:
<ecuparam id="E129" name="MAP sensor via Rear Lambda 1 input" desc="a MAP or other pressure sensor of Type MPX4250AP, fed into ECU via Rear Lambda 1 input" group="0x0B" subgroup="0x020E" target="1">
                    <ecu id="7511570,7519308,7545150">
                        <address>0x000019</address>
                    </ecu>
                    <conversions>
                  <conversion units="VDC" storagetype="uint16" expr="x*0.00488" format="0.00" gauge_min="0" gauge_max="5" gauge_step="0.1" />
                  <conversion units="mbar" storagetype="uint16" expr="(((x*0.00488)/4.9)+0.04)/0.004*10" format="0.00" gauge_min="50" gauge_max="2500" gauge_step="1" />
                        <conversion units="kPa" storagetype="uint16" expr="(((x*0.00488)/4.9)+0.04)/0.004" format="0.00" gauge_min="5" gauge_max="250" gauge_step="1" />
                    </conversions>
                </ecuparam>
            <ecuparam id="E130" name="Wideband Lambda via Rear Lambda 2 input" desc="Wideband Lambda, Analog Output of an Innovate LC-2 controller with factory settings fed into ECU via Rear Lambda 2 input" group="0x0B" subgroup="0x020E" target="1">
                    <ecu id="7511570,7519308,7545150">
                        <address>0x00001A</address>
                    </ecu>
                    <conversions>
                        <conversion units="VDC" storagetype="uint16" expr="x*0.00488" format="0.00" gauge_min="0" gauge_max="5" gauge_step="0.05" />
                        <conversion units="AFR" storagetype="uint16" expr="((x*0.00488)*3.008)+7.35" format="0.00" gauge_min="7.35" gauge_max="22.39" gauge_step="0.1" />
                        <conversion units="Lambda" storagetype="uint16" expr="(((x*0.00488)*3.008)+7.35)/14.7" format="0.00" gauge_min="0.5" gauge_max="1.5" gauge_step="0.05" />
                    </conversions>
                </ecuparam>


I´m sure you can do the same in the MS41 definition.


Top
 Profile  
 
 Post subject: Re: DS2 - datalogging MS41/43 by serial protocol
PostPosted: Sat Aug 24, 2019 11:47 am 
Offline
Newbie

Joined: Tue Jul 23, 2019 8:42 am
Posts: 13
Hi

I need help :roll:

I try to log my E36
RR logging is ok, i can read some value
But cal ID is still unknow
I use the lastest definition file.
I have read some post and i have controled the ECU file : <xmlid>41</xmlid> is written and my ECU ID is 1429861

I use a Kline cable linked in the forum...
No more idea

Thanks


Top
 Profile  
 
 Post subject: Re: DS2 - datalogging MS41/43 by serial protocol
PostPosted: Sat Jan 18, 2020 4:21 pm 
Offline
Newbie

Joined: Sat Jan 04, 2020 7:57 pm
Posts: 65
Location: Luneville, France
I want to log with RomRaider Logger. When i start up RR logger it says "no definitions file and .xml file in directory". I installed that and choose the definitions once inside RR logger and also added that file plus one of the six .xml files into the installation folder of RR. Still always same message when starting RR logger. Why does it keep bringing that message ? There was also no cars_def.dtd file in the download from the "RR logger definitions" thread. only a "logger.dtd" file. which i used to replace the existing one in the install folder.
When inside RR logger, there's nothing in the field "COM Port". It's empty. nothing to choose.
At the bottom it says "unable to send ECU init". Switching to DS2 K-Line under "Settings" just makes everything empty. No Parameters to select.

What is wrong here ?


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
 Post subject: Re: DS2 - datalogging MS41/43 by serial protocol
PostPosted: Sat Jan 18, 2020 7:00 pm 
Offline
Senior Member

Joined: Fri Feb 10, 2006 7:04 pm
Posts: 2661
Location: RIP
Does it say "Reading Data" at the top right, and show a sample rate at the bottom right?

_________________
MS41 Project Leader & Co-Developer (2012 - 2023)
MS41.3 https://sites.google.com/site/openms41/custom-code---ms41-3
MS41 ECU Portal https://sites.google.com/site/openms41/ms41-ecu-portal


Top
 Profile  
 
 Post subject: Re: DS2 - datalogging MS41/43 by serial protocol
PostPosted: Sat Jan 18, 2020 7:21 pm 
Offline
Newbie

Joined: Sat Jan 04, 2020 7:57 pm
Posts: 65
Location: Luneville, France
Now all of a sudden there is COM 1 in the box. don't know why, i didn't do anything except eat dinner in the meantime.

This is what it looks like:

Image

If i remove the tick in the box "ECU" it says Reading Data but no sample rate at the bottom right.

Image


Top
 Profile  
 
 Post subject: Re: DS2 - datalogging MS41/43 by serial protocol
PostPosted: Sat Jan 18, 2020 9:00 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
http://www.romraider.com/index.php/Docu ... rFAQ#toc17
Follow the instructions.

To Log BMW you must also select the DS2 protocol in settings.


Top
 Profile  
 
 Post subject: Re: DS2 - datalogging MS41/43 by serial protocol
PostPosted: Sat Jan 18, 2020 9:57 pm 
Offline
Newbie

Joined: Sat Jan 04, 2020 7:57 pm
Posts: 65
Location: Luneville, France
The reason i'm asking here is that i followed all the instructions and it doesn't work. I might have made a mistake somewhere but i can't find out where. And i wrote that when i switch to DS2 nothing shows up. In the screenshot DS2 is selected.


Top
 Profile  
 
 Post subject: Re: DS2 - datalogging MS41/43 by serial protocol
PostPosted: Sun Jan 19, 2020 4:44 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
m52 wrote:
And i wrote that when i switch to DS2 nothing shows up. In the screenshot DS2 is selected.
Once the Logger connects to the DME/ECU it will show parameters. BTW, the ECU box must be checked to log the DME/ECU.


Top
 Profile  
 
 Post subject: Re: DS2 - datalogging MS41/43 by serial protocol
PostPosted: Mon Jan 20, 2020 11:41 am 
Offline
Newbie

Joined: Sat Jan 04, 2020 7:57 pm
Posts: 65
Location: Luneville, France
it works now, after i reinstalled windows.


Top
 Profile  
 
 Post subject: Re: DS2 - datalogging MS41/43 by serial protocol
PostPosted: Sun Feb 09, 2020 1:26 pm 
Offline
Newbie

Joined: Fri Sep 14, 2018 3:57 pm
Posts: 5
hello. i trying to log my ms41 but despite many attempts I can't read the data

its my rrlogger log

0 INFO [main] - RomRaider 0.5.9 RC 3 Build: 769
1 INFO [main] - When requesting assistance at http://www.romraider.com please include the System Properties information below:
25 INFO [main] - sobota, 8 lutego 2020 14:59:08 CET
26 INFO [main] - System Properties:
{java.runtime.name=Java(TM) SE Runtime Environment
awt.useSystemAAFontSettings=lcd
sun.boot.library.path=C:\Program Files (x86)\Java\jre1.8.0_241\bin
java.vm.version=25.241-b07
sun.java2d.d3d=true
java.vm.vendor=Oracle Corporation
java.vendor.url=http://java.oracle.com/
path.separator=;
java.vm.name=Java HotSpot(TM) Client VM
file.encoding.pkg=sun.io
user.country=PL
user.script=
sun.java.launcher=SUN_STANDARD
sun.os.patch.level=Service Pack 1
java.vm.specification.name=Java Virtual Machine Specification
user.dir=C:\Program Files (x86)\RomRaider
java.runtime.version=1.8.0_241-b07
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
java.endorsed.dirs=C:\Program Files (x86)\Java\jre1.8.0_241\lib\endorsed
os.arch=x86
java.io.tmpdir=C:\Users\LATITU~1\AppData\Local\Temp\
line.separator=

java.vm.specification.vendor=Oracle Corporation
user.variant=
os.name=Windows 7
sun.jnu.encoding=Cp1250
java.library.path=lib/windows
java.specification.name=Java Platform API Specification
java.class.version=52.0
sun.management.compiler=HotSpot Client Compiler
os.version=6.1
user.home=C:\Users\Latitude E6420
user.timezone=Europe/Belgrade
java.awt.printerjob=sun.awt.windows.WPrinterJob
file.encoding=Cp1250
java.specification.version=1.8
java.class.path=C:\Program Files (x86)\RomRaider\RomRaider.jar
user.name=Latitude E6420
java.vm.specification.version=1.8
sun.java.command=C:\Program Files (x86)\RomRaider\RomRaider.jar -logger
java.home=C:\Program Files (x86)\Java\jre1.8.0_241
sun.arch.data.model=32
user.language=pl
java.specification.vendor=Oracle Corporation
awt.toolkit=sun.awt.windows.WToolkit
java.vm.info=mixed mode
java.version=1.8.0_241
java.ext.dirs=C:\Program Files (x86)\Java\jre1.8.0_241\lib\ext;C:\Windows\Sun\Java\lib\ext
sun.boot.class.path=C:\Program Files (x86)\Java\jre1.8.0_241\lib\resources.jar;C:\Program Files (x86)\Java\jre1.8.0_241\lib\rt.jar;C:\Program Files (x86)\Java\jre1.8.0_241\lib\sunrsasign.jar;C:\Program Files (x86)\Java\jre1.8.0_241\lib\jsse.jar;C:\Program Files (x86)\Java\jre1.8.0_241\lib\jce.jar;C:\Program Files (x86)\Java\jre1.8.0_241\lib\charsets.jar;C:\Program Files (x86)\Java\jre1.8.0_241\lib\jfr.jar;C:\Program Files (x86)\Java\jre1.8.0_241\classes
java.vendor=Oracle Corporation
swing.aatext=true
file.separator=\
java.vendor.url.bug=http://bugreport.sun.com/bugreport/
sun.io.unicode.encoding=UnicodeLittle
sun.cpu.endian=little
sun.desktop=windows
sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86}
208 INFO [main] - Logger locale: pl_PL
587 INFO [main] - DYNO New Car Selected: 01 JDM WRX STi 6MT, Gears: 6
588 INFO [main] - DYNO Car: 01 JDM WRX STi 6MT, Changed gear to: 4 (1.346)
1096 INFO [main] - 9 ECU definitions loaded from 7 files
1102 INFO [main] - Plugin loaded: AEM UEGO AFR [9600 baud] v0.05
1105 INFO [main] - Plugin loaded: AEM X-Wifi Controller v0.01
1106 INFO [main] - Plugin loaded: AEM UEGO Lambda [19200] v0.02
1107 INFO [main] - Plugin loaded: APSX D1|D2 WBO2 v0.01
1109 INFO [main] - Plugin loaded: ECOTRONS Accurate Lambda Meter v0.01
1110 INFO [main] - Plugin loaded: 14Point7 NAW_7S UEGO v0.03
1111 INFO [main] - Plugin loaded: Innovate Wideband AFR v0.02
1148 ERROR [main] - COM4J error creating MTS interface: com4j.ExecutionException: com4j.ComException: 80040154 CoCreateInstance failed : Klasa niezarejestrowana. : .\com4j.cpp:153
1149 ERROR [main] - Error loading external datasource: com.romraider.logger.external.innovate.lm2.mts.plugin.Lm2MtsDataSource, specified in: C:\Program Files (x86)\RomRaider\.\plugins\lm2_mts.plugin
java.lang.IllegalStateException: Innovate LogWorks MTS control does not appear to be installed on this computer
at com.romraider.logger.external.innovate.lm2.mts.plugin.Lm2MtsDataSource.<init>(Lm2MtsDataSource.java:71)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.romraider.logger.external.core.ExternalDataSourceLoaderImpl.dataSource(ExternalDataSourceLoaderImpl.java:77)
at com.romraider.logger.external.core.ExternalDataSourceLoaderImpl.loadExternalDataSources(ExternalDataSourceLoaderImpl.java:52)
at com.romraider.logger.ecu.EcuLogger.loadLoggerPlugins(EcuLogger.java:610)
at com.romraider.logger.ecu.EcuLogger.construct(EcuLogger.java:333)
at com.romraider.logger.ecu.EcuLogger.<init>(EcuLogger.java:294)
at com.romraider.logger.ecu.EcuLogger.startLogger(EcuLogger.java:1985)
at com.romraider.ECUExec.openLogger(ECUExec.java:119)
at com.romraider.ECUExec.main(ECUExec.java:98)
1152 INFO [main] - Plugin loaded: MRF Stealth Gauge v0.02
1443 INFO [main] - Plugin loaded: Phidget InterfaceKit v0.02
1446 INFO [main] - Plugin loaded: PLX SM-AFR v0.05
1448 INFO [main] - Plugin loaded: Tech Edge (Format 2.0) v0.03
1449 INFO [main] - Plugin loaded: TXS Tuner Logger v2013.04.04
1450 INFO [main] - Plugin loaded: TXS UTEC Logger v2013.04.04
1452 INFO [main] - Plugin loaded: Zeitronix ZT-2 v0.03
1587 INFO [main] - loaded protocol DS2: 0 parameters, 0 switches from def version 346.
2161 INFO [Thread-6] - RegOpenKeyEx error [2]
, trying serial connection...
2191 INFO [Thread-6] - Connected to: COM1
2192 INFO [Thread-6] - Serial connection initialised: SerialConnectionProperties[baudRate=9600, dataBits=8, stopBits=1, parity=2, connectTimeout=2000, sendTimeout=55]
4325 INFO [Thread-6] - ECU ID = 1437806
4326 INFO [AWT-EventQueue-0] - CAL ID: 60, Car: 1996-1999 US BMW E36/E39/Z3 MS41.1 (256KB) MT/AT
4446 INFO [AWT-EventQueue-0] - Loading logger config for new ECU ID: 1437806, loaded protocol DS2: 79 parameters, 0 switches from def version 346.
4454 INFO [Thread-6] - Connection closed.
4454 INFO [AWT-EventQueue-0] - Loading profile: C:\Users\Latitude E6420/.RomRaider/profile_backup.xml
4455 INFO [Thread-6] - RegOpenKeyEx error [2]
, trying serial connection...
4477 INFO [Thread-6] - Connected to: COM1
4478 INFO [Thread-6] - Serial connection initialised: SerialConnectionProperties[baudRate=9600, dataBits=8, stopBits=1, parity=2, connectTimeout=2000, sendTimeout=55]
4478 INFO [Thread-6] - TX Manager Started.
4701 ERROR [Thread-6] - Error occurred
java.lang.NullPointerException
at com.romraider.logger.ecu.comms.manager.QueryManagerImpl.handleQueryResponse(QueryManagerImpl.java:323)
at com.romraider.logger.ecu.comms.manager.QueryManagerImpl.runLogger(QueryManagerImpl.java:283)
at com.romraider.logger.ecu.comms.manager.QueryManagerImpl.run(QueryManagerImpl.java:153)
at java.lang.Thread.run(Unknown Source)
5071 INFO [Thread-6] - Connection closed.
5071 INFO [Thread-6] - TX Manager Stopped.
5071 INFO [Thread-6] - RegOpenKeyEx error [2]
, trying serial connection...
5095 INFO [Thread-6] - Connected to: COM1
5096 INFO [Thread-6] - Serial connection initialised: SerialConnectionProperties[baudRate=9600, dataBits=8, stopBits=1, parity=2, connectTimeout=2000, sendTimeout=55]
7203 INFO [Thread-6] - ECU ID = 1437806
7325 INFO [Thread-6] - Connection closed.
7325 INFO [Thread-6] - RegOpenKeyEx error [2]
, trying serial connection...
7351 INFO [Thread-6] - Connected to: COM1
7351 INFO [Thread-6] - Serial connection initialised: SerialConnectionProperties[baudRate=9600, dataBits=8, stopBits=1, parity=2, connectTimeout=2000, sendTimeout=55]
7351 INFO [Thread-6] - TX Manager Started.
7540 ERROR [Thread-6] - Error occurred
java.lang.NullPointerException
at com.romraider.logger.ecu.comms.manager.QueryManagerImpl.handleQueryResponse(QueryManagerImpl.java:323)
at com.romraider.logger.ecu.comms.manager.QueryManagerImpl.runLogger(QueryManagerImpl.java:283)
at com.romraider.logger.ecu.comms.manager.QueryManagerImpl.run(QueryManagerImpl.java:153)
at java.lang.Thread.run(Unknown Source)
7909 INFO [Thread-6] - Connection closed.
7909 INFO [Thread-6] - TX Manager Stopped.
7910 INFO [Thread-6] - RegOpenKeyEx error [2]
, trying serial connection...
7936 INFO [Thread-6] - Connected to: COM1
7936 INFO [Thread-6] - Serial connection initialised: SerialConnectionProperties[baudRate=9600, dataBits=8, stopBits=1, parity=2, connectTimeout=2000, sendTimeout=55]
10041 INFO [Thread-6] - ECU ID = 1437806
10154 INFO [Thread-6] - Connection closed.
10154 INFO [Thread-6] - RegOpenKeyEx error [2]
, trying serial connection...
10180 INFO [Thread-6] - Connected to: COM1
10180 INFO [Thread-6] - Serial connection initialised: SerialConnectionProperties[baudRate=9600, dataBits=8, stopBits=1, parity=2, connectTimeout=2000, sendTimeout=55]
10180 INFO [Thread-6] - TX Manager Started.
10553 INFO [Thread-6] - Connection closed.
10553 INFO [Thread-6] - TX Manager Stopped.
10566 INFO [AWT-EventQueue-0] - Logger shutdown successful


Top
 Profile  
 
 Post subject: Re: DS2 - datalogging MS41/43 by serial protocol
PostPosted: Mon Feb 10, 2020 9:52 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
Maybe bad connection, cable or USB port ? It can't maintain the connection with the ECU and tries to init all over again, which is successful.


Top
 Profile  
 
 Post subject: Re: DS2 - datalogging MS41/43 by serial protocol
PostPosted: Tue Feb 11, 2020 8:32 pm 
Offline
Senior Member

Joined: Fri Feb 10, 2006 7:04 pm
Posts: 2661
Location: RIP
Or another program that is trying to talk through the same port?

_________________
MS41 Project Leader & Co-Developer (2012 - 2023)
MS41.3 https://sites.google.com/site/openms41/custom-code---ms41-3
MS41 ECU Portal https://sites.google.com/site/openms41/ms41-ecu-portal


Top
 Profile  
 
 Post subject: Re: DS2 - datalogging MS41/43 by serial protocol
PostPosted: Wed Feb 12, 2020 5:02 am 
Offline
Newbie
User avatar

Joined: Tue Jul 17, 2018 7:07 pm
Posts: 52
Location: Barnsley, UK
Are you using round port near engine?

If so forget about logging!

I tried on 3 different cars and it's impossible. You need to install additional OBD type port from EWS module if you want to even think about it.


Top
 Profile  
 
 Post subject: Re: DS2 - datalogging MS41/43 by serial protocol
PostPosted: Sun Feb 16, 2020 3:13 pm 
Offline
Newbie

Joined: Fri Sep 14, 2018 3:57 pm
Posts: 5
its now connected by new obd2 port near ews module , thanks :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 520 posts ]  Go to page Previous  1 ... 31, 32, 33, 34, 35  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl