nrf9160 modem fault

Hi,

I encountered a modem fault (NCS v2.5.1, mfw 1.3.4, nrf9160DK). Here's a portion of the log leading to the fault:

[24:36:01.333,312] <inf> gnss: event NRF_MODEM_GNSS_EVT_PVT [2024-07-04 16:22:00.603] (sats 6, used 4)
[24:36:01.333,343] <inf> gnss: time between fixes 7200 secs
[24:36:01.333,404] <inf> gnss: event NRF_MODEM_GNSS_EVT_SLEEP_AFTER_FIX
[24:36:01.333,801] <inf> time: set time to 2024/07/04 16:22:00
[24:36:01.432,586] <inf> modem: atcmd AT%XVBAT -> %XVBAT: 5085
[25:35:37.400,756] <inf> gnss: event NRF_MODEM_GNSS_EVT_PERIODIC_WAKEUP
[25:35:37.417,175] <err> nrf_modem: Modem fault occurred, gpmem1: 0x10010, gpmem2: 0x114a5c
[25:35:37.417,205] <err> modem: modem fault, reason 16, pc 0x114a5c

Assuming I am looking at the right place, reason 16 is NRF_MODEM_FAULT_ASSERT.

Any insight to what could be causing the issue or what the assert is? This is a rare occurrence and getting a modem trace would be difficult.

Parents Reply Children
  • It's hard to tell how often it occurs. I just recently put in additional logging to help get a feeling for it. My best guess based on the symptoms (GNSS no longer getting fixes) it is in the range of 3-4 days, with fixes every 4 hours.

    I am not using LTE and there is no SIM card plugged either. These are the commands used when the device boots:

    [00:00:00.977,203] <inf> nrf_modem: Initializing libmodem 2.5.0-lte-5ccd2d4dd54c
    [00:00:01.208,618] <inf> nrf_modem: RPC ready
    [00:00:01.222,961] <inf> modem: atcmd AT+CMEE=1 -> OK
    [00:00:01.223,541] <inf> modem: atcmd AT+CGMR -> mfw_nrf9160_1.3.4
    [00:00:01.224,151] <inf> modem: atcmd AT+CGSN -> 351901936539968
    [00:00:01.224,700] <inf> modem: atcmd AT+CFUN? -> +CFUN: 0
    [00:00:01.225,372] <inf> modem: atcmd AT%XSYSTEMMODE? -> %XSYSTEMMODE: 0,0,1,0
    [00:00:01.225,952] <inf> modem: atcmd AT+CGMI -> Nordic Semiconductor ASA
    [00:00:01.226,593] <inf> modem: atcmd AT+CGMM -> nRF9160-SICA
    [00:00:01.227,325] <inf> modem: atcmd AT%HWVERSION -> %HWVERSION: nRF9160 SICA B1A
    [00:00:01.227,935] <inf> modem: atcmd AT%XCOEX0 -> OK
    [00:00:01.229,431] <inf> modem: atcmd AT%XSYSTEMMODE=0,0,1,0 -> OK
    [00:00:01.235,565] <inf> modem: atcmd AT+CFUN=31 -> OK
    [00:00:01.236,206] <inf> modem: atcmd AT+CPSMS=1,"","","","" -> OK
    [00:00:01.236,877] <inf> modem: atcmd AT+CEPPI=1 -> OK
    [00:00:01.236,999] <inf> gnss: starting gnss
    [00:00:01.247,253] <inf> nrf_modem: GNSS notification API version 2
    

  • Hi,

    Can you provide any additional information about your application?

    Can you share your complete log which shows modem fault?

    Modem trace could be very useful. I am aware that it might be difficult for you to obtain it (as you said previously), but it could provide important information for error analysis. If possible, please provide modem trace in addition to the full log.

    Best regards,
    Dejan

Related