Gemalto/Cinterion EHS6T USB modem hw watchdog problem | Thales IoT Developer Community
January 27, 2017 - 2:46pm, 3408 views
I have a EHS6T USB modem with firmware version (ATI1 command):
Cinterion
EHS6
REVISION 03.001
A-REVISION 00.000.14
I have configured hardware watchdog with parameters:
WD=RST_REP,0,0
WD=RST_UART,0,0
WD=RST_GPIO,55000,10
WD=MIN_START_TIME,300000,3
WD=ALWAYS_ON,10000,1
WD=ON,1,1
I have a serial RS232 connection between modem and linux embedded system; linux initialize the the modem and initiate a data connection (internet connection) thru pppd; all works good and system ping 8.8.8.8.
The modem is also connected thru USB and a simple program send command via ttyACM0 (1st pseudo serial port) to the modem with command
AT^SCPIN=1,7,1,0
after this command, every 30 seconds the system send two AT command
AT^SSIO=7,0
and
AT^SSIO=7,1
All works fine with older firmware version, but now the Gemalto EHS6T reboot after random time from few minutes to 2 hours. If i disable the watchdog the system does not randomly reboot.
I have tested with default value for "Serial/Interface/Allocation" ("0") and with value "1", no difference, the modem does random reboot.
How can I resolve this issue?
Hello,
Could you answer some additional questions?
What firmware version have you been using before? Have you updated the firmware on the same terminal or have you changed the hardware? In the older hardware (terminals) there was GPIO22 used instead of GPIO8.
Have you configured the GPIO direction in the terminal with "WD=GPIO_DIR,..." command or i2c? Have you changed anything in your program?
Best regards,
Bartłomiej
Hello Bartłomiej,
I do not have anymore EHS6T modem with old firmware version, I think they was REVISION 02.x and/or A-REVISON < 00.000.14. In old hardware I toggle GPIO22 to reset watchdog timer, in the new one I toggle GPIO8.
Even if I do not thing change level shifter input/output for hw watchdog functionality, I have try to set GPIO8 as output with command WD=GPIO_DIR,4,4.
If I have a misconfiguration, modem restart every 5:55 minutes (300 seconds for
WD=MIN_START_TIME,300000,3 plus 55 seconds for WD=RST_GPIO,55000,10), and this happen only if I stop the program that toggle GPIO8 thru AT^SSIO=7,0 and AT^SSIO=7,1.
Whenever the program that toggle GPIO8 run, the reboot seems at random interval.
PS: I have double checked the program that toggle GPIO8 but it's very simple, I have also try to toggle GPIO8 every 15 seconds, without succes. I have enable a full log of this program and I can see the program send toggle command and receive OK exactly until modem reboot.
Many thanks
Hello,
Thank you for the additional information.
BTW this 300 seconds should be counted down from startup or watchdog activation. Then there should only be 55 seconds.
Your problem was also reported to the support line and some tests will be performed to verify this behavior. You will receive the feedback then.
Best regards,
Bartłomeij
Hi,
I have a problem when initializing Gemalto modem. Any better idea to initialize?
Thanks
Hello,
Could you describe the problem that you have?
Regards,
Bartłomiej