Notices
MEGAsquirt A place to collectively sort out this megasquirt gizmo

Megatune COM port problems

Thread Tools
 
Search this Thread
 
Old Mar 2, 2008 | 07:56 PM
  #1  
richard_ha's Avatar
Thread Starter
Junior Member
 
Joined: 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  
Old Mar 2, 2008 | 08:06 PM
  #2  
cjernigan's Avatar
Elite Member
iTrader: (13)
 
Joined: Oct 2006
Posts: 8,091
Total Cats: 7
From: Atlanta, GA
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; Mar 2, 2008 at 08:21 PM.
Old Mar 2, 2008 | 11:41 PM
  #3  
IcantDo55's Avatar
Elite Member
iTrader: (11)
 
Joined: Apr 2007
Posts: 2,010
Total Cats: 52
From: VA Beach
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
Old Mar 2, 2008 | 11:45 PM
  #4  
cjernigan's Avatar
Elite Member
iTrader: (13)
 
Joined: Oct 2006
Posts: 8,091
Total Cats: 7
From: Atlanta, GA
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.
Old Mar 25, 2008 | 04:31 PM
  #5  
mengu190's Avatar
Newb
 
Joined: 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
Old Mar 25, 2008 | 04:34 PM
  #6  
paul's Avatar
Elite Member
iTrader: (21)
 
Joined: Jun 2006
Posts: 2,957
Total Cats: 2
From: Point Pleasant, NJ
Default

Did your laptop come with "shift" "," or "." keys?
Old Mar 25, 2008 | 04:37 PM
  #7  
mengu190's Avatar
Newb
 
Joined: 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
Old Mar 25, 2008 | 04:41 PM
  #8  
paul's Avatar
Elite Member
iTrader: (21)
 
Joined: Jun 2006
Posts: 2,957
Total Cats: 2
From: Point Pleasant, NJ
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.
Old Mar 25, 2008 | 04:41 PM
  #9  
Braineack's Avatar
Boost Czar
iTrader: (62)
 
Joined: May 2005
Posts: 80,552
Total Cats: 4,368
From: Chantilly, VA
Default

too late.
Old Mar 25, 2008 | 04:42 PM
  #10  
timk's Avatar
Senior Member
 
Joined: Dec 2004
Posts: 1,278
Total Cats: 37
From: Brisbane, Australia
Default

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

Thanks. I see.
Old Jun 12, 2008 | 02:29 AM
  #12  
rb26dett's Avatar
Junior Member
 
Joined: Feb 2007
Posts: 269
Total Cats: 92
From: 11368 miles from where i would like to be
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.
Old Aug 24, 2008 | 04:05 PM
  #13  
pdexta's Avatar
Elite Member
iTrader: (17)
 
Joined: Aug 2007
Posts: 2,954
Total Cats: 184
From: Knoxville, TN
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.*
Old Aug 24, 2008 | 06:49 PM
  #14  
pdexta's Avatar
Elite Member
iTrader: (17)
 
Joined: Aug 2007
Posts: 2,954
Total Cats: 184
From: Knoxville, TN
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.
Old Aug 24, 2008 | 06:58 PM
  #15  
rb26dett's Avatar
Junior Member
 
Joined: Feb 2007
Posts: 269
Total Cats: 92
From: 11368 miles from where i would like to be
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)
Old Aug 24, 2008 | 07:40 PM
  #16  
Joe Perez's Avatar
Boost Pope
iTrader: (8)
 
Joined: Sep 2005
Posts: 34,402
Total Cats: 7,523
From: Chicago. (The less-murder part.)
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.
Old Aug 25, 2008 | 10:57 AM
  #17  
Matt Cramer's Avatar
Supporting Vendor
 
Joined: 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
Old Aug 25, 2008 | 11:00 AM
  #18  
pdexta's Avatar
Elite Member
iTrader: (17)
 
Joined: Aug 2007
Posts: 2,954
Total Cats: 184
From: Knoxville, TN
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.
Old Aug 25, 2008 | 11:09 AM
  #19  
pdexta's Avatar
Elite Member
iTrader: (17)
 
Joined: Aug 2007
Posts: 2,954
Total Cats: 184
From: Knoxville, TN
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!
Old Oct 21, 2008 | 12:37 AM
  #20  
speedf50's Avatar
Senior Member
iTrader: (2)
 
Joined: May 2007
Posts: 749
Total Cats: 0
From: Malibu, CA
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.



All times are GMT -4. The time now is 09:59 AM.