Miata Turbo Forum - Boost cars, acquire cats.

Miata Turbo Forum - Boost cars, acquire cats. (https://www.miataturbo.net/)
-   MEGAsquirt (https://www.miataturbo.net/megasquirt-18/)
-   -   TunerStudio CAN exchange log? (https://www.miataturbo.net/megasquirt-18/tunerstudio-can-exchange-log-86825/)

russian 11-29-2015 12:11 PM

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.

aidandj 11-29-2015 12:40 PM

If no one else can. I'll have one setup relatively soon. Might even be able to hook up a bus pirate to it.

stefanst 12-02-2015 10:41 AM

Afaik most people connect TS to MS using USB, RS232 or TTL-serial. I wasn't even aware you could use CAN...

russian 12-02-2015 10:48 AM

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

stefanst 12-02-2015 11:00 AM

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.

russian 12-02-2015 11:12 AM

1 Attachment(s)

Originally Posted by stefanst (Post 1288443)
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:

https://www.miataturbo.net/attachmen...ine=1449072737

aidandj 12-02-2015 11:38 AM

You can program can devices through the MS with TS

russian 12-02-2015 11:48 AM


Originally Posted by aidandj (Post 1288459)
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?

aidandj 12-02-2015 11:55 AM

#1

stefanst 12-03-2015 04:14 PM

There's some decent info here:
Megasquirt Support Forum (MSEXTRA) ? Problem connecting after upgrade to ms3 R1.1.2 (View topic)

russian 12-03-2015 04:23 PM


Originally Posted by stefanst (Post 1288869)

Looks like I was totally wrong to assume that one can connect from TS to MS via smth like ELM327.

stefanst 12-03-2015 07:00 PM

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.

russian 12-03-2015 07:16 PM


Originally Posted by stefanst (Post 1288925)
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.

aidandj 12-05-2015 05:37 PM

1 Attachment(s)
https://www.miataturbo.net/attachmen...ine=1449355037


All times are GMT -4. The time now is 10:04 PM.


© 2024 MH Sub I, LLC dba Internet Brands