EHS5T unexpectedly reboots at irregular intervals | Telit Cinterion IoT Developer Community
June 8, 2016 - 3:24pm, 4837 views
Hello!
I'm running a Java application on a EHS5T (FW 3.001). The terminal unexpectedly reboots at irregular intervals. Seen on a longer scale it reboots about twice a day.
Key aspects of the application:
- Running a local server all the time (using ServerSocketConnection)
- Frequently transmitting messages to remote TCP server (every 5 Minutes)
- Frequently transmitting messages to locally connected devices over RS485 (every 1 seconds)
I have access to the log of the terminal and to the log of the remote server. I observed from the logs that the assigned IP address of the terminal keeps the same until reboot. But there's no exception or URC in the terminal log before reboot.
Question 1: How can I find out, why the terminal reboots?
Question 2: Is it possible that termial reboots when GSM network assigns new IP?
BR, Helmut
Hello,
The terminal should not reboot by itself and new IP should also not cause any reboot.
Maybe there's some problem with the power source or some other hardware problem.
Are you using watchdog in your application? Besides the module's watchdog the terminal has also an additional hardware watchdog which can be configured on ASC0 with the special commands and only with dedicated low baudrate or via i2c interface. One of the features of that watchdog is periodic reboot. You can find more details in the HW description document for the terminal.
Is it also happening when the application is not running? Is it possible that the application reboots the module with AT command? Are there any other hardware interfaces used? Can you paste the outputs from ATI1 and AT^SCFG? commands?
Regards,
Bartłomiej
Hello!
I'm using module watchdog with 300sec timeout, which is resetted each 60 secs.
From java application, I'm using COM0 with 57600 Baud, 8N1.
No other hardware interfaces used.
ATI1 output:
AT^SCFG? output:
Hello,
The firmware seems up to date.
I'd start from the watchdog. Are you sure that you or anybody hasn't used the terminal's watchdog before? Do you also have other terminals and are you able to reproduce this? Is it possible that the application hangs somewhere and the software watchdog that you are using in not kicked on time?
Do you have any debug information when the app kicks the watchdog?
Can you reproduce it on more than one terminal?
As your network activity seem to be quite extensive could you provide some more information about it: what platform is the app connecting to and is it one connection or maybe it is established and closed every 5 minutes? How about the server on the module - how many connections does it receive? Does your application properly close all streams and connections?
Thanks and regards,
Bartłomiej
Hello!
I tracked down the problem to https communication. I wrote a demo application which reproduces the problem. Application is written in Eclipse, and project set up as described in ehsx_java_userguide pdf. The following MIDlet makes HTTPS GET requests every minute to some https site. I ran it on fresh new EHS5T-RS485 taken out of the box, no further configuration done. ATI1 output is same as in above post.
After 36 requests, so after 36 minutes, EHS5T unexpectedly reboots. Please take time and try to run this application, adapting APN, USER, PASS, DNS to your *****, to verify this behaviour.
Please help me to sort out this problem.
This is Eclipse console output:
Hello,
We will try to reproduce this and let you know.
Regards,
Bartłomiej
Hello,
I've tested your scenario with REVISION 03.001 A-REVISION 00.000.14 and unfortunately there was a reboot exactly at the same time after cycle 36. However I was unable to reproduce it with the newer firmware version. But this version is not an official release. So I suggest you to contact the Gemalto technical sales person for your region and ask if you could get an update.
Regards,
Bartłomiej
Hello,
Can you tell me which firmware version you are refering to that fixes the issue? We too are suspicous that our modules reboot "randomly" when dealing with network or http activity.
ATI1
Cinterion
BGS5
REVISION 01.100
A-REVISION 00.000.21
Thank you
Hello,
This problem was detected on EHS5 module and you have BGS5 which is a different module and there are separate firmware releases for this module.
Regards,
Bartłomiej