|
RomRaider
Documentation
Community
Developers
|
| Author |
Message |
|
mrf582
|
Post subject: *** MS41 ECU & Logger Definitions *** Posted: Wed Jun 04, 2014 2:51 am |
|
 |
| Senior Member |
Joined: Fri Feb 10, 2006 11:04 pm Posts: 2661 Location: RIP
|
This thread will track all the updates to the definitions file for the MS41. Right now, the (1996 to 1999 USDM M3) MS41.2 ID12 has the most maps defined for it as it is the primary file being disassembled/analyzed etc. Recently we've also added some support for an MS41.1 ID60 and MS41.0 ID41. This first post will always have the latest version attached.How to DownloadTo download these files, you must register for an account. Then, you must create a post in the BMW MS41 Tuning New Members thread and wait for a Moderator to review it. Tell us a bit about yourself, your car and why you want access to these files. When your account is approved you can download any attachment posted in these threads. Option # 1Semi-Automatic Software InstallMS41 ECU Portal - https://sites.google.com/site/openms41/ ... ecu-portal*This app will automatically setup your PC for tuning with RomRaider including downloading, installing, and configuring definitions. Option # 2Manual Install - JavaJava 32-bit - https://java.com/en/download/manual.jspDownload " Windows Offline"" *"Windows Offline (64-bit)" Java 64-bit is NOT compatible. Manual Install - RomRaiderRomRaider Editor and Logger - http://www.romraider.com/RomRaider/DownloadManual - Install ECU DefinitionsDownload MS41 ECU Definitions attached to this post. Quote: - Save the attached XML file to any User directory (not Program Files). - Run RomRaider and select “ECU Definitions” → “ECU Definition Manager” from the menu bar. - If any older definitions files are listed, select each file and click “Remove”. - Click “Add” and select the location of the XML file attached. - Click “Save”.
"View" → "Table Properties" Description of what that table does and how to tune it.
Manual - Install Logger DefinitionsDownload MS41 Logger Definitions attached to this post. *Use with RomRaider 7.0+ and ECU Definitions v0.46+ Quote: - Save the attached XML file to any User directory (not Program Files). - Run RomRaider Logger and select “Settings” → “Logger Definition Location” from the menu bar. - Select the location of the XML file attached. - Click “Open”.
Useful LinksDownload Stock ROMsStock ROMs - http://www.romraider.com/forum/viewtopi ... 42&t=11338Reflash MS41 ECU / DME - https://sites.google.com/site/openms41/ ... flash-toolTune MAFMS41 MAF Tuning Spreadsheet/Application - viewtopic.php?f=58&t=20172MAF Transfer Curves - viewtopic.php?f=42&t=12453https://github.com/ba114/MAF-Scaling/blob/main/MAF%20Scaling.xlsxTune FuelFuel Tuning - viewtopic.php?f=58&t=13969Fuel Injector Tuning Spreadsheet/Application - viewtopic.php?f=58&t=20186Common AnswersFAQ - https://sites.google.com/site/openms41/Update Forum LanguageInstructions - viewtopic.php?f=58&t=15314Latest ECU Definitions XML Version - v0.46.1Release Notes - http://www.romraider.com/forum/viewtopi ... 30#p148430*Only the 24KB bin will display all the tables AVAILABLE for a given ECU CAL ID.*Some CAL IDs may not have ALL the tables defined for them. *Some CAL IDs may not have ANY of the tables defined and report an ECU Not Found error. You do not have default permission to use any information learned from this forum for any commercial purpose without my written consent. Please email me to discuss any deviations.BA114 edit: I have added updated 0.46.2 definitions containing information found by rob46/sda2 containing the load limits for MS41.0 ID41 and MS41.2 ID12. Forced induction users are no longer restricted to 1000mg/stk and can up the limit to the full 1389mg/stk. With the loss of Shek (MRF582) I haven't yet figured out how to maintain this or the interactions with MS41Portal
You do not have the required permissions to view the files attached to this post.
_________________ 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 |
|
 |
|
mrf582
|
Post subject: Re: MS41 ECU Definitions Posted: Wed Jun 04, 2014 2:54 am |
|
 |
