MS3 & Megashift retard

Testing and development of Megasquirt 3

Moderators: jsmcortina, muythaibxr

JaccoF
Helpful MS/Extra'er
Posts: 99
Joined: Tue Sep 11, 2007 2:44 am
Location: Ermelo, The Netherlands

Re: MS3 & Megashift retard

Post by JaccoF »

I got shift retard working, I have changed the settings tool>can1-can configuration for the mshift to:

MS-II in2ram block from 5 to 7
MS-II variable offset from 946 to 630

Normally these are locked but in the mshift ini you can unlock them.
I'm using MS3 beta 24 and mshift 4.102

Also idle spark up works but not the idle valve up.

Gear detection CAN works offset 12 CAN table 7 , i get 255 for reverse is this oke?

VSS doesn't work don't know what i doing wrong.

The CAN looks a bit black art to me, don't know what is what is there some info about that?
Jacco

68 Mustang 289 V8 megasquirt 3 MPI BiFuel fullseq. V8 LPG & Petrol Injection & Spark
91 Ford Sierra 1.6 OHC MS2

Your European Megasquirt source
http://www.jfetech.nl
jsmcortina
Site Admin
Posts: 39615
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS3 & Megashift retard

Post by jsmcortina »

JaccoF wrote:I got shift retard working, I have changed the settings tool>can1-can configuration for the mshift to:

MS-II in2ram block from 5 to 7
MS-II variable offset from 946 to 630

Normally these are locked but in the mshift ini you can unlock them.
I'm using MS3 beta 24 and mshift 4.102
A good, sounds like whatever was wrong has been fixed. Nothing has changed in the MS3 code.
Also idle spark up works but not the idle valve up.
I'm pretty sure the idle modification isn't supported at present.
Gear detection CAN works offset 12 CAN table 7 , i get 255 for reverse is this oke?
255 means -1 so that's fine.
VSS doesn't work don't know what i doing wrong.
How are you trying to configure it?
The CAN looks a bit black art to me, don't know what is what is there some info about that?
I guess it is rather. You have to know what's going on at both ends.
EDIT: I added your information to the manual. It is a start at least.

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".
JaccoF
Helpful MS/Extra'er
Posts: 99
Joined: Tue Sep 11, 2007 2:44 am
Location: Ermelo, The Netherlands

Re: MS3 & Megashift retard

Post by JaccoF »

In the GPIO_MShift_4103.ini you to change 'change to { 1 } to make editable'

Code: Select all

   dialog = canconfig, "CAN Configuration"
      topicHelp = "http://www.msgpio.com/manuals/mshift/V4tune.html#oa"
      field = "#Controller Area Network set-up"
      field = "!CAN Usage",                CAN_enabled
      field = "!CAN ID (GPIO)",            trans_can_id,   { CAN_enabled }
	  field = "!CAN Fetch Rate",           can_var_rate,   { CAN_enabled }
      field = "CAN Load Variable",         load_type,      { CAN_enabled }
;      field = "!Board Type",               board_type,     { CAN_enabled }
      field = "!MS-II CAN ID",             ms2canID,       { 0 }           ; change to { 1 } to make editable
      field = "!MS-II outpc block",        ms2varBLK,      { 0 }           ; change to { 1 } to make editable
	  field = "!Outpc CAN message format", can_testout,    { CAN_enabled }
	  field = "Spark/Fuel/Idle Adjustments"
	  field = "!MS-II in2ram block",       Adj_blk,        { 0 }           ; change to { 1 } to make editable
	  field = "!MS-II variable offset",    Adj_varoffset,  { 0 }           ; change to { 1 } to make editable
	  field = ""
      field = "If CAN is disabled, load is determined"
      field = "from 0-5V auxillary input"
	  field = "See 'General Settings/Non-CAN Load Settings'"
;	  field = "inpram last value = 170",   pad1
Also idle spark up works but not the idle valve up.
I'm pretty sure the idle modification isn't supported at present.
Would be nice if it would be supported in the future.

For the VSS i tried so different offsets, like i tried for the gear detection that was a lucky guess i guess. Actually all the CAN setup for the retard was just trying from what I read in this tread.
At the moment I don't know what going on at both ends. I guess that the offsets would be the same in MS2, MS2 extra, MS3. But it seems like it is not.
Jacco

