MEGAsquirt A place to collectively sort out this megasquirt gizmo

Megatune COM port problems

Thread Tools
 
Search this Thread
 
Old 03-02-2008, 07:56 PM
  #1  
Junior Member
Thread Starter
 
richard_ha's Avatar
 
Join Date: Jan 2007
Posts: 188
Total Cats: 0
Default Megatune COM port problems

Perhaps add this to the FAQ or something?.....

You might have trouble connecting to your MS if you are using a COM port that is higher than 9. Something on mine meant it wouldn't work, so I changed the COM port from 13 to 2 and it now connects fine.
Attached Thumbnails Megatune COM port problems-changing-comports.jpg  
richard_ha is offline  
Old 03-02-2008, 08:06 PM
  #2  
Elite Member
iTrader: (13)
 
cjernigan's Avatar
 
Join Date: Oct 2006
Location: Atlanta, GA
Posts: 8,091
Total Cats: 7
Default

Good info. Worth putting somewhere for safe keeping.
Let's leave it stickied for a little while, let people see it so other's know about it. Then we'll put it with the other important threads.

Last edited by cjernigan; 03-02-2008 at 08:21 PM.
cjernigan is offline  
Old 03-02-2008, 11:41 PM
  #3  
Elite Member
iTrader: (11)
 
IcantDo55's Avatar
 
Join Date: Apr 2007
Location: VA Beach
Posts: 1,996
Total Cats: 51
Default

Yea add:

That it needs to be at 9600 and eassytherm only used comm ports 1-4 so 9 like showing will not work. Also the "ports" in device manager will not evebn show up if you do not have somthing pluged in to the computer.

ASK ME HOW I KNOW THIS?????

lol
IcantDo55 is offline  
Old 03-02-2008, 11:45 PM
  #4  
Elite Member
iTrader: (13)
 
cjernigan's Avatar
 
Join Date: Oct 2006
Location: Atlanta, GA
Posts: 8,091
Total Cats: 7
Default

9600 is the common default unless you use the MSII downloader, then you have to change it.
The com ports don't show up unless the device is plugged in because the com port isn't being used.
If you need a com port outside of 1-4 no you cannot use easytherm but you can use the MSII downloader to flash the .s19 file that easytherm creates to pretty much any com port you desire.
Good info.
cjernigan is offline  
Old 03-25-2008, 04:31 PM
  #5  
Newb
 
mengu190's Avatar
 
Join Date: Mar 2008
Posts: 6
Total Cats: 0
Default

thanks i wanna tell something too i have laptop and it dont have com ports i bougt usb to serial converter and i had to many problems whatever i did i couldn't connect to ecu so that i bought pcmcia to serial converter from ebay now i dont have any problem i prefer pcmcia one
mengu190 is offline  
Old 03-25-2008, 04:34 PM
  #6  
Elite Member
iTrader: (21)
 
paul's Avatar
 
Join Date: Jun 2006
Location: Point Pleasant, NJ
Posts: 2,957
Total Cats: 2
Default

Did your laptop come with "shift" "," or "." keys?
paul is offline  
Old 03-25-2008, 04:37 PM
  #7  
Newb
 
mengu190's Avatar
 
Join Date: Mar 2008
Posts: 6
Total Cats: 0
Default

Originally Posted by paul
Did your laptop come with "shift" "," or "." keys?
yes it come with all why did you asked
mengu190 is offline  
Old 03-25-2008, 04:41 PM
  #8  
Elite Member
iTrader: (21)
 
paul's Avatar
 
Join Date: Jun 2006
Location: Point Pleasant, NJ
Posts: 2,957
Total Cats: 2
Default

Originally Posted by mengu190
yes it come with all why did you asked
Just wanted to check before a mod warned you for ignoring said keys.
paul is offline  
Old 03-25-2008, 04:41 PM
  #9  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

too late.
Braineack is offline  
Old 03-25-2008, 04:42 PM
  #10  
Senior Member
 
timk's Avatar
 
Join Date: Dec 2004
Location: Brisbane, Australia
Posts: 1,278
Total Cats: 37
Default

Originally Posted by paul
Did your laptop come with "shift" "," or "." keys?
timk is offline  
Old 03-25-2008, 04:45 PM
  #11  
Newb
 
mengu190's Avatar
 
Join Date: Mar 2008
Posts: 6
Total Cats: 0
Default

Thanks. I see.
mengu190 is offline  
Old 06-12-2008, 02:29 AM
  #12  
Junior Member
 
rb26dett's Avatar
 
Join Date: Feb 2007
Location: 11368 miles from where i would like to be
Posts: 269
Total Cats: 92
Default

This applies much more to MS2 than MS1 due to the rates involved, but this article by Maxim (who make the serial chips) describes the mechanism by which poor accuracy of clock rates causes data corruption and failure of the comms link.

http://www.maxim-ic.com/appnotes.cfm...te_number/2141

MS2 serial clock is pretty accurate, but many cheap USB adapters and laptop built in ports are not so good. As you can see, there isn't much room for error.

Compounding this is the fact that most devices do not report framing errors. I'm not sure what MS2 code variants do with the framing errors, however they do have access to that information on the ECU side even if your PC is not reporting/logging it.

Fred.
rb26dett is offline  
Old 08-24-2008, 04:05 PM
  #13  
Elite Member
iTrader: (17)
 
pdexta's Avatar
 
Join Date: Aug 2007
Location: Knoxville, TN
Posts: 2,949
Total Cats: 182
Default

