MS3 pre-1.4 alpha 7 released

Testing and development of Megasquirt 3

Moderators: jsmcortina, muythaibxr

piledriver
Super MS/Extra'er
Posts: 1681
Joined: Tue Oct 27, 2009 6:24 am
Location: Van Alstyne, Texas

Re: MS3 pre-1.4 alpha 7 released

Post by piledriver »

I will venture a guess that its to allow programmable hystresis, which is a Good Thing.

It will still work (better even) but needs a little more setup.

I cannot provide an example as I don't have a radiator or fan, but 15-20 degrees of hystresis is reasonable, keeps the fan cycling down.
Always doing things the hard way, MS2 sequential w/ v1.01 mainboard, LS2 coils. 80 mile/day commuter status.
jsmcortina
Site Admin
Posts: 39621
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS3 pre-1.4 alpha 7 released

Post by jsmcortina »

The change is to allow greater flexibility with the bitwise AND operator. There's now a mask and match.

e.g. If ((a & mask) == match) then ....

To preserve the old behaviour put the same number in both boxes.

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".
Alfagta
Experienced MS/Extra'er
Posts: 239
Joined: Wed Aug 21, 2013 2:54 am

Re: MS3 pre-1.4 alpha 7 released

Post by Alfagta »

jsmcortina wrote:The change is to allow greater flexibility with the bitwise AND operator. There's now a mask and match.

e.g. If ((a & mask) == match) then ....

To preserve the old behaviour put the same number in both boxes.

James
When i'am right for sheek's situation it would be If((status7 & 32) == 1) then...
So hysteresis should be 1.

Best regards
Alfa 156 GTA
Alfa 75 Race Car MS III -- alway latest FW
Alfa 164 V6 Turbo
Alfa 155 2,5TD RIP
Test MS II --always latest FW
Tunerstudio V2.6.11 Registered
MegaLog Viewer V3.4.04 Registered
jsmcortina
Site Admin
Posts: 39621
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS3 pre-1.4 alpha 7 released

Post by jsmcortina »

No... a value ANDed with 32 can never equal 1. It will only be 32 or 0.

The new code variant can check multiple bits at once e.g. if ((value AND 129) == 128) or similar. Would check for bit7 set and bit0 clear.

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".
Alfagta
Experienced MS/Extra'er
Posts: 239
Joined: Wed Aug 21, 2013 2:54 am

Re: MS3 pre-1.4 alpha 7 released

Post by Alfagta »

Ah okay now it's clear...
Alfa 156 GTA
Alfa 75 Race Car MS III -- alway latest FW
Alfa 164 V6 Turbo
Alfa 155 2,5TD RIP
Test MS II --always latest FW
Tunerstudio V2.6.11 Registered
MegaLog Viewer V3.4.04 Registered
sheek
Experienced MS/Extra'er
Posts: 265
Joined: Fri May 11, 2007 10:05 am

Re: MS3 pre-1.4 alpha 7 released

Post by sheek »

this is all greek to me im sorry. i feel stupid since im prolly the only person not understanding. :cry:
jsmcortina
Site Admin
Posts: 39621
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS3 pre-1.4 alpha 7 released

Post by jsmcortina »

jsmcortina wrote:To preserve the old behaviour put the same number in both boxes.
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".
jsmcortina
Site Admin
Posts: 39621
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS3 pre-1.4 alpha 7 released

Post by jsmcortina »

I found a bug with the nitrous progressive curves yesterday, the ini didn't reflect the actual memory address so they will have been broken. Should be working in alpha8 due soon.

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".
Alfagta
Experienced MS/Extra'er
Posts: 239
Joined: Wed Aug 21, 2013 2:54 am

Re: MS3 pre-1.4 alpha 7 released

Post by Alfagta »

Yesterday i have testet the canbroadcast.
I have only package 0x361 active, but i got 2 diffrent Messages.
1 Standard and 1 Extented. Also i got Frame id 7F instead of 0x361....
I can't figure out why.

Best Regards
Alfa 156 GTA
Alfa 75 Race Car MS III -- alway latest FW
Alfa 164 V6 Turbo
Alfa 155 2,5TD RIP
Test MS II --always latest FW
Tunerstudio V2.6.11 Registered
MegaLog Viewer V3.4.04 Registered
jsmcortina
Site Admin
Posts: 39621
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS3 pre-1.4 alpha 7 released

Post by jsmcortina »