| Senior Member |
Joined: Fri Feb 10, 2006 11:04 pm Posts: 2661 Location: RIP
|
XML Version - v0.05 Changes - Updated a table to reflect Timing Modifier (VANOS Active) - Updated a table to reflect Fuel Modifier (VANOS Active) EVILM3666 wrote: the table labeled unknown 12x16 under fueling is a ignition timing modifier for when vanos is a active. And the table under uknown 12x16 maf vs rpm is a fuel modifer for when vanos is active. Thanks to EVILM3666 for the information.
_________________ 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 |
|
 |
|
d_munter
|
Post subject: Re: MS41 ECU Definitions Posted: Wed Jun 04, 2014 9:26 am |
|
 |
| Experienced |
Joined: Sat Mar 15, 2014 10:46 pm Posts: 276 Location: Belarus
|
|
Speed limiter still wrong(?). Should be:
<table name="Engine Speed Limiter (AT)" storageaddress="0x193E"> <table name="Engine Speed Limiter (AT) (High Load)" storageaddress="0x1946"> <table name="Engine Speed Limiter (MT) (High Load)" storageaddress="0x194E"> <table name="Engine Speed Limiter (MT)" storageaddress="0x1956">
Remove "s" at line 401.
0x1BC is not ASC-T related. this is some kind of pre-defined counter for one of EVAP system parameters.
Definition file is not correct and not parsed by RomRaider. Check line 336: <description>This map modifies the fuel when VANOS is active. Formula is unknown.</description>
|
|
| Top |
|
 |
|
mrf582
|
Post subject: Re: MS41 ECU Definitions Posted: Wed Jun 04, 2014 1:20 pm |
|
 |
| Senior Member |
Joined: Fri Feb 10, 2006 11:04 pm Posts: 2661 Location: RIP
|
|
| Top |
|
 |
|
stickle
|
Post subject: Re: MS41 ECU Definitions Posted: Sun Jul 20, 2014 5:14 pm |
|
 |
| Newbie |
Joined: Mon Feb 18, 2013 9:58 am Posts: 25
|
|
hi, when i try open a .bin in romraider with the def, i get ECU Definitions not found
any ideas?
|
|
| Top |
|
 |
|
d_munter
|
Post subject: Re: MS41 ECU Definitions Posted: Mon Jul 21, 2014 6:50 am |
|
 |
| Experienced |
Joined: Sat Mar 15, 2014 10:46 pm Posts: 276 Location: Belarus
|
stickle wrote: hi, when i try open a .bin in romraider with the def, i get ECU Definitions not found
any ideas? wrong bin file. you need "30 39 31 32" bytes (= "0912" text) signature at offset 0Ch. <internalidaddress>C</internalidaddress> <internalidstring>0912</internalidstring>
|
|
| Top |
|
 |
|
stickle
|
Post subject: Re: MS41 ECU Definitions Posted: Mon Jul 21, 2014 12:22 pm |
|
 |
| Newbie |
Joined: Mon Feb 18, 2013 9:58 am Posts: 25
|
|
thanks, i got it to work with the .bin
will there be progress so it works on EU MS41.0 (1429954 software version or later?)
im also happy to help out with this if required.
|
|
| Top |
|
 |
|
mrf582
|
Post subject: Re: MS41 ECU Definitions Posted: Mon Sep 15, 2014 8:14 pm |
|
 |
