Eclipse IDE setup for Concept Board and EHSx Terminals | Thales IoT Developer Community
May 7, 2014 - 2:31pm, 20403 views
Hi,
The video tutorial can be accessed in the following link:
Maximize the video to full screen for optimal view
http://youtu.be/YbdoAdgEIVg
Regards
Alopez
Somewhere over the rainbow!!! Looking for the Oz Land!!!
Hi,
I am not able to start the debugger in Eclipse. Please, see the following error:
-----------------------------------------------------------------------------
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...
Installing suite from: http://192.168.244.2:51017/Teste.jad
Sending dispose command to the VM.
-----------------------------------------------------------------------------
This is my AT^SCFG?:
at^scfg?
^SCFG: "Audio/Loop","0"
^SCFG: "Call/ECC","0"
^SCFG: "Call/Speech/Codec","0"
^SCFG: "Gpio/****/ASC1","gpio"
^SCFG: "Gpio/****/DAI","gpio"
^SCFG: "Gpio/****/DCD0","std"
^SCFG: "Gpio/****/DSR0","std"
^SCFG: "Gpio/****/DTR0","std"
^SCFG: "Gpio/****/FSR","gpio"
^SCFG: "Gpio/****/HSIC","gpio"
^SCFG: "Gpio/****/PULSE","gpio"
^SCFG: "Gpio/****/PWM","gpio"
^SCFG: "Gpio/****/RING0","gpio"
^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: "MEShutdown/sVsup/threshold","0","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","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","asc0",,,,"off"
^SCFG: "Userware/Watchdog","0"
Any idea what is going on?
Thank you
Hello,
The log doesn't seem to be complete - I can't see any error message there, please provide the complete log.
Please try to debug or run one of the example projects to be sure that the project is properly configured.
Have you been following the instructions from the Java User's Guide?
Regards,
Bartłomiej
Hello,
It was the complete log. The strange thing is that I am getting different output now, see below. Now I have tried to run the "AtCmdDemo" example.
Using USB port COM87.
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...
*** Error ***
Failed to connect to device 0!
Reason:
Emulator 0 terminated while waiting for it to register!
End of debug session. Emulator is closed!
I have followed the Java User's Guide but I am not able to debug the code in Eclipse. I have to deploy the class manually and start the application via AT command.
Thanks.
Regards,
Hello,
Please right click on the project, choose Properties, then go to Java ME. You should have IMP_NG_EHS5_REMOTE1 configuration checked there. Edit it and check if the Device is IMP_NG_EHS5_REMOTE1 and not IMP_NG_EHS5.
If you have no IMP_NG_EHS5_REMOTE1 device available you will need to reinstall the debug connection. You can run Setup.exe or IMPDbgConnectionSetup.exe.
Please remember to disable the firewall because it can block the debug connection.
Is this reproducible each time? Have you tried to just reset the module and stop the OJMEE Device Manager (you will find it in system tray - it is started by the debugger). You may also check if IP connection for remote debugging which you can find in network connections is using the proper device - Cinterion EHSx Java Debug Modem.
Please let me know if the above has helped.
Regards,
Bartłomiej
Hi Bartłomiej,
Thank you for your response.
The configuration in Eclipse project seems ok, see:
Now I am getting the following error message in eclipse:
Debug RAS connection is not installed!
Please start Cinterion CMTK setup in maintenance **** and select "Repair".
Passing control to external device emulator...
*** Error ***
Device "IMP_NG_EHS5_REMOTE1" not registered!
End of debug session. Emulator is closed!
There is no devices in the Devices Address Manager. I have tried to reinstall setup.exe and restart the module many time without success.
Also, my firewall is disabled.
The strange thing is that I am getting different errors even I haven't changed anything.
Best regards,
Pages