nrf91_simple_tracker

Hi I am starting with nRF9160. I build and program "nrf91_simple_tracker," but while running, I got the following terminal output:

*** Booting Zephyr OS build v3.3.99-ncs1 ***
[00:00:00.254,028] .[0m<inf> Cellfund_Project: The nRF91 Simple Tracker Version 0.2.1 started
.[0m
[00:00:00.254,058] .[0m<inf> Cellfund_Project: Initializing modem library.[0m
[00:00:02.050,842] .[1;31m<err> lte_lc: Could not send AT command, error: 65536.[0m
[00:00:02.050,872] .[1;31m<err> lte_lc: Could not set system mode, error: -14.[0m
[00:00:02.050,872] .[1;31m<err> Cellfund_Project: Failed to initialize LTE link control library, error: -14.[0m
[00:00:02.050,903] .[1;31m<err> Cellfund_Project: Failed to configure the modem.[0m

I am using nRF Connect SDK v2.7.0 with VSC using SparkFun nRF9160 Thing Plus.

Any hints?

Parents
  • Hello, 

    Unfortunately, lesson 8 in the cellular fundementals course is not tested with nRF Connect SDK v2.7.0. Based on the output from your logs it does not look like you have built for v2.7.0. Can you please confirm?

    I tested with v2.6.1 and had no issues building and running on my nRF9160DK. Building with v2.7.0 you should have the following output:

    *** Booting nRF Connect SDK v2.7.0-5cb85570ca43 ***
    *** Using Zephyr OS v3.6.99-100befc70c74 ***
    [00:00:00.388,183] <inf> Cellfund_Project: The nRF91 Simple Tracker Version 0.2.1 started
    
    [00:00:00.388,244] <inf> Cellfund_Project: Initializing modem library
    [00:00:00.783,721] <inf> Cellfund_Project: Connecting to LTE network
    [00:00:00.829,772] <inf> Cellfund_Project: LTE cell changed: Cell ID: -1, Tracking area: -1
    
    [00:00:00.973,236] <inf> Cellfund_Project: Starting GNSS....
    [00:00:01.013,916] <inf> Cellfund_Project: Searching for GNSS Satellites....
    
    [00:00:02.014,709] <inf> Cellfund_Project: Searching for GNSS Satellites....

    Can you please confirm your setup? 

    What SIM card are you using?

    Kind regards,
    Øyvind

  • Hello, and thank you very much for your help. I failed to uninstall SDK v2.4; I had already uninstalled it; however, when I develop an app, the file "app_update.bin" is no longer generated. Until now, I set "CONFIG_BOOTLOADER_MCUBOOT=y" in the prj.conf in order to generate that file.

    Could you please help me?

  • I'm using the Github sample; I've made no changes to the code. I built the GNSS app with the exact identical terminal output.

    I understand that some programs require different SDK versions, but perhaps there is a way to make it work, right? I built several sample applications, all of which include several errors and warnings.

    Kind regards

    Digisoles

  • Hi Digisoles

    Digisoles said:
    I understand that some programs require different SDK versions, but perhaps there is a way to make it work, right? I built several sample applications, all of which include several errors and warnings.

    What exact errors and warnings are you referring to? Can you please provide more information. 

    What happens if you build our samples in the SDK, e.g. nrf\samples\cellular\location\. Do you get errors? Does it work as intended? 

    Kind regards,
    Øyvind

  • I built "nrf\samples\cellular\location\" "as is" for nRF9151-DK and got one error and one warning:

    CMake Error at C:/ncs/v2.6.1/nrf/lib/modem_antenna/CMakeLists.txt:8 (zephyr_library_sources):
    
    Kconfig Language Server cannot start for build 'build'. Try rebuilding or doing the pristine build to fix this issue.

    Built with "SparkFun nRF9160 Thing Plus"

    CMake Error at C:/ncs/v2.6.1/bootloader/mcuboot/boot/bootutil/zephyr/CMakeLists.txt:16 (zephyr_library_sources):
    
    CMake Error at C:/ncs/v2.6.1/nrf/cmake/partition_manager.cmake:665 (math):
    
    CMake Error at C:/ncs/v2.6.1/nrf/cmake/partition_manager.cmake:700 (message):
    
    CMake Warning at C:/ncs/v2.6.1/nrf/cmake/partition_manager.cmake:79 (message):
    
    CMake Error at C:/ncs/v2.6.1/zephyr/CMakeLists.txt:853 (get_property):
    
    CMake Error at C:/ncs/v2.6.1/zephyr/CMakeLists.txt:854 (get_property):
    
    UART_CONSOLE (defined at drivers/console/Kconfig:43) was assigned the value 'y' but got the
    
    CMake Warning at C:/ncs/v2.6.1/nrf/modules/mcuboot/CMakeLists.txt:382 (message):
    
    Kconfig Language Server cannot start for build. Try rebuilding or doing the pristine build to fix this issue.

    Sincerely,

    Digisoles

  • Hello! I put this post twelve days ago; could you possibly help?

    would greatly appreciate any hints! if you please!

  • Hello, 
    my apologies, I was out of office last week attending Electronica and I put your case in a wrong status. Thanks for reminding me! 

    Did you try the step: "Try rebuilding or doing the pristine build to fix this issue."? This is not something I have seen before...

    Can you share a screenshot of your Build Configuration? 

    Note: I have also assigned your two new ticket to myself, as I believe they are possibly connected to your setup. 

    Kind regards,
    Øyvind

Reply
  • Hello, 
    my apologies, I was out of office last week attending Electronica and I put your case in a wrong status. Thanks for reminding me! 

    Did you try the step: "Try rebuilding or doing the pristine build to fix this issue."? This is not something I have seen before...

    Can you share a screenshot of your Build Configuration? 

    Note: I have also assigned your two new ticket to myself, as I believe they are possibly connected to your setup. 

    Kind regards,
    Øyvind

Children
  • Hi!

    I've attached the entire code folder, as well as some additional information, such as a screenshot of the build configuration, support information, and some images.

    What I discovered is that some libraries have the following information: "The Modem library must be enabled by CONFIG_NRF_MODEM_LIB to be included in the build."

    In prj.conf, there are also some "X was assigned the value y, but got the value n." How do I solve this, please?

    Thank you!

    Kind regards!


    4621.nrf91_simple_tracker.zip

Related