RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Tue Dec 23, 2025 5:34 pm

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 621 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 42  Next
Author Message
 Post subject: Re: Deceleration
PostPosted: Mon Jan 19, 2015 1:35 pm 
Offline
Experienced

Joined: Thu Sep 25, 2014 12:53 pm
Posts: 627
Location: Houston, TX
busterhax wrote:
If I can find the fast negative detection on ms41.1 I'll play around with it tomorrow.

You said to disable fast negative detection. Would that be all of the fast negative values? I think there was rpm, vs, etc



Let me know if and how you find the locations of those single values in the hexdump, I'd like to be able to eventually add them to the XML. I was able to find the maps fairly easy, but the single values early in the hexdump (not only in the acceleration/deceleration maps, but other significant values as well) are much more difficult for me. I wish I had more time and knowledge on how to look at the dump with IDA Pro, but I'm not nearly as advanced. Thank you.


Top
 Profile  
 
 Post subject: Re: Deceleration
PostPosted: Mon Jan 19, 2015 2:18 pm 
Offline
Experienced

Joined: Sat Mar 15, 2014 6:46 pm
Posts: 276
Location: Belarus
Enabled wrote:
Let me know if and how you find the locations of those single values in the hexdump, I'd like to be able to eventually add them to the XML. I was able to find the maps fairly easy, but the single values early in the hexdump (not only in the acceleration/deceleration maps, but other significant values as well) are much more difficult for me. I wish I had more time and knowledge on how to look at the dump with IDA Pro, but I'm not nearly as advanced. Thank you.


tell me which values, ill find them in my ms41.1 disassembly.


Top
 Profile  
 
 Post subject: Re: Deceleration
PostPosted: Mon Jan 19, 2015 2:36 pm 
Offline
Senior Member

Joined: Fri Feb 10, 2006 7:04 pm
Posts: 2661
Location: RIP
d_munter wrote:
Enabled wrote:
Let me know if and how you find the locations of those single values in the hexdump, I'd like to be able to eventually add them to the XML. I was able to find the maps fairly easy, but the single values early in the hexdump (not only in the acceleration/deceleration maps, but other significant values as well) are much more difficult for me. I wish I had more time and knowledge on how to look at the dump with IDA Pro, but I'm not nearly as advanced. Thank you.


tell me which values, ill find them in my ms41.1 disassembly.

The MS41.1 equivalent of byte_CAL_1020D (MS41.2). This is "Fast Negative Throttle - Minimum Throttle Gradient".

_________________
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: Deceleration
PostPosted: Mon Jan 19, 2015 3:02 pm 
Offline
Experienced

Joined: Thu Sep 25, 2014 12:53 pm
Posts: 627
Location: Houston, TX
d_munter wrote:
Enabled wrote:
Let me know if and how you find the locations of those single values in the hexdump, I'd like to be able to eventually add them to the XML. I was able to find the maps fairly easy, but the single values early in the hexdump (not only in the acceleration/deceleration maps, but other significant values as well) are much more difficult for me. I wish I had more time and knowledge on how to look at the dump with IDA Pro, but I'm not nearly as advanced. Thank you.


tell me which values, ill find them in my ms41.1 disassembly.



For this topic I need to confirm:

??Fast Negative Throttle - Minimum Throttle Gradient - 0x225h
??Fast Negative Throttle - Minimum Vehicle Speed - 0x2D0h
??Fast Negative Throttle - Minimum Load Difference - 0x2B8h
??Fast Negative Throttle - Minimum Coolant Temperature - 0x35Fh
(as well as the maps that I put in the screenshot earlier)


I cannot find:
Fast Negative Throttle - Minimum Engine Speed - Somewhere between 0x2ECh to 0x321h (0x300h or 0x301h?)
Fast Negative Throttle - Minimum Load - no similar maps anywhere




These single values are as far as I know impossible to confirm without IDA. I also want to confirm many other values from other topics (Catalyst Heating, VANOS maps are very different, Closed Loop, etc) but I will spare it from this thread, maybe I'll PM you about them.


Top
 Profile  
 
 Post subject: Re: Deceleration
PostPosted: Tue Jan 20, 2015 11:58 am 
Offline
Experienced

Joined: Sat Mar 15, 2014 6:46 pm
Posts: 276
Location: Belarus
Enabled wrote:
For this topic I need to confirm:

??Fast Negative Throttle - Minimum Throttle Gradient - 0x225h
??Fast Negative Throttle - Minimum Vehicle Speed - 0x2D0h
??Fast Negative Throttle - Minimum Load Difference - 0x2B8h
??Fast Negative Throttle - Minimum Coolant Temperature - 0x35Fh

I cannot find:
Fast Negative Throttle - Minimum Engine Speed - Somewhere between 0x2ECh to 0x321h (0x300h or 0x301h?)
Fast Negative Throttle - Minimum Load - no similar maps anywhere


For 328 '98 dump i have:

