Failed to configure GNSS

Hello,

I have a custom board with an nRF9160 and is running mfw_nrf9160_1.3.5.  The design is ready for production so I thought I will build 10 boards first as a pilot run.  Out of the 10 boards, one is giving me the following error.

W: nrf_modem_gnss_agps_expiry_get() failed, err -13
E: Failed to configure GNSS
I: Location retrieval failed using 'GNSS', trying with 'Cellular' next
%NCELLMEAS: 0,"08452E01","302610","D6DD",80,2325,135,40,15,606912,2325,481,34,2,0,900,310,44,16,24,5255,482,51,18,32

All 9 others work fine.  I tried re-flashing the board a few times, but no luck.  This same error keeps happening.  Does anyone have an idea what is wrong?

Thank you.

Parents
  • Hi Floyd

    I will start looking into your case. Our teams nRF91x is out of office due to training so it might be a bit slower response

    Regards

    RUnar

  • Thank you, Runar.  We built a number of prototype before these 10 units.  None of them have this problem either.  This is the first time we see error like this.  We definitely can't test every single unit during production to see if this happens.

  • Hi,

    Can you provide more information about your application?

    When did the error occur?

    Could you please provide complete error log?

    Best regards,
    Dejan

  • Apologize for my late response.  The application is to collect gyroscope and accelerometer data and send to AWS IoT MQTT server with either a GPS location or cellular location.  The firmware is based on the AWS_IOT example and the LOCATION example.  I have AWS_IOT as a thread, LOCATION as another thread, reading gyro and accelerometer as yet another thread, and finally a house-keeping thread that checks battery, push button, etc.  

    We have built at least 10 prototypes before.  No such error has ever happened.  Now we build another 10 pre-production boards.  Nine out of 10 work as expected.  But there is one board showing the error mentioned as soon as the LOCATION thread starts.  AWS_IOT thread has no problem.

    Unfortunately, I can't provide a complete error log at this moment.  I will try to capture a log next week when I am back in the office.

    Regards,

    Floyd

  • Hi Floyd,

    We would need a log to have better insight what might be causing the error. Please provide full log at your earliest convenience.

    Best regards,
    Dejan

  • How about this?

    *** Booting Zephyr OS build v3.2.99-ncs2 ***
    I: AT filter enabled with 2 entries.
    I: UART check failed: 12. Dropping buffer and retrying.
    FOTA version: v1.0.8
    mfw_nrf9160_1.3.5
    OK

    I: 2 Sectors of 4096 bytes
    I: alloc wra: 0, fe8
    I: data wra: 0, 0
    %XSIM: 1
    Connecting to LTE...
    +CEREG: 2,"D6DD","086F8A0C",7
    LTE cell changed: Cell ID: 141527564, Tracking area: 55005
    +CSCON: 1
    Stop timer
    OK
    %XTIME: ,"42013000344569","01"
    +CEREG: 5,"D6DD","086F8A0C",7,,,"11100000","11100000"
    Network registration status: Connected - roaming
    Connected to LTE
    PSM parameter update: TAU: 3600, Active time: -1
    %XTIME: ,"42013000347569","01"
    W: nrf_modem_gnss_agps_expiry_get() failed, err -13
    Next connection retry in 30 seconds
    AWS_IOT_EVT_CONNECTING
    E: Failed to configure GNSS
    I: Location retrieval failed using 'GNSS', trying with 'Cellular' next
    %NCELLMEAS: 0,"086F8A0C","302220","D6DD",528,5145,54,45,10,2691,8627
    AWS_IOT_EVT_CONNECTED
    AWS_IOT_EVT_READY
    AWS_IOT_EVT_PUBACK, ID: 50196
    AWS_IOT_EVT_PUBACK, ID: 21871
    AWS_IOT_EVT_PUBACK, ID: 40499
    +CSCON: 0
    *** Booting Zephyr OS build v3.2.99-ncs2 ***
    I: AT filter enabled with 2 entries.
    I: UART check failed: 12. Dropping buffer and retrying.
    FOTA version: v1.0.8
    mfw_nrf9160_1.3.5
    OK

    I: 2 Sectors of 4096 bytes
    I: alloc wra: 0, fe8
    I: data wra: 0, 0
    %XSIM: 1
    Connecting to LTE...
    +CEREG: 2,"D6DD","086F8A0C",7
    LTE cell changed: Cell ID: 141527564, Tracking area: 55005
    +CSCON: 1
    %XTIME: ,"42013000548469","01"
    +CEREG: 5,"D6DD","086F8A0C",7,,,"11100000","11100000"
    Network registration status: Connected - roaming
    Connected to LTE
    PSM parameter update: TAU: 3600, Active time: -1
    %XTIME: ,"42013000540569","01"
    W: nrf_modem_gnss_agps_expiry_get() failed, err -13
    Next connection retry in 30 seconds
    AWS_IOT_EVT_CONNECTING
    E: Failed to configure GNSS
    I: Location retrieval failed using 'GNSS', trying with 'Cellular' next
    %NCELLMEAS: 0,"086F8A0C","302220","D6DD",528,5145,54,38,4,6666,6654
    AWS_IOT_EVT_CONNECTED
    AWS_IOT_EVT_READY
    AWS_IOT_EVT_PUBACK, ID: 37682
    AWS_IOT_EVT_PUBACK, ID: 51606
    AWS_IOT_EVT_PUBACK, ID: 54204

    I booted the device twice.  You can see both times the error is the same.

