[EHS6] Eclipse - Debug Connection unstable | Telit Cinterion IoT Developer Community
March 9, 2017 - 9:38am, 4310 views
Hi all
thanks to tipps and support on the forum I was finaly able to create a MIDlet.
Now I have only one problem left:
Debugging is almost impossible - I can start the debug session only once, after that it is depending on the tide, the moon-sun-constellation whether I can connect again.
Restarting the HW everytime is actually no real solution. Furthermore the system.err or system.out output is very slow...
I tried all hints I found on the forum.
Is it possible this is a FW problem? It seems like my firmware is old...
Cinterion
EHS6
REVISION 03.001
A-REVISION 00.000.14
I'm using CMTK from ehsx_rev03.001_arn0000050_install-cd and Eclipse Mars.2 for development.
Thanks in advance
Hello,
Generally the side effect of running or debugging the MIDlet form IDE (Eclipse/Netbeans) is that it runs slower that if started directly on the module and it is not a bug.
The latest official firmware is A-REVISION 00.000.50 and you can update but the debugger will still be slowing down the MIDlet execution.
But you should be able to run it more than once definitely. As I understand restarting the module helps? Can you paste some logs?
Best regards,
Bartłomiej
This is my EHS6 Config:
Where do I find the other logs?
Beneath c:\Users\-user-\Cinterion\EHS5-WTK\3.2\ are no logs, all I see is the c:\Users\-user-\Cinterion\WTK\3.2\log\device-manager.log
The console in eclipse just hangs on
and does not continue...
Just saw the following:
on the working debug session the log shows
then the device manager log shows
Hello,
You should change the following parameters:
^SCFG: "Gpio/mode/DCD0","gpio"
^SCFG: "Gpio/mode/DSR0","gpio"
^SCFG: "Gpio/mode/DTR0","gpio"
to "std" and reboot the module. But you should rather be getting ERROR with these set to "gpio".
In your case the connection is established and copying the MIDlet is started. If it would fail at this point the firewall could be to blame. But it just hangs. And as you have written it is working when started for the first time and fails in the next attempt. For some reason there's some problem in communication.
I think that it would be better to use the module and environment of the same version especially that version 14 is quite far from 50.
Can you also write what Windows version you are using?
Regards,
Bartłomiej
Hi
I'm using Windows 7 Pro. Firewall is disabled...
I made all the changes. My distributor sent me a fw file, but I cannot install it as I can't find the tools...
The file is called EHS6rev.03.001 and is 19.6 MB...
Does this help somehow?
Regards
Martin
Just had a new error output...
515118 - CRITICAL - EVENTS - 2 - StoreMIDPEventInVmThread: cannot find native event monitor thread
Does this help or give a hint?
Hello,
The system is supported.
Does the file have any extension? You should get the executable file like 'ehsx_gwinswup_rev03.001_arn0000050.exe'. Maybe you have got the zip archive.
Please also try to stop the OJMEE Device Manager (you should find it in the tray after running theMIDlet form IDE) when the problem happens. Maybe you wouldn't need to restart the module at least.
These kind of problems are hard to investigate. As it is working at least once it suggests that everything should be configured correctly. Maybe simply rebooting the computer will help.
Regards,
Bartłomiej