| Senior Member |
Joined: Fri Feb 10, 2006 11:04 pm Posts: 2661 Location: RIP
|
Uploading v0.06 of the XML Added the following maps to the 'unknown' section from the 'VANOS maps' thread. viewtopic.php?f=42&t=10696I realized some of this functionality is known but I'd like to keep them here until we figure them out well enough to get a good map description developed. Code: <table name="2D - y14CE(TCO) - z1966" storageaddress="0x1966"> <table type="Y Axis" storageaddress="0x14CF" /> </table> <table name="2D - y14CE(TCO) - z1978" storageaddress="0x1978"> <table type="Y Axis" storageaddress="0x14CF" /> </table> <table name="2D - y14CE(TCO) - z199C" storageaddress="0x199C"> <table type="Y Axis" storageaddress="0x14CF" /> </table> <table name="2D - y14CE(TCO) - z198A" storageaddress="0x198A"> <table type="Y Axis" storageaddress="0x14CF" /> </table>
<table name="2D - y14C2(RPM) - z1922(TPS)" storageaddress="0x1922"> <table type="X Axis" storageaddress="0x14C3" /> </table>
<table name="3D - y13EF(TCO) x13D1(RPM) z154A" storageaddress="0x154A"> <table type="Y Axis" storageaddress="0x13D2" /> <table type="X Axis" storageaddress="0x13F0" /> </table> <table name="3D - y13F5(TCO) x13DD(RPM) z1594" storageaddress="0x1594"> <table type="Y Axis" storageaddress="0x13DE" /> <table type="X Axis" storageaddress="0x13F6" /> </table>
<table name="2D - y14CA(RPM) - z1938" storageaddress="0x1938"> <table type="X Axis" storageaddress="0x14CB" /> </table>
<table name="3D - x1381(VS) y14C2(RPM) z19CC" storageaddress="0x19CC"> <table type="X Axis" storageaddress="0x1382" /> <table type="Y Axis" storageaddress="0x14C3" /> </table> Added the following maps to the 'unknown' section from the 'MAF limits' thread. viewtopic.php?f=42&t=10926I realized some of this functionality is known but I'd like to keep them here until we figure them out well enough to get a good map description developed. Code: <table name="2D - x2948(MAF_KGH_MES) - z2982" storageaddress="0x2982"> <table type="X Axis" storageaddress="0x294A" /> </table> <table name="2D - x2948(MAF_KGH_MES) - z2994" storageaddress="0x2994"> <table type="X Axis" storageaddress="0x294A" /> </table> <table name="2D - x2948(MAF_KGH_MES) - z29A6" storageaddress="0x29A6"> <table type="X Axis" storageaddress="0x294A" /> </table> Also added the ability to change the load/rpm axis scaling. Due to the limitations of RR right now, I've made this the very last set of tables in the definition file so changes to it will be saved properly. Code: <table name="Axis - MAF" storageaddress="0x898"> </table> <table name="Axis - RPM" storageaddress="0x8B2"> </table>
Please let me know if I've missed or misinterpreted anything d_munter.
_________________ 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 |
|
 |
|
mrf582
|
Post subject: Re: MS41 ECU Definitions Posted: Fri Sep 19, 2014 7:01 pm |
|
 |
| Senior Member |
Joined: Fri Feb 10, 2006 11:04 pm Posts: 2661 Location: RIP
|
|
| Top |
|
 |
|
mrf582
|
Post subject: Re: MS41 ECU Definitions Posted: Fri Oct 03, 2014 10:47 pm |
|
 |
