MS2/Extra pre-3.3.2 beta 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: 39585
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

MS2/Extra pre-3.3.2 beta 6 released

Post by jsmcortina »

To announce the release of pre-3.3.2 beta 6.

Given up waiting any feedback on the significant change in pre-3.3.2 beta1 which was a change to the "Toothed wheel" decoder for oddfire and odd cylinder count engines.

Main changes since pre-3.3.2 beta 5
Bug fixes:
Mask interrupts during AC and testmode pinsetting.
retrieve config error and crctable serial commands added to ini
Fix staging transition "saw-tooth" issue.
Add config error checking for A/C output pin.

New/changed features:
Enable PDF help.

Minor/internal:
config error 72 text was missing
Use TS generated CLT, MAT GM calibrations.
Correct bitmask on tacho option.
Default values for AC port pointers.

The biggie here is "Mask interrupts during AC and testmode pinsetting" - this should resolve the issue the small number of AC users have reported with tacho drops or misfires. The A/C output code was over-writing the "LED" outputs - ouch!

PLEASE READ THE RELEASE-NOTES.txt

The zip can be downloaded from:
http://www.msextra.com/doc/ms2extra/fil ... 2beta6.zip
Please read the RELEASE-NOTES.txt

Beta TunerStudio version 2.5.18 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".
jsmcortina
Site Admin
Posts: 39585
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS2/Extra pre-3.3.2 beta 6 released

Post by jsmcortina »

Aside from the important bugfix, the other item I'm most keen on hearing about is this:
new-help.png
With TS 2.5.17 you need to manually create a "docs" directory within TunerStudioProjects BEFORE clicking on the help. You only need to do this once.

I expect that with TS 2.5.18 it will be handled automatically.

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".
Manu
Master MS/Extra'er
Posts: 723
Joined: Mon Feb 15, 2010 4:57 am
Location: Alès - France
Contact:

Re: MS2/Extra pre-3.3.2 beta 6 released

Post by Manu »

Hi James,
jsmcortina wrote: New/changed features:
Enable PDF help.
I will have a look on this and maybe translate ;-)

Best regards,
Manu
I can supply, repair or upgrade Megasquirts in FRANCE.

Image
https://www.megasquirt.fr
jsmcortina
Site Admin
Posts: 39585
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS2/Extra pre-3.3.2 beta 6 released

Post by jsmcortina »

Manu wrote:Hi James,
jsmcortina wrote:Enable PDF help.
I will have a look on this and maybe translate ;-)
In time that will be great, but be aware that the linked manual is presently a draft. An updated version is due soon, so it might be better to wait until that is released.

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".
dontz125
Super MS/Extra'er
Posts: 4200
Joined: Mon May 11, 2009 7:14 pm
Location: York, ON
Contact:

Re: MS2/Extra pre-3.3.2 beta 6 released

Post by dontz125 »

Something is going wrong here; whether it's TS, the ini, or a PEBKAC malfunction has yet to be determined. I downloaded the latest TS beta last night as well as this MS beta, and while trying to create a new project got the same errors again and again, in all three ini versions. Screenshots attached; let me know if other info is needed.
1.jpg
2.jpg
3.jpg
QuadraMAP Sensor Module -- PWM-to-Stepper Controller -- Dual Coil Driver
Coming soon: OctoMAP Sensor Module
TTR Ignition Systems
dontz125
Super MS/Extra'er
Posts: 4200
Joined: Mon May 11, 2009 7:14 pm
Location: York, ON
Contact:

Re: MS2/Extra pre-3.3.2 beta 6 released

Post by dontz125 »

... and 4th pic:
4.jpg
Note that in order to get to this point, I had to go into my 3.3.2 beta 5 project and select ITS dashboard, otherwise I think it would have sat there until the batteries on my desktop computer went flat ...
QuadraMAP Sensor Module -- PWM-to-Stepper Controller -- Dual Coil Driver
Coming soon: OctoMAP Sensor Module
TTR Ignition Systems
dontz125
Super MS/Extra'er
Posts: 4200
Joined: Mon May 11, 2009 7:14 pm
Location: York, ON
Contact:

Re: MS2/Extra pre-3.3.2 beta 6 released

Post by dontz125 »

I just made a fresh project with TS 2.5.17 and MS2 3.3.2 b5, and had no issues. That suggests it's not TS or PEBKAC.
QuadraMAP Sensor Module -- PWM-to-Stepper Controller -- Dual Coil Driver
Coming soon: OctoMAP Sensor Module
TTR Ignition Systems
jsmcortina
Site Admin
Posts: 39585
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS2/Extra pre-3.3.2 beta 6 released

Post by jsmcortina »

I've sent a mail to Phil Tobin.

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".
slyrye
Experienced MS/Extra'er
Posts: 255
Joined: Sun Aug 12, 2007 2:41 pm
Location: Philippines
Contact:

Re: MS2/Extra pre-3.3.2 beta 6 released

Post by slyrye »

Still exists on this Beta release... Under Output IO testmode "LED15/SprkC and LED16/SprkB" test output is swapped...! :o :o :o
MSnS'n'4G15
jsmcortina
Site Admin
Posts: 39585
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS2/Extra pre-3.3.2 beta 6 released

Post by jsmcortina »

A simple ini change fixes this.

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".
slyrye
Experienced MS/Extra'er
Posts: 255
Joined: Sun Aug 12, 2007 2:41 pm
Location: Philippines
Contact:

Re: MS2/Extra pre-3.3.2 beta 6 released

Post by slyrye »

when enabled as AC clutch, Output port reporting on "IAC1" doesn't register correctly on tunerstudio processor PIN "PT6" constantly in ON state... :roll: :roll: :roll:
MSnS'n'4G15
jsmcortina
Site Admin
Posts: 39585
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS2/Extra pre-3.3.2 beta 6 released

Post by jsmcortina »

slyrye wrote:when enabled as AC clutch, Output port reporting on "IAC1" doesn't register correctly on tunerstudio processor PIN "PT6" constantly in ON state... :roll: :roll: :roll:
PT6 is constantly on because that's how you have programmed it in the programmable on/off outputs - it is on at power-on and then turns off above 4000RPM.

The MS2 card has PT6 and PT7 transposed compared to the Microsquirt. So PT6 is IAC2. Try the I/O test.

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".
bearda
MS/Extra Newbie
Posts: 26
Joined: Tue May 03, 2011 3:51 pm

Re: MS2/Extra pre-3.3.2 beta 6 released

Post by bearda »

I loaded beta6 up in the Miata and re-enabled AC Idleup Output. I didn't notice any problems with the tach in my quick shakedown, although I'll give it a more thorough test this week.
Fabius72
Experienced MS/Extra'er
Posts: 216
Joined: Sat Feb 07, 2009 12:17 am
Location: Aosta - Italy

Re: MS2/Extra pre-3.3.2 beta 6 released

Post by Fabius72 »

jsmcortina wrote: Given up waiting any feedback on the significant change in pre-3.3.2 beta1 which was a change to the "Toothed wheel" decoder for oddfire and odd cylinder count engines.
James, I'm sorry for the late, but I have just closed the engine and made some changes on the MS2, because of the lost sync trouble while cranking.
I've finally pulled out a tooth to have a 36-2 wheel and now the flywheel is also balanced.
I've changed the VR conditioner with a MAX9926 circuit.
I also changed ignition and injection drivers with bip373 and vnp5n07, so I need to find the new dead time for injectors.

I have tried on the bench this new firmware at various RPMs with CrankWheelPulser and all seems ok.
Tomorrow I will do some logs to check crank&cam, tooth, and composite, but only during cranking (without fuel injectors now).
I would like to confirm that all is fine about "Toothed wheel" decoder, so how can I find something wrong? What I exactly must do?