I haven't been able to connect to my Megasquirt. I'm using a serial to USB adapter, so maybe that is the issue. Have any of you guys had success with that? Do you guys have any suggestions, tips, or potential things to try? Here's the error I'm getting. :(



*edit- I've tried what the message tells me to try so that is not the issue, I'm not quite that retarded, I don't think.*
pdexta is offline  
Old 08-24-2008, 06:49 PM
  #14  
Elite Member
iTrader: (17)
 
pdexta's Avatar
 
Join Date: Aug 2007
Location: Knoxville, TN
Posts: 2,949
Total Cats: 182
Default

Just tried it on a different computer with a serial port and I get the same message. Still can't connect. If anyone has any ideas to try I'd appreciate it.
pdexta is offline  
Old 08-24-2008, 06:58 PM
  #15  
Junior Member
 
rb26dett's Avatar
 
Join Date: Feb 2007
Location: 11368 miles from where i would like to be
Posts: 269
Total Cats: 92
Default

EDIT : you can't communicate with it until you have a port to communicate through! Something is wrong with your pc setup. Probably your usb serial is on com7 or something?

Original post : Ummm, did you load some code to it first? (they don't come with code 9/10, ms2 anyway)
rb26dett is offline  
Old 08-24-2008, 07:40 PM
  #16  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,026
Total Cats: 6,592
Default

The first time is always tricky, since you don't really know if it's the PC or the MS. My experience largely mirrors rb26dett's observations- that one way to be certain is to do a firmware download into the MS.

If you have a null modem available (and know what the hell one is) then you can verify your PCs serial port against another machine that way using HyperTerm or similar.
Joe Perez is offline  
Old 08-25-2008, 10:57 AM
  #17  
Supporting Vendor
 
Matt Cramer's Avatar
 
Join Date: Sep 2006
Posts: 2,332
Total Cats: 67
Default

Originally Posted by pdexta
I haven't been able to connect to my Megasquirt. I'm using a serial to USB adapter, so maybe that is the issue. Have any of you guys had success with that? Do you guys have any suggestions, tips, or potential things to try? Here's the error I'm getting. :(



*edit- I've tried what the message tells me to try so that is not the issue, I'm not quite that retarded, I don't think.*
Looks like you've either configured MegaTune for the wrong COM port under Communications -> Settings, or you have a driver issue with the USB adapter.

To find out what port the USB adapter is using, first make sure the adapter is plugged in and its light is on. Then right-click My Computer and select Manage. Select Device Manager at the left, then scroll down the right hand column until you find the entry that says "Ports (COM & LPT)". Click the plus sign next to it. You should see an entry that looks like "USB Serial Port (COMx)" where x is the number of the port it has grabbed.

If it's one of the DIYAutoTune.com USB adapters and it's not showing up in the Device Manager, grab the driver from our website.

If it's grabbed a port number higher than 4, I recommend changing it to a lower number. Double-click the USB Serial Port item. Then select the Port Settings tab at the top of the box that pops up and click the button marked Advanced. You will see a new screen where you can specify the COM port number; set it to a number less than 5 that is not already in use. Then click OK to close that screen, and OK to close the Properties box. This will set your USB adapter to a lower port number.
__________________
Matt Cramer
www.diyautotune.com
Matt Cramer is offline  
Old 08-25-2008, 11:00 AM
  #18  
Elite Member
iTrader: (17)
 
pdexta's Avatar
 
Join Date: Aug 2007
Location: Knoxville, TN
Posts: 2,949
Total Cats: 182
Default

Yeah... I'm a complete computer noob, the majority of what you guys are saying looks like Chinese to me. I haven't loaded any code to the MS, I'll try to figure that out tonight and see if I make any progress. Thanks for the input, if you guys think of anything else, or have any tips or suggestions I'd really appreciate it.
pdexta is offline  
Old 08-25-2008, 11:09 AM
  #19  
Elite Member
iTrader: (17)
 
pdexta's Avatar
 
Join Date: Aug 2007
Location: Knoxville, TN
Posts: 2,949
Total Cats: 182
Default

Originally Posted by Matt Cramer
Looks like you've either configured MegaTune for the wrong COM port under Communications -> Settings, or you have a driver issue with the USB adapter.

To find out what port the USB adapter is using, first make sure the adapter is plugged in and its light is on. Then right-click My Computer and select Manage. Select Device Manager at the left, then scroll down the right hand column until you find the entry that says "Ports (COM & LPT)". Click the plus sign next to it. You should see an entry that looks like "USB Serial Port (COMx)" where x is the number of the port it has grabbed.

If it's one of the DIYAutoTune.com USB adapters and it's not showing up in the Device Manager, grab the driver from our website.

If it's grabbed a port number higher than 4, I recommend changing it to a lower number. Double-click the USB Serial Port item. Then select the Port Settings tab at the top of the box that pops up and click the button marked Advanced. You will see a new screen where you can specify the COM port number; set it to a number less than 5 that is not already in use. Then click OK to close that screen, and OK to close the Properties box. This will set your USB adapter to a lower port number.
Thanks so much man that will certainly help out a lot!
pdexta is offline  
Old 10-21-2008, 12:37 AM
  #20  
Senior Member
iTrader: (2)
 
speedf50's Avatar
 
Join Date: May 2007
Location: Malibu, CA
Posts: 749
Total Cats: 0
Default

Could my data cable be bad? Maybe the port on the MS or computer? I'm trying to hook up my MSPNP to my laptop with a serial port, but should the port only show up when the MS is plugged in? Because there is a port listed, but nothing changes when I plug in the MS.

I specify com2 which is the only port that could be it (at least i'm pretty sure that is it) and I even changed the one port from com1 to com2 to check to see if that had anything to do with it. Still no dice.

I'll give diyautotune a call tomorrow, but I wanted to check on here to see if anyone can point me in the right direction, I'm stumped.
speedf50 is offline  


Quick Reply: Megatune COM port problems



All times are GMT -4. The time now is 12:29 PM.