| Senior Member |
Joined: Fri Feb 10, 2006 11:04 pm Posts: 2661 Location: RIP
|
v0.08 One of our new members, Enabled, translated most of the known MS41.2 definitions to his MS4.1 with software version 0960. Code: <table name="Rear O2 Sensors" storageaddress="0x244" />
<table name="Activated Charcoal Filter Shut-off Valve Stuck Shut" storageaddress="0x230" /> <table name="Shut-off Valve -Charcoal Filter" storageaddress="0x231" /> <table name="52 Solenoid Valve -Exhaust Flap" storageaddress="0x232" /> <table name="215 Lambda Sensor Bank 1 or ASC/MSR/EML -Interface not plausible" storageaddress="0x233" /> <table name="219 CAN module -CAN Offline" storageaddress="0x234" /> <table name="20 CEL Failure" storageaddress="0x235" /> <table name="12 TPS or Plausibility" storageaddress="0x236" /> <table name="N Fuel injector Cyl N" storageaddress="0x237" /> <table name="53 Idle Speed Actuator" storageaddress="0x240" /> <table name="27 Idle Control Valve - Malfunction" storageaddress="0x241" /> <table name="8 Air Flow Meter (HFM)" storageaddress="0x242" /> <table name="25 Lambda Sensor Heater -Bank 1 / 55 Lambda Sensor Heater -Bank 2" storageaddress="0x243" /> <table name="79 Lambda Sensor Heater -Bank 1 Post Cat / 61 Lambda Sensor Heater -Bank 2 Post Cat" storageaddress="0x244" /> <table name="74 AirCon Compressor Relay" storageaddress="0x245" /> <table name="69 Fuel Pump Relay" storageaddress="0x246" /> <table name="50 EVAP Control Valve" storageaddress="0x247" /> <table name="35 Aux. Air Injection System Relay" storageaddress="0x248" /> <table name="62 Aux. Air Injection System -Switching Valve" storageaddress="0x249" /> <table name="14 Intake Air Temperature Sensor" storageaddress="0x24A" /> <table name="11 Tank Pressure Sensor (EVAP System)" storageaddress="0x24B" /> <table name="68 Tank Venting Valve" storageaddress="0x24C" /> <table name="Error counter for EVAP system (255 Tank Ventilation System -Valve Stuck Open), x25Eh (28h) is maximum point" storageaddress="0x24D" /> <table name="76 Lambda Sensor Voltage -Bank 2 / 75 Lambda Sensor Voltage -Bank 1, LBD_HEAT_MAX_VOLTS_0387, LBD_HEAT_MIN_VOLTS_0389" storageaddress="0x252" /> <table name="77 Lambda Sensor Voltage -Bank 1 Post Cat / 78 Lambda Sensor Voltage -Bank 2 Post Cat" storageaddress="0x253" /> <table name="21 VANOS -Electrical Fault" storageaddress="0x254" /> <table name="NN Ignition Coil Cyl N" storageaddress="0x255" /> <table name="56 Ignition Current Feedback Resistor - Open Circuit" storageaddress="0x256" />
<table name="MAF Sensor Scaling" storageaddress="0x2DB6" />
<table name="Global Fuel Injector Pulsewidth" storageaddress="0xB44"> <table type="X Axis" storageaddress="0x8C8" /> <table type="Y Axis" storageaddress="0x8E2" /> </table> <table name="WOT Enrichment" storageaddress="0xE9A"> <table type="Y Axis" storageaddress="0x8E2" /> </table> <table name="WOT Enrichment Mode - TPS% Threshold" storageaddress="0x141A"> <table type="Y Axis" storageaddress="0x8E2" /> </table> <table name="Fuel Modifier (VANOS Active)" storageaddress="0xD18"> <table type="X Axis" storageaddress="0x8C8" /> <table type="Y Axis" storageaddress="0x8E2" /> </table>
<table name="Partial Throttle Timing" storageaddress="0xEAE"> <table type="X Axis" storageaddress="0x8C8" /> <table type="Y Axis" storageaddress="0x8E2" /> </table> <table name="Wide Open Throttle Timing" storageaddress="0xF72"> <table type="X Axis" storageaddress="0x8C8" /> <table type="Y Axis" storageaddress="0x8E2" /> </table> <table name="Timing Modifier (VANOS Active)" storageaddress="0x1314"> <table type="X Axis" storageaddress="0x8C8" /> <table type="Y Axis" storageaddress="0x8E2" /> </table>
<table name="Idle target (AT)" storageaddress="0x1E50"> <table type="Y Axis" storageaddress="0x1D90" /> </table> <table name="Idle target (AT) (High Load)" storageaddress="0x1E70"> <table type="Y Axis" storageaddress="0x1D90" /> </table> <table name="Idle target (MT) (High Load)" storageaddress="0x1E7E"> <table type="Y Axis" storageaddress="0x1D90" /> </table> <table name="Idle target (MT)" storageaddress="0x1ED6"> <table type="Y Axis" storageaddress="0x1D90" /> </table>
<table name="Axis - MAF" storageaddress="0x8C8"> </table> <table name="Axis - RPM" storageaddress="0x8E2"> </table>
_________________ 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 |
|
 |
|
mrf582
|
Post subject: Re: MS41 ECU Definitions Posted: Tue Oct 07, 2014 11:23 pm |
|
 |
| Senior Member |
Joined: Fri Feb 10, 2006 11:04 pm Posts: 2661 Location: RIP
|
|
v0.09
Changed the formula for the Fueling and Timing modifier when VANOS is active. So now the formula adds or removes "injection in milliseconds" and "degrees of timing". Postiive numbers add, negative numbers subtract. This will have to be confirmed in IDA.
Also changed the versioning scheme a bit. Now the global filename will increase in revision and MS41 software version number that is located at address xC will be shown.
_________________ 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 |
|
 |
|
mrf582
|
Post subject: Re: MS41 ECU Definitions Posted: Sat Oct 18, 2014 11:27 pm |
|
 |
| Senior Member |
Joined: Fri Feb 10, 2006 11:04 pm Posts: 2661 Location: RIP
|
|
v0.10
Enabled converted the existing 24KB definitions for MS41.2 (0912) and MS41.1 (0960) to their 256KB counterparts which begin at x140000h. So now you should be able to open either 24KB or 256KB files from those software versions. Keep in mind, the 256KB file of MS41.2 floating around this forum is from a download I did using BMWScanner a couple of years ago which for some reason organizes the file so the 'calibration data' portion beigns at x10000h instead of the more correct x14000h which the MS41 Flash Tool produces.
_________________ 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 |
|
 |
