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

Unable to complete 'Getting Started with nRF9160 DK'

I have been going through the steps in this blog post: https://devzone.nordicsemi.com/nordic/cellular-iot-guides/b/getting-started-cellular/posts/getting-started-with-nrf9160-dk

I was able to complete everything up to Step 6 without fault, including updating the modem and flashing the hex file. After doing so, my DK, when powered on, very briefly flashes all four LEDs and then does not provide any further indications of any kind even after waiting extended periods of time. There are no errors or anything of that nature appearing in Segger emStudio. Any indications of similar experiences or potential causes would be much appreciated.

Thanks,

Josh

  • Hi, 

    Please refer to https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/asset_tracker/README.html#nrf9160-asset-tracker

    Could you observe in the terminal window that the board starts up in the Secure Partition Manager and that the application starts? This is indicated by output similar to the following lines:

    SPM: prepare to jump to Non-Secure image
    ***** Booting Zephyr OS v1.13.99 *****
    Application started

    If not, what are the LEDs status?

    -Amanda 

  • There is no output in the terminal. In LTE Link Monitor, the UART indicator switches between red and yellow, and all other indicators are red (PDN is grey). When I flip the ON switch on the devkit, all four LEDs blink together one time and then immediately turn off and stay off.

  • Hi, 

    Please follow this post update firmware on nrf9160 and toolchain. 

    Amanda H.

  • Hello again,

    I have followed all the steps in that post, updating to the latest Programmer version, MFW v1.0.0, NCS v1.0.0, and SES v4.18. I was able to successfully update the modem firmware, but now when attempting to open the asset_tracker project in SES, I receive the following set of errors and I am unable to open the project:

    Loading solution asset_tracker.emProject
    Executing load commands
    cmake -GNinja -DBOARD=nrf9160_pca10090ns -DBOARD_DIR=/home/josh/Applications/nRFConnectSDK/zephyr/boards/arm/nrf9160_pca10090 -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=/home/josh/Applications/toolchain/gcc-arm-none-eabi-7-2018-q2-update -B/home/josh/Applications/nRFConnectSDK/nrf/applications/asset_tracker/build_nrf9160_pca10090ns -H/home/josh/Applications/nRFConnectSDK/nrf/applications/asset_tracker -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=/home/josh/Applications/SEGGER/arm_segger_embedded_studio_v418_linux_x64_nordic/html/configure_nordic_project_menuconfig.py
    -- Using application from '/home/josh/Applications/nRFConnectSDK/nrf/applications/asset_tracker'
    Zephyr version: 1.14.99
    -- Selected BOARD nrf9160_pca10090ns
    -- Found west: /home/josh/.local/bin/west (found suitable version "0.5.8", minimum required is "0.5.6")
    -- Cache files will be written to: /home/josh/.cache/zephyr
    USING OUT OF TREE BOARD
    -- Loading /home/josh/Applications/nRFConnectSDK/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns.dts as base
    -- Overlaying /home/josh/Applications/nRFConnectSDK/zephyr/dts/common/common.dts
    Parsing Kconfig tree in /home/josh/Applications/nRFConnectSDK/nrf/applications/asset_tracker/Kconfig
    Loading /home/josh/Applications/nRFConnectSDK/nrf/applications/asset_tracker/build_nrf9160_pca10090ns/zephyr/.config as base
    Configuration written to '/home/josh/Applications/nRFConnectSDK/nrf/applications/asset_tracker/build_nrf9160_pca10090ns/zephyr/.config'
    Including module: nrf in path: /home/josh/Applications/nRFConnectSDK/nrf
    -- Using application from '/home/josh/Applications/nRFConnectSDK/nrf/samples/nrf9160/spm'
    Zephyr version: 1.14.99
    Changed board to secure nrf9160_pca10090 (NOT NS)
    USING OUT OF TREE BOARD
    -- Loading /home/josh/Applications/nRFConnectSDK/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090.dts as base
    -- Overlaying /home/josh/Applications/nRFConnectSDK/zephyr/dts/common/common.dts
    -- Overlaying /home/josh/Applications/nRFConnectSDK/nrf/samples/nrf9160/spm/nrf9160_pca10090.overlay
    
    warning: MBEDTLS_TLS_VERSION_1_2 (defined at ext/lib/crypto/mbedtls/Kconfig.tls-generic:24) was
    assigned the value 'y' but got the value 'n'. You can check symbol information (including
    dependencies) in the 'menuconfig' interface (see the Application Development Primer section of the
    manual), or in the Kconfig reference at
    http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_MBEDTLS_TLS_VERSION_1_2.html (which is
    updated regularly from the master branch). See the 'Setting configuration values' section of the
    Board Porting Guide as well.
    
    warning: MBEDTLS_KEY_EXCHANGE_RSA_ENABLED (defined at ext/lib/crypto/mbedtls/Kconfig.tls-generic:69)
    was assigned the value 'y' but got the value 'n'. You can check symbol information (including
    dependencies) in the 'menuconfig' interface (see the Application Development Primer section of the
    manual), or in the Kconfig reference at
    http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_MBEDTLS_KEY_EXCHANGE_RSA_ENABLED.html
    (which is updated regularly from the master branch). See the 'Setting configuration values' section
    of the Board Porting Guide as well.
    
    warning: MBEDTLS_CIPHER_AES_ENABLED (defined at ext/lib/crypto/mbedtls/Kconfig.tls-generic:178) was
    assigned the value 'y' but got the value 'n'. You can check symbol information (including
    dependencies) in the 'menuconfig' interface (see the Application Development Primer section of the
    manual), or in the Kconfig reference at
    http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_MBEDTLS_CIPHER_AES_ENABLED.html (which
    is updated regularly from the master branch). See the 'Setting configuration values' section of the
    Board Porting Guide as well.
    
    warning: MBEDTLS_AES_ROM_TABLES (defined at ext/lib/crypto/mbedtls/Kconfig.tls-generic:182) was
    assigned the value 'y' but got the value 'n'. You can check symbol information (including
    dependencies) in the 'menuconfig' interface (see the Application Development Primer section of the
    manual), or in the Kconfig reference at
    http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_MBEDTLS_AES_ROM_TABLES.html (which is
    updated regularly from the master branch). See the 'Setting configuration values' section of the
    Board Porting Guide as well.
    
    warning: MBEDTLS_CIPHER_DES_ENABLED (defined at ext/lib/crypto/mbedtls/Kconfig.tls-generic:190) was
    assigned the value 'y' but got the value 'n'. You can check symbol information (including
    dependencies) in the 'menuconfig' interface (see the Application Development Primer section of the
    manual), or in the Kconfig reference at
    http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_MBEDTLS_CIPHER_DES_ENABLED.html (which
    is updated regularly from the master branch). See the 'Setting configuration values' section of the
    Board Porting Guide as well.
    
    warning: MBEDTLS_CIPHER_CBC_ENABLED (defined at ext/lib/crypto/mbedtls/Kconfig.tls-generic:215) was
    assigned the value 'y' but got the value 'n'. You can check symbol information (including
    dependencies) in the 'menuconfig' interface (see the Application Development Primer section of the
    manual), or in the Kconfig reference at
    http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_MBEDTLS_CIPHER_CBC_ENABLED.html (which
    is updated regularly from the master branch). See the 'Setting configuration values' section of the
    Board Porting Guide as well.
    
    warning: MBEDTLS_MAC_MD5_ENABLED (defined at ext/lib/crypto/mbedtls/Kconfig.tls-generic:238) was
    assigned the value 'y' but got the value 'n'. You can check symbol information (including
    dependencies) in the 'menuconfig' interface (see the Application Development Primer section of the
    manual), or in the Kconfig reference at
    http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_MBEDTLS_MAC_MD5_ENABLED.html (which is
    updated regularly from the master branch). See the 'Setting configuration values' section of the
    Board Porting Guide as well.
    
    warning: MBEDTLS_MAC_SHA1_ENABLED (defined at ext/lib/crypto/mbedtls/Kconfig.tls-generic:242) was
    assigned the value 'y' but got the value 'n'. You can check symbol information (including
    dependencies) in the 'menuconfig' interface (see the Application Development Primer section of the
    manual), or in the Kconfig reference at
    http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_MBEDTLS_MAC_SHA1_ENABLED.html (which
    is updated regularly from the master branch). See the 'Setting configuration values' section of the
    Board Porting Guide as well.
    
    warning: MBEDTLS_MAC_SHA256_ENABLED (defined at ext/lib/crypto/mbedtls/Kconfig.tls-generic:246) was
    assigned the value 'y' but got the value 'n'. You can check symbol information (including
    dependencies) in the 'menuconfig' interface (see the Application Development Primer section of the
    manual), or in the Kconfig reference at
    http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_MBEDTLS_MAC_SHA256_ENABLED.html (which
    is updated regularly from the master branch). See the 'Setting configuration values' section of the
    Board Porting Guide as well.
    
    warning: MBEDTLS_SHA256_SMALLER (defined at ext/lib/crypto/mbedtls/Kconfig.tls-generic:250) was
    assigned the value 'y' but got the value 'n'. You can check symbol information (including
    dependencies) in the 'menuconfig' interface (see the Application Development Primer section of the
    manual), or in the Kconfig reference at
    http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_MBEDTLS_SHA256_SMALLER.html (which is
    updated regularly from the master branch). See the 'Setting configuration values' section of the
    Board Porting Guide as well.
    
    warning: MBEDTLS_CTR_DRBG_ENABLED (defined at ext/lib/crypto/mbedtls/Kconfig.tls-generic:272) was
    assigned the value 'y' but got the value 'n'. You can check symbol information (including
    dependencies) in the 'menuconfig' interface (see the Application Development Primer section of the
    manual), or in the Kconfig reference at
    http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_MBEDTLS_CTR_DRBG_ENABLED.html (which
    is updated regularly from the master branch). See the 'Setting configuration values' section of the
    Board Porting Guide as well.
    
    /home/josh/Applications/nRFConnectSDK/nrf/applications/asset_tracker/build_nrf9160_pca10090ns/spm/zephyr/.config:32: warning: attempt to assign the value 'n' to the undefined symbol CLOUD_API
    
    /home/josh/Applications/nRFConnectSDK/nrf/applications/asset_tracker/build_nrf9160_pca10090ns/spm/zephyr/.config:353: warning: attempt to assign the value 'n' to the undefined symbol SOC_SERIES_LPC55XXX
    
    /home/josh/Applications/nRFConnectSDK/nrf/applications/asset_tracker/build_nrf9160_pca10090ns/spm/zephyr/.config:687: warning: attempt to assign the value 'y' to the undefined symbol SERIAL_SUPPORT_ASYNC
    
    /home/josh/Applications/nRFConnectSDK/nrf/applications/asset_tracker/build_nrf9160_pca10090ns/spm/zephyr/.config:760: warning: attempt to assign the value 'n' to the undefined symbol MINIMAL_LIBC_LL_PRINTF
    
    /home/josh/Applications/nRFConnectSDK/nrf/applications/asset_tracker/build_nrf9160_pca10090ns/spm/zephyr/.config:778: warning: attempt to assign the value 'n' to the undefined symbol UPDATEHUB
    Parsing Kconfig tree in /home/josh/Applications/nRFConnectSDK/zephyr/Kconfig
    Loading /home/josh/Applications/nRFConnectSDK/nrf/applications/asset_tracker/build_nrf9160_pca10090ns/spm/zephyr/.config as base
    
    Error: Aborting due to non-whitelisted Kconfig warning '/home/josh/Applications/nRFConnectSDK/nrf/ap
    plications/asset_tracker/build_nrf9160_pca10090ns/spm/zephyr/.config:32: warning: attempt to assign
    the value 'n' 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
    /home/josh/Applications/nRFConnectSDK/zephyr/scripts/kconfig/kconfig.py.
    
    CMake Error at /home/josh/Applications/nRFConnectSDK/zephyr/cmake/kconfig.cmake:200 (message):
      command failed with return code: 1
    Call Stack (most recent call first):
      /home/josh/Applications/nRFConnectSDK/zephyr/cmake/app/boilerplate.cmake:529 (include)
      ../../samples/nrf9160/spm/CMakeLists.txt:3 (include)
    
    
    -- Configuring incomplete, errors occurred!
    See also "/home/josh/Applications/nRFConnectSDK/nrf/applications/asset_tracker/build_nrf9160_pca10090ns/CMakeFiles/CMakeOutput.log".
    See also "/home/josh/Applications/nRFConnectSDK/nrf/applications/asset_tracker/build_nrf9160_pca10090ns/CMakeFiles/CMakeError.log".
    Project load failed
    Reported error: solution load command failed (1)
    

    More guidance would be appreciated.

  • Hello,

    My last reply seems as though it did not post for some reason. Apologies if it appears twice. I have updated to SES 4.18, MFW 1.0.0, and NCS 1.0.0. I am able to update the modem firmware using the Programmer app, but when I attempt to open the asset_tracker project in SES to rebuild the hex files and flash them to the board, I get the following errors after hitting 'Open nRF Connect SDK Project' (very long logs so I have uploaded them with Ubuntu's paste service): https://paste.ubuntu.com/p/tT5tbh76wj/

    Any more guidance from this point would be appreciated.

Related