User Tools

Site Tools


connectionproblem

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
connectionproblem [2008/12/23 06:39]
twdorris
connectionproblem [2024/03/15 11:16] (current)
Line 1: Line 1:
 ====== Connection Diagnostics ====== ====== Connection Diagnostics ======
  
-====== ​IO failed: ​Port currently owned ======+ 
 +====== Port currently owned ======
  
 First, verify that you have the correct COM port selected in the ''​Edit->​Options''​ menu as described below in the "Which COM port" section. ​ The "port currently owned" message means that some other application has that COM port opened. ​ Often this is a //Palm HotSync// manager or something like that running in the background. ​ Most of those applications have a way to disconnect themselves from or disable their use of the COM port. First, verify that you have the correct COM port selected in the ''​Edit->​Options''​ menu as described below in the "Which COM port" section. ​ The "port currently owned" message means that some other application has that COM port opened. ​ Often this is a //Palm HotSync// manager or something like that running in the background. ​ Most of those applications have a way to disconnect themselves from or disable their use of the COM port.
  
-====== IO failed: Command timed out ====== 
  
-Basically, if you're getting ​the timeout ​message, then it means the application has located a valid COM port, sent a command to the ECU, but did not get a reply back. Something between the application and the ECU is not working properly. ​ Unfortunately,​ there are a __lot__ of things between those two endpoints that might be causing the issue.+====== Scan failed to find a working connection ====== 
 + 
 +Basically, if you're getting ​this message, then it means the application has located a valid COM port, sent a command to the ECU, but did not get a reply back. Something between the application and the ECU is not working properly. ​ Unfortunately,​ there are a __lot__ of things between those two endpoints that might be causing the issue.
  
 If you search for "​command timeout"​ on the forums you will see a huge number of possible causes. ​ We've seen everything including OS configuration issues, bad serial ports on the laptop, wiring issues in the car, blown fuses in the fuse/relay box under the hood, problems with the ECU itself, a damaged adapter, etc., etc. It can sometimes be very difficult to track down the source. ​ But there are a few basic things you can try to get started. If you search for "​command timeout"​ on the forums you will see a huge number of possible causes. ​ We've seen everything including OS configuration issues, bad serial ports on the laptop, wiring issues in the car, blown fuses in the fuse/relay box under the hood, problems with the ECU itself, a damaged adapter, etc., etc. It can sometimes be very difficult to track down the source. ​ But there are a few basic things you can try to get started.
 +
  
 ===== Which COM port ===== ===== Which COM port =====
Line 15: Line 18:
 First you have to figure out for sure which COM port to use.  In general, you should be able to pull up the Windows Device Manager for this.  Right click on ''​My Computer'',​ select ''​Properties'',​ go to the ''​Hardware''​ tab and click on ''​Device Manager''​. ​ Now, expand the ''​Ports (COM & LPT)''​ tree node and you should see something like this image: First you have to figure out for sure which COM port to use.  In general, you should be able to pull up the Windows Device Manager for this.  Right click on ''​My Computer'',​ select ''​Properties'',​ go to the ''​Hardware''​ tab and click on ''​Device Manager''​. ​ Now, expand the ''​Ports (COM & LPT)''​ tree node and you should see something like this image:
  
