Can't Connect to EHS6T USB Anymore | Thales IoT Developer Community
November 18, 2014 - 1:07pm, 4393 views
Hi All,
Since yesterday I cannot connect anymore to my EHS6T USB device using eclipse. I get this output when ever I try to execute my programme on the device:
Registering ip address "192.168.244.1" of remote debugging device...
Waiting for debug device registration of "IMP_NG_EHS5_REMOTE"...
Passing control to external device emulator...
Cannot create PortForwarder with necessary parameters: Failed to connect to device 0!
I can see that there is a network interface from the EHS6T and it gives my workstation the IP address 192.168.244.2. I can pint the mentioned IP address of 192.168.244.1. I tried disabling all firewalls and antivirus (in case they were getting in the way) but this didn't help. I re-ran the installation for the EHSX software and did a "repair". The installation finds my device and successfully completes the repair. After a reboot I try again to run my software but I get the same error message.
Can some one help me or suggest something I could do to find a solution?
Many thanks,
Ronnie
Hello Ronnie,
Please provide more details about the software you are using (Windows, JDK, Eclipse, Mobile Tools) and AT^SCFG? command output from your module.
In a meantime you could also do one more try.
The error would suggest some problems with connecting via the Remote Debug Connection.
This could be caused by firewalls trying to block the port which Windows uses for the connection but probably it is not the case here.
During the installation of the IMP Debug Connection please make sure that the device is turned on and all terminal connections are closed.
Also check if OJMEE Device Manager is not running (in system tray). Or restart the computer before the installation.
When the installer asks to continue with the installation in order to detect available devices for creating the Remote Debug connection before you click Next please make sure that the USB modem has been enumerated.
You can also try to uninstall all completely and install again. Use new Eclipse and new workspace for test.
Best regards,
Bartłomiej
So I tried initially on a windows 8 machine which is running Eclipse Kepler (release 2), JDK Version 8 (update 25), Mobile Tools 1.1.2. The output from the command AT^SCFG? is below:
^SCFG: "Call/ECC","0"
^SCFG: "GPRS/AutoAttach","enabled"
^SCFG: "Gpio/****/ASC1","std"
^SCFG: "Gpio/****/DAI","gpio"
^SCFG: "Gpio/****/DCD0","std"
^SCFG: "Gpio/****/DSR0","std"
^SCFG: "Gpio/****/DTR0","std"
^SCFG: "Gpio/****/FSR","gpio"
^SCFG: "Gpio/****/HSIC","rsv"
^SCFG: "Gpio/****/PULSE","gpio"
^SCFG: "Gpio/****/PWM","gpio"
^SCFG: "Gpio/****/RING0","std"
^SCFG: "Gpio/****/SPI","rsv"
^SCFG: "Gpio/****/SYNC","gpio"
^SCFG: "Ident/Manufacturer","Cinterion"
^SCFG: "Ident/Product","EHS6"
^SCFG: "MEShutdown/Fso","0"
^SCFG: "MEopMode/SoR","off"
^SCFG: "Radio/Band","511"
^SCFG: "Radio/OutputPowerReduction","4"
^SCFG: "Serial/Interface/Allocation","1","1"
^SCFG: "Serial/USB/DDD","0","0","0409","1E2D","0058","Cinterion Wireless Modules","EHx",""
^SCFG: "Tcp/IRT","3"
^SCFG: "Tcp/MR","10"
^SCFG: "Tcp/OT","6000"
^SCFG: "Tcp/WithURCs","on"
^SCFG: "Trace/Syslog/Otap","0"
^SCFG: "URC/Ringline","local"
^SCFG: "URC/Ringline/ActiveTime","2"
^SCFG: "Userware/Autostart","1"
^SCFG: "Userware/Autostart/Delay","0"
^SCFG: "Userware/DebugInterface","0.0.0.0","0.0.0.0","0"
^SCFG: "Userware/DebugMode","on"
^SCFG: "Userware/Passwd",
^SCFG: "Userware/Stdout","null",,,,"off"
^SCFG: "Userware/Watchdog","0"
I tried moving to a diferent machine which ran a fresh installation of Windows 7, eclipse and the JDK. But result was the same. I disabled the firewall.
I tried re-installing the ehs6_rev2.0 from cd and I checked that the "Cinterion EHSx Java Debug Modem #4" was listed in the device manager. I made sure that the "OJMEE Device Manager" However, when it does the step in the installation for the IMP Debug Connection, I get the error message "No supported module, the RAS-debug connection has not been updated."
Many thanks for your help so far!
Hello Ronnie,
It seems like the installer cannot identify the right module now. I'd recommned to remove all Cinterion modems from the Phones & Modems list and then reinstall the software again. If the problem still exists you can also try to use some freeware tool to identify and remove the unwanted/unused USB drivers that are not visible in standard Windows tools.
Please make sure before the installation that the module is powered on (and working - can reply to AT commands) and any of the interfaces is open by you in terminal during the installation.
Please also use Windows 7 (because it is officially supported) and the software provided on installation CD.
Getting back to your initial problem please open the project Properties/Java ME from the context menu and edit the device configuration - check if the IMP_NG_EHS5_REMOTE1 device is selected. If IMP_NG_EHS5 is selected, please change to IMP_NG_EHS5_REMOTE1.
Such problems are hard to debug because we don't know in which software component the source of the problem is. Maybe the best would be to let the installer install the new Eclipse also. And then try to import the example project to new workspace and try debugging.
Best regards,
Bartek