Not possible to use debugging with EHS8 | Telit Cinterion IoT Developer Community
March 8, 2017 - 7:46pm, 3531 views
Hello,
I'm starting working on an EHS8 module (with a DSB75 and Multi-Adapter R1 boards). I work under Win7 32 bits SP1.
I only tested the HelloWorld example provided with the development kit. When I try to use the debugger in Eclipse, I've got the following error message like many people before me it seems :
Using USB port COM13.
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...
Failed to connect remote debugging device!
End of debug session. Emulator is closed!
The configuration of my module is as follow:
ati1
Cinterion
EHS8
REVISION 03.001
A-REVISION 00.000.14
OK
at^scfg?
^SCFG: "Audio/Loop","0"
^SCFG: "Call/ECC","0"
^SCFG: "Call/Speech/Codec","0"
^SCFG: "GPRS/AutoAttach","enabled"
^SCFG: "Gpio/mode/ASC1","gpio"
^SCFG: "Gpio/mode/DAI","gpio"
^SCFG: "Gpio/mode/DCD0","std"
^SCFG: "Gpio/mode/DSR0","std"
^SCFG: "Gpio/mode/DTR0","std"
^SCFG: "Gpio/mode/FSR","gpio"
^SCFG: "Gpio/mode/GPSANT","gpio"
^SCFG: "Gpio/mode/HSIC","gpio"
^SCFG: "Gpio/mode/PULSE","gpio"
^SCFG: "Gpio/mode/PWM","gpio"
^SCFG: "Gpio/mode/RING0","gpio"
^SCFG: "Gpio/mode/SPI","rsv"
^SCFG: "Gpio/mode/SYNC","gpio"
^SCFG: "Ident/Manufacturer","Cinterion"
^SCFG: "Ident/Product","EHS8"
^SCFG: "MEShutdown/Fso","0"
^SCFG: "MEShutdown/sVsup/threshold","0","0"
^SCFG: "MEopMode/CFUN","0","1"
^SCFG: "MEopMode/SoR","off"
^SCFG: "Radio/Band","511"
^SCFG: "Radio/Mtpl","0"
^SCFG: "Radio/OutputPowerReduction","4"
^SCFG: "Serial/Interface/Allocation","0","0"
^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","192.168.244.1","192.168.244.2","0"
^SCFG: "Userware/DebugMode","on"
^SCFG: "Userware/Passwd",
^SCFG: "Userware/Stdout","usb4",,,,"off"
^SCFG: "Userware/Watchdog","0"
OK
I've been through all the threads I could find on this forum about a similar problem and I've tried all the proposed solutions:
- The modem is correctly configured on COM13
- I can send AT commands to the module on COM13
- The terminal window using COM13 has been closed before launching the debugger
- The firewall has been disabled
- I have tried to uninstall/reinstall everything without success
- I have tried with several version of Eclipse and with Netbeans
Would you have additional advice to try to solve this problem?
Regards,
Benoit
Hello,
Based on the log I'd suspect that the traffic might have been blocked by the firewall. But you have written that the firewall has been disabled. Please makes sure that the addresses 192.168.244.1 and 192.168.244.2 are not blocked.
Regards,
Bartłomiej
Hello,
Thank you for your answer.
Unfortunately, yes, there is no problem with those two adresses. I completely disabled any firewall or any other software that could block some IP traffic. I manage to ping the device when the modem is up and running and no change.
Would there be any special setting on the DSB75 board that would prevent the debugger from running? I'm using DSB75 + DSB_Multi_Adapter_A4. I configured all the switched and jumpers according to EHS6_EHS8_startup_guide_v02. This document uses another adapter board than the one I'm using.
Regards,
Benoit
Hello,
The hardware should not cause any problems here. There's a dialup connection established in the background with 'IP connection for remote debugging of EHSx' that uses the modem 'Cinterion EHSx Java Debug Modem USB'.
Maybe the SIM card is not inserted or the PIN is not entered.
Regards,
Bartłomiej
Hello,
The SIM was indeed not inserted (I didn't think I would need it for HelloWorld).
But inserted it didn't change a thing I'm afraid. The answer to at+csim command is as follow:
I think this means everything's OK regarding the SIM card and PIN number.
Regards,
Benoit
Hello,
So the SIM is fine. The problem is that the log does not match any typical error scenario (but the firewall problem) and there is any additional description.
How about the runtime configuration - please open the Application Descriptor for the project and check on the Overview tab if the Runtime is IMP_NG_EHS5_REMOTE1 instead of IMP_NG_EHS5.
When the new connection is created in Windows (the debug connection in this case) there's a window to choose the network type - public or home. Maybe this is a problem that you have chosen the public and for that reason Windows is somehow disturbing the communication.
Regards,
Bartłomiej
Hello,
I checked those points and everything is set as you indicate:
Regards,
Benoit
Have you also tried to run it as Java ME MIDlet and Java ME JAD and both fail? Maybe rebooting the PC would help. Do you have a possibility to try on another PC?
Regards,
Bartłomiej