MEGAsquirt A place to collectively sort out this megasquirt gizmo

TunerStudio CAN exchange log?

Thread Tools
 
Search this Thread
 
Old 11-29-2015 | 01: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 11-29-2015 | 01:40 PM
  #2  
aidandj's Avatar
SADFab Destructive Testing Engineer
iTrader: (5)
 
Joined: Apr 2014
Posts: 18,642
Total Cats: 1,866
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 12-02-2015 | 11: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 12-02-2015 | 11: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 12-02-2015 | 12:00 PM
  #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 12-02-2015 | 12:12 PM
  #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 12-02-2015 | 12:38 PM
  #7  
aidandj's Avatar
SADFab Destructive Testing Engineer
iTrader: (5)
 
Joined: Apr 2014
Posts: 18,642
Total Cats: 1,866
From: Beaverton, USA
Default

You can program can devices through the MS with TS
Old 12-02-2015 | 12:48 PM
  #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 12-02-2015 | 12:55 PM
  #9  
aidandj's Avatar
SADFab Destructive Testing Engineer
iTrader: (5)
 
Joined: Apr 2014
Posts: 18,642
Total Cats: 1,866
From: Beaverton, USA
Default

#1
Old 12-03-2015 | 05: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 12-03-2015 | 05: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 12-03-2015 | 08: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 12-03-2015 | 08: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 12-05-2015 | 06:37 PM
  #14  
aidandj's Avatar
SADFab Destructive Testing Engineer
iTrader: (5)
 
Joined: Apr 2014
Posts: 18,642
Total Cats: 1,866
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
12-12-2015 09:16 PM
GraemeD
Miata parts for sale/trade
5
12-05-2015 07:28 PM
Nick
WTB
0
11-25-2015 02:29 AM
miataa
DIY Turbo Discussion
3
11-24-2015 11:45 PM
Goldwar
MEGAsquirt
2
11-03-2015 04:01 PM




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