Concept board not working | Thales IoT Developer Community
May 20, 2015 - 3:00pm, 2254 views
Hi all,
I'm using the EHS6 concept board.
Most of the ***** I'm trying to run my midlet, I'm getting the following message:
Using USB port COM48.
Connecting to module...
Initializing module for debugging...
Establishing "IP connection for remote debugging of EHSx"...
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!
*** Error ***
Failed to connect to device 0!
Reason:
Emulator 0 terminated while waiting for it to register!
End of debug session. Emulator is closed
Some*****, (very rarely) it succeed to run as it should.
I've tried several ***** to uninstall and reinstall Eclipse as well as the EHS6 drivers.
Nothing seem to work.
I had the same problem a few months ago, and than I've decided not wasting my time wnd worked without the concept board. Now I have no choice to use it.
Here is the module configuration:
^SCFG: "Call/ECC","0"
^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","std"
^SCFG: "Gpio/****/PWM","std"
^SCFG: "Gpio/****/RING0","std"
^SCFG: "Gpio/****/SPI","rsv"
^SCFG: "Gpio/****/SYNC","gpio"
^SCFG: "GPRS/AutoAttach","enabled"
^SCFG: "Ident/Manufacturer","Cinterion"
^SCFG: "Ident/Product","EHS6"
^SCFG: "MEopMode/SoR","off"
^SCFG: "MEShutdown/Fso","0"
^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: "Userware/Autostart","0"
^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"
Thanks in advance,
Shaul
Hello,
I can see in the SCFG output:
^SCFG: "Userware/Autostart","0"
Please enable the autostart - if disabled the factory JRC MIDlet is not started automatically - this MIDlet implements some of the module's functionality.
Please also go to Properties => Platform and the Device and make sure it is set to "IMP_NG_EHS5_REMOTE1" and not "IMP_NG_EHS5".
This problem is rather not connected with firewall (but please remember that the firewall should be disabled or configured to pass the traffic form addresses that are used by debugger).
Removing the EHS6 modem drivers sometimes helps with these problems (with some additional tool that can discover even the devices that are not currently connected) but you say you have already done this.
Please also verify if the 'IP connection for remote debugging' has the proper 'Cinterion EHSX Java Debug Modem' configured. Please check if this connection has been established after starting the debug session from Eclipse.
I also remember the problem with a collision with some other USB device.
The problems with this on device debugging are generally difficult to diagnose. So if nothing helps and there is no time for investigating the reason it might be a good idea to load the MIDlet to the module with MES and run it manually or with some script - as a temporary solution.
Best regards,
Bartłomiej