Subaru EJ22

Testing and development of Megasquirt 3

Moderators: jsmcortina, muythaibxr

Post Reply
ScoobyCoder
Helpful MS/Extra'er
Posts: 74
Joined: Wed Feb 04, 2009 7:47 am

Subaru EJ22

Post by ScoobyCoder »

Chaps,

I have an EJ22 Impreza engine running a DIyAutoTune 3.57 and MSII. Happy to test sequential code etc. I do do a bit of programming (many thanks to muythaibxr over on the msextra forums for getting me back up and running with codewarrior!) and would be happy to help where I can...

I have also been looking at VVT with some interest, especially active cam control with a feedback system. With the SDmemory working at such a fast rate, would it be possible for me to 'hack' some code into the MS3 to record the 'delay' between TDC of the crank and cam, given differnt PWM DC of the control solenoid? Could be an intersting break out into VVT? I know its not a feature of the EJ22, but some of the more modern subaru engines are moving over to this I would be looking to go a bit crazy with the car in the coming wintery months!

Anyway I can help let me know, I owe it to you guys for the support I have ahad (as well as the fun) of literally 'playing' with an EFI controller in C!

(Would I need any special programming equipment? I have a (cheap) BDM programmer that I bought for my MSII experementation and I use CodeWarrior for writing snippets.)

Mark
jsmcortina
Site Admin
Posts: 39587
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: Subaru EJ22

Post by jsmcortina »

We have plans to add some VVT support, so any technical data you have on existing systems would be welcomed and we can see if we can get any of it into the code.

There's already some test code for VANOS that should allow the user to see the position on the cam in relation to the crank - this might only work for a missing tooth crank wheel at present though.

MS3 is built with gcc.

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".
pascal
MS/Extra Newbie
Posts: 15
Joined: Mon May 17, 2004 1:26 am
Location: Germany/Bavaria/Munich

Re: Subaru EJ22

Post by pascal »

jsmcortina wrote: MS3 is built with gcc.
Wow! I didn't know GCC was supporting the Xgate.
muythaibxr
Site Admin
Posts: 8228
Joined: Thu Oct 14, 2004 12:48 pm

Re: Subaru EJ22

Post by muythaibxr »

Gcc doesn't... XGATE code is written in assembly.

Ken
Megasquirt is not for use on pollution controlled vehicles. Any advice I give is for off road use only.
Post Reply