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

FOTA not working in custom board NCS

Hi,

I have tested FOTA code in nRF52840 DK and it works perfect but i have custom board build with nrf52840 when i implement the code it doesn't get start

custom board not have 32.768khz crystal

Parents Reply
  • Yes i have done it but no response

    prj.confg

    #
    # Copyright (c) 2018 Nordic Semiconductor
    #
    # SPDX-License-Identifier: LicenseRef-BSD-5-Clause-Nordic
    #
    CONFIG_NCS_SAMPLES_DEFAULTS=y
    
    CONFIG_BT=y
    CONFIG_BT_PERIPHERAL=y
    CONFIG_BT_DEVICE_NAME="Nordic_Blinky"
    
    # Enable the LBS service
    CONFIG_BT_LBS=y
    CONFIG_BT_LBS_POLL_BUTTON=y
    CONFIG_DK_LIBRARY=y
    
    # Added for FOTA
    CONFIG_BOOTLOADER_MCUBOOT=y
    CONFIG_MCUMGR=y
    CONFIG_MCUMGR_CMD_OS_MGMT=y
    CONFIG_MCUMGR_CMD_IMG_MGMT=y
    CONFIG_MCUMGR_SMP_BT=y
    CONFIG_IMG_ERASE_PROGRESSIVELY=y
    
    CONFIG_DEBUG_OPTIMIZATIONS=y
    CONFIG_MCUMGR_SMP_BT_AUTHEN=n
    
    
    
    CONFIG_PRINTK=y
    
    CONFIG_UART_CONSOLE=y
    
    
    CONFIG_BT_L2CAP_TX_MTU=252
    CONFIG_BT_L2CAP_RX_MTU=252
    CONFIG_BT_RX_BUF_LEN=260
    CONFIG_BT_CTLR_TX_BUFFER_SIZE=251
    CONFIG_BT_CTLR_DATA_LENGTH_MAX=251
    CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
    
    
    # Clock configuration
    CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y
    CONFIG_BT_SMP=y
    CONFIG_CLOCK_CONTROL_NRF_K32SRC_500PPM=y

Children
Related