Thank you.
Fabio
Yamaha V-Max V4 paired odd-fire 1200cc engine - ITB - COP
MS2/Extra Pre 3.4 beta 11
Sequential spark & fuel - ITB Algorithm
dontz125
Super MS/Extra'er
Posts: 4200
Joined: Mon May 11, 2009 7:14 pm
Location: York, ON
Contact:

Re: MS2/Extra pre-3.3.2 beta 6 released

Post by dontz125 »

Updated to TS 2.5.18, downloaded a fresh copy of this zip - still same errors. I've created a fresh project with 3.3.2b5 and 3.4a1 since I first reported this problem, so it's sounds to me like there's something in the .ini that's causing something to go weird.
QuadraMAP Sensor Module -- PWM-to-Stepper Controller -- Dual Coil Driver
Coming soon: OctoMAP Sensor Module
TTR Ignition Systems
slyrye
Experienced MS/Extra'er
Posts: 255
Joined: Sun Aug 12, 2007 2:41 pm
Location: Philippines
Contact:

Re: MS2/Extra pre-3.3.2 beta 6 released

Post by slyrye »

Same here as well, creating new project is impossible with this firmware, but upgrading from existing project somehow works fine...! :shock:
MSnS'n'4G15
slyrye
Experienced MS/Extra'er
Posts: 255
Joined: Sun Aug 12, 2007 2:41 pm
Location: Philippines
Contact:

Re: MS2/Extra pre-3.3.2 beta 6 released

Post by slyrye »

jsmcortina wrote:
slyrye wrote:when enabled as AC clutch, Output port reporting on "IAC1" doesn't register correctly on tunerstudio processor PIN "PT6" constantly in ON state... :roll: :roll: :roll:
PT6 is constantly on because that's how you have programmed it in the programmable on/off outputs - it is on at power-on and then turns off above 4000RPM.

The MS2 card has PT6 and PT7 transposed compared to the Microsquirt. So PT6 is IAC2. Try the I/O test.

James
James the schematics tells differently it says "PT6" is IAC1 and "PT7" is IAC2
http://www.megamanual.com/ms2/hardware.htm
MSnS'n'4G15
jsmcortina
Site Admin
Posts: 39585
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS2/Extra pre-3.3.2 beta 6 released

Post by jsmcortina »

slyrye wrote:
jsmcortina wrote:
slyrye wrote: James the schematics tells differently it says "PT6" is IAC1 and "PT7" is IAC2
http://www.megamanual.com/ms2/hardware.htm
Exactly, the schematic is wrong.

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".
slyrye
Experienced MS/Extra'er
Posts: 255
Joined: Sun Aug 12, 2007 2:41 pm
Location: Philippines
Contact:

Re: MS2/Extra pre-3.3.2 beta 6 released

Post by slyrye »

James:
I have checked the processor pin connections continuity with IAC1 and IAC2 and confirmed that the schematics are pretty much very consistent... :D
MSnS'n'4G15
Wergilius
Experienced MS/Extra'er
Posts: 162
Joined: Fri Sep 16, 2005 12:50 pm
Location: Stockholm, Sweden
Contact:

Re: MS2/Extra pre-3.3.2 beta 6 released

Post by Wergilius »

i'm about to test this release but I need to make some minor changes, these have been done with
no problem for several releases but this time I get some strange behavior during compile

If I compile it with no changes it works ok (cygwin w64)

If I change this in ms2_extra_init.c:

89: adctest = 0; (new)
165: //pPTApin0 = &dummyReg; (mask existing)
166: DDRAD |= 0x40; // enable pin AD06 as digital output (new)
167: adctest |= 0x40; (new)
377: // adctest = 0; (mask existing)

() is of course not written in the actual code

during compile I get this error:
collect2: ld returned 1 exit status

If I remove "//" at row 377 compiling works ok.
If i try recompile existing 3.3.1 with the same mods it works ok

(this is not all code mods but I have tried to narrow it down)

Suggestions very welcome.
Post Reply