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

Getting Started Issues with the nRF9160, not connecting to LTE, Failed example builds

Hey anyone,

Going through the 'getting started' process for the nRF 9160 DK I'm having some issues. 

I've followed the steps to install nRF connect etc. suggested in the nordic documentation as well as followed along in the unboxing instructional video provided by nordic (https://www.youtube.com/watch?v=rMvW3HXLErk).

However when I try to test the 'asset tracker' application to verify the LTE/GPS functionality it doesn't seem to work and I'm running into the following issue:

 - The reset button appears to have no impact when it is pressed

 - LED 3 and LED 4 never light up to indicate any action regarding the LTE connection process

 - I'm thus unable to add my device in the nRF cloud solution

I've also tried to build and run an example program in the segger embedded studio IDE (I've updated the modem firmware to the latest using the programmer tool and I'm using nrf connect sdk version 1.4.0, should I be using a newer one?) and even the example programs fail, getting the following terminal output:

Im extremely new to nordic devices and the nRF SDK etc. so any help is greatly appreciated!

  • The precompiled firmware images you sent work perfectly and I'm able to connect to the cloud and see current data perfectly which seems weird as the LTE Link monitor is showing the same status values in the upper right corner of the UI. I've also attached the log file from the LTE Link monitor below as requested.

    I've attached the log file from the LTE Link monitor below

    However,

    The issues still persist with the IDE not building any sample applications without failing even after trying different IDE versions and shortening the path length to C:/ncs/.

    Although IDE version 1.5.0 seems to make it much farther in the build process before failing than the other IDEs it still ends up failing.

    Here is the log file from the LTE Link monitor while flashed with the asset_tracker image:

     

    2021-02-25T15:34:28.881Z INFO Application data folder: C:\Users\aaron\AppData\Roaming\nrfconnect\pc-nrfconnect-linkmonitor
    2021-02-25T15:34:29.061Z DEBUG App pc-nrfconnect-linkmonitor v1.1.10 official
    2021-02-25T15:34:29.062Z DEBUG App path: C:\Users\aaron\.nrfconnect-apps\node_modules\pc-nrfconnect-linkmonitor
    2021-02-25T15:34:29.062Z DEBUG nRFConnect 3.6.1 is supported by the app (^3.6.0)
    2021-02-25T15:34:29.062Z DEBUG nRFConnect path: C:\Users\aaron\AppData\Local\Programs\nrfconnect\resources\app.asar
    2021-02-25T15:34:29.062Z DEBUG HomeDir: C:\Users\aaron
    2021-02-25T15:34:29.063Z DEBUG TmpDir: C:\Users\aaron\AppData\Local\Temp
    2021-02-25T15:35:19.152Z INFO Modem port is opened
    2021-02-25T15:35:19.845Z DEBUG modem << [00:04:22.491,119] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 16: not used,     healthy[0m
    2021-02-25T15:35:20.350Z DEBUG modem << [00:04:22.500,518] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV  4: not used,     healthy[0m
    2021-02-25T15:35:20.355Z DEBUG modem << [00:04:22.509,857] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 26: not used,     healthy[0m
    2021-02-25T15:35:20.358Z DEBUG modem << [00:04:22.519,226] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 22: not used,     healthy[0m
    2021-02-25T15:35:20.361Z DEBUG modem << [00:04:22.528,594] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 32: not used,     healthy[0m
    2021-02-25T15:35:20.363Z DEBUG modem << [00:04:22.537,963] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV  3: not used,     healthy[0m
    2021-02-25T15:35:20.365Z DEBUG modem << [00:04:22.547,302] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 29: not used,     healthy[0m
    2021-02-25T15:35:20.368Z DEBUG modem << [00:04:22.556,671] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 31: not used,     healthy[0m
    2021-02-25T15:35:20.371Z DEBUG modem << [00:04:22.566,040] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV  9: not used,     healthy[0m
    2021-02-25T15:35:20.374Z DEBUG modem << [00:04:22.575,378] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking: 9 Using: 0 Unhealthy: 0[0m
    2021-02-25T15:35:20.376Z DEBUG modem << [00:04:22.584,411] [0m<dbg> nrf9160_gps.print_satellite_stats: Seconds since last fix 262[0m
    2021-02-25T15:35:20.844Z DEBUG modem << [00:04:23.490,814] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 16: not used,     healthy[0m
    2021-02-25T15:35:20.853Z DEBUG modem << [00:04:23.500,183] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV  4: not used,     healthy[0m
    2021-02-25T15:35:20.872Z DEBUG modem << [00:04:23.509,521] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 26: not used,     healthy[0m
    2021-02-25T15:35:20.879Z DEBUG modem << [00:04:23.518,859] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 22: not used,     healthy[0m
    2021-02-25T15:35:20.883Z DEBUG modem << [00:04:23.528,198] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 32: not used,     healthy[0m
    2021-02-25T15:35:20.897Z DEBUG modem << [00:04:23.537,536] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV  3: not used,     healthy[0m
    2021-02-25T15:35:20.900Z DEBUG modem << [00:04:23.546,905] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 29: not used,     healthy[0m
    2021-02-25T15:35:20.911Z DEBUG modem << [00:04:23.556,243] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 31: not used,     healthy[0m
    2021-02-25T15:35:20.917Z DEBUG modem << [00:04:23.565,612] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV  9: not used,     healthy[0m
    2021-02-25T15:35:20.929Z DEBUG modem << [00:04:23.574,951] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking: 9 Using: 0 Unhealthy: 0[0m
    2021-02-25T15:35:20.940Z DEBUG modem << [00:04:23.583,953] [0m<dbg> nrf9160_gps.print_satellite_stats: Seconds since last fix 263[0m
    2021-02-25T15:35:21.843Z DEBUG modem << [00:04:24.490,814] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 16: not used,     healthy[0m
    2021-02-25T15:35:21.857Z DEBUG modem << [00:04:24.500,152] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV  4: not used,     healthy[0m
    2021-02-25T15:35:21.862Z DEBUG modem << [00:04:24.509,490] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 26: not used,     healthy[0m
    2021-02-25T15:35:21.881Z DEBUG modem << [00:04:24.518,859] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 22: not used,     healthy[0m
    2021-02-25T15:35:21.883Z DEBUG modem << [00:04:24.528,198] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 32: not used,     healthy[0m
    2021-02-25T15:35:21.893Z DEBUG modem << [00:04:24.537,536] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV  3: not used,     healthy[0m
    2021-02-25T15:35:21.898Z DEBUG modem << [00:04:24.546,905] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 29: not used,     healthy[0m
    2021-02-25T15:35:21.910Z DEBUG modem << [00:04:24.556,243] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 31: not used,     healthy[0m
    2021-02-25T15:35:21.917Z DEBUG modem << [00:04:24.565,582] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV  9: not used,     healthy[0m
    2021-02-25T15:35:21.927Z DEBUG modem << [00:04:24.574,951] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking: 9 Using: 0 Unhealthy: 0[0m
    2021-02-25T15:35:21.934Z DEBUG modem << [00:04:24.583,953] [0m<dbg> nrf9160_gps.print_satellite_stats: Seconds since last fix 264[0m
    2021-02-25T15:35:22.843Z DEBUG modem << [00:04:25.491,027] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 16: not used,     healthy[0m
    2021-02-25T15:35:22.866Z DEBUG modem << [00:04:25.500,396] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV  4: not used,     healthy[0m
    2021-02-25T15:35:22.874Z DEBUG modem << [00:04:25.509,735] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 26: not used,     healthy[0m
    2021-02-25T15:35:22.884Z DEBUG modem << [00:04:25.519,073] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 22: not used,     healthy[0m
    2021-02-25T15:35:22.902Z DEBUG modem << [00:04:25.528,411] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 32: not used,     healthy[0m
    2021-02-25T15:35:22.907Z DEBUG modem << [00:04:25.537,780] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV  3: not used,     healthy[0m
    2021-02-25T15:35:22.909Z DEBUG modem << [00:04:25.547,119] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 29: not used,     healthy[0m
    2021-02-25T15:35:22.916Z DEBUG modem << [00:04:25.556,457] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 31: not used,     healthy[0m
    2021-02-25T15:35:22.919Z DEBUG modem << [00:04:25.565,795] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV  9: not used,     healthy[0m
    2021-02-25T15:35:22.935Z DEBUG modem << [00:04:25.575,164] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking: 9 Using: 0 Unhealthy: 0[0m
    2021-02-25T15:35:22.938Z DEBUG modem << [00:04:25.584,167] [0m<dbg> nrf9160_gps.print_satellite_stats: Seconds since last fix 265[0m
    2021-02-25T15:35:23.843Z DEBUG modem << [00:04:26.491,119] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 16: not used,     healthy[0m
    2021-02-25T15:35:23.863Z DEBUG modem << [00:04:26.500,457] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV  4: not used,     healthy[0m
    2021-02-25T15:35:23.868Z DEBUG modem << [00:04:26.509,796] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 26: not used,     healthy[0m
    2021-02-25T15:35:23.871Z DEBUG modem << [00:04:26.519,165] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 22: not used,     healthy[0m
    2021-02-25T15:35:23.880Z DEBUG modem << [00:04:26.528,503] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 32: not used,     healthy[0m
    2021-02-25T15:35:23.903Z DEBUG modem << [00:04:26.537,841] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV  3: not used,     healthy[0m
    2021-02-25T15:35:23.908Z DEBUG modem << [00:04:26.547,180] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 29: not used,     healthy[0m
    2021-02-25T15:35:23.921Z DEBUG modem << [00:04:26.556,549] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 31: not used,     healthy[0m
    2021-02-25T15:35:23.923Z DEBUG modem << [00:04:26.565,887] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV  9: not used,     healthy[0m
    2021-02-25T15:35:23.933Z DEBUG modem << [00:04:26.575,225] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking: 9 Using: 0 Unhealthy: 0[0m
    2021-02-25T15:35:23.935Z DEBUG modem << [00:04:26.584,228] [0m<dbg> nrf9160_gps.print_satellite_stats: Seconds since last fix 266[0m
    2021-02-25T15:35:24.844Z DEBUG modem << [00:04:27.491,912] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 16: not used,     healthy[0m
    2021-02-25T15:35:24.858Z DEBUG modem << [00:04:27.501,251] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV  4: not used,     healthy[0m
    2021-02-25T15:35:24.863Z DEBUG modem << [00:04:27.510,620] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 26: not used,     healthy[0m
    2021-02-25T15:35:24.885Z DEBUG modem << [00:04:27.519,958] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 22: not used,     healthy[0m
    2021-02-25T15:35:24.900Z DEBUG modem << [00:04:27.529,296] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 32: not used,     healthy[0m
    2021-02-25T15:35:24.903Z DEBUG modem << [00:04:27.538,635] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV  3: not used,     healthy[0m
    2021-02-25T15:35:24.917Z DEBUG modem << [00:04:27.547,973] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 29: not used,     healthy[0m
    2021-02-25T15:35:24.918Z DEBUG modem << [00:04:27.557,312] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 31: not used,     healthy[0m
    2021-02-25T15:35:24.920Z DEBUG modem << [00:04:27.566,680] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV  9: not used,     healthy[0m
    2021-02-25T15:35:24.933Z DEBUG modem << [00:04:27.576,019] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking: 9 Using: 0 Unhealthy: 0[0m
    2021-02-25T15:35:24.936Z DEBUG modem << [00:04:27.585,021] [0m<dbg> nrf9160_gps.print_satellite_stats: Seconds since last fix 267[0m
    2021-02-25T15:35:25.885Z DEBUG modem << [00:04:28.533,508] [0m<dbg> nrf9160_gps.gps_thread: PVT: Position fix[0m
    2021-02-25T15:35:25.904Z DEBUG modem << [00:04:28.540,222] [0m<inf> asset_tracker: GPS_EVT_PVT_FIX[0m
    2021-02-25T15:35:25.921Z DEBUG modem << [00:04:28.545,959] [0m<inf> asset_tracker: DATE_TIME_OBTAINED_EXT[0m
    2021-02-25T15:35:25.924Z DEBUG modem << [00:04:28.552,276] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 16:     used,     healthy[0m
    2021-02-25T15:35:25.928Z DEBUG modem << [00:04:28.561,645] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV  4:     used,     healthy[0m
    2021-02-25T15:35:25.951Z DEBUG modem << [00:04:28.570,983] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 26:     used,     healthy[0m
    2021-02-25T15:35:25.953Z DEBUG modem << [00:04:28.580,352] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 22:     used,     healthy[0m
    2021-02-25T15:35:25.954Z DEBUG modem << [00:04:28.589,691] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 32:     used,     healthy[0m
    2021-02-25T15:35:25.955Z DEBUG modem << [00:04:28.599,060] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV  3:     used,     healthy[0m
    2021-02-25T15:35:25.969Z DEBUG modem << [00:04:28.608,398] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 29:     used,     healthy[0m
    2021-02-25T15:35:25.981Z DEBUG modem << [00:04:28.617,767] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV 31:     used,     healthy[0m
    2021-02-25T15:35:25.984Z DEBUG modem << [00:04:28.627,136] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking SV  9:     used,     healthy[0m
    2021-02-25T15:35:25.988Z DEBUG modem << [00:04:28.636,474] [0m<dbg> nrf9160_gps.print_satellite_stats: Tracking: 9 Using: 9 Unhealthy: 0[0m
    2021-02-25T15:35:26.003Z DEBUG modem << [00:04:28.645,507] [0m<dbg> nrf9160_gps.print_satellite_stats: Seconds since last fix 0[0m
    2021-02-25T15:35:26.017Z DEBUG modem << [00:04:28.653,839] [0m<dbg> nrf9160_gps.gps_thread: NMEA: Position fix[0m
    2021-02-25T15:35:26.019Z DEBUG modem << [00:04:28.660,583] [0m<inf> asset_tracker: Position fix with NMEA data[0m
    2021-02-25T15:35:26.020Z DEBUG modem << [00:04:28.667,358] [0m<inf> asset_tracker: GPS will be started in 351 seconds[0m
    2021-02-25T15:35:26.117Z DEBUG modem << %CESQ: 58,2,17,2
    2021-02-25T15:35:26.631Z DEBUG modem << %CESQ: 51,2,11,1
    2021-02-25T15:35:26.661Z DEBUG modem << +CSCON: 1
    2021-02-25T15:35:26.663Z DEBUG modem << [00:04:29.289,184] [0m<inf> asset_tracker: RRC mode: Connected[0m
    2021-02-25T15:35:33.713Z DEBUG modem << +CSCON: 0
    2021-02-25T15:35:33.745Z DEBUG modem << [00:04:36.369,659] [0m<inf> asset_tracker: RRC mode: Idle[0m
    2021-02-25T15:35:37.371Z DEBUG modem << %CESQ: 56,2,15,2
    2021-02-25T15:35:46.259Z DEBUG modem << +CSCON: 1
    2021-02-25T15:35:46.277Z DEBUG modem << [00:04:48.916,992] [0m<inf> asset_tracker: RRC mode: Connected[0m
    2021-02-25T15:35:53.394Z DEBUG modem << +CSCON: 0
    2021-02-25T15:35:53.412Z DEBUG modem << [00:04:56.050,689] [0m<inf> asset_tracker: RRC mode: Idle[0m
    2021-02-25T15:35:56.170Z DEBUG modem << +CSCON: 1
    2021-02-25T15:35:56.189Z DEBUG modem << [00:04:58.827,301] [0m<inf> asset_tracker: RRC mode: Connected[0m
    2021-02-25T15:36:03.593Z DEBUG modem << +CSCON: 0
    2021-02-25T15:36:03.615Z DEBUG modem << [00:05:06.251,007] [0m<inf> asset_tracker: RRC mode: Idle[0m
    2021-02-25T15:36:19.595Z DEBUG modem << %CESQ: 255,0,255,0
    2021-02-25T15:36:26.172Z DEBUG modem << %CESQ: 58,2,23,3
    2021-02-25T15:36:26.759Z DEBUG modem << +CSCON: 1
    2021-02-25T15:36:26.782Z DEBUG modem << [00:05:29.418,212] [0m<inf> asset_tracker: RRC mode: Connected[0m
    2021-02-25T15:36:26.785Z DEBUG modem << %CESQ: 52,2,15,2
    2021-02-25T15:36:33.813Z DEBUG modem << +CSCON: 0
    2021-02-25T15:36:33.846Z DEBUG modem << [00:05:36.473,388] [0m<inf> asset_tracker: RRC mode: Idle[0m
    2021-02-25T15:36:42.650Z DEBUG modem << %CESQ: 57,2,15,2
    2021-02-25T15:36:46.269Z DEBUG modem << +CSCON: 1
    2021-02-25T15:36:46.289Z DEBUG modem << [00:05:48.929,870] [0m<inf> asset_tracker: RRC mode: Connected[0m
    2021-02-25T15:36:46.871Z DEBUG modem << %CESQ: 52,2,11,1
    2021-02-25T15:36:53.666Z DEBUG modem << +CSCON: 0
    2021-02-25T15:36:53.701Z DEBUG modem << [00:05:56.327,514] [0m<inf> asset_tracker: RRC mode: Idle[0m
    2021-02-25T15:36:56.229Z DEBUG modem << +CSCON: 1
    2021-02-25T15:36:56.257Z DEBUG modem << [00:05:58.890,106] [0m<inf> asset_tracker: RRC mode: Connected[0m
    2021-02-25T15:37:03.741Z DEBUG modem << +CSCON: 0
    2021-02-25T15:37:03.747Z DEBUG modem << [00:06:06.402,832] [0m<inf> asset_tracker: RRC mode: Idle[0m
    


  • Hi,

    Great to hear that you're able to connect to cloud and send data, then we know that your nRF9160 DK works as expected and that there are no problems connecting to the network.

    The reason LTE Link Monitor shows modem off might be because there hasn't been sent any AT commands to the modem yet. I'm sorry if my previous replies has been confusing regarding this, but LTE Link Monitor doesn't know the status of the modem unless the device has tried to communicate with it, so if there hasn't been sent any AT commands after you connected to the nRF9160 DK in LTE Link Monitor, then the program won't know the status of the modem. You can get the current functional mode of the modem with AT+CFUN?. This should return +CFUN: 1 if the modem is in normal mode, and this will also let LTE Link Monitor know the status of the modem. You should have Automatic requests turned on for this (can be found in the lower right of the LTE Link Monitor).

    I've tried to reproduce the issue you're experiencing when building, but so far I've been unable to do so. What are you selecting as toolchain version when you open the projects? Have you made any changes to the installation? Could you check what the environment variables are set to in SES? You can do this by going to Tools > Options > nRF Connect. Since you installed NCS with Toolchain Manager, you should have the following:

    GNU ARM Embedded Toolchain Directory = C:\ncs\<ncs_version>\toolchain\opt

    Zephyr Base = C:\ncs\<ncs_version>\zephyr

    Also let me know if any of the other fields are something other than None.

    Best regards,

    Marte

  • Marte, 

    Apologies for not responding sooner, it turns out the issue was that SES needed administrative access to run the cmd commands. opening the nRFconnect app as administrator fixed my issues

Related