|
mrf582
|
Post subject: Re: MS41 ECU Definitions Posted: Tue Oct 21, 2014 6:19 am |
|
 |
| Senior Member |
Joined: Fri Feb 10, 2006 11:04 pm Posts: 2661 Location: RIP
|
v0.11 Added the following 3 tables from subroutine 3C8C4. viewtopic.php?f=42&t=11132Code: <table type="2D" name="2D - y1A94(RPM) - z1BC8" category="Unknown" storagetype="uint8" endian="little" sizey="3" userlevel="1"> <scaling units="???" expression="x" to_byte="x" format="0" fineincrement="1" coarseincrement="10" /> <table type="Y Axis" name="Engine Speed" storagetype="uint16" > <scaling units="RPM" expression="x" to_byte="x" format="0" fineincrement="1" coarseincrement="10" /> </table> </table> <table type="3D" name="3D - x1A9C(TCO) y1A94(RPM) z1B74" category="Unknown" storagetype="uint16" endian="little" userlevel="1" sizex="8" sizey="3" > <scaling units="???" expression="x" to_byte="x" format="0" fineincrement="1" coarseincrement="10" /> <table type="X Axis" name="ECT" storagetype="uint8" endian="little"> <scaling units="°C" expression="x*.75-48" to_byte="(x+48)/.75" format="0" fineincrement="1" coarseincrement="10" /> </table> <table type="Y Axis" name="Engine Speed" storagetype="uint16" endian="little"> <scaling units="RPM" expression="x" to_byte="x" format="#" fineincrement="50" coarseincrement="100" /> </table> <description>?</description> </table>
<table type="3D" name="3D - x1CEC(MAF) y1CF6(RPM) - z1F20" category="Unknown" storagetype="uint8" endian="little" userlevel="1" sizex="4" sizey="4" > <scaling units="???" expression="x" to_byte="x" format="0" fineincrement="1" coarseincrement="10" /> <table type="X Axis" name="MAF" storagetype="uint16" endian="little"> <scaling units="kg/hr" expression="x*.015625" to_byte="x/.015625" format="0" fineincrement="1" coarseincrement="10" /> </table> <table type="Y Axis" name="Engine Speed" storagetype="uint16" endian="little"> <scaling units="RPM" expression="x" to_byte="x" format="#" fineincrement="50" coarseincrement="100" /> </table> <description>?</description> </table>
_________________ 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 |
|
 |
|
mrf582
|
Post subject: Re: MS41 ECU Definitions Posted: Tue Oct 21, 2014 9:31 pm |
|
 |
| Senior Member |
Joined: Fri Feb 10, 2006 11:04 pm Posts: 2661 Location: RIP
|
v0.12 Enabled defined the control bits so we can edit them right in RomRaider. You'll have to take the existing decimal value, convert to binary using programmer function in Windows calculator, flip the bit you want, then reconvert it back to decimal and enter that in. Go to Properties -> Description for an example. Code: <table type="2D" name="Control Bits" category="Control Bits" storagetype="uint8" endian="little" sizey="5" userlevel="1"> <scaling units="RAW" expression="x" to_byte="x" format="0" fineincrement="1" coarseincrement="10" /> <table type="Static Y Axis" name="Convert to BINARY FIRST, then make your binary edits; input reconverted Decimal back. See Properties Description" sizey="5"> <data>Byte 4</data> <data>Byte 5</data> <data>Byte 6</data> <data>Byte 7</data> <data>Byte 8</data>
</table> <description>These are control bits for various functions. You will have to convert it to binary, make your edits, then reconvert it back to decimal and plug that in. Bit # is from right to left starting at 0, up to 7. Example: Stock m3 ms41.2 at x08 is 00010110 (Decimal 22; 16h) M3 ews delete ms41.2 at x08 is 10010110 (Decimal 150; 96h)</description> </table> List of Control Bits viewtopic.php?f=42&t=11140
You do not have the required permissions to view the files attached to this post.
_________________ 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 |
|
 |
|
mrf582
|
Post subject: Re: MS41 ECU Definitions Posted: Thu Oct 23, 2014 7:10 pm |
|
 |
| Senior Member |
Joined: Fri Feb 10, 2006 11:04 pm Posts: 2661 Location: RIP
|
|
| Top |
|
 |
Who is online |
Users browsing this forum: Kolbenpaule and 4 guests |
|
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
|
|