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

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

custom board not have 32.768khz crystal
Have you tried setting the LFCLK source to RC?
https://github.com/nrfconnect/sdk-zephyr/blob/master/drivers/clock_control/Kconfig.nrf#L33
Kind regards,
Håkon
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
Could you try creating this file in:
your-project/child_image/mcuboot.conf
containing this configuration as well?
Kind regards,
Håkon
I couldn't catch that
do you mean i need to create the folder child-image and bare mcuboot.conf file
what should be inside that .conf file
This configuration shall be set in that child-image/mcuboot.conf file:
https://github.com/nrfconnect/sdk-zephyr/blob/master/drivers/clock_control/Kconfig.nrf#L33
Kind regards,
Håkon

debug doesn't start
1. 
2.

My deepest apologies, it should be "child_image" not "child-image".
Kind regards,
Håkon
My deepest apologies, it should be "child_image" not "child-image".
Kind regards,
Håkon
ok, No issue i'll try it. Thank you
I have confg
# Clock configuration
CONFIG_CLOCK_CONTROL_NRF_K32SRC_SYNTH=y
in prj.conf
and also in child_mage\mcuboot.conf
config_CLOCK_CONTROL_NRF_K32SRC_SYNTH=y
but when i check configure nrf connect
for menuconfig

but when i see mcuboot config

how to change it in .config file
and when i change this in configure menu
i got this error

Hi Håkon,
i have
disable the two stage low frequency clock
changed to synthesized from HFCLK
it works

but i need to config in .conf
how to do it
the mcuboot.conf changes doesn't work can you help for it
It seems that mcuboot tries to use temp sensor for calibration intervals. We will need to disable this specifically for mcuboot. Could you try this in mcuboot.conf?
CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y CONFIG_CLOCK_CONTROL_NRF_CALIBRATION_MAX_SKIP=0 CONFIG_CLOCK_CONTROL_NRF_CALIBRATION_TEMP_DIFF=0
Kind regards,
Håkon