System mode from ntn to lte doesnt save to non volatile memory

Hi! This is a general info post since i have found a temporary fix to it, but whilst trying out ntn, we noticed that when switching from %XSYSTEMMODE: 0,0,1,0,0 to %XSYSTEMMODE: 1,1,1,3,0 CFUN=1 hangs and causes the config to not be saved thus remaining stuck in ntn mode, working with monogoto, we figured the only fix was to run a factory reset then to run the system mode command and CFUN=1 which this time doesnt hang. 

Parents
  • Hello, have you configured %CELULLARPRFL? If so, you cannot configure multi-mode systemmode. %XFACOTRYRESET wipes CELLULARPRFL, and thus multimode works again. A cleaner way to do this is to delete the configured cellular profile with e.g. %CELLULARPRFL=2,<profile id>.

    See chapter 13.2 Cellular profile configuration %CELLULARPRFL in the nRF91x1_ntn_at_commands_reference_manual in the NTN Alpha Documentation Package.

    Kind regards,
    Øyvind

  • I also noticed I can’t control the PDP context, all at commands result in a error code (65536) in ntn mode, do I need to run the cellular profile delete command every time to use the modem? Currently it hangs on almost all at commands.

  • Hello, I'm afraid we will need a modem trace in order to understand what is going on. Do you get these results when running Serial Modem v1.0.0 application firmware?

    Kind regards,
    Øyvind

  • I do not have a serial connection to my board, only rtt, and i could not find a sample named serial modem to adapt to rtt thus i cannot try it, this is the sequence of at commands i currently run tho. 

    00> [00:01:37.034,149] <inf> ntn_manager: NTN: AT> AT%XSYSTEMMODE=0,0,0,0,1 [SYSMODE NTN]
    \
    00> [00:01:37.041,320] <inf> ntn_manager: NTN: AT< OK [SYSMODE NTN] dt=7ms
    \
    00> [00:01:37.041,412] <inf> ntn_manager: NTN: AT> AT%XBANDLOCK=2,,"23,255,256" [BANDLOCK]
    \
    00> [00:01:37.042,175] <inf> ntn_manager: NTN: AT< OK [BANDLOCK] dt=1ms
    \
    00> [00:01:37.042,236] <inf> ntn_manager: NTN: AT> AT%LOCATION=1 [LOCATION subscribe]
    \
    00> [00:01:37.042,999] <inf> ntn_manager: NTN: AT< OK [LOCATION subscribe] dt=0ms
    \
    00> [00:01:37.050,598] <inf> ntn_manager: NTN: modem location set: lat=--.------ lon=--.------ alt=146.5 acc=0 val=0 (infinite)
    \
    00> [00:01:37.050,659] <inf> ntn_manager: NTN: AT> AT+CGDCONT=0,"IP","data.mono" [CGDCONT NTN IP]
    \
    00> [00:01:37.051,361] <inf> ntn_manager: NTN: AT< OK [CGDCONT NTN IP] dt=1ms
    \
    00> [00:01:37.051,422] <inf> ntn_manager: NTN: AT> AT+CEREG=5 [CEREG]
    \
    00> [00:01:37.051,971] <inf> ntn_manager: NTN: AT< OK [CEREG] dt=0ms
    \
    00> [00:01:37.052,001] <inf> ntn_manager: NTN: AT> AT+CNEC=24 [CNEC]
    \
    00> [00:01:37.052,581] <inf> ntn_manager: NTN: AT< OK [CNEC] dt=1ms
    \
    00> [00:01:37.052,642] <inf> ntn_manager: NTN: AT> AT+CSCON=3 [CSCON]
    \
    00> [00:01:37.053,192] <inf> ntn_manager: NTN: AT< OK [CSCON] dt=1ms
    \
    00> [00:01:37.053,253] <inf> ntn_manager: NTN: AT> AT%MDMEV=2 [MDMEV]
    \
    00> [00:01:37.053,802] <inf> ntn_manager: NTN: AT< OK [MDMEV] dt=0ms
    \
    00> [00:01:37.053,833] <inf> ntn_manager: NTN: Skylo - sending AT%SKYLO=0,1 and AT%SKYLO=1,1 
    \
    00> [00:01:37.053,894] <inf> ntn_manager: NTN: AT> AT%SKYLO=0,1 [SKYLO generic]
    \
    00> [00:01:37.054,687] <inf> ntn_manager: NTN: AT< OK [SKYLO generic] dt=1ms
    \
    00> [00:01:37.054,748] <inf> ntn_manager: NTN: AT> AT%SKYLO=1,1 [SKYLO MO-device]
    \
    00> [00:01:37.055,572] <inf> ntn_manager: NTN: AT< OK [SKYLO MO-device] dt=1ms
    \
    00> [00:01:37.055,572] <inf> ntn_manager: NTN: Skylo AT commands accepted (OK)
    \
    00> [00:01:37.055,664] <inf> ntn_manager: NTN: AT> AT+CPSMS=1,"","","10100101","10000011" [CPSMS NTN]
    \
    00> [00:01:37.056,243] <inf> ntn_manager: NTN: AT< OK [CPSMS NTN] dt=1ms
    \
    00> [00:01:37.056,304] <inf> ntn_manager: NTN: AT> AT+CFUN=1 [CFUN=1]
    \
    00> [00:01:37.080,505] <inf> ntn_manager: NTN: AT< OK [CFUN=1] dt=24ms

    and the next command that hangs is AT+CFUN=0 about 5 minutes later