Fast Negative Throttle - Minimum Throttle Gradient -> 0x225h - threshold to detect fast deceleration in range 0...FFH | 0...2988 | in 11,72 | = 621 °TPS/sec
Fast Negative Throttle - Minimum Vehicle Speed -> 0x2D0h - engine speed gradient, resolution in range 80...7FH | -4096 : 4064 | in 32 = 800 rpm
Fast Negative Throttle - Minimum Load Difference -> 0x2B8h - MAF_MMV_DIF threshold to detect fast deceleration in range 0...FFH | 0...1389 | in 5,45 = 98 mg/TDC
Fast Negative Throttle - Minimum Coolant Temperature -> 0x35Fh - coolant temperature threshold to detect fast deceleration in range 0...FEH | -48...142,5 | in 0,75 = 72 °C
Fast Negative Throttle - Minimum Engine Speed -> 0x2FCh - engine speed threshold to detect fast deceleration in range 0...FFH | 0...8160 | in 32 = 4096 rpm (m3 = 0 rpm?!)

Fast Negative Throttle - Minimum Load -> 0x1706h - MAF_MMV threshold to detect fast deceleration. X - axis at 0x1613h is the same as in M3, but data is different:
Code:
M3: db 0B8h,0B8h,0B8h, 8Eh, 57h, 57h

Code:
328: db 0B8h,0A9h, 60h, 4Eh, 4Eh, 4Eh


Top
 Profile  
 
 Post subject: Re: Deceleration
PostPosted: Tue Jan 20, 2015 5:56 pm 
Offline
Experienced

Joined: Thu Sep 25, 2014 12:53 pm
Posts: 627
Location: Houston, TX
d_munter wrote:
Enabled wrote:
For this topic I need to confirm:

??Fast Negative Throttle - Minimum Throttle Gradient - 0x225h
??Fast Negative Throttle - Minimum Vehicle Speed - 0x2D0h
??Fast Negative Throttle - Minimum Load Difference - 0x2B8h
??Fast Negative Throttle - Minimum Coolant Temperature - 0x35Fh

I cannot find:
Fast Negative Throttle - Minimum Engine Speed - Somewhere between 0x2ECh to 0x321h (0x300h or 0x301h?)
Fast Negative Throttle - Minimum Load - no similar maps anywhere


For 328 '98 dump i have:

Fast Negative Throttle - Minimum Throttle Gradient -> 0x225h - threshold to detect fast deceleration in range 0...FFH | 0...2988 | in 11,72 | = 621 °TPS/sec
Fast Negative Throttle - Minimum Vehicle Speed -> 0x2D0h - engine speed gradient, resolution in range 80...7FH | -4096 : 4064 | in 32 = 800 rpm
Fast Negative Throttle - Minimum Load Difference -> 0x2B8h - MAF_MMV_DIF threshold to detect fast deceleration in range 0...FFH | 0...1389 | in 5,45 = 98 mg/TDC
Fast Negative Throttle - Minimum Coolant Temperature -> 0x35Fh - coolant temperature threshold to detect fast deceleration in range 0...FEH | -48...142,5 | in 0,75 = 72 °C
Fast Negative Throttle - Minimum Engine Speed -> 0x2FCh - engine speed threshold to detect fast deceleration in range 0...FFH | 0...8160 | in 32 = 4096 rpm (m3 = 0 rpm?!)

Fast Negative Throttle - Minimum Load -> 0x1706h - MAF_MMV threshold to detect fast deceleration. X - axis at 0x1613h is the same as in M3, but data is different:
Code:
M3: db 0B8h,0B8h,0B8h, 8Eh, 57h, 57h

Code:
328: db 0B8h,0A9h, 60h, 4Eh, 4Eh, 4Eh




Thank you, I'd love to know what magic gave you the locations of those... haha. At least I know for the most part that I'm finding the corresponding maps ok even without IDA Pro. Of course the large amount of work was done to discover them on MS41.2 to begin with.



Today I drove the car, and on cold (not fully warm) there is about 4-5 seconds of crackles/burbles (beautifully sounding) on deceleration, and once warm, it changes to what is heard on the video.


Top
 Profile  
 
 Post subject: Re: Deceleration
PostPosted: Tue Jan 20, 2015 6:17 pm 
Offline
Experienced

Joined: Sat Mar 15, 2014 6:46 pm
Posts: 276
Location: Belarus
Can you show as your values at all these locations?


Top
 Profile  
 
 Post subject: Re: Deceleration
PostPosted: Tue Jan 20, 2015 6:35 pm 
Offline
Senior Member

Joined: Fri Feb 10, 2006 7:04 pm
Posts: 2661
Location: RIP
Don't forget, you also need to compare the Deceleration - Ignition Retard tables...

_________________
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: Deceleration
PostPosted: Tue Jan 20, 2015 10:29 pm 
Offline
Experienced

Joined: Thu Sep 25, 2014 12:53 pm
Posts: 627
Location: Houston, TX
Here's Deceleration Fuel Enleanment for MS41.1 ID60 in the same style and order as mrf582's post:


Attachment:
Deceleration Fuel Enleanment MS411.png





