Subaru EZ30 Crank Trigger
Moderators: jsmcortina, muythaibxr
Subaru EZ30 Crank Trigger
Hello,
I am trying to run a Subaru EZ30D on a Microsquirt. I have just discovered that the Subaru 36-2-2-2 6cyl crank trigger is not currently supported by the Micro. I have included logs for the engine turning over. If there is any way for someone to help me out with this, I would be very grateful.
I am trying to run a Subaru EZ30D on a Microsquirt. I have just discovered that the Subaru 36-2-2-2 6cyl crank trigger is not currently supported by the Micro. I have included logs for the engine turning over. If there is any way for someone to help me out with this, I would be very grateful.
Re: Subaru EZ30 Crank Trigger
We made some changes to the firmware. Now I am getting lost sync codes 29 (semi sync failed), and 52 (tooth 30 error). Not really sure what either of those is implying? I have attached logs of cranking.
Re: Subaru EZ30 Crank Trigger
So, we changed a few things in the MS2 code:
36-2-2-2 ------------------------*/
//
//This section modified for Subaru EZ30 6cyl crank wheel
//
} else if (spkmode == 7) {
no_teeth = 30;
last_tooth = no_teeth;
deg_per_tooth[0] = 100;
deg_per_tooth[1] = 100;
deg_per_tooth[2] = 100;
deg_per_tooth[3] = 100;
deg_per_tooth[4] = 100;
deg_per_tooth[5] = 100;
deg_per_tooth[6] = 100;
deg_per_tooth[7] = 100;
deg_per_tooth[8] = 100;
deg_per_tooth[9] = 300; //Was 100
deg_per_tooth[10] = 300; //Was 100
deg_per_tooth[11] = 100;
deg_per_tooth[12] = 100;
deg_per_tooth[13] = 100;
deg_per_tooth[14] = 100;
//new second 180deg
deg_per_tooth[15] = 100; //Was 300
//old second 180deg
deg_per_tooth[16] = 100; //Was 300
deg_per_tooth[17] = 100;
deg_per_tooth[18] = 100;
deg_per_tooth[19] = 100;
deg_per_tooth[20] = 100;
deg_per_tooth[21] = 100;
deg_per_tooth[22] = 100;
deg_per_tooth[23] = 100;
deg_per_tooth[24] = 100;
deg_per_tooth[25] = 100;
deg_per_tooth[26] = 100;
deg_per_tooth[27] = 100;
deg_per_tooth[28] = 100;
deg_per_tooth[29] = 300;
smallest_tooth_crk = 100;
smallest_tooth_cam = 0;
trigger_teeth[0] = 0;
trigger_teeth[1] = 10;
trigger_teeth[2] = 20;
no_triggers = 3;
trig_angs[0] = -150 + tmp_offset; // 15 ATDC
trig_angs[1] = -150 + tmp_offset; // 15 ATDC
trig_angs[2] = -150 + tmp_offset; // 15 ATDC
The odd part is that we get good spark until the ECU is shut down from a key off. After the initial key off, we no longer have spark, and it goes back to the same old errors as before. Any ideas to why this is happening? I have attached an image of what my frin\end is using to try and figure out the code.
36-2-2-2 ------------------------*/
//
//This section modified for Subaru EZ30 6cyl crank wheel
//
} else if (spkmode == 7) {
no_teeth = 30;
last_tooth = no_teeth;
deg_per_tooth[0] = 100;
deg_per_tooth[1] = 100;
deg_per_tooth[2] = 100;
deg_per_tooth[3] = 100;
deg_per_tooth[4] = 100;
deg_per_tooth[5] = 100;
deg_per_tooth[6] = 100;
deg_per_tooth[7] = 100;
deg_per_tooth[8] = 100;
deg_per_tooth[9] = 300; //Was 100
deg_per_tooth[10] = 300; //Was 100
deg_per_tooth[11] = 100;
deg_per_tooth[12] = 100;
deg_per_tooth[13] = 100;
deg_per_tooth[14] = 100;
//new second 180deg
deg_per_tooth[15] = 100; //Was 300
//old second 180deg
deg_per_tooth[16] = 100; //Was 300
deg_per_tooth[17] = 100;
deg_per_tooth[18] = 100;
deg_per_tooth[19] = 100;
deg_per_tooth[20] = 100;
deg_per_tooth[21] = 100;
deg_per_tooth[22] = 100;
deg_per_tooth[23] = 100;
deg_per_tooth[24] = 100;
deg_per_tooth[25] = 100;
deg_per_tooth[26] = 100;
deg_per_tooth[27] = 100;
deg_per_tooth[28] = 100;
deg_per_tooth[29] = 300;
smallest_tooth_crk = 100;
smallest_tooth_cam = 0;
trigger_teeth[0] = 0;
trigger_teeth[1] = 10;
trigger_teeth[2] = 20;
no_triggers = 3;
trig_angs[0] = -150 + tmp_offset; // 15 ATDC
trig_angs[1] = -150 + tmp_offset; // 15 ATDC
trig_angs[2] = -150 + tmp_offset; // 15 ATDC
The odd part is that we get good spark until the ECU is shut down from a key off. After the initial key off, we no longer have spark, and it goes back to the same old errors as before. Any ideas to why this is happening? I have attached an image of what my frin\end is using to try and figure out the code.
Re: Subaru EZ30 Crank Trigger
Anyone?
-
- Super MS/Extra'er
- Posts: 9128
- Joined: Sun May 02, 2004 6:51 am
- Location: Quebec, Canada
- Contact:
Re: Subaru EZ30 Crank Trigger
You also need to adapt the code in ms2_extra_ign_in.c. That's where sync is established.
Jean
Jean
Re: Subaru EZ30 Crank Trigger
You're a rock star man, thank you for the help!racingmini_mtl wrote:You also need to adapt the code in ms2_extra_ign_in.c. That's where sync is established.
Jean
Re: Subaru EZ30 Crank Trigger
Thanks Jean. Hopefully that'll do it. (We'll find out tonight)racingmini_mtl wrote:You also need to adapt the code in ms2_extra_ign_in.c. That's where sync is established.
Jean
Also, any idea as to why the ECU resets our updated code upon power cycle?
Could it be from the md5sum of the .s19 file not matching (never could get it to match)
-
- Site Admin
- Posts: 39587
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: Subaru EZ30 Crank Trigger
As you've changed the code, it is to be expected that the s19 is different - that's the point! Nothing is checking it except you, so don't worry.Fozz It wrote:Could it be from the md5sum of the .s19 file not matching (never could get it to match)
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Re: Subaru EZ30 Crank Trigger
Thank you James.
Alright, so, we made the needed changes, and loaded the new version up. Besides not starting, the issue of it reverting back to the way it was still remains. I just don't understand what is happening.
Alright, so, we made the needed changes, and loaded the new version up. Besides not starting, the issue of it reverting back to the way it was still remains. I just don't understand what is happening.
Re: Subaru EZ30 Crank Trigger
Log before ignition cycle:
Log after cycle:
-
- Super MS/Extra'er
- Posts: 17499
- Joined: Thu Apr 16, 2009 8:08 pm
Re: Subaru EZ30 Crank Trigger
Can you leave the logger running and get both in one log?
Matt Cramer -1966 Dodge Dart slant six running on MS3X
Re: Subaru EZ30 Crank Trigger
I tried to and only got this garbage:
-
- Super MS/Extra'er
- Posts: 17499
- Joined: Thu Apr 16, 2009 8:08 pm
Re: Subaru EZ30 Crank Trigger
The RPM going to 65046 indicates you have a config error. These are checked for when you turn the key on but not when you change settings. It sounds like you had set some conflicting settings while getting the first start.
Matt Cramer -1966 Dodge Dart slant six running on MS3X
Re: Subaru EZ30 Crank Trigger
With some help from James, we got everything working. Thanks for the help guys.
Re: Subaru EZ30 Crank Trigger
I am using MS3x to run the same engine and trigger wheel. From everything I've read this wheel/engine is not natively supported by any MS. The 36-2-2-2 wheel is an option in MS3 along with 36-2-2-2 vvt. I thought this would work for my application, but from what I've researched Subaru used a different 36-2-2-2 wheel between the 4 & 6 cylinder engines.
So my questions are: 1. Does the MS3x have the right code when 6 cylinders are selected or do I need to the changes like described above? 2. If the changes are needed where / how are they made?
I apologize if this has been covered before, but in all the posts about this engine/wheel, I have not found a clear solution.
So my questions are: 1. Does the MS3x have the right code when 6 cylinders are selected or do I need to the changes like described above? 2. If the changes are needed where / how are they made?
I apologize if this has been covered before, but in all the posts about this engine/wheel, I have not found a clear solution.
-
- Super MS/Extra'er
- Posts: 17499
- Joined: Thu Apr 16, 2009 8:08 pm
Re: Subaru EZ30 Crank Trigger
Current MS3 code does have the six cylinder 36-2-2-2 pattern in it.
Matt Cramer -1966 Dodge Dart slant six running on MS3X
Re: Subaru EZ30 Crank Trigger
Thanks! I'm I just finishing things up and wanted to confirm before spent time trying to get it started.