ts now constantly dropping com connection.

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

Post Reply
weeblebiker
Master MS/Extra'er
Posts: 421
Joined: Sun May 11, 2008 4:03 pm

ts now constantly dropping com connection.

Post by weeblebiker »

started dropping connection when I upgraded firmware to the last stable release and upgraded ts and started running cops. tried 2 different laptops, swapped the old prolific pl2303 adapter to a 3ft length shielded FTDI adapter, still dropping connection. happens randomly when running. doesn't appear to happen with the engine off.
I haven't been able to get a data log yet.
my first suspicion is I have noise induced drop out either in the box directly with the comm ic or a firmware /software issue.
once I get the grayed screen and not connected message, testing port always fails.
still fails if I disconnect the usb and re connect and try to test port.
it comes back up and connects once I shut ts down and restart it. will reconnect without disconnecting the usb while the engine is running.


any way to look at the the usb communications line and see whats going on??
Last edited by weeblebiker on Fri Apr 24, 2015 8:20 am, edited 1 time in total.
v2.2 box, ms2, dual wheel, sequential ignition, staged injection, boost control, maf
'87 VW scirocco, 2L16V, TD0-14T turbo, itbs
LT401Vette
Super MS/Extra'er
Posts: 12732
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: ts now constantly dropping com connection.

Post by LT401Vette »

Have you tried running D2XX or JSSC drivers under the USB And Wireless menu?

I don't know if that will fix it, but worth a shot.

After that I may need a Comm Debug log.
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
weeblebiker
Master MS/Extra'er
Posts: 421
Joined: Sun May 11, 2008 4:03 pm

Re: ts now constantly dropping com connection.

Post by weeblebiker »

where is comm debug log?
v2.2 box, ms2, dual wheel, sequential ignition, staged injection, boost control, maf
'87 VW scirocco, 2L16V, TD0-14T turbo, itbs
LT401Vette
Super MS/Extra'er
Posts: 12732
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: ts now constantly dropping com connection.

Post by LT401Vette »

It is the regular TunerStudioAppDebut.txt but captured while Comm Debug is turned on under the Communications menu..
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
weeblebiker
Master MS/Extra'er
Posts: 421
Joined: Sun May 11, 2008 4:03 pm

Re: ts now constantly dropping com connection.

Post by weeblebiker »

Driver is Usb and Wireless
connection type FTDI-D2XX driver
Device serial # is Auto
Baud rate 115200

Data Rate is bulleted as 15 reads per second

found the Debug Log Comm checkbox. I have it checked now
Ill run it next time

Thanks
v2.2 box, ms2, dual wheel, sequential ignition, staged injection, boost control, maf
'87 VW scirocco, 2L16V, TD0-14T turbo, itbs
LT401Vette
Super MS/Extra'er
Posts: 12732
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: ts now constantly dropping com connection.

Post by LT401Vette »

Also give JSSC a try.
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
weeblebiker
Master MS/Extra'er
Posts: 421
Joined: Sun May 11, 2008 4:03 pm

Re: ts now constantly dropping com connection.

Post by weeblebiker »

sorry for the delay, left the tuning laptop at work.
I went out at lunch and got a drop out with the debug log comm box checked, where do I find the debug .txt file?
and how would be best to get it to you?
Thanks!

my suspicion is its noise from the tc4427 drivers above the com ic
v2.2 box, ms2, dual wheel, sequential ignition, staged injection, boost control, maf
'87 VW scirocco, 2L16V, TD0-14T turbo, itbs
LT401Vette
Super MS/Extra'er
Posts: 12732
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: ts now constantly dropping com connection.

Post by LT401Vette »

and started running cops.
That piece from the original post just caught my attention. This would most likely be related to the problem.

So I would tend to agree with:
my suspicion is its noise from the tc4427 drivers above the com ic
The TunerStudioAppDebug.txt would be in the TunerStudioProjects folder.
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
weeblebiker
Master MS/Extra'er
Posts: 421
Joined: Sun May 11, 2008 4:03 pm

Re: ts now constantly dropping com connection.

