Page 1 of 1

Conversion from Speeduino 1994 BMW 325is [Custom Board]

Posted: Mon May 30, 2022 12:22 pm
by zarboz
Hello


I have a bmw 325is that I am working to convert from the speeduino OS on its stm32 board to rusefi
https://oshwlab.com/b.brazdziunas/scg-ecu_copy_copy_copy_copy_copy_copy_copy_copy_copy_copy_copy_copy_copy_copy_copy_copy
Image

created by user:
https://rusefi.com/forum/memberlist.php?mode=viewprofile&u=1664

Image


Car is completely stock 5spd 325is with no modifications done to engine. Goal of going to stand alone was for e85 flexibility and future minded planning for boost this summer


I have been tinkering with RusEFI trying to port my working speeduino tune over to it and having some mixed success. I am hoping to get a first start on RusEFI video here in the next weekend or two

Re: [RusEfi] Conversion from Speeduino 1994 BMW 325is

Posted: Mon May 30, 2022 12:23 pm
by zarboz
in case anyone is wondering when wiring this ECU in the ETK(Wiring manual for BMW) calls out the VR lines for this DME pinout incorrectly

Black == VR +
Yellow == VR-




here are my wiring notes from install

Re: [RusEfi] Conversion from Speeduino 1994 BMW 325is

Posted: Mon May 30, 2022 4:49 pm
by AndreyB

Re: [RusEfi] Conversion from Speeduino 1994 BMW 325is

Posted: Mon May 30, 2022 7:56 pm
by AndreyB
The whole point of https://github.com/rusefi/rusefi/blob/master/firmware/config/boards/48way/connectors/main.yaml is to automatically produce nice https://github.com/rusefi/rusefi/blob/master/firmware/tunerstudio/generated/rusefi_48way.ini file

I've just enabled it https://github.com/rusefi/rusefi/commit/401073b168a16e0a5e62b8514008aea5d506378a and to my surpise it has failed due to invalid YAML

I've fixed the typo and now little bird tells me that you have manually generated one of the files? https://github.com/rusefi/rusefi/commit/29bd6677bd9a3b66ea09052aa4a1cbcacdded2f6 it's OK but a weird way to spend your time in my opinion :)

This board needs a more unique name, "rusEFI 48 way" is too risky to be confused with microRusEFI and alphax-4chan

Re: [RusEfi] Conversion from Speeduino 1994 BMW 325is

Posted: Tue May 31, 2022 12:28 am
by zarboz
You would Definitely have to ask @opelPanFan (Ben)

AndreyB wrote:
Mon May 30, 2022 7:56 pm
The whole point of https://github.com/rusefi/rusefi/blob/master/firmware/config/boards/48way/connectors/main.yaml is to automatically produce nice https://github.com/rusefi/rusefi/blob/master/firmware/tunerstudio/generated/rusefi_48way.ini file

I've just enabled it https://github.com/rusefi/rusefi/commit/401073b168a16e0a5e62b8514008aea5d506378a and to my surpise it has failed due to invalid YAML

I've fixed the typo and now little bird tells me that you have manually generated one of the files? https://github.com/rusefi/rusefi/commit/29bd6677bd9a3b66ea09052aa4a1cbcacdded2f6 it's OK but a weird way to spend your time in my opinion :)

This board needs a more unique name, "rusEFI 48 way" is too risky to be confused with microRusEFI and alphax-4chan
Haha yah I think I have realized that after the discourse on github....


I wasn't sure what to do for a name as the design wasn't produced by me?
Perhaps I can just PR to initial it after the designers silkscreen stamp?
OPF_Racing_48way
am quite open for anything there as I wasn't sure what to do for a name

Re: Conversion from Speeduino 1994 BMW 325is

Posted: Sun Jun 12, 2022 5:53 pm
by zarboz
I extracted the deadtimes from the stock ecu's flash

7.797 | 10.01 | 11.99 | 14.03 | 16.00 ->Volts
2.100 | 1.080 | 0.720 | 0.560 | 0.360 ->MS

Re: Conversion from Speeduino 1994 BMW 325is

Posted: Sun Jun 19, 2022 8:09 pm
by Simon@FutureProof
Those dead times look very close to the data I have here so should be good.
image.png
image.png (39.34 KiB) Viewed 7546 times

Re: Conversion from Speeduino 1994 BMW 325is [Custom Board]

Posted: Sat Jun 25, 2022 9:55 pm
by zarboz
ECU I extracted these from is the red label Bosch 413 DME with the greenish injectors on an m50.


Hopefully I have some time next weekend to make the full change over to RusEFI, was having a hard time understanding how to set my trigger offset in this firmware
in speeduino I am using -325 as my trigger offset but I dont see negative values in anyones tunes with similar triggers as mine on the RusEFI Online hub and when I tried -325 a few weeks back I had no luck in getting engine going.

Re: Conversion from Speeduino 1994 BMW 325is [Custom Board]

Posted: Sat Jun 25, 2022 10:06 pm
by AndreyB
Reminder that engine sniffer tab in rusEFI console is where you see actual engine schedule with trigger and spark and injectors - that allows to visualize response to trigger offset changes

also is not it always/usually 90 on 60/2?

Re: Conversion from Speeduino 1994 BMW 325is [Custom Board]

Posted: Mon Jun 27, 2022 12:45 pm
by Simon@FutureProof
No, M50tu and later used a different offset. 324 degrees.
M20,30,50, S50 and S54 use 84 degrees and M50tu, 52, 54 are 324 degrees.

I can probably help here as I have my M20 wired up to run a red label ECU, drove it a couple of years on it before converting to RE.
Unfortunately my full tune is on an older firmware, I can provide it but you will need to manually move the tables over and check it for the latest versions of the firmware but it should work as a base map. (M20B25 with whole M50tu loom and sensors, green top M50tu injectors and regulator)

The injector values on my chart were extracted from the UK version of the red label. Did you use tunerpro to do it?
image.png
image.png (28.3 KiB) Viewed 7394 times

Re: Conversion from Speeduino 1994 BMW 325is [Custom Board]

Posted: Mon Jun 27, 2022 11:39 pm
by zarboz
Simon@FutureProof wrote:
Mon Jun 27, 2022 12:45 pm
No, M50tu and later used a different offset. 324 degrees.
M20,30,50, S50 and S54 use 84 degrees and M50tu, 52, 54 are 324 degrees.

I can probably help here as I have my M20 wired up to run a red label ECU, drove it a couple of years on it before converting to RE.
Unfortunately my full tune is on an older firmware, I can provide it but you will need to manually move the tables over and check it for the latest versions of the firmware but it should work as a base map. (M20B25 with whole M50tu loom and sensors, green top M50tu injectors and regulator)

The injector values on my chart were extracted from the UK version of the red label. Did you use tunerpro to do it?

image.png

A good buddy of mine had worked out the maps using IDA and shared his xdf with me in private


Well it looks like the tables I have from my speeduino tune can pop right in

this was the missing thing (I had to set to -325 in speeduino) but it appears I should be using 325(positive) in RE

Should know by next weekend when its finally nice weather out here if that small change get's the car up and running. If so I will definitely film it and upload to the thread