MEGAsquirt A place to collectively sort out this megasquirt gizmo

TunerStudio CAN exchange log?

Thread Tools
 
Search this Thread
 
Old 11-29-2015, 12:11 PM
  #1  
Junior Member
Thread Starter
 
russian's Avatar
 
Join Date: May 2012
Location: Jersey City, NJ
Posts: 133
Total Cats: 20
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.
russian is offline  
Old 11-29-2015, 12:40 PM
  #2  
SADFab Destructive Testing Engineer
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
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.
aidandj is offline  
Old 12-02-2015, 10:41 AM
  #3  
Senior Member
iTrader: (1)
 
stefanst's Avatar
 
Join Date: Sep 2011
Location: Lambertville, NJ
Posts: 1,215
Total Cats: 74
Default

Afaik most people connect TS to MS using USB, RS232 or TTL-serial. I wasn't even aware you could use CAN...
stefanst is offline  
Old 12-02-2015, 10:48 AM
  #4  
Junior Member
Thread Starter
 
russian's Avatar
 
Join Date: May 2012
Location: Jersey City, NJ
Posts: 133
Total Cats: 20
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
russian is offline  
Old 12-02-2015, 11:00 AM
  #5  
Senior Member
iTrader: (1)
 
stefanst's Avatar
 
Join Date: Sep 2011
Location: Lambertville, NJ
Posts: 1,215
Total Cats: 74
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.
stefanst is offline  
Old 12-02-2015, 11:12 AM
  #6  
Junior Member
Thread Starter
 
russian's Avatar
 
Join Date: May 2012
Location: Jersey City, NJ
Posts: 133
Total Cats: 20
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  
russian is offline  
Old 12-02-2015, 11:38 AM
  #7  
SADFab Destructive Testing Engineer
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default

You can program can devices through the MS with TS
aidandj is offline  
Old 12-02-2015, 11:48 AM
  #8  
Junior Member
Thread Starter
 
russian's Avatar
 
Join Date: May 2012
Location: Jersey City, NJ
Posts: 133
Total Cats: 20
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?
russian is offline  
Old 12-02-2015, 11:55 AM
  #9  
SADFab Destructive Testing Engineer
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default

#1
aidandj is offline  
Old 12-03-2015, 04:14 PM
  #10  
Senior Member
iTrader: (1)
 
stefanst's Avatar
 
Join Date: Sep 2011
Location: Lambertville, NJ
Posts: 1,215
Total Cats: 74
Default

There's some decent info here:
Megasquirt Support Forum (MSEXTRA) ? Problem connecting after upgrade to ms3 R1.1.2 (View topic)
stefanst is offline  
Old 12-03-2015, 04:23 PM
  #11  
Junior Member
Thread Starter
 
russian's Avatar
 
Join Date: May 2012
Location: Jersey City, NJ
Posts: 133
Total Cats: 20
Default

Looks like I was totally wrong to assume that one can connect from TS to MS via smth like ELM327.
russian is offline  
Old 12-03-2015, 07:00 PM
  #12  
Senior Member
iTrader: (1)
 
stefanst's Avatar
 
Join Date: Sep 2011
Location: Lambertville, NJ
Posts: 1,215
Total Cats: 74
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.
stefanst is offline  
Old 12-03-2015, 07:16 PM
  #13  
Junior Member
Thread Starter
 
russian's Avatar
 
Join Date: May 2012
Location: Jersey City, NJ
Posts: 133
Total Cats: 20
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.
russian is offline  
Old 12-05-2015, 05:37 PM
  #14  
SADFab Destructive Testing Engineer
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default

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



Quick Reply: TunerStudio CAN exchange log?



All times are GMT -4. The time now is 10:18 AM.