AT^SBNW command fails with INTERNAL ERROR. | Telit Cinterion IoT Developer Community
February 21, 2020 - 12:00pm, 3003 views
Hi,
We have one customized board with a PLS8-X modem as a Cellular modem. We are using this modem to establish 4G connectivity and GPS. Both GPS and 4G cellular connectivity is working as expected.
However to improve GPS accuracy and reduce GPS fix time. We are trying to load the Xtra.bin file. We have preformed AT commands in the sequence as pre AT command guide. However AT^SBNW="agps",59716 failed with Internal error. Please refer below AT command output for reference.
AT
OK
AT+CCLK="20/02/21,09:51:00"
OK
AT^SGPSC="Engine","0"
^SGPSC: "Engine","0"
OK
AT^SBNW=agps,-1
CONNECT
AGPS READY: RESET GPS ENGINE AND DELETE XTRA FILE...
AGPS: END OK
OK
AT^SBNW="agps",59716
CONNECT
AGPS READY: SEND FILE ...
AGPS: INTERNAL ERROR
+CME ERROR: operation failed
I have downloaded Xtra file from URL http://xtrapath4.izatcloud.net/xtra2.bin. As URL in the AT command is not working as per https://iot-developer.thalesgroup.com/threads/gps-time-info-error.
Please suggest any solution or alternate way to do this. Apart from that, anybody aware of the error "AGPS: INTERNAL ERROR" as do not have much information regarding this in AT command guide. Please share your experience if you have observed the same in the past.
Thanks & Regards,
Vidit
Hello,
Have you also tried the other links (http://xtrapath5.izatcloud.net/xtra2.bin & http://xtrapath6.izatcloud.net/xtra2.bin)? incase of the problem you refer there was "Time Info Error" returned so maybe it's not rrelated. Have you set UTC time on the module? Are you sure that the file size you set is correct? Please check the firmware version with ATI1 command.
Regards,
Bartłomiej
Hi Bartlomiej,
Please find an inline response to your questions.
Q. Have you set UTC time on the module?
A. Yes, I had run the command to Set UTC time AT+CCLK="20/02/21,09:51:00".
Q. Are you sure that the file size you set is correct?
A. Yes, I am sure about the size as in case using of using manual command "cat <filename> >> <modem_port>" it is working without any errors. However, sending a file through C application over UART it gives error "AGPS: INTERNAL ERROR".
Q. Please check the firmware version with ATI1 command.
A.
ATI
Cinterion
PLS8-X
REVISION 03.017_DEBUG
OK
As, there is less information about the error "AGPS: INTERNAL ERROR" in AT command guide. So, please share more details about error and another way to load the Xtra file.
Thanks and Regards,
Vidit
Hello,
When you send ATI1 instead of ATI you also get the A-REVISION but it seems that the firmware version may not be important here - as I understand it works fine when you do it manually and only doesn't work from the application. So there must be something in the app - maybe you could trace the serial interface to find the difference. Or maybe there's some timing issue please try to add some delays for test only. Unfortunately I don't have additional documentation describing the errors. Is the same port used and same settings in both cases? How about the flow control?
Regards,
Bartłomiej
Hi,
I am able to load the file using the system command. But now I am facing the issue of Time info error even though I am setting GMT 0 time to a modem.
So I have a few questions regarding that as below.
1. Do we need to set the exact GMT 0 time to a modem in order to avoid TIME info error? No, then how much +-time difference allowed from GMT 0 timezone?
2. Do we need to load this Xtra file after each modem power reset for AGPS?
3. As AT command guide, we need to update Xtra file every 2 days? Do we re-download the file from any server every 2 days?
Regards,
Vidit
Hello,
The data in this file is valid for a week. You don't need to reload it on every boot. So you should download a fresh copy. Maybe it is recommended to download and install this sooner like every 2 days for example.
You should set UTC time on the module.
As for time info error it may now be thrown for the old links because of rollover. Some Qualcomm chips are now not wroking with these old links. But
there are new links which should work:
http://xtrapath4.izatcloud.net/xtra2.bin
http://xtrapath5.izatcloud.net/xtra2.bin
http://xtrapath6.izatcloud.net/xtra2.bin
But one of the is not for you? Please check all of them.
Regards,
Bartłomiej
Hi Bartłomiej,
Please give your response to my above query. It will be helpful.
Hi Vidit,
I guess I did answer your questions. Please let me know if I missed anything.
And please write if you have tested all the above links with the same result. And please paste the detailed firmware version (ATI1 reply instead of ATI).
Bestr egards,
Bartłomiej
Hi Bartłomiej,
I have tried all the links. But facing the same issue. Please find below the response for ATI1 Command.
ATI1
Cinterion
PLS8-X
REVISION 03.017_DEBUG
A-REVISION 01.000.05
Regards,
Vidit
Hello,
I don't have PLS8-X but do have PLS8-E with the same firmware version (REVISION 03.017 A-REVISION 01.000.05).
I have just tried and it was possible to upload files from all 3 links:
at+cclk="20/02/28,14:08:00"
OK
AT^SBNW=agps,-1
CONNECT
AGPS READY: RESET GPS ENGINE AND DELETE XTRA FILE...
AGPS: END OK
OK
AT^SBNW="agps",59716
CONNECT
AGPS READY: SEND FILE ...
AGPS: END OK
Does this happen on one module or more? Do you have any other module of this type to try (possibly with a standard firmware, not debug)?
Regards,
Bartłomiej