MS2/Extra pre-3.4 alpha 6 released

This is a forum for discussing the development and testing of alpha MS2/Extra code. Documentation
(Runs on MS2 and Microsquirt)

Moderators: jsmcortina, muythaibxr

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

MS2/Extra pre-3.4 alpha 6 released

Post by jsmcortina »

To announce the release of "MS2/Extra Pre 3.4 alpha 6" this follows pre-3.4 alpha5

ETA on this 3.4.x code becoming release is 6-12 months.

Who should use this code?
Experienced users wanting to test the new features.

Who should not use this code?
New or casual users - please use the current release code instead - see the Downloads page linked above.

Main changes since pre-3.4 alpha 5
Bug fixes:
Range check serial TX buffer.
Megaview temp units show degC.
Extend srlbuf size and add more buffer range checking. (Watch out for stack overflow.)

Changed features:
Allow cam polarity to be flipped on custom decoders.
More generalised 'edge2' handling.
4G63 uses 'edge2' to allow cam to be flipped. (Tested.)
Start of CAN 0x561 fuel flow.

Minor/internal:
dualTable tooltip.

The zip can be downloaded from:
http://www.msextra.com/doc/ms2extra/fil ... alpha6.zip

Be sure to read the RELEASE-NOTES.txt and README.txt. Especially note that "Not Synced" has been renamed to "Not RPM synced".

The current TunerStudio (2.6.0 or later) is required.

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".
sd1nl
Master MS/Extra'er
Posts: 470
Joined: Wed Apr 11, 2012 3:21 am
Location: Netherlands

Re: MS2/Extra pre-3.4 alpha 6 released

Post by sd1nl »

I was expecting the closed loop idle stepper bugs to be sorted now....
Rover Vitesse 3.5
MS3 full-sequential
36-1 triggerwheel
Direct coil control
Innovate LC1 wideband lambda sensor
nathaninwa
Super MS/Extra'er
Posts: 2639
Joined: Tue Sep 14, 2004 4:17 pm
Location: Aberdeen, Wa

Re: MS2/Extra pre-3.4 alpha 6 released

Post by nathaninwa »

I see on this firmware and the 1.4.5 there is a flipped trigger wheel option for the 4g63 cas. But cant seem to find it unless its the hires flipped polarity option?

Im running a 4g63 cas mounted to a dist and had to flip the stock wheel to get it work and have been experiencing an igniton stumble ever since I got the engine running and cant seem to find it
Volvo 940, 2jzge, MS3Pro, daily
240Z, 2JZ, MS3Pro boost control
acab
Experienced MS/Extra'er
Posts: 243
Joined: Tue Aug 21, 2012 5:52 am

Re: MS2/Extra pre-3.4 alpha 6 released

Post by acab »

