Multiple CAN devices crashes Tunerstudio

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

racingmini_mtl
Super MS/Extra'er
Posts: 9130
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: Multiple CAN devices crashes Tunerstudio

Post by racingmini_mtl »

I have finally been able to get a functional test setup with an MS2 and 2 TIOx. And I do get the same issue. Since the project backup is too big to attach it here, I'll email it to Phil together with the comm debug log.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
Ted75zcar
Experienced MS/Extra'er
Posts: 181
Joined: Fri Dec 23, 2016 7:21 pm

Re: Multiple CAN devices crashes Tunerstudio

Post by Ted75zcar »

Thanks a bunch man!


Sent from my iPhone using Tapatalk
jsmcortina
Site Admin
Posts: 39618
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: Multiple CAN devices crashes Tunerstudio

Post by jsmcortina »

racingmini_mtl wrote:I have finally been able to get a functional test setup with an MS2 and 2 TIOx. And I do get the same issue. Since the project backup is too big to attach it here, I'll email it to Phil together with the comm debug log.
Were you able to test with alternative serial programmes, to see if you can get it to work that way?

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: Multiple CAN devices crashes Tunerstudio

Post by racingmini_mtl »

jsmcortina wrote:
racingmini_mtl wrote:I have finally been able to get a functional test setup with an MS2 and 2 TIOx. And I do get the same issue. Since the project backup is too big to attach it here, I'll email it to Phil together with the comm debug log.
Were you able to test with alternative serial programmes, to see if you can get it to work that way?

James
I'm not sure what you mean by that but I did try to run the exact same project using my USB-CAN adapter as the CAN passthrough device instead of the MS2 and I got the exact same result. So that, in my mind, completely eliminates the possibility that the issue is in the MS2 code and the only thing that remains is TunerStudio.

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

Re: Multiple CAN devices crashes Tunerstudio

Post by jsmcortina »

I mean using standalone C (or whatever) code to send and receive serial commands.

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: Multiple CAN devices crashes Tunerstudio

Post by racingmini_mtl »

No, I have not. But the comm debug logs do show that the commands are correctly sent and received; the issue is that TS declares an error that is not visible and does contradict the log.

I'll try to see if I can use the old TS version. Making my own PC test code seems a bit much at this time.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
LT401Vette
Super MS/Extra'er
Posts: 12733
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Multiple CAN devices crashes Tunerstudio

Post by LT401Vette »

My best theory is if the outpc is the same size for both CAN controllers the error is triggered.

We are rigging up a setup with like firmwares on the CAN devices to try this out.
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
Ted75zcar
Experienced MS/Extra'er
Posts: 181
Joined: Fri Dec 23, 2016 7:21 pm

Re: Multiple CAN devices crashes Tunerstudio

Post by Ted75zcar »

Yeah baby YEAH!
LT401Vette
Super MS/Extra'er
Posts: 12733
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Multiple CAN devices crashes Tunerstudio

Post by LT401Vette »

Apparently not as straight forward as 2 CAN identical devices.

We rigged up an MS2 running 3.4 + 2 MicroSquirts running the Trans code as CAN devices and all seems fine.

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

Re: Multiple CAN devices crashes Tunerstudio

Post by LT401Vette »

I haven't reproduced it, but based on the error message and stack _think_ I know the problem.
Old code that validates the runtime data read based on secl.

I should have a beta going out shortly to try.
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
racingmini_mtl
Super MS/Extra'er
Posts: 9130
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: Multiple CAN devices crashes Tunerstudio

Post by racingmini_mtl »

Is there anything in the ini that would make that more problematic with the TIOx compared to the trans code ini?

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
Alfagta
Experienced MS/Extra'er
Posts: 239
Joined: Wed Aug 21, 2013 2:54 am

Re: Multiple CAN devices crashes Tunerstudio

Post by Alfagta »

LT401Vette wrote:I haven't reproduced it, but based on the error message and stack _think_ I know the problem.
Old code that validates the runtime data read based on secl.

I should have a beta going out shortly to try.
Phil that is the exact same fault i told you a few weeks ago.
I have testet much with can devices (my own devices) and TS is sowing a message that sec variable is not in the outpc for the can device.
But for me sec is not needed for my can device.

Hope you can fix this soon.

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

Re: Multiple CAN devices crashes Tunerstudio

Post by LT401Vette »

Try the beta 3.0.16.06 I put up yesterday.

I fixed what I _think_ is causing it, but still haven't been able to reproduce it, so can't say for sure.
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
Ted75zcar
Experienced MS/Extra'er
Posts: 181
Joined: Fri Dec 23, 2016 7:21 pm

Re: Multiple CAN devices crashes Tunerstudio

Post by Ted75zcar »

Holy fingers crossed Batman ....

Will test today!
Ted75zcar
Experienced MS/Extra'er
Posts: 181
Joined: Fri Dec 23, 2016 7:21 pm

Re: Multiple CAN devices crashes Tunerstudio

Post by Ted75zcar »

kaplah on the initial test!!

I have successfully tested 2 Tinys. I need to build a couple of harnesses to get 3 going, will get to that at some point here over the weekend.

The default dash gauges are wonked a bit with this TS version.

Thanks Phil!
LT401Vette
Super MS/Extra'er
Posts: 12733
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Multiple CAN devices crashes Tunerstudio

Post by LT401Vette »

Ted75zcar wrote: The default dash gauges are wonked a bit with this TS version.
How do you mean?
What OS are you using?
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
Ted75zcar
Experienced MS/Extra'er
Posts: 181
Joined: Fri Dec 23, 2016 7:21 pm

Re: Multiple CAN devices crashes Tunerstudio

Post by Ted75zcar »

LT401Vette wrote:
Ted75zcar wrote: The default dash gauges are wonked a bit with this TS version.
How do you mean?
What OS are you using?
Gauge needles are missing and replaced with smallish solid yellow circles. Could it be a limits thing? This is essentially on the bench, no sensor spoofing.

Win 10
racingmini_mtl
Super MS/Extra'er
Posts: 9130
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: Multiple CAN devices crashes Tunerstudio

Post by racingmini_mtl »

I just wanted to confirm that it is also working on my setup and the gauges are fine for me. I'm using the default dash and I'm on Win 7.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
kjones6039
Super MS/Extra'er
Posts: 1986
Joined: Sat Jul 22, 2006 8:02 pm
Location: Eureka, NV USA
Contact:

Re: Multiple CAN devices crashes Tunerstudio

Post by kjones6039 »

Ah ha!!!!! Seems to work ok here also! :D

Ken
1979 Corvette - 383 CID SBC w/ Holley Pro-Jection 900 CFM TBI, 4-85 lb lo-z injectors & Walbro 255 pump
MS2 v3 w/extra 3.4.2 Release
36-1, Delphi LS2/7 coils in wasted spark, driven by v2.0 logic board from JBPerformance
Spartan Lambda Sensor from 14point7
TinyIOX from JBPerformance
Alfagta
Experienced MS/Extra'er
Posts: 239
Joined: Wed Aug 21, 2013 2:54 am

Re: Multiple CAN devices crashes Tunerstudio

Post by Alfagta »

Hello,

i have tested now my setup with 3 can devices attached.
2 of them are the same devices only different can id.
Everything looking god with this TS version.

Only thing which i have seen is when i disconnect 2 of the devices from the can and do a power reset,
TS only give the message for 1 device which is not reachable.

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