[rusEfi] Conversion from Speeduino 1994 BMW 325is [Custom Board]

Your chance to introduce yourself and your vehicle
Post Reply
zarboz
Posts: 8
Joined: Tue Aug 31, 2021 5:30 pm
Github Username: zarboz

Conversion from Speeduino 1994 BMW 325is [Custom Board]

Post 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
Last edited by zarboz on Mon May 30, 2022 12:28 pm, edited 1 time in total.
zarboz
Posts: 8
Joined: Tue Aug 31, 2021 5:30 pm
Github Username: zarboz

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

Post 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
User avatar
AndreyB
Site Admin
Posts: 13000
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

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

Post by AndreyB »

Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 13000
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

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

Post 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
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
zarboz
Posts: 8
Joined: Tue Aug 31, 2021 5:30 pm
Github Username: zarboz

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

Post 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
zarboz
Posts: 8
Joined: Tue Aug 31, 2021 5:30 pm
Github Username: zarboz

Re: Conversion from Speeduino 1994 BMW 325is

Post 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
Simon@FutureProof
contributor
contributor
Posts: 400
Joined: Tue Jul 24, 2018 8:55 pm
Github Username: Orchardperformance
Slack: Orchardperformance

Re: Conversion from Speeduino 1994 BMW 325is

Post 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 637 times
Now keeping MRE and Proteus in stock in the UK - https://www.FutureProofPerformance.com
zarboz
Posts: 8
Joined: Tue Aug 31, 2021 5:30 pm
Github Username: zarboz

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

Post 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.
User avatar
AndreyB
Site Admin
Posts: 13000
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

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

Post 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?
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Simon@FutureProof
contributor
contributor
Posts: 400
Joined: Tue Jul 24, 2018 8:55 pm
Github Username: Orchardperformance
Slack: Orchardperformance

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

Post 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 485 times
Now keeping MRE and Proteus in stock in the UK - https://www.FutureProofPerformance.com
zarboz
Posts: 8
Joined: Tue Aug 31, 2021 5:30 pm
Github Username: zarboz

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

Post 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
Post Reply