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

Custom board & SDK v14 bootloader

Hi. We recently upgraded from SDK13 to SDK14. All was well until we integrated the bootloader. We are using Laird's BL652. We updated the bootloader's config to use NRF_CLOCK_LF_SRC_RC, NRF_SDH_CLOCK_LF_RC_CTIV = 16, NRF_SDH_CLOCK_LF_RC_TEMP_CTIV = 2, and NRF_SDH_CLOCK_LF_XTAL_ACCURACY = 7 to match our application and soft device. The custom board would only power up if a hard reset was performed. Otherwise, the board would hang. If we removed the bootloader, the board powered up readily. After hours of debugging, we traced the issue to the clock_init() within nrf_dfu.c. The line "while (!nrf_clock_lf_is_running()) {;}" would hang indefinitely. For now, we commented out this line. The custom board now powers up readily and dfu continues to work. Is this a known issue?

Related