Tunerstudio Losing connection and unable to reconnect SOLVED

For discussion of Phil Tobin's Tuner Studio software (Only about the tuning software itself, not about how to tune or firmware features)

Moderator: LT401Vette

Tunerstudio Losing connection and unable to reconnect SOLVED

Postby spitnl » Tue Oct 31, 2017 8:44 am

TunerstudioAppDebugg_edited.txt
Edited to get file size down
(46.89 KiB) Downloaded 7 times
Went out for a test drive today, but after 100m Tunerstudio lost connection and couldn't reconnect.
Shutting off taking the key out of the ignition and restarting made no difference.
Fiddling with the serial cable also didn't help.
What could cause this problem and how do I solve it?


Running
TS version: 3.0.28
MS2extra: 342a2
Laptop with built in serial port using serial cable to connect to MS2.

Tunerstudio debug Log is 2.9MB and is filled with mostly this message:
10/31/17 3:02:44 PM :Debug: Error trying to go online: No bytes found on unknown read size. timeout x2: 250
Oct 31, 2017 3:02:44 PM h.q run
SEVERE: z.b: No bytes found on unknown read size. timeout x2: 250
z.b: No bytes found on unknown read size. timeout x2: 250
at h.p.a(Unknown Source)
at l.G.a(Unknown Source)
at l.G.b(Unknown Source)
at l.G.d(Unknown Source)
at h.p.a(Unknown Source)
at h.q.run(Unknown Source)


I'll try and edit most of this out so I can get the file size down.
Attachments
spitnl.msq
MSQ
(119.12 KiB) Downloaded 2 times
Last edited by spitnl on Wed Nov 01, 2017 8:35 am, edited 1 time in total.
spitnl
Helpful MS/Extra'er
 
Posts: 39
Joined: Tue Feb 21, 2012 3:57 am

Re: Tunerstudio Losing connection and unable to reconnect

Postby LT401Vette » Tue Oct 31, 2017 9:39 am

Were you able to reconnect again or is something permanently damaged?
Reboot?
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
User avatar
LT401Vette
Super MS/Extra'er
 
Posts: 10338
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC

Re: Tunerstudio Losing connection and unable to reconnect

Postby spitnl » Tue Oct 31, 2017 11:43 am

Hi Phil,

I was only able to reconnect when starting with a blank project and loading the settings from the MS2.
I'll retry connecting with the project file loaded in TunerStudio.
Should I flash the MS2?

Fred
spitnl
Helpful MS/Extra'er
 
Posts: 39
Joined: Tue Feb 21, 2012 3:57 am

Re: Tunerstudio Losing connection and unable to reconnect

Postby spitnl » Tue Oct 31, 2017 11:56 am

It just tried connecting to the MS2 with the project loaded in Tunerstudio.
This time it was able to connect.
However when I look at the TunerstudioDebuglog, I'm seeing the same error messages pop up.
Renamed the debug log so TS could make a new one.
Attached is the new debug log.

From your answer I take it this is not a Tunerstudio problem but an issue with the MS2?
Attachments
TunerStudioAppDebug.txt
(21.57 KiB) Downloaded 6 times
spitnl
Helpful MS/Extra'er
 
Posts: 39
Joined: Tue Feb 21, 2012 3:57 am

Re: Tunerstudio Losing connection and unable to reconnect

Postby LT401Vette » Tue Oct 31, 2017 12:16 pm

From your answer I take it this is not a Tunerstudio problem but an issue with the MS2?


Not necessarily, but probably not TS. My best guess at this point is that it is electrical.
- Bad serial cable letting in EM noise
- the MS grounding through the serial cable. (This can hang the serial chip in the laptop)
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
User avatar
LT401Vette
Super MS/Extra'er
 
Posts: 10338
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC

Re: Tunerstudio Losing connection and unable to reconnect

Postby spitnl » Tue Oct 31, 2017 12:29 pm

That last debug log was with the ignition on, engine not started.
So I guess that would rule EM out.

MS grounding through the serial cable. -Bad MS2 earth?
Don't know if it matters but with the last debug log was with the laptop was running off its own battery.
When the fault first appeared the laptop was hooked up to the car through a 12V DC converter.

Getting a new cable is going to take a while, but I have got a USB-RS232 converter I could try.
spitnl
Helpful MS/Extra'er
 
Posts: 39
Joined: Tue Feb 21, 2012 3:57 am

Re: Tunerstudio Losing connection and unable to reconnect

Postby spitnl » Tue Oct 31, 2017 12:53 pm

Couldn't get the USB-RS232 to work.