Here's Deceleration Ignition Retard for MS41.1 ID60 in the same style and order as mrf582's post:
Yes, I have verified "Ignition Retard - Change Limitation B" a few times, because that value looks very different.


Attachment:
Deceleration Ignition Retard MS411.png





Here's Acceleration/Deceleration Detection for MS41.1 in the order they appear in RomRaider:

*Updated to XML v0.32 definitions*

Attachment:
Acceleration Deceleration Detection MS411.png









There are some major differences in some maps. All from the Stock BMW Daten File converted bin (my car's dump was exactly the same on these maps)
**Also need to note that the above screenshots use the same assumed conversion factor as MS41.2, while I didn't verify if MS41.1 has a different conversion factor.**


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


Last edited by Enabled on Wed Jan 21, 2015 12:53 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Deceleration
PostPosted: Wed Jan 21, 2015 1:11 am 
Offline
Senior Member

Joined: Fri Feb 10, 2006 7:04 pm
Posts: 2661
Location: RIP
Wow, some of those tables are completely different. The Fuel Enleanment - Initial table doesn't even have the same shape as the MS41.2 version. I'm wondering if this is not the same table. I also wonder if the logic is different between the two ECUs.

*Also, I made a correction to what we were calling 'Min Vehicle Speed' in the FNT tables. It is actually 'Min Engine Speed Gradient'. I've updated my 1st post and the ECU definitions in v0.32.

_________________
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: Deceleration
PostPosted: Wed Jan 21, 2015 2:41 am 
Offline
Experienced

Joined: Mon Apr 15, 2013 7:04 am
Posts: 101
Messed with 411 on the way home tonight to try to trim some of 411's 'tip out hang' that is extremely annoying and apparent when adding S52 cams and throwing a stock 412 ECU in there negates it completely. I got it to improve slightly on heavy throttle lift when shifting but cant seem to affect 'light lifting' if you will between shifts. I basically cut and pasted 412 values into the 411 maps. Ill update tomorrow which changes exactly i made.


Top
 Profile  
 
 Post subject: Re: Deceleration
PostPosted: Wed Jan 21, 2015 3:11 am 
Offline
Senior Member

Joined: Fri Feb 10, 2006 7:04 pm
Posts: 2661
Location: RIP
Make the Ign Retard - Negative Throttle table values more negative to reduce rev hang when you're not lifting throttle enough to close. Also increase the Change Limitation tables to promote faster Ignition retard application.

_________________
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: Deceleration
PostPosted: Wed Jan 21, 2015 3:51 am 
Offline
Experienced

Joined: Sat Mar 15, 2014 6:46 pm
Posts: 276
Location: Belarus
mrf582 wrote:
Wow, some of those tables are completely different. The Fuel Enleanment - Initial table doesn't even have the same shape as the MS41.2 version. I'm wondering if this is not the same table. I also wonder if the logic is different between the two ECUs.


The Fuel Enleanment - Initial = IP_TI_FAC_PUR__AT___N_32__MAF = 0x18D4h.
as i can see in a code logic is the same, but tables are different.


Top
 Profile  
 
 Post subject: Re: Deceleration
PostPosted: Wed Jan 21, 2015 2:29 pm 
Offline
Experienced

Joined: Thu Sep 25, 2014 12:53 pm
Posts: 627
Location: Houston, TX
328ijunkie wrote:
Messed with 411 on the way home tonight to try to trim some of 411's 'tip out hang' that is extremely annoying and apparent when adding S52 cams and throwing a stock 412 ECU in there negates it completely. I got it to improve slightly on heavy throttle lift when shifting but cant seem to affect 'light lifting' if you will between shifts. I basically cut and pasted 412 values into the 411 maps. Ill update tomorrow which changes exactly i made.



I'm not familiar what you mean by tip out hang? Now I'll have something to look for while driving my car. I'm with S52 cams on MS41.1, tuned, but not for cams specifically, it was for M50 manifold and boltons at the time of tune. I'll have to look through your VANOS tuning tips to figure out what else I can do to maximize power from cams as well.


Top
 Profile  
 
 Post subject: Re: Deceleration
PostPosted: Wed Jan 21, 2015 3:02 pm 
Offline
Senior Member

Joined: Fri Feb 10, 2006 7:04 pm
Posts: 2661
Location: RIP
'tip-out hang' is 'rev hang'. It is when the Engine Speed lingers high for a while before coming down and can happen when you disengage the clutch under load. The most common time for this to happen is during a shift while accelerating briskly. This happens if the fuel injectors are on and the Ignition Timing is too high. To solve this, you can either cut/reduce fuel and/or retard ignition during these transient conditions.

BTW, there is a clearer need now than ever to start logging and sharing your datalogs during these discussions. Things are getting advanced enough that we can't just go off subjective reports from the field anymore. I had downloaded a development copy of the RomRaider Logger but that link seems to be dead now. I'll work with Dale to see what we can do to get it going again. I know he is in the middle of some pretty substantial changes to more gracefully integrate the MS41 stuff into RR.

But we should all be datalogging before/after every modification and posting the results.

_________________
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  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 621 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 42  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 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

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