Reply
  • I do not have a serial connection to my board, only rtt, and i could not find a sample named serial modem to adapt to rtt thus i cannot try it, this is the sequence of at commands i currently run tho. 

    00> [00:01:37.034,149] <inf> ntn_manager: NTN: AT> AT%XSYSTEMMODE=0,0,0,0,1 [SYSMODE NTN]
    \
    00> [00:01:37.041,320] <inf> ntn_manager: NTN: AT< OK [SYSMODE NTN] dt=7ms
    \
    00> [00:01:37.041,412] <inf> ntn_manager: NTN: AT> AT%XBANDLOCK=2,,"23,255,256" [BANDLOCK]
    \
    00> [00:01:37.042,175] <inf> ntn_manager: NTN: AT< OK [BANDLOCK] dt=1ms
    \
    00> [00:01:37.042,236] <inf> ntn_manager: NTN: AT> AT%LOCATION=1 [LOCATION subscribe]
    \
    00> [00:01:37.042,999] <inf> ntn_manager: NTN: AT< OK [LOCATION subscribe] dt=0ms
    \
    00> [00:01:37.050,598] <inf> ntn_manager: NTN: modem location set: lat=--.------ lon=--.------ alt=146.5 acc=0 val=0 (infinite)
    \
    00> [00:01:37.050,659] <inf> ntn_manager: NTN: AT> AT+CGDCONT=0,"IP","data.mono" [CGDCONT NTN IP]
    \
    00> [00:01:37.051,361] <inf> ntn_manager: NTN: AT< OK [CGDCONT NTN IP] dt=1ms
    \
    00> [00:01:37.051,422] <inf> ntn_manager: NTN: AT> AT+CEREG=5 [CEREG]
    \
    00> [00:01:37.051,971] <inf> ntn_manager: NTN: AT< OK [CEREG] dt=0ms
    \
    00> [00:01:37.052,001] <inf> ntn_manager: NTN: AT> AT+CNEC=24 [CNEC]
    \
    00> [00:01:37.052,581] <inf> ntn_manager: NTN: AT< OK [CNEC] dt=1ms
    \
    00> [00:01:37.052,642] <inf> ntn_manager: NTN: AT> AT+CSCON=3 [CSCON]
    \
    00> [00:01:37.053,192] <inf> ntn_manager: NTN: AT< OK [CSCON] dt=1ms
    \
    00> [00:01:37.053,253] <inf> ntn_manager: NTN: AT> AT%MDMEV=2 [MDMEV]
    \
    00> [00:01:37.053,802] <inf> ntn_manager: NTN: AT< OK [MDMEV] dt=0ms
    \
    00> [00:01:37.053,833] <inf> ntn_manager: NTN: Skylo - sending AT%SKYLO=0,1 and AT%SKYLO=1,1 
    \
    00> [00:01:37.053,894] <inf> ntn_manager: NTN: AT> AT%SKYLO=0,1 [SKYLO generic]
    \
    00> [00:01:37.054,687] <inf> ntn_manager: NTN: AT< OK [SKYLO generic] dt=1ms
    \
    00> [00:01:37.054,748] <inf> ntn_manager: NTN: AT> AT%SKYLO=1,1 [SKYLO MO-device]
    \
    00> [00:01:37.055,572] <inf> ntn_manager: NTN: AT< OK [SKYLO MO-device] dt=1ms
    \
    00> [00:01:37.055,572] <inf> ntn_manager: NTN: Skylo AT commands accepted (OK)
    \
    00> [00:01:37.055,664] <inf> ntn_manager: NTN: AT> AT+CPSMS=1,"","","10100101","10000011" [CPSMS NTN]
    \
    00> [00:01:37.056,243] <inf> ntn_manager: NTN: AT< OK [CPSMS NTN] dt=1ms
    \
    00> [00:01:37.056,304] <inf> ntn_manager: NTN: AT> AT+CFUN=1 [CFUN=1]
    \
    00> [00:01:37.080,505] <inf> ntn_manager: NTN: AT< OK [CFUN=1] dt=24ms

    and the next command that hangs is AT+CFUN=0 about 5 minutes later

Children
No Data
Related