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
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
As like nrf5 sdk
Is there secure dfu if so any example related on that
the attached zip.file is my example project . this same code works in nrf52840 DK, BC840DK. but not in custom board .
Where i need to change any board file or in prj.confg .
I need example code for
Open dfu and secure dfu for better experience .
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