Datalogging fails with missing CAN device
Moderator: LT401Vette
Datalogging fails with missing CAN device
Phil,
I came across a possible issue, I have a vehicle with MS2 Extra and also a GPIO running megashift for the trans.
Before i added the megashift, everything was fine, I could datalog fine etc.
I installed the GPIO, enabled CAN commands and could access it through the MS2, configure it and datalog fine.
Then due to a firmware bug in megashift, I removed the GPIO from the vehicle.
TS would show me an error that the CAN device is not present and has been disabled/offline in order to continue talking with the MS2.
I could talk to the MS2, make changes etc no probs but when datalogging without the CAN unit present, datalogs would fail, and i would only get a 1-2kb log file.
When i removed the CAN device from project properties, I could then datalog the MS2 fine, so looks like datalogging is halting/failing when a missing/offline CAN device is enabled??
I came across a possible issue, I have a vehicle with MS2 Extra and also a GPIO running megashift for the trans.
Before i added the megashift, everything was fine, I could datalog fine etc.
I installed the GPIO, enabled CAN commands and could access it through the MS2, configure it and datalog fine.
Then due to a firmware bug in megashift, I removed the GPIO from the vehicle.
TS would show me an error that the CAN device is not present and has been disabled/offline in order to continue talking with the MS2.
I could talk to the MS2, make changes etc no probs but when datalogging without the CAN unit present, datalogs would fail, and i would only get a 1-2kb log file.
When i removed the CAN device from project properties, I could then datalog the MS2 fine, so looks like datalogging is halting/failing when a missing/offline CAN device is enabled??
-
- Super MS/Extra'er
- Posts: 12733
- Joined: Sat Jul 16, 2005 8:07 am
- Location: Moorseville, NC
- Contact:
Re: Datalogging fails with missing CAN device
Quite likely. It does go into the limp mode to talk to it when the CAN device isn't there, but as the config is still loaded, the logger is probably still waiting for the read from the CAN device to write the record.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
-
- Super MS/Extra'er
- Posts: 9130
- Joined: Sun May 02, 2004 6:51 am
- Location: Quebec, Canada
- Contact:
Re: Datalogging fails with missing CAN device
But why would you keep a CAN device in the project if it's no longer connected? The least you could do is disable the runtime data. And I don't see that as a TS failure but rather as a misuse of the features.
Jean
Jean
Re: Datalogging fails with missing CAN device
Thats a fair comment,racingmini_mtl wrote:But why would you keep a CAN device in the project if it's no longer connected? The least you could do is disable the runtime data. And I don't see that as a TS failure but rather as a misuse of the features.
Jean
the GPIO was only removed temporarily while we work with Lance on an issue in the firmware.
I have now disabled the can device until i reinstall it, however this also would raise the question, what would happen to datalogs if the GPIO device failed / lost comms during use?
-
- Super MS/Extra'er
- Posts: 9130
- Joined: Sun May 02, 2004 6:51 am
- Location: Quebec, Canada
- Contact:
Re: Datalogging fails with missing CAN device
That's a valid point. However, if you lose comm with a CAN device or if the device fails it usually means you are losing some functionality in your setup and the fact you no longer have a datalog may not be your main issue. If the CAN device is used only for monitoring non-critical data then losing the datalog on the ECU would be annoying.jamies wrote:Thats a fair comment,racingmini_mtl wrote:But why would you keep a CAN device in the project if it's no longer connected? The least you could do is disable the runtime data. And I don't see that as a TS failure but rather as a misuse of the features.
Jean
the GPIO was only removed temporarily while we work with Lance on an issue in the firmware.
I have now disabled the can device until i reinstall it, however this also would raise the question, what would happen to datalogs if the GPIO device failed / lost comms during use?
Jean
Re: Datalogging fails with missing CAN device
just back to this topic,
seems tunerstudio still fails to datalog even when the can device is present and online.
attached is the logfile that is generated as you can see, theres no logged contents
seems tunerstudio still fails to datalog even when the can device is present and online.
attached is the logfile that is generated as you can see, theres no logged contents
-
- Super MS/Extra'er
- Posts: 12733
- Joined: Sat Jul 16, 2005 8:07 am
- Location: Moorseville, NC
- Contact:
Re: Datalogging fails with missing CAN device
If the devices is online and present, there is something else going on. That is working fine.
I probably need to see your TunerStudioAppDebug.txt and perhaps your project.
I probably need to see your TunerStudioAppDebug.txt and perhaps your project.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
Re: Datalogging fails with missing CAN device
Ok no prob. Ill have the car back in a few weeks will post up that info then
-
- Master MS/Extra'er
- Posts: 415
- Joined: Fri Sep 23, 2005 6:35 am
- Location: Ropley, Hampshire, UK
Re: Datalogging fails with missing CAN device
I raised this same problem a month ago:
http://www.msextra.com/forums/viewtopic ... 22&t=54635
My TunerStudioAppDebug is in there..
http://www.msextra.com/forums/viewtopic ... 22&t=54635
My TunerStudioAppDebug is in there..
'82 Golf GTI ABF 16v MS2 Extra sequential COP
'77 Scirocco G60 MS2 Extra sequential
'77 Scirocco G60 MS2 Extra sequential
-
- Super MS/Extra'er
- Posts: 12733
- Joined: Sat Jul 16, 2005 8:07 am
- Location: Moorseville, NC
- Contact:
Re: Datalogging fails with missing CAN device
mickey, I'm sorry I never saw the end of that. It seems I didn't get notified of the updates after the split and it fell to the way side.
Was yours not logging when the mshift was online or just when it was not?
Was yours not logging when the mshift was online or just when it was not?
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
-
- Master MS/Extra'er
- Posts: 415
- Joined: Fri Sep 23, 2005 6:35 am
- Location: Ropley, Hampshire, UK
Re: Datalogging fails with missing CAN device
Don't worry Phil I found a solution, I think. I removed the CAN device completely in Project Properties and then logging worked fine. At the time my msgpio kept getting corrupted so Tunerstudio threw up the errors like the OP mentioned.LT401Vette wrote:mickey, I'm sorry I never saw the end of that. It seems I didn't get notified of the updates after the split and it fell to the way side.
Was yours not logging when the mshift was online or just when it was not?
I'll be honest, I've haven't tried logging megasquirt since I fixed the msgpio though..
'82 Golf GTI ABF 16v MS2 Extra sequential COP
'77 Scirocco G60 MS2 Extra sequential
'77 Scirocco G60 MS2 Extra sequential