TC65i OTAP sw update failure | Telit Cinterion IoT Developer Community
June 11, 2018 - 12:09pm, 2553 views
Hi,
we are experiencing problems during the sw update of our application via OTAP on a TC65i device.
When the problem occurs, the device after some minutes restarts but it keeps the previous version of the application.
On the affected devices, the problem seems to happen always. I don't know if it could be a problem of the SIMs used on these modules (but they are the same SIMs on all devices), or a network reachability problem (but apart the OTAP failure, the device works correctly and it is sending data via GPRS).
Is there a way in which I could investigate / debug / diagnose this problem ?
Thank you in advance.
Best regards,
Marco
Hello,
Yes there is a way to debug OTAP but the local access to the module is needed. You can activate OTAP tracer on one of the interfaces sending this command: AT^SCFG="Trace/Syslog/OTAP",1
It will be active on that interface until the module reboots.
If any problem occurs during OTAP (network issues, server reachability, wrong configuration, etc.) the module is rebooted after a certain timeout and the old application is started.
You will find more information about tracing OTAP ,including possible error codes, in Java User's Guide document for the product.
Best regards,
Bartłomiej
Hi Bartlomiej,
thank you very much for your help, I'll try it.
Best regards,
Marco
Hi Bartlomiej,
I'm resuming this old thread because we are experiencing lot of problems with OTAP update.
Problems seems related to "slow" network connections, so the sw update process fails because of the OTAP timeout because it is taking too much time to complete.
So my question is: is it possible to increment the OTAP timeot in some way ?
Best regards
Marco
Hello,
The safety timeout is fixed and not configurable. But it is quite long - 20 minutes according to Java User's Guide. So if your application does not update during this period, there may be some problem with the server connection or network signal quality. Maybe antenna should be improved. How big is the application?
Regards,
Bartłomiej
Hi Bartlomiej,
the OTAP reset occurs in a few minutes. Maybe it could be related to the application watchdog timer instead (is it still active during OTAP) ?
The application is about 115 KB
Best regards
Marco
Yes, watchdog is active after stopping the application. You should deactivate it on exit in destroyApp() method. This might be the reason of your problem. 115KB does not seem as a big data for download.
Regards,
Bartłomiej
Hi Bartlomiej,
thank you very much for your answer, I'll try to deactivate the watchdog.
Best regards
Marco