[help needed] Looking for a solution for the Subaru EG33

Your chance to introduce yourself and your vehicle
sleepingAwake
Posts: 113
Joined: Fri Jan 13, 2017 4:15 am
Location: CT

Re: Looking for a solution for the Subaru EG33

Post by sleepingAwake »

AndreyB wrote:
Thu Jul 02, 2020 11:34 pm
Your hardware seems to work. All the remaining answers are in your settings in my opinion. A video of the board running would not help troubleshoot your settings.

If you are looking for any help from here please upload your incomplete tune to rusEFI online.
Just posted it. https://rusefi.com/online/view.php?msq=41
mck1117
running engine in first post
running engine in first post
Posts: 1493
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: Looking for a solution for the Subaru EG33

Post by mck1117 »

sleepingAwake wrote:
Thu Jul 02, 2020 11:47 pm
Just posted it.
oh boy your firmware is ancient never mind it's very new
Last edited by mck1117 on Thu Jul 02, 2020 11:52 pm, edited 1 time in total.
sleepingAwake
Posts: 113
Joined: Fri Jan 13, 2017 4:15 am
Location: CT

Re: Looking for a solution for the Subaru EG33

Post by sleepingAwake »

mck1117 wrote:
Thu Jul 02, 2020 11:49 pm
sleepingAwake wrote:
Thu Jul 02, 2020 11:47 pm
Just posted it.
oh boy your firmware is ancient
Shoot I thought I updated that.
mck1117
running engine in first post
running engine in first post
Posts: 1493
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: Looking for a solution for the Subaru EG33

Post by mck1117 »

sleepingAwake wrote:
Thu Jul 02, 2020 11:52 pm
mck1117 wrote:
Thu Jul 02, 2020 11:49 pm
sleepingAwake wrote:
Thu Jul 02, 2020 11:47 pm
Just posted it.
oh boy your firmware is ancient
Shoot I thought I updated that.
I read wrong, it's actually quite recent :)
sleepingAwake
Posts: 113
Joined: Fri Jan 13, 2017 4:15 am
Location: CT

Re: Looking for a solution for the Subaru EG33

Post by sleepingAwake »

mck1117 wrote:
Thu Jul 02, 2020 11:52 pm
sleepingAwake wrote:
Thu Jul 02, 2020 11:52 pm
mck1117 wrote:
Thu Jul 02, 2020 11:49 pm
sleepingAwake wrote:
Thu Jul 02, 2020 11:47 pm
Just posted it.
oh boy your firmware is ancient
Shoot I thought I updated that.
oh

I read wrong, it's actually quite recent :)
LOL and guess who just updated firmware again? Oh well. Didnt hurt but didnt help.
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Looking for a solution for the Subaru EG33

Post by AndreyB »

In rusEFI console there is "sensor live data" tag with event counters. Do these counters go up?
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
sleepingAwake
Posts: 113
Joined: Fri Jan 13, 2017 4:15 am
Location: CT

Re: Looking for a solution for the Subaru EG33

Post by sleepingAwake »