Post by weeblebiker »

debug file 2288 kb. can I email it to you or clip it down ?

I've been having this random pfft noise I thought was a valve sticking open and have black exhaust residue back up the intake runners aon #2 and #3 cylinders. just changed the long block and still doing it.

now I wonder if if it's the vag coils cross talking and igniting when the intake valves are open.

Thanks!
v2.2 box, ms2, dual wheel, sequential ignition, staged injection, boost control, maf
'87 VW scirocco, 2L16V, TD0-14T turbo, itbs
LT401Vette
Super MS/Extra'er
Posts: 12732
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: ts now constantly dropping com connection.

Post by LT401Vette »

Sure.
Send it to support at efiAnalytics. Com
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
LT401Vette
Super MS/Extra'er
Posts: 12732
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: ts now constantly dropping com connection.

Post by LT401Vette »

I did get the AppDebug log, but there was no Comm Debug info in it.

It does show it trying to connect repeatedly but is not finding any FTDI devices connected.
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
prof315
Super MS/Extra'er
Posts: 3785
Joined: Sun Jan 18, 2009 3:13 am
Location: Melbourne, FL

Re: ts now constantly dropping com connection.

Post by prof315 »

weeblebiker wrote: I've been having this random pfft noise I thought was a valve sticking open and have black exhaust residue back up the intake runners aon #2 and #3 cylinders. just changed the long block and still doing it.

now I wonder if if it's the vag coils cross talking and igniting when the intake valves are open.

Thanks!
Given that VAG coils seem to vary so much in how they operate vs. revision #, I would say that's a real possibility. There's also the possibility that you have exceeded the limits of the V2.2 board's ability to maintain clean signals, it's not nearly as robust as a v3.0/v3.57 board and you are truly pushing yours to the max with all of the features you are using.
Linfert Performance/321 Motorsports
SCCA 2019 SM National Champion Crew Chief
SCCA 2023 FP National Champion Tuner/electrical engineer
100s of MS systems built installed and tuned
Support the developers!
weeblebiker
Master MS/Extra'er
Posts: 421
Joined: Sun May 11, 2008 4:03 pm

Re: ts now constantly dropping com connection.

Post by weeblebiker »

so comparing my ts com settings to my usb adapter double checked I have an FTDI chip set selected and thats whats showing up in windows
I have a baud rate in ts of 115200
I have a pits per second rate on the com port setting of 9600

should they be the same??
would this cause the drops?
what should the rates be with the FTDI chip set?

the data logs look clean accept for a random dropout of the mat sensor and corresponding little jump in the injector pw. dunno whats causing the mat dropout

I made a Mylar sheathed copper foil ground plane and placed between the ICs. I may go back in and run the jbperf driver board ground all the way back by the main connector. or put a decoupling cap across the com ic

besides the annoying com drop out, the main concern is the random pfft noise. ruled out the long block by swapping it. pretty sure its not the bov, by swapping from an 8 lb spring to a 5 lb. the current theory is ignition with the intake valves open.
v2.2 box, ms2, dual wheel, sequential ignition, staged injection, boost control, maf
'87 VW scirocco, 2L16V, TD0-14T turbo, itbs
weeblebiker
Master MS/Extra'er
Posts: 421
Joined: Sun May 11, 2008 4:03 pm

Re: ts now constantly dropping com connection.

Post by weeblebiker »

just traced where i'm pulling vcc for the jbperf driver board.
u6 comm ic is between the jbperf board and vcc.

what do ya'll think about putting a 0.1uf decoupling cap across u6 pos and neg and something like a 1 or 10uf cap across the entire jbperf board pos and neg? maybe a 10 ohm resistor inline between ground and the decoupling cap and ic for each also?

part of the fun is making this box work with all the mods. learning how to overcome bad circuit design(not this design) is why I'm doing this project like this.

once I get this running well, I'll probably just jump to ms3
v2.2 box, ms2, dual wheel, sequential ignition, staged injection, boost control, maf
'87 VW scirocco, 2L16V, TD0-14T turbo, itbs
LT401Vette
Super MS/Extra'er
Posts: 12732
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: ts now constantly dropping com connection.