Alfagta wrote:Yesterday i have testet the canbroadcast.
I have only package 0x361 active, but i got 2 diffrent Messages.
1 Standard and 1 Extented. Also i got Frame id 7F instead of 0x361....
I can't figure out why.

Best Regards
I've just tested and I'm not seeing that on my CAN analyser. I get 0x361 every set interval - provided I've also enabled 0x41 (sent once.)

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".
piledriver
Super MS/Extra'er
Posts: 1681
Joined: Tue Oct 27, 2009 6:24 am
Location: Van Alstyne, Texas

Re: MS3 pre-1.4 alpha 7 released

Post by piledriver »

Is there any way to get MS2E-like instant fuel/spark cut on MS3 anymore?
(helps shifting, eliminates popping in muffler on decel and on shifts)
I just switched back to MS3 from the latest MS2E alpha.

There seems to be an effective built in minimum ~1 second delay now I cannot oversome, makes for annoying exhaust popping on every shift and decel until it eventually kicks in.
I have fiddled with every related setting I can see to no avail.

I only noticed this on A7, but I have been out of the loop running MS2 since pre1.4-A4, was not a problem there.
(i reloaded that tune as a base for the current tune)

Or do I have to put in a clutch switch and use the shift cut function?

Have turned fuel cut off for now so as not to attract cops and annoy the locals.
Always doing things the hard way, MS2 sequential w/ v1.01 mainboard, LS2 coils. 80 mile/day commuter status.
jsmcortina
Site Admin
Posts: 39621
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS3 pre-1.4 alpha 7 released

Post by jsmcortina »

I don't understand the question.
Are you asking about rev limiting, over-run, sequential shift cut, launch or CAN commands to cut fuel/spark ?

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".
piledriver
Super MS/Extra'er
Posts: 1681
Joined: Tue Oct 27, 2009 6:24 am
Location: Van Alstyne, Texas

Re: MS3 pre-1.4 alpha 7 released

Post by piledriver »

jsmcortina wrote:I don't understand the question.
Are you asking about rev limiting, over-run, sequential shift cut, launch or CAN commands to cut fuel/spark ?

James
Overrun fuel cut currently seems to have a built-in .5-1 second delay which leads to exhaust pops on shifts and decel.
How do I fix it.
It doesn't do it on pre1.4A3.

Tried all settings: only "OFF" works.
Always doing things the hard way, MS2 sequential w/ v1.01 mainboard, LS2 coils. 80 mile/day commuter status.
elaw
Super MS/Extra'er
Posts: 2926
Joined: Fri Oct 16, 2009 6:20 am
Location: Wilmington, MA

Re: MS3 pre-1.4 alpha 7 released

Post by elaw »

That sounds like a question that would be much easier to answer if a log and .msq file were provided...
Eric Law
1990 Audi 80 quattro with AAN turbo engine: happily running on MS3+MS3X
2012 Audi A4 quattro, desperately in need of tweaking

Be alert! America needs more lerts.
TheSilverBuick
Experienced MS/Extra'er
Posts: 358
Joined: Thu Feb 02, 2012 9:08 am

Re: MS3 pre-1.4 alpha 7 released

Post by TheSilverBuick »

I don't have the popping noise or such, but I used to have my fuel cut set to .1 seconds and now the default is like 1 second. Other than programmed in lag before the fuel cut comes on, my car operates and sounds exactly the same. IMO, something else seems like is 'off' if there is popping on decel. My car is a manual trans.

Personally I'd like to go back to a shorter fuel cut timer, but figured there was a reason it defaults to a minimum of 1 second.
"Hey, at least the Skylark proves that even a messy hack can patch together a reliable EFI system. I can't think of a time the MegaSquirt has left me stranded since installation ~100,000 miles ago."

Drag Week 2011, 2012 & 2015. - BB N/A - 1977 Skylark w/Buick 455 EFI and TKO-600!
piledriver
Super MS/Extra'er
Posts: 1681
Joined: Tue Oct 27, 2009 6:24 am
Location: Van Alstyne, Texas

Re: MS3 pre-1.4 alpha 7 released

Post by piledriver »

elaw wrote:That sounds like a question that would be much easier to answer if a log and .msq file were provided...
Turned it back on, with all of the soft options off the popping only lasts ~.5 seconds, just enough to pop-pop on shifts.
Made a short log.
Popping-on-decel-ms3pre1.4A7.zip
Always doing things the hard way, MS2 sequential w/ v1.01 mainboard, LS2 coils. 80 mile/day commuter status.
Post Reply