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
For above also no config changes still the clock doesn't changes

can you once again check my steps
1. My project dfu_lbs created . inside dfu_lbs created folder called child_image
2. in prj.conf added
# Clock configuration
CONFIG_CLOCK_CONTROL_NRF_K32SRC_SYNTH=y
3..Inside child_image created mcuboot.conf and pasted
CONFIG_CLOCK_CONTROL_NRF_K32SRC_SYNTH=y
CONFIG_CLOCK_CONTROL_NRF_CALIBRATION_MAX_SKIP=0
CONFIG_CLOCK_CONTROL_NRF_CALIBRATION_TEMP_DIFF=0
opened the project and cross verified with
project -> configure nrf connect sdk project
a. menuconfig

b. mcuboot_menuconfig

clock doesn't changed in mcuboot.
I am using SDK v1.4.2 does any thing need to change
Hi Håkon,
Anything i have missed here
Hi,
Sunil vignesh said:I am using SDK v1.4.2 does any thing need to change
This ncs version does not automatically load child_image configuration, so you need to add this just below the cmake_minimum_required() line in CMakeLists.txt:
list(APPEND mcuboot_OVERLAY_CONFIG
"${CMAKE_CURRENT_SOURCE_DIR}/child_image/mcuboot.conf"
)
Kind regards,
Håkon
changed CMAkelists.txt like this
#
# Copyright (c) 2018 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-BSD-5-Clause-Nordic
#
cmake_minimum_required(VERSION 3.13.1)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(NONE)
# NORDIC SDK APP START
target_sources(app PRIVATE
src/main.c
)
list(APPEND mcuboot_OVERLAY_CONFIG
"${CMAKE_CURRENT_SOURCE_DIR}/child_image/mcuboot.conf"
)
# NORDIC SDK APP END
zephyr_library_include_directories(.)
but no change
Please add it just below the cmake_minimum_required() line.
Please add it just below the cmake_minimum_required() line.
Yes, It works,
Thanks Håkon.
I have last question.
DFU is working with
Open bootloader
Secure Bootloader
i have tried without the key it means open bootloader isn't .
Is there any secure bootloader example . and how dual bank concept is working .
for dfu how to config dual bank or single bank concept
Hi,
If you have specific issues with bootloaders, please create a dedicated case on this matter. My colleagues have better knowledge about bootloaders, especially if you're referring to nRF5 SDK DFU.
Kind regards,
Håkon
Hi,
I have enabled DFU in project after that function "Go to definition"
is not working