Start of CAN 0x561 fuel flow.
Nice, but very hard to realise ;(
jsmcortina
Site Admin
Posts: 39615
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS2/Extra pre-3.4 alpha 6 released

Post by jsmcortina »

nathaninwa wrote:I see on this firmware and the 1.4.5 there is a flipped trigger wheel option for the 4g63 cas. But cant seem to find it unless its the hires flipped polarity option?

Im running a 4g63 cas mounted to a dist and had to flip the stock wheel to get it work and have been experiencing an igniton stumble ever since I got the engine running and cant seem to find it
That option isn't designed to do that, it is polarity electrically filpped, not for a mechanically upside down disc. EDIT: the field name is correct.

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".
acab
Experienced MS/Extra'er
Posts: 243
Joined: Tue Aug 21, 2012 5:52 am

Re: MS2/Extra pre-3.4 alpha 6 released

Post by acab »

James, i found interesting idea. Now you did can realtime broadcating
Many cars have in dashboard display, and we can show some info on it for example, when push button (pe0/pe1/ad6/ad7)
ol boy
Super MS/Extra'er
Posts: 1532
Joined: Mon Sep 10, 2007 3:06 am
Location: Tucson, Az

Re: MS2/Extra pre-3.4 alpha 6 released

Post by ol boy »

I put over 10 hours of driving on this code since Friday morning without any issues.
306 SBFord, Torquer II EFI intake, 60 lbs injectors, 8 LS2 coils, VS Racing 7668 turbo, 4R70W, MS3x fw1.4 w/built in trans controller.
Buelliholic
Helpful MS/Extra'er
Posts: 56
Joined: Fri Mar 29, 2013 3:49 pm
Location: Helsinki, Finland

Re: MS2/Extra pre-3.4 alpha 6 released

Post by Buelliholic »

now tested and the CAN Realtime Data Broadcasting to the Dash2Pro is working very nicely with 10Hz setting too
jsmcortina
Site Admin
Posts: 39615
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS2/Extra pre-3.4 alpha 6 released

Post by jsmcortina »

Buelliholic wrote:now tested and the CAN Realtime Data Broadcasting to the Dash2Pro is working very nicely with 10Hz setting too
That's great news. Thanks for sharing.

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".
ol boy
Super MS/Extra'er
Posts: 1532
Joined: Mon Sep 10, 2007 3:06 am
Location: Tucson, Az

Re: MS2/Extra pre-3.4 alpha 6 released

Post by ol boy »

How often is MAF sampled throughout the engine cycle? Is there any feature similar to the way MAP is averaged to smooth out any small fluctuations in the MAF reading? Did the 3.3.3 line get any enhancements to MAF that didn't get pushed to 3.4 alpha 6?

Thanks Ryan
306 SBFord, Torquer II EFI intake, 60 lbs injectors, 8 LS2 coils, VS Racing 7668 turbo, 4R70W, MS3x fw1.4 w/built in trans controller.
jsmcortina
Site Admin
Posts: 39615
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS2/Extra pre-3.4 alpha 6 released

Post by jsmcortina »

ol boy wrote:How often is MAF sampled throughout the engine cycle? Is there any feature similar to the way MAP is averaged to smooth out any small fluctuations in the MAF reading?
I checked and no there isn't.
The "real deal" MAF implementation is in MS3, but unfortunately it isn't not possible to implement that on MS2 (it has 4k of RAM would needs at least another 1k.)
Did the 3.3.3 line get any enhancements to MAF that didn't get pushed to 3.4 alpha 6?
No, no difference that I'm aware of.

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".
ol boy
Super MS/Extra'er
Posts: 1532
Joined: Mon Sep 10, 2007 3:06 am
Location: Tucson, Az

Re: MS2/Extra pre-3.4 alpha 6 released

Post by ol boy »

James, what is ment by "real deal" ? Can ms2 not sample the MAF line at a known crank angle every time and then average 4 samples? What values are pushed through the lag factor? I've used 10 to 100 and I can't see much difference at all it how stable or unstable the g/s display is or any other indicator that the lag factor is even working. The adc7 values are quite all over the place but those values displayed are the raw values and the lag factor is not applied.?

Thanks Ryan
306 SBFord, Torquer II EFI intake, 60 lbs injectors, 8 LS2 coils, VS Racing 7668 turbo, 4R70W, MS3x fw1.4 w/built in trans controller.
Spockietech
MS/Extra Newbie
Posts: 2
Joined: Sat Nov 29, 2014 3:35 am

MS2/Extra CAN Receiving ?

Post by Spockietech »

Greetings James,

I was wondering if the CAN *Receiving function discussed here http://www.msextra.com/forums/viewtopic ... 25&t=53116 is planned to be included in the Ms2/Extra Code ?

I would like to be able to feed a bunch of parameters acquired from an Arduino with a CanBus Shield as discussed here http://grassrootsmotorsports.com/forum/ ... 593/page1/ into my MS2 with 3.4 Alpha 6 Code.

Initially, I believed from that page, that the Ms2 with 3.4 code could do it, but I see after some digging around through the code, that it has the broadcast, but not the receive function that the Ms3 has. Doh. Got my 6 Thermocouples all hooked up and ready to go with the 'duino too.

So, am I going to have to move over to MS3, or is it likely to included in the MS2 any time soon ?

Either that, or Ill have to code up a poll/response bit I suppose..

regards
Brett
jsmcortina
Site Admin
Posts: 39615
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS2/Extra pre-3.4 alpha 6 released

Post by jsmcortina »

The big holdup is lack of RAM on the MS2 chip. I have some revisions to the CAN code in mind that _may_ allow the receiving, but no promises.

MS3 has over 16x the RAM, so features like this are possible.

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".
Spockietech
MS/Extra Newbie
Posts: 2
Joined: Sat Nov 29, 2014 3:35 am

Re: MS2/Extra pre-3.4 alpha 6 released

Post by Spockietech »

OK, Thanks for letting me know. :)

