TunerStudio CAN exchange log? - Miata Turbo Forum - Boost cars, acquire cats.

Welcome to Miataturbo.net   Members
 


MEGAsquirt A place to collectively sort out this megasquirt gizmo

Reply
 
 
 
LinkBack Thread Tools
Old 11-29-2015, 01:11 PM   #1
Junior Member
Thread Starter
 
Join Date: May 2012
Location: Jersey City, NJ
Posts: 108
Total Cats: 10
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   Reply With Quote
Old 11-29-2015, 01:40 PM   #2
SADFab Destructive Testing Engineer
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 17,999
Total Cats: 1,466
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   Reply With Quote
Old 12-02-2015, 11:41 AM   #3
Boosting since 1984
iTrader: (1)
 
stefanst's Avatar
 
Join Date: Sep 2011
Location: Levittown
Posts: 1,198
Total Cats: 68
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   Reply With Quote
Old 12-02-2015, 11:48 AM   #4
Junior Member
Thread Starter
 
Join Date: May 2012
Location: Jersey City, NJ
Posts: 108
Total Cats: 10
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   Reply With Quote
Old 12-02-2015, 12:00 PM   #5
Boosting since 1984
iTrader: (1)
 
stefanst's Avatar
 
Join Date: Sep 2011
Location: Levittown
Posts: 1,198
Total Cats: 68
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   Reply With Quote
Old 12-02-2015, 12:12 PM   #6
Junior Member
Thread Starter
 
Join Date: May 2012
Location: Jersey City, NJ
Posts: 108
Total Cats: 10
Default

Quote:
Originally Posted by stefanst View Post
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   Reply With Quote
Old 12-02-2015, 12:38 PM   #7
SADFab Destructive Testing Engineer
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 17,999
Total Cats: 1,466
Default

You can program can devices through the MS with TS
aidandj is offline   Reply With Quote
Old 12-02-2015, 12:48 PM   #8
Junior Member
Thread Starter
 
Join Date: May 2012
Location: Jersey City, NJ
Posts: 108
Total Cats: 10
Default

Quote:
Originally Posted by aidandj View Post
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   Reply With Quote
Old 12-02-2015, 12:55 PM   #9
SADFab Destructive Testing Engineer
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 17,999
Total Cats: 1,466
Default

#1
aidandj is offline   Reply With Quote
Old 12-03-2015, 05:14 PM   #10
Boosting since 1984
iTrader: (1)
 
stefanst's Avatar
 
Join Date: Sep 2011
Location: Levittown
Posts: 1,198
Total Cats: 68
Default

stefanst is offline   Reply With Quote
Old 12-03-2015, 05:23 PM   #11
Junior Member
Thread Starter
 
Join Date: May 2012
Location: Jersey City, NJ
Posts: 108
Total Cats: 10
Default

Quote:
Originally Posted by stefanst View Post
Looks like I was totally wrong to assume that one can connect from TS to MS via smth like ELM327.
russian is offline   Reply With Quote
Old 12-03-2015, 08:00 PM   #12
Boosting since 1984
iTrader: (1)
 
stefanst's Avatar
 
Join Date: Sep 2011
Location: Levittown
Posts: 1,198
Total Cats: 68
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   Reply With Quote
Old 12-03-2015, 08:16 PM   #13
Junior Member
Thread Starter
 
Join Date: May 2012
Location: Jersey City, NJ
Posts: 108
Total Cats: 10
Default

Quote:
Originally Posted by stefanst View Post
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   Reply With Quote
Old 12-05-2015, 06:37 PM   #14
SADFab Destructive Testing Engineer
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 17,999
Total Cats: 1,466
Default

Attached Thumbnails
TunerStudio CAN exchange log?-80-9ly94vz_6c5df90cc5c36c1ee2b4a693b276a528ee5fcac1.png  
aidandj is offline   Reply With Quote
 
 
Reply

Related Topics
Thread Thread Starter Forum Replies Last Post
JDM stuff! BP5A ecu, BP5A JDM exhaust header, 6 speed, VICS manifold, more vteckiller2000 Miata parts for sale/trade 8 12-12-2015 09:16 PM
ECU FS: DiyPnP and VVTuner GraemeD Miata parts for sale/trade 5 12-05-2015 07:28 PM
Megasquirt PNP and turbo manifold Nick WTB 0 11-25-2015 02:29 AM
Will this turbo work? miataa DIY Turbo Discussion 3 11-24-2015 11:45 PM
Megasquirt wont A/C Idle up Goldwar MEGAsquirt 2 11-03-2015 04:01 PM


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -4. The time now is 01:16 PM.