68 Mustang 289 V8 megasquirt 3 MPI BiFuel fullseq. V8 LPG & Petrol Injection & Spark
91 Ford Sierra 1.6 OHC MS2

Your European Megasquirt source
http://www.jfetech.nl
jsmcortina
Site Admin
Posts: 39615
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS3 & Megashift retard

Post by jsmcortina »

JaccoF wrote: I guess that the offsets would be the same in MS2, MS2 extra, MS3. But it seems like it is not.
Not at all.

Also, you still haven't said what values you tried.

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".
Vesku
Helpful MS/Extra'er
Posts: 38
Joined: Thu May 20, 2004 8:54 pm
Location: Finland

Re: MS3 & Megashift retard

Post by Vesku »

How about this? I have been trying to get ms3 vss to gpio via CANbus, but can´t get it work. I found that if change gpio "canbus conficuration" offset to 20 I get mat value to speedo and was able to test automatic table just adjusting mat value with stimulator as vss signal. So I start to look up ms3.ini and foud other offsets also and try ignition advance etc. to run speedo in gpio! :) I found that there was vss1 offset 336 in ms3.ini. Try to send it to gpio, but max value was 255 in gpio.

Is it possible to dublicate vss1 to offset 7 or somewhere free place for testing canbus? Have I understand this offset thing right or is there solution for this already? I´m kinda lost with this canbus thing, but like to learn.
jsmcortina
Site Admin
Posts: 39615
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS3 & Megashift retard

Post by jsmcortina »

For that to work, the GPIO would need to accept the full range of offsets and also VSS in ms-1. I have no idea what units it is expecting.

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".
Vesku
Helpful MS/Extra'er
Posts: 38
Joined: Thu May 20, 2004 8:54 pm
Location: Finland

Re: MS3 & Megashift retard

Post by Vesku »

Is it big job to have special tuned code for ms3? Is it possible to dublicate
vss1 = scalar, U16, 336, "kph", 0.16093, 0.0
to
vss1 = scalar, U16, 7, "kph", 0.16093, 0.0 ? So it will be in offset 336 and also 7? Then set vss output offset value to 7 for gpio canbus from TS-tools and if we are very lucky it will work?

This might be looking for the needle from haystack, but at least have been tryed.
tobmag
Helpful MS/Extra'er
Posts: 81
Joined: Sat Feb 20, 2010 7:26 am
Location: Sweden

Re: MS3 & Megashift retard

Post by tobmag »

Vesku.

The latest GPIO code for megashift 4.131 has the ability to read VSS from MSII/III

http://www.msgpio.com/forums/viewtopic. ... 0&start=70


BR//Tobmag
Vesku
Helpful MS/Extra'er
Posts: 38
Joined: Thu May 20, 2004 8:54 pm
Location: Finland

Re: MS3 & Megashift retard

Post by Vesku »

Hi Tobmag!

I have try this with GPIO 5.006 code where should be same feature and ms3-pre1.3alpha7 . Are You using this vss feature in Your car? I might config something wrong. I´m not so good in this... :oops:

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

Re: MS3 & Megashift retard

Post by jsmcortina »

It looks like the GPIO code will only read MPH?

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".
Vesku
Helpful MS/Extra'er
Posts: 38
Joined: Thu May 20, 2004 8:54 pm
Location: Finland

Re: MS3 & Megashift retard

Post by Vesku »

When I send there mat (or tps) offset I get mph or kmh reading from gauge and odometer is working also. Just try mph and nothing changes.
tobmag
Helpful MS/Extra'er
Posts: 81
Joined: Sat Feb 20, 2010 7:26 am
Location: Sweden

Re: MS3 & Megashift retard

Post by tobmag »

Hi Tobmag!

I have try this with GPIO 5.006 code where should be same feature and ms3-pre1.3alpha7 . Are You using this vss feature in Your car? I might config something wrong. I´m not so good in this...
No Im using the VR input on the GPIO but I saw on the GPIO forum that Lance is on this.....

BR//Tobmag
Vesku
Helpful MS/Extra'er
Posts: 38
Joined: Thu May 20, 2004 8:54 pm
Location: Finland

Re: MS3 & Megashift retard

Post by Vesku »

We just get ms3 vss1 via canbus working to gpio. Lance modify gpio to allow vss offsets to 512. MS3 vss1 (offset 336) can be read now and use in test code 4.133...
Post Reply