CAN EGT connecting trouble

For discussion of Phil Tobin's Tuner Studio software (Only about the tuning software itself, not about how to tune or firmware features)

Moderator: LT401Vette

Post Reply
MS2tester
Master MS/Extra'er
Posts: 606
Joined: Sat Apr 11, 2009 12:54 pm
Location: Aalsmeer the netherlands
Contact:

CAN EGT connecting trouble

Post by MS2tester »

i upgraded to MS3 1.3.3
now i have a signature mismatch between can egt and ms3
is this a setting issue or do i need an other can egt ini
i already tried the latest one from diyautotune site
racingmini_mtl
Super MS/Extra'er
Posts: 9130
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: CAN EGT connecting trouble

Post by racingmini_mtl »

Go in your project properties on the CAN devices tab and select the CAN EGT in the list of devices. Make sure that the CAN ID shown under the list is 1. If it's not, as I suspect, change it to 1. I assume it has been reset to 0 for some reason.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
MS2tester
Master MS/Extra'er
Posts: 606
Joined: Sat Apr 11, 2009 12:54 pm
Location: Aalsmeer the netherlands
Contact:

Re: CAN EGT connecting trouble

Post by MS2tester »

i reflashed to 124 and back to 133 several times
and i always have to reset the can unit to 1
i do flash with the can unit connected
so i don,t know if this is where the unit is reset to 0 or when you connect to ms3 the first time through tunerstudio
where the standard can ID is set on 0 in the tab menu on can devices
jsmcortina
Site Admin
Posts: 39617
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: CAN EGT connecting trouble

Post by jsmcortina »

Changing firmware in itself can't change that CANid setting as that is a TunerStudio feature. It sounds like TS is resetting the number at some point.

Have you tried running Jean's detect programme?
http://www.msextra.com/forums/viewtopic ... 23&t=52199

If that doesn't shed any light on the situation, please post your TunerStudioAppDebug.txt file. Presently TS likes to keep any CAN device problems secret and doesn't tell the user. I discussed this with Phil the other day and we came up with some ideas for more informative info boxes.

Presonally I prefer to have one project per device. Jean will correct me if I'm wrong, but as far as I know, with MS3 there's no need to have a combination project. Just configure your MS3 and it will fetch the data automatically over CAN.

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".
MS2tester
Master MS/Extra'er
Posts: 606
Joined: Sat Apr 11, 2009 12:54 pm
Location: Aalsmeer the netherlands
Contact:

Re: CAN EGT connecting trouble

Post by MS2tester »

portscanner after flash before tunerstudio
if i open tunerstudio in an preset project the first time after flashing
it says "not connected"
although in some way it is
you see it greying out if you turn off power
the second time you turn on the power it connects properly and starts displaying the differences report
i haven,t tried setting up a new project yet
wich would probably send the wrong can id?
racingmini_mtl
Super MS/Extra'er
Posts: 9130
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: CAN EGT connecting trouble

Post by racingmini_mtl »

TunerStudio doesn't change the actual CAN id on the CAN-EGT, it just changes the id it uses when trying to communicate. Since there is a mismatch between the 2, there is no communication. And that is a bug in TunerStudio if it changes this id in the project and I have no idea why that would be affected by a change in the MS3 version but that is something to ask Phil (possibly a new post in the TunerStudio section).

As for what James is saying, you only need to create a CAN-EGT project. Create a new project, select the CAN-EGT ini file manually as you can't use the detect function for a CAN device by clicking the "Other/Browse" box and select the MS3 serial port (don't use the "Test Port" button because it may not work). You should then be able to edit any configuration on your CAN-EGT and that will never be affected by the MS3 version. The MS3 will simply be used as a bridge between TunerStudio on your PC and the CAN-EGT.

You can then delete the CAN device in your MS3 project. As James said, once you have configured your CAN-EGT there is nothing TunerStudio needs from it and the MS3 can get the data regardless of what is in the project. You tell the MS3 where to get the data and the MS3 will do this regardless of whether or not the CAN device is in the project or not.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
jsmcortina
Site Admin
Posts: 39617
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: CAN EGT connecting trouble

Post by jsmcortina »

I had a look at the log and it seems that TunerStudio is sending the 'g' command to CANid 1 - I wouldn't expect that to work. 'g' can only be used locally with MS3.

Moving to TunerStudio sub-forum for Phil's thoughts.

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".
racingmini_mtl
Super MS/Extra'er
Posts: 9130
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: CAN EGT connecting trouble

Post by racingmini_mtl »

That might explain other issues that have been seen with an MS3 and a CAN device.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
jsmcortina
Site Admin
Posts: 39617
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: CAN EGT connecting trouble

Post by jsmcortina »

Try turning off "Quick runtime" on the "Megasquirt Baud rate" page, this will stop TS using the 'g' command to fetch realtime data.

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".
LT401Vette
Super MS/Extra'er
Posts: 12731
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: CAN EGT connecting trouble

Post by LT401Vette »

It looks like this is a project set up with an MS3 and and IO Extender as a 2nd controller.
I don't see where it is sending a g command to CAN ID 1, the g command doesn't even have a CAN ID. It looks like TS is only using the g command on the MS3 as it should be.

Are you consistently getting the signature mismatch? I don't see that in the log.
It looks right in the log, it reads the MS3 signature, then the IO Extenders?
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
jsmcortina
Site Admin
Posts: 39617
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: CAN EGT connecting trouble

Post by jsmcortina »

LT401Vette wrote:It looks like this is a project set up with an MS3 and and IO Extender as a 2nd controller.
I don't see where it is sending a g command to CAN ID 1, the g command doesn't even have a CAN ID. It looks like TS is only using the g command on the MS3 as it should be.
Oops yes... I was fooled by the first byte of the CRC32 being 01.
2-1-15 15:25:25 :Time: 3:54.274: SENT, 7 bytes
x00 x01 x67 x01 xD4 x1B x76 ..g...v

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".
MS2tester
Master MS/Extra'er
Posts: 606
Joined: Sat Apr 11, 2009 12:54 pm
Location: Aalsmeer the netherlands
Contact:

Re: CAN EGT connecting trouble

Post by MS2tester »

i think i went wrong somewhere in the CAN tab
but first as you can see in the CAN4 screenshot the unit is connected somehow (bottom right indicators)
but gives not connected
when you turn off power the indicators go to red circle
turn power back on the second time will give a connection to the ms3

it could be i assumed since the can unit was already set to 1 from the 124 code project
and i did not set the can number to 1 but left it standard to 0
and just selected the can ini and pressed OK
wich then gives the CAN6 screenshot
wich completly confused me

if you go back to the CAN tab and indeed select number 1 on the CAN device number and press OK
this will go away
or atleast that,s what i think happened

i don,t know if it would be easy to smooth this out a little
something like tunerstudio listening in on the CAN line
auto-filling the can list with the can numbers and selecting the appropriate ini,s to the unit
the same as it does with the MS ini,s
Last edited by MS2tester on Sun Jan 04, 2015 8:46 am, edited 1 time in total.
racingmini_mtl
Super MS/Extra'er
Posts: 9130
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: CAN EGT connecting trouble

Post by racingmini_mtl »

I agree that there should be some changes and the default configuration that TunerStudio should use should always be the CAN ID from the ini. And it definitely should never try to use CAN ID 0 (or whatever ID the main controller uses).

Being able to scan the CAN bus for the different devices would also be very good and has been mentioned more than once and quite a while ago. But I understand this is not a high priority.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
Post Reply