Post by LT401Vette »

I have a baud rate in ts of 115200
I have a pits per second rate on the com port setting of 9600

should they be the same??
would this cause the drops?
what should the rates be with the FTDI chip set?
The baud in the windows port setting doesn't matter, it is just the default baud for that port. TS sets the baud on the port to what you have set in TS.
The drops on your MAT look like a wiring issue, not a communications problem. It is what the ECU is seeing, hence the reaction in pw.
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
weeblebiker
Master MS/Extra'er
Posts: 421
Joined: Sun May 11, 2008 4:03 pm

Re: ts now constantly dropping com connection.

Post by weeblebiker »

I'll check the mat sensor. last time I disconnected it I noticed the connector plug was wiggly.

going to put in a 10uf decoupling cap on u6 and a 10 ohm resistor between vcc and the tc4427 gates and gate decoupling caps.
v2.2 box, ms2, dual wheel, sequential ignition, staged injection, boost control, maf
'87 VW scirocco, 2L16V, TD0-14T turbo, itbs
weeblebiker
Master MS/Extra'er
Posts: 421
Joined: Sun May 11, 2008 4:03 pm

Re: ts now constantly dropping com connection.

Post by weeblebiker »

so ran a 10uf and a 0.1uf caps across u6 and the 10 ohm resister on the jbperf board pos. drove and only had 1 dropout in 30 minutes. not sure if it was my laptop trying to go to sleep.

will test tomorrow with a charger hooked up and laptop to never shut down
v2.2 box, ms2, dual wheel, sequential ignition, staged injection, boost control, maf
'87 VW scirocco, 2L16V, TD0-14T turbo, itbs
weeblebiker
Master MS/Extra'er
Posts: 421
Joined: Sun May 11, 2008 4:03 pm

Re: ts now constantly dropping com connection.

Post by weeblebiker »

it's still dropping connection.
TS goes offline while the car is running
when I go to communications and click settings I get a hour glass only over the communications index drop down menu, the mouse arrow re appears across the rest of the screen and the computer works otherwise and I can close TS by clicking the red X. but stays an hour glass over the pop up.
the usb port is still showing in the microsoft hardware manager
until I unplug the usb, then communications settings pop up window appears.
when I plug the usb back in the computer, sometimes ts will reconnect when I test the connection, sometimes ts wont.

however it seems to be happening randomly less often.
maybe a set of decoupling capacitors on the db9 connector?

I am running wasted cop, meaning if it is noise induced by the coils or drivers, I can half the instances of noise generation by getting off my duff and phasing my cam signal correctly B#1TDC instead of a#1tdc
v2.2 box, ms2, dual wheel, sequential ignition, staged injection, boost control, maf
'87 VW scirocco, 2L16V, TD0-14T turbo, itbs
weeblebiker
Master MS/Extra'er
Posts: 421
Joined: Sun May 11, 2008 4:03 pm

Re: ts now constantly dropping com connection.

Post by weeblebiker »

apparently the metal braiding in the clear jacket of the adapter cable is not connected so the cable is not shielded. i assumed it was

while running if I move a loop of the serial/usb adapter cable next to the laptop power supply transformer ts disconnects every time.
but only while the engine is running and somewhere above idle.

it does re connect by unplugging and plugging in the usb if the wire is not near the power supply.

so
my theory is switching to cop instead of wasted cop and getting a adapter that states it is shielded instead of just a pretty jacket should take care of the issues.
v2.2 box, ms2, dual wheel, sequential ignition, staged injection, boost control, maf
'87 VW scirocco, 2L16V, TD0-14T turbo, itbs
weeblebiker
Master MS/Extra'er
Posts: 421
Joined: Sun May 11, 2008 4:03 pm

Re: ts now constantly dropping com connection.

Post by weeblebiker »

switching to sequential ignition did not help. a
v2.2 box, ms2, dual wheel, sequential ignition, staged injection, boost control, maf
'87 VW scirocco, 2L16V, TD0-14T turbo, itbs
Post Reply