This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Unable to add LTE Device on nRF Cloud

The nRF9160 DK I'm working on does not seem to be able to connect to nRF Cloud after following the tutorial:

https://www.nordicsemi.com/Software-and-Tools/Development-Kits/nRF9160-DK/GetStarted

LED 3 continues to blink but LED 4 does not light up, indicating that it cannot connect to LTE. Actually, when i first booted up the nRF9160, it was able to connect to nRF Cloud, but once I checked the device page, it disconnected and could not connect since.

After looking at the tech support forums, I have upgraded the modem firmware via PC tool nRF Connect for Desktop to v1.0.1 

Afterwards, I built the Asset tracker sample by following the getting started assistant in nRF_Connect for Desktop (installing the toolchain, cloning the nRF SDK, Downloading the SEGGER Embedded Studio, and building the asset tracker application and downloading(flashing?) it with Target -> Zephyr/merged.hex

However, LED 4 still does not blink

Here are screenshots of LTE link monitor

And here are screenshots of the programmer

How should I resolve this? So that I can connect to nRF Cloud? Thanks for your help

  • Hi.

    Can you try to flash this: asset_tracker.hex

    And then provide me with logs when you run it?

    Best regards,

    Andreas

  • Hi, I attached the log file from LTE Link monitor after flashing the hex file:

    2019-10-10T17:36:36.473Z INFO Application data folder: C:\Users\marcj\AppData\Roaming\nrfconnect\pc-nrfconnect-linkmonitor
    2019-10-10T17:36:36.569Z DEBUG App pc-nrfconnect-linkmonitor v1.1.1 official
    2019-10-10T17:36:36.569Z DEBUG App path: C:\Users\marcj\.nrfconnect-apps\node_modules\pc-nrfconnect-linkmonitor
    2019-10-10T17:36:36.569Z DEBUG nRFConnect 3.2.0 is supported by the app (^3.2.0)
    2019-10-10T17:36:36.569Z DEBUG nRFConnect path: C:\Users\marcj\AppData\Local\Programs\nrfconnect\resources\app.asar
    2019-10-10T17:36:36.569Z DEBUG HomeDir: C:\Users\marcj
    2019-10-10T17:36:36.569Z DEBUG TmpDir: C:\Users\marcj\AppData\Local\Temp
    2019-10-10T17:36:48.599Z INFO Modem port is opened
    2019-10-10T17:36:48.604Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-10-10T17:36:48.637Z DEBUG modem << +CFUN: 1\x0D\x0A
    2019-10-10T17:36:48.639Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:36:48.654Z DEBUG modem >> AT+CGSN=1\x0D\x0A
    2019-10-10T17:36:48.670Z DEBUG modem << +CGSN: "352656100028474"\x0D\x0A
    2019-10-10T17:36:48.671Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:36:48.674Z DEBUG modem >> AT+CGMI\x0D\x0A
    2019-10-10T17:36:48.688Z DEBUG modem << Nordic Semiconductor ASA\x0D\x0A
    2019-10-10T17:36:48.690Z DEBUG modem << OK\x0D
    2019-10-10T17:36:48.692Z DEBUG modem >> AT+CGMM\x0D\x0A
    2019-10-10T17:36:48.708Z DEBUG modem << nRF9160-SICA\x0D\x0A
    2019-10-10T17:36:48.710Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:36:48.713Z DEBUG modem >> AT+CGMR\x0D\x0A
    2019-10-10T17:36:48.727Z DEBUG modem << mfw_nrf9160_1.0.1\x0D
    2019-10-10T17:36:48.728Z DEBUG modem << \x0A
    2019-10-10T17:36:48.729Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:36:48.730Z INFO Nordic Semiconductor ASA nRF9160-SICA [mfw_nrf9160_1.0.1] SerNr: 352656100028474
    2019-10-10T17:36:48.732Z DEBUG modem >> AT+CEMODE?\x0D\x0A
    2019-10-10T17:36:48.747Z DEBUG modem << +CEMODE: 2\x0D\x0A
    2019-10-10T17:36:48.751Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:36:48.761Z DEBUG modem >> AT%XCBAND=?\x0D\x0A
    2019-10-10T17:36:48.779Z DEBUG modem << %XCBAND: (1,2,3,4,5,8,12,13,14,17,18,19,20,25,26,28,66)\x0D\x0A
    2019-10-10T17:36:48.781Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:36:48.790Z DEBUG modem >> AT+CMEE?\x0D\x0A
    2019-10-10T17:36:48.803Z DEBUG modem << +CMEE: 0\x0D\x0A
    2019-10-10T17:36:48.805Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:36:48.807Z DEBUG modem >> AT+CMEE=1\x0D\x0A
    2019-10-10T17:36:48.820Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:36:48.826Z DEBUG modem >> AT+CNEC?\x0D\x0A
    2019-10-10T17:36:48.839Z DEBUG modem << +CNEC: 0\x0D\x0A
    2019-10-10T17:36:48.839Z DEBUG modem << OK\x0D
    2019-10-10T17:36:48.842Z DEBUG modem >> AT+CNEC=24\x0D\x0A
    2019-10-10T17:36:48.853Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:36:48.856Z DEBUG modem >> AT+CGEREP?\x0D\x0A
    2019-10-10T17:36:48.870Z DEBUG modem << +CGEREP: 0,0\x0D\x0A
    2019-10-10T17:36:48.871Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:36:48.874Z DEBUG modem >> AT+CGDCONT?\x0D\x0A
    2019-10-10T17:36:48.891Z DEBUG modem << +CGDCONT: 0,"IP","ibasis.iot","10.160.104.79",0,0\x0D\x0A
    2019-10-10T17:36:48.892Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:36:48.897Z DEBUG modem >> AT+CGACT?\x0D\x0A
    2019-10-10T17:36:48.910Z DEBUG modem << +CGACT: 0,1\x0D\x0A
    2019-10-10T17:36:48.911Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:36:48.916Z DEBUG modem >> AT+CGEREP=1\x0D\x0A
    2019-10-10T17:36:48.930Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:36:48.937Z DEBUG modem >> AT+CIND=1,1,1\x0D\x0A
    2019-10-10T17:36:48.953Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:36:48.957Z DEBUG modem >> AT+CEREG=2\x0D\x0A
    2019-10-10T17:36:48.970Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:36:48.973Z DEBUG modem >> AT+CEREG?\x0D\x0A
    2019-10-10T17:36:48.988Z DEBUG modem << +CEREG: 2,5,"02EC","0B320106",7\x0D\x0A
    2019-10-10T17:36:48.991Z DEBUG modem << OK\x0D\x0A
    2019-10-10T17:36:48.997Z DEBUG modem >> AT+COPS=3,2\x0D\x0A
    2019-10-10T17:36:49.009Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:36:49.012Z DEBUG modem >> AT+COPS?\x0D\x0A
    2019-10-10T17:36:49.021Z DEBUG modem << +COPS: 0,2,"52501",7\x0D\x0A
    2019-10-10T17:36:49.022Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:36:49.027Z DEBUG modem >> AT%XCBAND\x0D\x0A
    2019-10-10T17:36:49.040Z DEBUG modem << %XCBAND: 3\x0D\x0A
    2019-10-10T17:36:49.041Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:36:49.045Z DEBUG modem >> AT+CGDCONT?\x0D\x0A
    2019-10-10T17:36:49.061Z DEBUG modem << +CGDCONT: 0,"IP","ibasis.iot","10.160.104.79",0,0\x0D\x0A
    2019-10-10T17:36:49.063Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:36:49.071Z DEBUG modem >> AT+CGACT?\x0D\x0A
    2019-10-10T17:36:49.087Z DEBUG modem << +CGACT: 0,1\x0D\x0A
    2019-10-10T17:36:49.088Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:36:49.092Z DEBUG modem >> AT%CESQ=1\x0D\x0A
    2019-10-10T17:36:49.105Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:36:49.109Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-10-10T17:36:49.121Z DEBUG modem << +CESQ: 99,99,255,255,255,62\x0D
    2019-10-10T17:36:49.123Z DEBUG modem << \x0A
    2019-10-10T17:36:49.123Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:36:49.128Z DEBUG modem >> AT%XSIM=1\x0D\x0A
    2019-10-10T17:36:49.140Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:36:49.142Z DEBUG modem >> AT%XSIM?\x0D\x0A
    2019-10-10T17:36:49.155Z DEBUG modem << %XSIM: 1\x0D\x0A
    2019-10-10T17:36:49.156Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:36:49.160Z DEBUG modem >> AT+CPIN?\x0D\x0A
    2019-10-10T17:36:49.173Z DEBUG modem << +CPIN: READY\x0D\x0A
    2019-10-10T17:36:49.175Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:36:49.179Z DEBUG modem >> AT+CPINR="SIM PIN"\x0D\x0A
    2019-10-10T17:36:49.201Z DEBUG modem << +CPINR: "SIM PIN",3\x0D\x0A
    2019-10-10T17:36:49.204Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:36:49.209Z DEBUG modem >> AT+CIMI\x0D\x0A
    2019-10-10T17:36:49.222Z DEBUG modem << 204080813513780\x0D\x0A
    2019-10-10T17:36:49.224Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:36:49.225Z INFO IMSIdentity: 204080813513780
    2019-10-10T17:37:28.127Z INFO Modem port is closed
    2019-10-10T17:37:37.813Z INFO Restoring from C:\Users\marcj\AppData\Roaming\nrfconnect\pc-nrfconnect-linkmonitor\logs\2019-10-10T17_36_36.009Z-log.txt
    

    Also, here are the logs from the terminal:

    AT+CFUN?
    
    
    
    
    +CFUN: 1
    
    
    
    
    OK
    
    
    
    
    
    
    AT+CGSN=1
    
    
    
    
    +CGSN: "352656100028474"
    
    
    
    
    OK
    
    
    
    
    
    
    AT+CGMI
    
    
    
    
    Nordic Semiconductor ASA
    
    
    
    
    OK
    
    
    AT+CGMM
    
    
    
    
    nRF9160-SICA
    
    
    
    
    OK
    
    
    
    
    
    
    AT+CGMR
    
    
    
    
    mfw_nrf9160_1.0.1
    
    
    
    
    OK
    
    
    
    
    
    
    AT+CEMODE?
    
    
    
    
    +CEMODE: 2
    
    
    
    
    OK
    
    
    
    
    
    
    AT%XCBAND=?
    
    
    
    
    %XCBAND: (1,2,3,4,5,8,12,13,14,17,18,19,20,25,26,28,66)
    
    
    
    
    OK
    
    
    
    
    
    
    AT+CMEE?
    
    
    
    
    +CMEE: 0
    
    
    
    
    OK
    
    
    
    
    
    
    AT+CMEE=1
    
    
    
    
    OK
    
    
    
    
    
    
    AT+CNEC?
    
    
    
    
    +CNEC: 0
    
    
    
    
    OK
    
    
    AT+CNEC=24
    
    
    
    
    OK
    
    
    
    
    
    
    AT+CGEREP?
    
    
    
    
    +CGEREP: 0,0
    
    
    
    
    OK
    
    
    
    
    
    
    AT+CGDCONT?
    
    
    
    
    +CGDCONT: 0,"IP","ibasis.iot","10.160.104.79",0,0
    
    
    
    
    OK
    
    
    
    
    
    
    AT+CGACT?
    
    
    
    
    +CGACT: 0,1
    
    
    
    
    OK
    
    
    
    
    
    
    AT+CGEREP=1
    
    
    
    
    OK
    
    
    
    
    
    
    AT+CIND=1,1,1
    
    
    
    
    OK
    
    
    
    
    
    
    AT+CEREG=2
    
    
    
    
    OK
    
    
    
    
    
    
    AT+CEREG?
    
    
    
    
    +CEREG: 2,5,"02EC","0B320106",7
    
    
    
    
    OK
    
    
    
    
    AT+COPS=3,2
    
    
    
    
    OK
    
    
    
    
    
    
    AT+COPS?
    
    
    
    
    +COPS: 0,2,"52501",7
    
    
    
    
    OK
    
    
    
    
    
    
    AT%XCBAND
    
    
    
    
    %XCBAND: 3
    
    
    
    
    OK
    
    
    
    
    
    
    AT+CGDCONT?
    
    
    
    
    +CGDCONT: 0,"IP","ibasis.iot","10.160.104.79",0,0
    
    
    
    
    OK
    
    
    
    
    
    
    AT+CGACT?
    
    
    
    
    +CGACT: 0,1
    
    
    
    
    OK
    
    
    
    
    
    
    AT%CESQ=1
    
    
    
    
    OK
    
    
    
    
    
    
    AT+CESQ
    
    
    
    
    +CESQ: 99,99,255,255,255,62
    
    
    
    
    OK
    
    
    
    
    
    
    AT%XSIM=1
    
    
    
    
    OK
    
    
    
    
    
    
    AT%XSIM?
    
    
    
    
    %XSIM: 1
    
    
    
    
    OK
    
    
    
    
    
    
    AT+CPIN?
    
    
    
    
    +CPIN: READY
    
    
    
    
    OK
    
    
    
    
    
    
    AT+CPINR="SIM PIN"
    
    
    
    
    +CPINR: "SIM PIN",3
    
    
    
    
    OK
    
    
    
    
    
    
    AT+CIMI
    
    
    
    
    204080813513780
    
    
    
    
    OK

  • Hi.

    Could you turn of "Automatic Requests", turn on LLM and push the reset button on the nRF91 DK so that you get the correct bootup?

    So that you only provide me with the "log text that is blue"?

    Best regards,

    Andreas

  • Hi, when I followed the procedure, only the following appeared:

    ***** Booting Zephyr OS v1.14.99-ncs2 *****
    
    
    
    
    Asset Tracker application started
    
    
    
    
    LTE LC config ...
  • Hi.

    Can you try to flash this hex file instead: It has logging enabled, and please post the result and a screenshot as well would be nice.

    asset_with_log.hex

    Best regards,

    Andreas

Related