NefMoto

Technical => Reverse Engineering => Topic started by: Ghostrider1911 on May 19, 2022, 06:45:43 AM



Title: MS42 DTC Removal
Post by: Ghostrider1911 on May 19, 2022, 06:45:43 AM
Hello there!

i have 328i MS42 with EWS Off, but the DTC Code is still there.
The Engine is running in E30 Chassis, so no EWS Modul is connected.

I was able to clear all other DTCs except the EWS Connection Error (DTC 128)

For Vehicle Inspection it would be nice if there are no errors.

All other Errors could be deleted with the TunerPro Definition Files, i just set Error Counter Increase to 0. But for the EWS Connection Error, there is no definition.


I would be really glad if someone is able to help me.

I found out that the Error Counter Increase Bytes are stored between 0x19A and 0x1DC.

But how can i find out which one is the right one?

As it is possible to disable all the other Errors here, i thought there must be the right byte somewhere between.

Greetings and have a nice day ;)


Title: Re: MS42 DTC Removal
Post by: sda2 on May 20, 2022, 01:56:53 AM
Someone actually using my patchlist, nice :D

That is a known bug in both MS42 and MS43. BMW referenced c_abc_max_tout_imob instead of c_abc_inc_tout_imob for comparison.

I did a code fix for that a while ago, but it needs full read. Attached you'll find the patched binary.


Title: Re: MS42 DTC Removal
Post by: Ghostrider1911 on May 22, 2022, 11:57:50 PM
Thank you very much!

I am really glad that you writed this Patchlist, otherwise getting the MS42 to work properly in E30 Chassis would be nearly impossible.

So you want to say there is no ordinary way to set the INC IMOB Error to 0 ?

I will try your patch asap.

Thank you very much!

How are you able to find this Errors? Maybe with IDA Pro?

I am very interested in this topic, but my success with IDA Pro is near zero.

Maybe you can help me with one other Problem,
for the MS43 there is a Patch that improves VSS reading.

I wired the E30 Diff Sensor to the MS42, i changed c_vs_fac, i get readings that are at least a bit valid.

But the reading jumps up an down crazy, so sometimes the ecu is confused, for example anti-jerk does not work correctly sometimes.

-> I think the Problem here is: in E46 the VSS Signal comes from the ABS /DSC, this Signal is processed and smoothed out already. Of course the E30 Diff Signal is a bit more "raw".

Is it maybe possible to adapt this Patch for MS43 also for MS42? I would be very happy :)

Quote
E3x Differential Vehicle Speed Sensor Accuracy Improvement
Parameters
[PATCH] E3x Differential Vehicle Speed Sensor Accuracy Improvement - Skips division of VS signal

Explanation
This will skip the division of the speed sensor signal in ECU code to make the vehicle speed reading more accurate with older BMW speed sensors located inside the rear differential.

Very handy if you install M54 engine into E30 or E34 and want to keep the VS sensor of the rear axle differential. Set c_vs_fac to ~1096 impulses per kilometer.

Greetings, i am looking forward to hearing from you :)


Title: Re: MS42 DTC Removal
Post by: Ghostrider1911 on May 23, 2022, 08:42:49 AM
Hello again,

i just wrote your patched .bin File.
But the EWS Connection Error still appears.

I flashed via MS4X Flasher 1.1.3 as Full Flash

I flashed the attached V15 (i only changed some small things, idle rpm ...)
Maybe you can help me?