Serial Output from nRF9160

Hello, 

I am having an issue viewing serial communication from the nRF9160 on the LTE link monitor. I am able to view output when the code is compiled from a different computer. I am unable to view output when the code compiles from my compute (a MacOS Catalina). Are there particular settings that enable/disable serial communication on the nRF9160? 

Best regards, 

Thomas Talbot

Parents Reply Children
  • Hi Heidi, 

    I do not see a file named ".config" in the <build_folder>/zephyr directory. However, there is a filed named "Kconfig.zephyr" is this the file you are interested in? I am attaching the "Kconfig.zephyr" file to this email for the computer that compiles but does not run code on the nRF9160. 

    Also, to double check my steps when I Build and Run code: In the Segger Embedded Studio, I am selecting 1. Build> Build Solution, 2. Target > Download zephyr/merged.hex. Is this correct? 

    Kconfig.zephyr file from non-functional computer: 

    # General configuration options
    
      
    
    # Copyright (c) 2014-2015 Wind River Systems, Inc.
    
    # Copyright (c) 2016 Intel Corporation
    
    # SPDX-License-Identifier: Apache-2.0
    
    
    
    
    
    # Include Kconfig.defconfig files first so that they can override defaults and
    
    # other symbol/choice properties by adding extra symbol/choice definitions.
    
    # After merging all definitions for a symbol/choice, Kconfig picks the first
    
    # property (e.g. the first default) with a satisfied condition.
    
    #
    
    # Shield defaults should have precedence over board defaults, which should have
    
    # precedence over SoC defaults, so include them in that order.
    
    #
    
    # $ARCH and $BOARD_DIR will be glob patterns when building documentation.
    
    source "$(KCONFIG_BINARY_DIR)/Kconfig.shield.defconfig"
    
    source "$(BOARD_DIR)/Kconfig.defconfig"
    
    source "$(KCONFIG_BINARY_DIR)/Kconfig.soc.defconfig"
    
    
    
    menu "Modules"
    
    
    
    source "modules/Kconfig"
    
    
    
    endmenu
    
    
    
    source "boards/Kconfig"
    
    source "soc/Kconfig"
    
    source "arch/Kconfig"
    
    source "kernel/Kconfig"
    
    source "dts/Kconfig"
    
    source "drivers/Kconfig"
    
    source "lib/Kconfig"
    
    source "subsys/Kconfig"
    
    
    
    osource "$(TOOLCHAIN_KCONFIG_DIR)/Kconfig"
    
    
    
    menu "Build and Link Features"
    
    
    
    menu "Linker Options"
    
    
    
    choice
    
            prompt "Linker Orphan Section Handling"
    
            default LINKER_ORPHAN_SECTION_WARN
    
    
    
    config LINKER_ORPHAN_SECTION_PLACE
    
            bool "Place"
    
            help
    
              Linker puts orphan sections in place without warnings
    
              or errors.
    
    

  • No this is not the file I need. Please zip the whole working directory with your sample and attach it. 

Related