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

nRF9160 DK Connecting problems with nRF Cloud

Hello, I tried to set up my nRF9160 with this tutorial and there is a problem:

https://www.youtube.com/watch?v=jZQcmU3KIMY&t=216s

According to the tutorial, LED 3 and the LED 4 should be blinking after 3 minutes, what means that the board is connected to the nRF Cloud.
However on my nRF9160, the LED 4  never starts blinking, even if I wait 10 minutes longer than required.
I tried to push the reset button a few times, I turned the nRF9160 on and off a few times and I also started the "Add LTE Device" on nRF Cloud a few times.

But LED 4 still remains dark.

There were 2 things different compared to the tutorial video:


1) The Sim Card Registration worked fine, but when I came to the window in the picture below, I had an IMEI, but I found no PIN. So, I tried the option without a pin (Red mark in the picture).

Maybe I need a PIN, but where do I get it? I tried to insert every possible number I found on my nRF9160, but none of them worked. 

I have already installed the latest firmware update for the nRF9160 successfully. So what did I do wrong? Or how can I finally connect the nRF9160 to the nRF Cloud?

- Thanks for your answers

- Bergmann

Parents Reply Children
  • I finally got a new SIM Card from a local provider.

    In the mean time, I installed segger embedded studio and uploaded a few example programs. That all worked fine.

    But how can I "restore"  the nrf9160dk now, so that it is in the same state like in the tutorial video when he turns the nrf9160dk on for the first time? :

    https://www.youtube.com/watch?v=jZQcmU3KIMY&t=216s

  • : The nRF9160 DK is pre-flashed with the asset tracker example from the nRF Connect SDK, see https://developer.nordicsemi.com/nRF_Connect_SDK/doc/0.3.0/nrf/samples/nrf9160/asset_tracker/README.html. So you only have to flash this example to your nRF9160 DK and you should be able to follow the tutorial video. 

    Best regards

    Bjørn

  • On the website( https://developer.nordicsemi.com/nRF_Connect_SDK/doc/0.3.0/nrf/samples/nrf9160/asset_tracker/README.html#building-and-running) it says, that the asset tracker example would be in

    samples/nrf9160/asset_tracker

    However, there was no CmakeLists.txt File to Load the project.

     

    There also are 2 other folders with the name asset_tracker:

    I tried to open the other to projects, but there were error messages:

    2nd Projekt:

    Error: Aborting due to non-whitelisted Kconfig warning 'C:/Nordic/fw-nrfconnect-nrf-
    master/applications/asset_tracker/prj.conf:34: warning: attempt to assign the value 'y' to the
    undefined symbol CLOUD_API'. Note: If this warning doesn't point to an actual problem, you can add
    it to the whitelist at the top of C:/Nordic/ncs/zephyr/scripts/kconfig/kconfig.py.

    CMake Error at C:/Nordic/ncs/zephyr/cmake/kconfig.cmake:194 (message):
    command failed with return code: 1
    Call Stack (most recent call first):
    C:/Nordic/ncs/zephyr/cmake/app/boilerplate.cmake:500 (include)
    CMakeLists.txt:11 (include)


    -- Configuring incomplete, errors occurred!
    Project load failed
    Reported error: solution load command failed (1)

    3rd project:

    Error: Aborting due to non-whitelisted Kconfig warning 'warning: the value '' is invalid for
    FLIP_INPUT (defined at C:/Nordic/ncs/nrf/applications/asset_tracker/Kconfig:116), which has type int
    -- assignment ignored'. Note: If this warning doesn't point to an actual problem, you can add it to
    the whitelist at the top of C:/Nordic/ncs/zephyr/scripts/kconfig/kconfig.py.

    CMake Error at C:/Nordic/ncs/zephyr/cmake/kconfig.cmake:194 (message):
    command failed with return code: 1
    Call Stack (most recent call first):
    C:/Nordic/ncs/zephyr/cmake/app/boilerplate.cmake:500 (include)
    CMakeLists.txt:11 (include)


    -- Configuring incomplete, errors occurred!
    See also "C:/Nordic/ncs/nrf/applications/asset_tracker/build_nrf9160_pca10090/CMakeFiles/CMakeOutput.log".
    See also "C:/Nordic/ncs/nrf/applications/asset_tracker/build_nrf9160_pca10090/CMakeFiles/CMakeError.log".
    Project load failed
    Reported error: solution load command failed (1)

     

    What should I do?

  • Seems like you have several different branches of the ncs repo locally. In the latest v1.0.0 branch the asset tracker example is located in ncs\nrf\applications\asset_tracker. 

    I would recommend to follow step 2 in the Getting Started Assistant again to make sure that you have the correct branch checked out. 

    Best regards

    Bjørn

  • Yes, you were right. I reinstalled everything with the correct branches and all worked fine. Thanks for that!

    However, LED 4 still remains dark. I am located in Austria and now I have a SIM Chard from my local provider (Magenta T-Mobile Austria). The code on the SIM Card is to long for the ICCID for the textbox and there is no PUK, so I chose "Already have an active SIM? Skip this step". Is this the right way to do it or do I have enter the SIM Card in another way in the nRF Connect for Cloud?

    I also didn't find a PIN, so I clicked on the "Have an old devkit without a PIN?"

    Can I connect to nRF Cloud with a SIM Card that is not from iBasis?

Related