Ill see if I can manage an Ms3 Upgrade soon if I dont hear anything by the time all the electronics are coming together.
Or Ill figure out how to do a full Can Poll/Response in the 'duino rather than the simplified receive function
jsmcortina
Site Admin
Posts: 39615
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS2/Extra pre-3.4 alpha 6 released

Post by jsmcortina »

ol boy wrote:James, what is ment by "real deal" ?
MS3 does a curve lookup and averages the MAF _flow_ values, not the ADC counts. There isn't enough RAM on MS2 to be able to do that.

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".
ol boy
Super MS/Extra'er
Posts: 1532
Joined: Mon Sep 10, 2007 3:06 am
Location: Tucson, Az

Re: MS2/Extra pre-3.4 alpha 6 released

Post by ol boy »

jsmcortina wrote:
ol boy wrote:James, what is ment by "real deal" ?
MS3 does a curve lookup and averages the MAF _flow_ values, not the ADC counts. There isn't enough RAM on MS2 to be able to do that.

James
would averaging ADC use less RAM?

Uhm.. I ended up adding a 100uf cap after the 1K resistor to help smooth everything out but ending up causing a cranking/start up issue. The Ford MAF sends the output signal high briefly which charges the cap and gives false g/s values as the voltage slowly bleeds down while cranking and starting which then floods the engine with extremely high PW. Toss in a lag factor of 20 for the MAF value... I now have to wait until the fuel pump stops running before cranking which gives time for the MAF value to settle back down to 11 ADC.

I do have MAF working well and now have a fairly stable PW and ARF readings. I was worried at first as the MAF ADC and g/s were all over the place. With lag factor of 10 the values were still over the place.

I have a buddy that is heavily involved in Fords EEC IV and V ecus which both run on MAF. His volts/ADC and kg/hr values jump about quite a bit also. I can only assume the noise output from a MAF is normal..?

Fun, fun.
306 SBFord, Torquer II EFI intake, 60 lbs injectors, 8 LS2 coils, VS Racing 7668 turbo, 4R70W, MS3x fw1.4 w/built in trans controller.
jsmcortina
Site Admin
Posts: 39615
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS2/Extra pre-3.4 alpha 6 released

Post by jsmcortina »

I'm just looking at MAF averaging now.

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".
ol boy
Super MS/Extra'er
Posts: 1532
Joined: Mon Sep 10, 2007 3:06 am
Location: Tucson, Az

Re: MS2/Extra pre-3.4 alpha 6 released

Post by ol boy »

How big is the array for CL idle averaging? Can that be shortened up a tad? I've put some big values in that...
306 SBFord, Torquer II EFI intake, 60 lbs injectors, 8 LS2 coils, VS Racing 7668 turbo, 4R70W, MS3x fw1.4 w/built in trans controller.
jsmcortina
Site Admin
Posts: 39615
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS2/Extra pre-3.4 alpha 6 released

Post by jsmcortina »

ol boy wrote:How big is the array for CL idle averaging? Can that be shortened up a tad? I've put some big values in that...
The MS3 implementation uses WAY more RAM than is possible to find on MS2.

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