But when I delete the debug log and start TS without a connecting it to the MS2 it will still generate a fault. -log attached
Laptop serial port fried?
Can I test this someway?
Attachments
TunerStudioAppDebug.txt
(13.21 KiB) Downloaded 5 times
spitnl
Helpful MS/Extra'er
 
Posts: 39
Joined: Tue Feb 21, 2012 3:57 am

Re: Tunerstudio Losing connection and unable to reconnect

Postby spitnl » Tue Oct 31, 2017 2:54 pm

Things got a little stranger.

I disabled the laptops serial port.
Debug Log shows com 1 can't be found, as it should be, no other errors.

Installed the FTDI drivers for the USB-Serial converter.
Rebooted the laptop.
Set the port speed to 115200.
Started TS and loaded my project. (Laptop not connected to MS2)
Closed TS.

Now the debug log shows the same error as in my first post??
SEVERE: z.b: No bytes found on unknown read size. timeout x2: 250
z.b: No bytes found on unknown read size. timeout x2: 250
at h.p.a(Unknown Source)
at l.G.a(Unknown Source)
at l.G.b(Unknown Source)
at l.G.d(Unknown Source)
at h.p.a(Unknown Source)
at h.q.run(Unknown Source)


Corrupted project/MSQ?
Attachments
TunerStudioAppDebug.txt
(17.61 KiB) Downloaded 4 times
spitnl
Helpful MS/Extra'er
 
Posts: 39
Joined: Tue Feb 21, 2012 3:57 am

Re: Tunerstudio Losing connection and unable to reconnect

Postby spitnl » Wed Nov 01, 2017 3:47 am

Did some more tests.

It's not a faulty msq/project, because when a run the default MS2extra project the same errors are in the debug log.

Then I borrowed another USB-RS232 converter.
And again when loading the default MS2extra project the same errors appear in the debug log.

So it has to be either a problem with my laptop or TS.

Going to uninstall/reinstall TS next.
spitnl
Helpful MS/Extra'er
 
Posts: 39
Joined: Tue Feb 21, 2012 3:57 am

Re: Tunerstudio Losing connection and unable to reconnect

Postby spitnl » Wed Nov 01, 2017 4:00 am

Uninstalled/Reinstalled TS and still getting the same error.
spitnl
Helpful MS/Extra'er
 
Posts: 39
Joined: Tue Feb 21, 2012 3:57 am

Re: Tunerstudio Losing connection and unable to reconnect

Postby LT401Vette » Wed Nov 01, 2017 7:39 am

Yes, that error would be the same. All it is really saying is that TS sent a request and nothing responded within the timeout period.

I'm not clear on this... Are you able to talk to the box, then it looses connection or is it not talking at all.
Again, this does not look like a TS issue, but an electrical/hardware issue.
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
User avatar
LT401Vette
Super MS/Extra'er
 
Posts: 10338
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC

Re: Tunerstudio Losing connection and unable to reconnect

Postby spitnl » Wed Nov 01, 2017 8:23 am

I'm not clear on this... Are you able to talk to the box, then it looses connection or is it not talking at all.

Sorry for not being clear. This is without even attaching a serial cable to the laptop, let alone MS2.
I tried to replicate the problem on my PC, but that log doesn't show any errors.

When I do run TS op my laptop, open the project and connect the MS2, TS says it has connected, but when I close TS and check the log, the error is in the log.
I can make changes in the table and burn them, and they are preserved.
spitnl
Helpful MS/Extra'er
 
Posts: 39
Joined: Tue Feb 21, 2012 3:57 am

Re: Tunerstudio Losing connection and unable to reconnect

Postby spitnl » Wed Nov 01, 2017 8:34 am

Hi Phil,

I've found the problem and it is entirely my fault.
My laptop is a HP NC8430. To make a battery last longer and make it running a bit cooler I had installed the RightMark CPU Clock utility.
This lowers the processor states and CPU voltages.
I have had this program installed for almost 2 years and never had an issue.
Till now that is, because when I don't run the cpu utility TS doesn't show any issues in the log.
When I turn it back on the errors come right back.
Glad I´ve finally found the problem.

Phill, sorry for thinking this was a TunerStudio problem and taking up you valuable time with this stupid mistake.
And thanks for your last post about it being an electrical problem, that's what made me think about the CPU utility.
spitnl
Helpful MS/Extra'er
 
Posts: 39
Joined: Tue Feb 21, 2012 3:57 am

Re: Tunerstudio Losing connection and unable to reconnect SO

Postby LT401Vette » Wed Nov 01, 2017 9:02 am

Glad you got it solved..
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
User avatar
LT401Vette
Super MS/Extra'er
 
Posts: 10338
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC


Return to Tuner Studio

Who is online

Users browsing this forum: No registered users and 2 guests