Reply
  • How about this?

    *** Booting Zephyr OS build v3.2.99-ncs2 ***
    I: AT filter enabled with 2 entries.
    I: UART check failed: 12. Dropping buffer and retrying.
    FOTA version: v1.0.8
    mfw_nrf9160_1.3.5
    OK

    I: 2 Sectors of 4096 bytes
    I: alloc wra: 0, fe8
    I: data wra: 0, 0
    %XSIM: 1
    Connecting to LTE...
    +CEREG: 2,"D6DD","086F8A0C",7
    LTE cell changed: Cell ID: 141527564, Tracking area: 55005
    +CSCON: 1
    Stop timer
    OK
    %XTIME: ,"42013000344569","01"
    +CEREG: 5,"D6DD","086F8A0C",7,,,"11100000","11100000"
    Network registration status: Connected - roaming
    Connected to LTE
    PSM parameter update: TAU: 3600, Active time: -1
    %XTIME: ,"42013000347569","01"
    W: nrf_modem_gnss_agps_expiry_get() failed, err -13
    Next connection retry in 30 seconds
    AWS_IOT_EVT_CONNECTING
    E: Failed to configure GNSS
    I: Location retrieval failed using 'GNSS', trying with 'Cellular' next
    %NCELLMEAS: 0,"086F8A0C","302220","D6DD",528,5145,54,45,10,2691,8627
    AWS_IOT_EVT_CONNECTED
    AWS_IOT_EVT_READY
    AWS_IOT_EVT_PUBACK, ID: 50196
    AWS_IOT_EVT_PUBACK, ID: 21871
    AWS_IOT_EVT_PUBACK, ID: 40499
    +CSCON: 0
    *** Booting Zephyr OS build v3.2.99-ncs2 ***
    I: AT filter enabled with 2 entries.
    I: UART check failed: 12. Dropping buffer and retrying.
    FOTA version: v1.0.8
    mfw_nrf9160_1.3.5
    OK

    I: 2 Sectors of 4096 bytes
    I: alloc wra: 0, fe8
    I: data wra: 0, 0
    %XSIM: 1
    Connecting to LTE...
    +CEREG: 2,"D6DD","086F8A0C",7
    LTE cell changed: Cell ID: 141527564, Tracking area: 55005
    +CSCON: 1
    %XTIME: ,"42013000548469","01"
    +CEREG: 5,"D6DD","086F8A0C",7,,,"11100000","11100000"
    Network registration status: Connected - roaming
    Connected to LTE
    PSM parameter update: TAU: 3600, Active time: -1
    %XTIME: ,"42013000540569","01"
    W: nrf_modem_gnss_agps_expiry_get() failed, err -13
    Next connection retry in 30 seconds
    AWS_IOT_EVT_CONNECTING
    E: Failed to configure GNSS
    I: Location retrieval failed using 'GNSS', trying with 'Cellular' next
    %NCELLMEAS: 0,"086F8A0C","302220","D6DD",528,5145,54,38,4,6666,6654
    AWS_IOT_EVT_CONNECTED
    AWS_IOT_EVT_READY
    AWS_IOT_EVT_PUBACK, ID: 37682
    AWS_IOT_EVT_PUBACK, ID: 51606
    AWS_IOT_EVT_PUBACK, ID: 54204

    I booted the device twice.  You can see both times the error is the same.

Children
No Data
Related