-{{http://www.dsmlink.com/​images/​forums/​keyspanhwport.gif}}+{{https://www.ecmtuning.com/​images/​forums/​keyspanhwport.gif}}
  
-That should tell you for sure which COM port you should be using in DSMLink. Once you know that, you enter that COM port into DSMLink ​(''​Edit->​Options->​Config''​) and try again. If that's still not working, then at least you know you have the correct COM port selected and there'​s no need to go swapping around with that. If you don't even see your USB/DB9 adapter listed in device manager as illustrated above, then you'll need to start debugging why your adapter driver isn't properly installing itself.+That should tell you for sure which COM port you should be using in ECMLink. Once you know that, you enter that COM port into ECMLink ​(in the V2 app, that's under ''​Edit->​Options->​Config''​) and try again. If that's still not working, then at least you know you have the correct COM port selected and there'​s no need to go swapping around with that. If you don't even see your USB/DB9 adapter listed in device manager as illustrated above, then you'll need to start debugging why your adapter driver isn't properly installing itself.
  
 **V2 ONLY:** If your laptop has a built-in DB9 serial port (i.e., you're not using a USB/DB9 adapter), then the COM port you'll want to use will be something like the plain ''​Communications Port (COM1)''​ port listed in the diagram above. ​ In that case, you'll also what to check to make sure the select COM port isn't actually a built-in modem or IRDA port or something like that. **V2 ONLY:** If your laptop has a built-in DB9 serial port (i.e., you're not using a USB/DB9 adapter), then the COM port you'll want to use will be something like the plain ''​Communications Port (COM1)''​ port listed in the diagram above. ​ In that case, you'll also what to check to make sure the select COM port isn't actually a built-in modem or IRDA port or something like that.
  
 ===== 2G notes ===== ===== 2G notes =====
 +
 +
  
 ==== Diagnostic port wiring ==== ==== Diagnostic port wiring ====
-If you get desperate and need to confirm that the basic wiring in the car is correct, use the following information to buzz out the connections between the OBDII adapter and the ECU.  Note that the image below is of the connector in the car, not the DSMLink adapter. 
  
-{{http://​www.dsmlink.com/​images/​forums/​obdiiconnector.gif}} 
  
-||Pin 1||Diagnostic line to ECU (connector B-55pin 56, yellow)|| +If you get desperate and need to confirm that the basic wiring in the car is correctuse the following information ​to buzz out the connections between the OBDII adapter and the ECU. Note that the image below is of the connector ​in the carnot the ECMLink adapter.
-||Pin 5||Ground|| +
-||Pin 7||Data line to ECU (connector ​B-55, pin 62pink)|| +
-||Pin 16||+12v unswitched power||+
  
-Pin 16 can be connected to ECU pin 80 (connector B-56, Red-Blue) if needed. Pin 5 can use a chassis ground point. ​ You can get information on ECU connector pin locations from the [[ECUWiringInformation]] page.  If pin 16 does not show power (it should have 12v at all times when measured against pin 5), the fuse powering this pin may be blown. ​ The same fuse powers the key illumination ring, the lights in the rear view mirror, the foot light under the dash, and also provides battery backup power to the ECU.  It's labeled in the shop manual as dedicated fuse #11.  It is located under the hood in the main fuse box. Looking down at the fuse box standing in front of the car, fuses #11 and #12 are grouped together in a yellow clip located in the lower left hand corner of the fuse box.  ​ 
  
-You can also do a basic check against the diag pin (pin 1) of the OBD-II connector Check the voltage on the cars' OBD-II pin 1 without the DSMLink adapter attachedIt should be ~5V or higher. If not, something is grounding it. This can make the ECU behave oddly, prevent DSMLink communication,​ and may cause problems with your locks.+{{https://​www.ecmtuning.com/​images/​forums/​obdiiconnector.gif?​nolink&​207x72}}
  
-Please use care when checking the diagnostic port pins.  If you jam the typical multimeter probes into the pins, you can stretch the pins enough that they may not make proper contact with the DSMLink ​connector.+ 
 +|Pin 1 ||Diagnostic line to ECU (connector B-55, pin 56, yellow) || 
 +|Pin 5 ||Ground || 
 +|Pin 7 ||Data line to ECU (connector B-55, pin 62, pink) || 
 +|Pin 16 ||+12v unswitched power || 
 + 
 + 
 +Pin 16 can be connected to ECU pin 80 (connector B-56, Red-Blue) if needed. 
 + 
 + 
 +Pin 5 can use a chassis ground point. 
 + 
 + 
 +You can get information on ECU connector pin locations from the [[:​ecuwiringinformation|ECUWiringInformation]] page. 
 + 
 + 
 +If pin 16 does not show power (it should have 12v at all times when measured against pin 5), the fuse powering this pin may be blown. The same fuse powers the key illumination ring, the lights in the rear view mirror, the foot light under the dash, and also provides battery backup power to the ECU. It's labeled in the shop manual as dedicated fuse #11. It is located under the hood in the main fuse box. Looking down at the fuse box standing in front of the car, fuses #11 and #12 are grouped together in a yellow clip located in the lower left hand corner of the fuse box. The lid of the fuse box labels fuse #11 as Room Lamp. 
 + 
 + 
 +You can also do a basic check against the diag pin (pin 1) of the OBD-II connector. Check the voltage on the cars' OBD-II pin 1 without the ECMLink adapter attached. It should be ~5V or higher. If not, something is grounding it. This can make the ECU behave oddly, prevent ECMLink communication,​ and may cause problems with your locks. 
 + 
 + 
 +Please use care when checking the diagnostic port pins. If you jam the typical multimeter probes into the pins, you can stretch the pins enough that they may not make proper contact with the ECMLink ​connector. 
 + 
 + 
 +\\
  
 ==== DB9 cable checkout (V2 ONLY) ==== ==== DB9 cable checkout (V2 ONLY) ====
Line 44: Line 68:
 The cable is a straight through cable. ​ That means each male pin should buzz out to the corresponding female pin.  If any do not, then that's probably why there'​s no communication with the ECU.  Replace this cable with another straight through DB9 cable you can find at any reasonable computer store (Radio Shack, Best Buy, etc.) and you'll probably be back in business. The cable is a straight through cable. ​ That means each male pin should buzz out to the corresponding female pin.  If any do not, then that's probably why there'​s no communication with the ECU.  Replace this cable with another straight through DB9 cable you can find at any reasonable computer store (Radio Shack, Best Buy, etc.) and you'll probably be back in business.
  
-==== Laptop timing (V2 ONLY) ==== +===== 1G notes =====
-It's **rare**, but sometimes the timing of laptop can make a difference on 2G connections. ​ To test this, try adding the following to your ''​dsmlink.prefs''​ file (located in ''​C:​\Program Files\DSMLink''​) with the dsmlink application closed.+
  
-  interByteDelayMillis=40 
-  interCommandDelayMillis=40 
-  cmdReplyTimeoutMillis=1000 
  
-After you add those items, open the DSMLink application again (remember: it must be closed/not running when you make those additions to the ''​dsmlink.prefs''​ file) and try to connect. 
- 
-===== 1G notes ===== 
  
 ==== Diagnostic port wiring ==== ==== Diagnostic port wiring ====
-When all else fails, check the basics. ​ Here's some information posted to our forums related to basic checks you can perform on the 1G diagnostic connector in the car.  First, make sure the car's ignition is turned on when you're trying to connect ​DSMLink  ​Examine the cable for any broken wires at the car end.  With the ignition on, measure the voltage on pin 10 of the car's diagnostic connector (connects to the DSMLink ​cable'​s pin that has a white wire) with no cable attached. It should be about 4.5V (3.5V for a 1990 ECU). Measure the voltage on pin 1 of the car's diagnostic connector (connects to the DSMLink ​cable'​s pin with the green wire). It should be pulsing, indicating diagnostic info. Check that pin 12 of the car's diagnostic connector (connects to the DSMLink ​cable'​s pin with the black wire) has continuity to ground.+When all else fails, check the basics. ​ Here's some information posted to our forums related to basic checks you can perform on the 1G diagnostic connector in the car. 
 + 
 +First, make sure the car's ignition is turned on when you're trying to connect ​ECMLink. 
 + 
 +Examine the cable for any broken wires at the car end.  With the ignition on, measure the voltage on pin 10 of the car's diagnostic connector (connects to the V2 cable'​s pin that has a white wire) with no cable attached. It should be about 4.5V (3.5V for a 1990 ECU). Measure the voltage on pin 1 of the car's diagnostic connector (connects to the V2 cable'​s pin with the green wire). It should be pulsing, indicating diagnostic info. Check that pin 12 of the car's diagnostic connector (connects to the V2 cable'​s pin with the black wire) has continuity to ground. 
 + 
 +For more wiring information related to the 12-pin diagnostic connector found in the 1G DSM and EVO1-3 cars, check the [[diagport-12pin|12-pin Diagnostic Port]] page. 
  
 ==== Pins in the diagnostic port ==== ==== Pins in the diagnostic port ====
-This one's pretty rare, but it does happen. ​ If one (or more) of the pins in the car's diagnostic connector is loose, then all your checks with the multimeter will still work fine. But when you plug in the DSMLink ​cable, that pin (or pins) can actually just "push in", away from the cable, and simply not making ​contact with the cable. Check to see if that might be happening. ​ Try grabbing the pins in the car's diagnostic port one at a time with a pair of long nose pliers and seeing if there'​s any movement as you push in/pull out on them.+This one's pretty rare, but it does happen. ​ If one (or more) of the pins in the car's diagnostic connector is loose, then all your checks with the multimeter will still work fine. But when you plug in the ECMLink ​cable, that pin (or pins) can actually just "push in", away from the cable, and simply not make contact with the cable. Check to see if that might be happening. ​ Try grabbing the pins in the car's diagnostic port one at a time with a pair of long nose pliers and seeing if there'​s any movement as you push in/pull out on them.
  
 ==== USB adapter (V2 ONLY) ==== ==== USB adapter (V2 ONLY) ====
Line 70: Line 94:
 ===== General ===== ===== General =====
 It can be __immensely__ helpful if you can find someone in your area that has a known working setup and start swapping parts or just trying your laptop with their setup to try to isolate where the problem most likely is. It can be __immensely__ helpful if you can find someone in your area that has a known working setup and start swapping parts or just trying your laptop with their setup to try to isolate where the problem most likely is.
 +
connectionproblem.1230032390.txt.gz · Last modified: 2008/12/23 06:39 by twdorris