Megatune causing resets SOLVED

Forum for discussing Tuner StudioMS tuning & datalogging software.
Forum rules
Read the manual to see if your question is answered there before posting. If you have questions about MS1/Extra or MS2/Extra or other non-B&G code configuration or tuning, please post them at http://www.msextra.com The full forum rules are here: Forum Rules, be sure to read them all regularly.
JustinL
Helpful Squirter
Posts: 43
Joined: Tue Nov 22, 2005 6:03 pm
Location: Edmonton

Megatune causing resets SOLVED

Post by JustinL »

Hello, I've got my car running with the microsquirt now, but I'm getting resets when I plug in the db9 cable and run megatune. I've tried 2 laptops, one with a USB-DB9 converter and yesterday I tried an older laptop with a serial port and the same problem persists. The car runs very smoothly on µS even with all the serial plugs connected to the laptop. It's only when I open megatune that it starts with the resets and the stalling. This makes me think that it's the flow of information in the wire that is the problem. Would there be a solution in the comms section of megatune to alleviate this? Do I need shielded cable?

Thanks!

Justin
Last edited by JustinL on Wed May 28, 2008 5:51 pm, edited 1 time in total.
88 944 Turbo S- MS-II code 2.6 (fuel only)
87 944- MicroSquirt code 2.883j
efahl
Site Admin
Posts: 232
Joined: Mon Feb 16, 2004 3:15 pm
Location: San Clemente, California, USA
Contact:

Re: Megatune causing resets

Post by efahl »

Justin,

If I'm reading this correctly, you do not have the problem when the cable is plugged in and MT is not running? That's very strange, usually these problems are due to the cable acting like an antenna and pumping noise back into the ground plane or something like that, so they occur irrespective of MT running or not.

Hmm. Would you be willing to cut up your cable? I'm thinking it would be interesting to cut out all the wires at the uS end of the cable except for the three that are actually used (2, 3 and 5)... http://www.not2fast.com/megasquirt/doc/cable.html I'm guessing wildly here, but maybe some of the other wires are telegraphing signals into the connector???

Eric
efahl
Site Admin
Posts: 232
Joined: Mon Feb 16, 2004 3:15 pm
Location: San Clemente, California, USA
Contact:

Re: Megatune causing resets

Post by efahl »

Oops, as usual I forgot to answer part of your question...

What version of MT are you running? The 2.25p1 version was recently updated to 2.25p3 by the addition of some better initialization in the comms section and that might help.

Eric
JustinL
Helpful Squirter
Posts: 43
Joined: Tue Nov 22, 2005 6:03 pm
Location: Edmonton

Re: Megatune causing resets

Post by JustinL »

Thanks for the ideas Eric. I have a spare cable, so I can cut one of them up. I'm also using P1 so I'll update to P3 and see if that helps. I tried changing the comms data rates and it still resets with any rate and delay. I'll try software first, and then slicing and dicing the cable.

Reporting back soon,
Justin
88 944 Turbo S- MS-II code 2.6 (fuel only)
87 944- MicroSquirt code 2.883j
JustinL
Helpful Squirter
Posts: 43
Joined: Tue Nov 22, 2005 6:03 pm
Location: Edmonton

Re: Megatune causing resets

Post by JustinL »

I updated to P3, and found that my cable has only 3 wires in it, so there was no dissecting that I could do. Still no resolution to the resetting problem. I removed all but one of my ground wires one at a time thinking this might remove any grounding loops, but this didn't work either. It still runs fine as long as I don't try to look at any data. I'm not sure what my next step should be.

Justin
88 944 Turbo S- MS-II code 2.6 (fuel only)
87 944- MicroSquirt code 2.883j
efahl
Site Admin
Posts: 232
Joined: Mon Feb 16, 2004 3:15 pm
Location: San Clemente, California, USA
Contact:

Re: Megatune causing resets

Post by efahl »

Justin,

You're way out of my area of expertise... Maybe try shielding the wire by wrapping it with aluminum foil? I remember Andy Whittle doing that on some MAF lines and it was a good diagnostic.

Eric
JustinL
Helpful Squirter
Posts: 43
Joined: Tue Nov 22, 2005 6:03 pm
Location: Edmonton

Re: Megatune causing resets

Post by JustinL »

Tonight I tried wrapping the wire in foil, new spark plug wires, new resistor plugs. Still resetting. Is there any way for me to narrow this down further? Is there another program that interfaces with microsquirt or just fires up the comm port to see it I can generate resets a different way?

Thanks for all the input,

Justin
88 944 Turbo S- MS-II code 2.6 (fuel only)
87 944- MicroSquirt code 2.883j
Matt Cramer
Super Squirter
Posts: 910
Joined: Sat Jul 03, 2004 11:35 am

Re: Megatune causing resets

Post by Matt Cramer »

There's a program called PortCheck.exe bundled with MegaTune that sends signals through the COM port to see if it responds. That may help test things out.
Matt Cramer at DIY Autotune
Image
efahl
Site Admin
Posts: 232
Joined: Mon Feb 16, 2004 3:15 pm
Location: San Clemente, California, USA
Contact:

Re: Megatune causing resets

Post by efahl »

Or maybe just good old hyperterm?

All Programs -> Accessories -> Communications -> HyperTerminal

You can tell if you are connected properly because "S" and "Q" typed into hyperterm should cause MS-II code to echo back their signature and version info, respectively. (That's basically all that portCheck does inside a loop that opens every port at 9600 and 115k baud...)

Eric
SQLGUY
Experienced Squirter
Posts: 243
Joined: Sun May 14, 2006 3:03 am
Location: Colorado Springs, CO

I doubt this is the case, but...

Post by SQLGUY »

you don't by any chance have the car on a battery charger and the laptop running off of A/C power, do you? If so, get rid of one of them. You can get ground loops through the laptop when it's plugged into the wall.
Post Reply