Notices
MEGAsquirt A place to collectively sort out this megasquirt gizmo

TunerStudio CAN exchange log?

Old Nov 29, 2015 | 12:11 PM
  #1  
russian's Avatar
Thread Starter
Junior Member
 
Joined: May 2012
Posts: 133
Total Cats: 20
From: Jersey City, NJ
Smile TunerStudio CAN exchange log?

I do not own a MEGAsquirt myself and I am mostly interested in TunerStudio but since it's usually used with MS hopefully it would be fine to ask here.

Would anyone who connects his MEGAsquirt with TS over CAN be available to sniff the CANbus exchange between these two? Even a log with "Debug Log Comm" might actually work for me.

I am trying to implement CAN TunerStudio protocol in my own ECU, and unfortunately while EFI Analytics has nothing against they do not have much documentation to share.
Old Nov 29, 2015 | 12:40 PM
  #2  
aidandj's Avatar
SADFab Destructive Testing Engineer
iTrader: (5)
 
Joined: Apr 2014
Posts: 18,643
Total Cats: 1,870
From: Beaverton, USA
Default

If no one else can. I'll have one setup relatively soon. Might even be able to hook up a bus pirate to it.
Old Dec 2, 2015 | 10:41 AM
  #3  
stefanst's Avatar
Senior Member
iTrader: (1)
 
Joined: Sep 2011
Posts: 1,215
Total Cats: 74
From: Lambertville, NJ
Default

Afaik most people connect TS to MS using USB, RS232 or TTL-serial. I wasn't even aware you could use CAN...
Old Dec 2, 2015 | 10:48 AM
  #4  
russian's Avatar
Thread Starter
Junior Member
 
Joined: May 2012
Posts: 133
Total Cats: 20
From: Jersey City, NJ
Default

from some default .ini files:
Code:
;This enables the "full" CAN/serial commands so this INI can be used anywhere on the CAN network except a direct serial connection.
#set CAN_COMMANDS
but it could be that I am misunderstanding it
Old Dec 2, 2015 | 11:00 AM
  #5  
stefanst's Avatar
Senior Member
iTrader: (1)
 
Joined: Sep 2011
Posts: 1,215
Total Cats: 74
From: Lambertville, NJ
Default

Just looked at the communication setup in TS- CAN is not mentioned anywhere....

Sniffing the data packets send by MS on the CAN bus during normal operation should be fairly easy. I have messed with that a year or two back and was able to read all the broadcast data. Also sending data to the MS during normal operation seems pretty straightforward.
Old Dec 2, 2015 | 11:12 AM
  #6  
russian's Avatar
Thread Starter
Junior Member
 
Joined: May 2012
Posts: 133
Total Cats: 20
From: Jersey City, NJ
Default

Originally Posted by stefanst
Just looked at the communication setup in TS- CAN is not mentioned anywhere....
does your .ini file say #set CAN_COMMANDS or #unset CAN_COMMANDS?

With my .ini file here is what I get when I create a project, I am not sure if you can adjust this once the project is already created:

Attached Thumbnails TunerStudio CAN exchange log?-80-pigj11e_fa639c03bd0631b566d7c9a05b3a676564c65898.png  
Old Dec 2, 2015 | 11:38 AM
  #7  
aidandj's Avatar
SADFab Destructive Testing Engineer
iTrader: (5)
 
Joined: Apr 2014
Posts: 18,643
Total Cats: 1,870
From: Beaverton, USA
Default

You can program can devices through the MS with TS
Old Dec 2, 2015 | 11:48 AM
  #8  
russian's Avatar
Thread Starter
Junior Member
 
Joined: May 2012
Posts: 133
Total Cats: 20
From: Jersey City, NJ
Default

Originally Posted by aidandj
You can program can devices through the MS with TS
Do you mean you can program CAN devices through the MS while talking to MS via TTL, or do you mean you can program CAN devices including MS itself while connecting to MS via CAN?
Old Dec 2, 2015 | 11:55 AM
  #9  
aidandj's Avatar
SADFab Destructive Testing Engineer
iTrader: (5)
 
Joined: Apr 2014
Posts: 18,643
Total Cats: 1,870
From: Beaverton, USA
Default

#1
Old Dec 3, 2015 | 04:14 PM
  #10  
stefanst's Avatar
Senior Member
iTrader: (1)
 
Joined: Sep 2011
Posts: 1,215
Total Cats: 74
From: Lambertville, NJ
Default

There's some decent info here:
Megasquirt Support Forum (MSEXTRA) ? Problem connecting after upgrade to ms3 R1.1.2 (View topic)
Old Dec 3, 2015 | 04:23 PM
  #11  
russian's Avatar
Thread Starter
Junior Member
 
Joined: May 2012
Posts: 133
Total Cats: 20
From: Jersey City, NJ
Default

Looks like I was totally wrong to assume that one can connect from TS to MS via smth like ELM327.
Old Dec 3, 2015 | 07:00 PM
  #12  
stefanst's Avatar
Senior Member
iTrader: (1)
 
Joined: Sep 2011
Posts: 1,215
Total Cats: 74
From: Lambertville, NJ
Default

Of course sniffing the serial comm between TS and MS should be fairly easy, provided we're not using the on-board USB on MS3. But the earliest I would be able to help with that would be after Christmas.
Old Dec 3, 2015 | 07:16 PM
  #13  
russian's Avatar
Thread Starter
Junior Member
 
Joined: May 2012
Posts: 133
Total Cats: 20
From: Jersey City, NJ
Default

Originally Posted by stefanst
Of course sniffing the serial comm between TS and MS should be fairly easy
my ECU has TunerStudio serial/tcp protocol already. As I said, I was wrong thinking that there is another protocol which is not the case.
Old Dec 5, 2015 | 05:37 PM
  #14  
aidandj's Avatar
SADFab Destructive Testing Engineer
iTrader: (5)
 
Joined: Apr 2014
Posts: 18,643
Total Cats: 1,870
From: Beaverton, USA
Default

Attached Thumbnails TunerStudio CAN exchange log?-80-9ly94vz_6c5df90cc5c36c1ee2b4a693b276a528ee5fcac1.png  
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
vteckiller2000
Miata parts for sale/trade
8
Dec 12, 2015 08:16 PM
GraemeD
Miata parts for sale/trade
5
Dec 5, 2015 06:28 PM
Nick
WTB
0
Nov 25, 2015 01:29 AM
miataa
DIY Turbo Discussion
3
Nov 24, 2015 10:45 PM
Goldwar
MEGAsquirt
2
Nov 3, 2015 03:01 PM


Thread Tools
Search this Thread

All times are GMT -4. The time now is 12:15 AM.