Why do I get "Could not init interface / connect"?
emGUI shows "Could not init interface / connect. Please verify device(s) is attached and drivers are installed." with an error code when it cannot start the connection. The code tells you where it stopped:
| Error code | Meaning |
|---|---|
| -1 | A connection is already running. Disconnect first. |
| -2 | The interface driver is loaded, but it could not open the adapter or port selected in the connection options. |
| -3 | No target address is set, or the connection could not be made. Check the addressing. |
Error code -2
emGUI could not open the adapter or port. Check, in this order:
- The device or adapter is connected. USB works without a battery; the other interfaces need the device powered. It should appear in the Windows Device Manager. Unplug it, plug it back in and connect again. Avoid USB hubs.
- The interface and its option string are right: the COM port number of a serial adapter, the channel of a CAN adapter (Kvaser, PCAN). See Communication interfaces.
- No other program holds the port or adapter: a terminal program on the COM port, PCAN-View on the PCAN channel, or a tool of another SWTools version.
- The driver of your SWTools version is installed. The USB driver of SWTools 4 is not compatible with the one of SWTools 3.x: do not mix the two versions on one computer (see Interface libraries: USB).
Once the interface opens, a remaining problem shows as Could not discover any node(s).
Was this page helpful?