AndreyB wrote:
Fri Jul 03, 2020 12:15 am
REO is broken now :( Please paste tune as .zip attachment here.

In rusEFI console there is "sensor live data" tag with event counters. Do these counters go up?
Sadly no. Those counters never go up. Zero values.
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Looking for a solution for the Subaru EG33

Post by AndreyB »

Do you have continuity between MAX9926 output and stm32 inputs pins PA5 PC6?
Attachments
chrome_kXqR6E6YXA.jpg
chrome_kXqR6E6YXA.jpg (18.72 KiB) Viewed 16604 times
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
sleepingAwake
Posts: 113
Joined: Fri Jan 13, 2017 4:15 am
Location: CT

Re: Looking for a solution for the Subaru EG33

Post by sleepingAwake »

AndreyB wrote:
Fri Jul 03, 2020 12:37 am
Do you have continuity between MAX9926 output and stm32 inputs pins PA5 PC6?
No sir I do not. Excellent deduction. No continuity from that jumper to the pins.

Now why I do not is another question.
mck1117
running engine in first post
running engine in first post
Posts: 1493
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: Looking for a solution for the Subaru EG33

Post by mck1117 »

iirc you need a jumper across those two pins to connect the max9926 to the MCU
mck1117
running engine in first post
running engine in first post
Posts: 1493
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: Looking for a solution for the Subaru EG33

Post by mck1117 »

snip.PNG
snip.PNG (35.39 KiB) Viewed 16601 times
sleepingAwake
Posts: 113
Joined: Fri Jan 13, 2017 4:15 am
Location: CT

Re: Looking for a solution for the Subaru EG33

Post by sleepingAwake »

mck1117 wrote:
Fri Jul 03, 2020 12:57 am
snip.PNG
Yup didnt have one. Just added them and...
Attachments
2020-07-02_21_50_58_148rpm_0_maf_0.0.png
2020-07-02_21_50_58_148rpm_0_maf_0.0.png (36.07 KiB) Viewed 16600 times
mck1117
running engine in first post
running engine in first post
Posts: 1493
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: Looking for a solution for the Subaru EG33

Post by mck1117 »

looks to me like you have trigger sync! awesome!
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Looking for a solution for the Subaru EG33

Post by AndreyB »

It's the miracle of continuity!!!
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
sleepingAwake
Posts: 113
Joined: Fri Jan 13, 2017 4:15 am
Location: CT

Re: Looking for a solution for the Subaru EG33

Post by sleepingAwake »

AndreyB wrote:
Fri Jul 03, 2020 1:53 am
It's the miracle of continuity!!!
Considering the state of instructions circa 2017 and even now I consider it a miracle the board didnt burst into flames along with my car.
sleepingAwake
Posts: 113
Joined: Fri Jan 13, 2017 4:15 am
Location: CT

Re: Looking for a solution for the Subaru EG33

Post by sleepingAwake »

In TunerStudio when I trying to change from MAP to MAF and assign pin PA0 to MAF the ecu reboots with a critical error.

Something to the effect of gp pwn needs to use PA0
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Looking for a solution for the Subaru EG33

Post by AndreyB »

https://rusefi.com/online/view.php?msq=41 shows gppwm1_pin NONE same 2 3 4, that's good.

Something is using PA0 already so you have a pin conflict. Please tell something not to use PA0

In your tune I see auxVoltage1:PA0 auxVoltage2:PA0 place change those to NONE
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
sleepingAwake
Posts: 113
Joined: Fri Jan 13, 2017 4:15 am
Location: CT

Re: Looking for a solution for the Subaru EG33

Post by sleepingAwake »

AndreyB wrote:
Fri Jul 03, 2020 5:50 pm
https://rusefi.com/online/view.php?msq=41 shows gppwm1_pin NONE same 2 3 4, that's good.

Something is using PA0 already so you have a pin conflict. Please tell something not to use PA0

In your tune I see auxVoltage1:PA0 auxVoltage2:PA0 place change those to NONE
Thank you. I'm going to change that. However why is that the default? PA0 appears to be bound to MAP and those AUX pins out of the box.
That being said it never threw an error until I re-assigned MAP to MAF.
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Looking for a solution for the Subaru EG33

Post by AndreyB »

Correction: auxVoltage1 and auxVoltage2 were not used and dead code, I will remove them a bit further now. Thank you for pointing me at this issue!

New theory: you are not providing enough details to help you effectively. No screenshot of exact error and potentially not recent tune on REO? Please confirm that you have un-assigned pin from MAP while assigning it to MAF.
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
sleepingAwake
Posts: 113
Joined: Fri Jan 13, 2017 4:15 am
Location: CT

Re: Looking for a solution for the Subaru EG33

Post by sleepingAwake »

AndreyB wrote:
Fri Jul 03, 2020 6:46 pm
Correction: auxVoltage1 and auxVoltage2 were not used and dead code, I will remove them a bit further now. Thank you for pointing me at this issue!

New theory: you are not providing enough details to help you effectively. No screenshot of exact error and potentially not recent tune on REO? Please confirm that you have un-assigned pin from MAP while assigning it to MAF.
I actually just tried now.
First issue i cant find where to change pin assignment for auxvoltage1 and 2.
Second when I unassign MAP and try to assign MAF to PA0 I get the attached error.

TLDR: Unassigned PA0 from MAP and MAF, reboot ECU, try to assign PA0 to MAF, reboot, critical error.
Attachments

[The extension msq has been deactivated and can no longer be displayed.]

PA0 error.jpg
PA0 error.jpg (756.82 KiB) Viewed 16546 times
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Looking for a solution for the Subaru EG33

Post by AndreyB »

auxvoltage1 and 2 you can simply ignore I believe those play no role. Those would be removed further in the next hour.
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: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Looking for a solution for the Subaru EG33

Post by AndreyB »

Thank you for the screenshot it's always better to have one!

I cannot explain this :( I see gppwm1_pin NONE on https://rusefi.com/online/view.php?msq=41
What does TS show for GP PWM pins?
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
sleepingAwake
Posts: 113
Joined: Fri Jan 13, 2017 4:15 am
Location: CT

Re: Looking for a solution for the Subaru EG33

Post by sleepingAwake »

AndreyB wrote:
Fri Jul 03, 2020 7:04 pm
Thank you for the screenshot it's always better to have one!

I cannot explain this :( I see gppwm1_pin NONE on https://rusefi.com/online/view.php?msq=41
What does TS show for GP PWM pins?
Found it!

GP PWM 4 was set to PA0

IDK how or why

On to the next issue whatever it may be.
sleepingAwake
Posts: 113
Joined: Fri Jan 13, 2017 4:15 am
Location: CT

Re: Looking for a solution for the Subaru EG33

Post by sleepingAwake »

Thinking more about the coil and igniter setup led me on a google quest.

I found a post from someone using Megasquirt and his experience with using the default ignition settings. The igniter did not survive.

https://www.msextra.com/forums/viewtopic.php?f=104&t=40305#p294656
sleepingAwake
Posts: 113
Joined: Fri Jan 13, 2017 4:15 am
Location: CT

Re: Looking for a solution for the Subaru EG33

Post by sleepingAwake »

Regarding control of the stock IAC in the SVX. It has 2 pins labeled OPEN and CLOSE and a third for ground. The OEM manual says to expect 6-7 volts on either power pin with key on.

It looks like I'm not the only one dealing with 2 solenoid valves. This fellow ran into some issues controlling a Bosch IAC
https://rusefi.com/forum/viewtopic.php?f=2&t=1661&p=35414&hilit=iac#p35414
https://github.com/rusefi/rusefi/issues/1122

The issue is closed. But I can't tell from the dialogue if its been implemented in firmware or not.
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Looking for a solution for the Subaru EG33

Post by AndreyB »

this is believed to be working until someone tells us it's not
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
sleepingAwake
Posts: 113
Joined: Fri Jan 13, 2017 4:15 am
Location: CT

Re: Looking for a solution for the Subaru EG33

Post by sleepingAwake »

AndreyB wrote:
Tue Jul 07, 2020 3:07 pm
this is believed to be working until someone tells us it's not
Alright sounds good.
sleepingAwake
Posts: 113
Joined: Fri Jan 13, 2017 4:15 am
Location: CT

Re: Looking for a solution for the Subaru EG33

Post by sleepingAwake »

Hooked up a spare SVX IAC.

Using Pin PC13 and PE6 for IAC. I'm getting 3.3v on either pin and verified continuity from my harness to the gate of the responsible FET.
Setup in TS to use the aforementioned pins. No errors from TS or console.

When I plug in the IAC voltage drops to a few mv and nothing from the IAC. Getting 9.5 ohm from each iac pin to the center tap and 18.5ohms from coil to coil.

Shouldnt I be getting 6-7 volts on either pin? Maybe not. Reading the schematic the low side pins all seem to be 5v output.
Perhaps I've run up against a design wall or did I screw something up?
sleepingAwake
Posts: 113
Joined: Fri Jan 13, 2017 4:15 am
Location: CT

Re: Looking for a solution for the Subaru EG33

Post by sleepingAwake »

Looking at the factory wiring diagram it seems I should be applying 12volts+ to the center pin and PWM ground signal to the coils.

How on earth am I going to accomplish that?
Attachments
iaC diag.jpg
iaC diag.jpg (266.6 KiB) Viewed 16401 times
User avatar
Dron_Gus
contributor
contributor
Posts: 450
Joined: Wed Nov 13, 2013 1:11 pm
Location: S-Pb
Github Username: dron0gus

Re: Looking for a solution for the Subaru EG33

Post by Dron_Gus »

I connected center pin to +12 and drive open and close ends using PWM. I was able to rotate IAC from fully closed to fully opened by changing balance of duty cycles. This is what implemented now for two-wire IAC.
Post Reply