Issue Running DFU Sample on Custom Board with nRF5340 SDK v3.0.2

I'm trying to run the DFU sample l9_e5_sol on a custom board using the nRF5340 and SDK version 3.0.2.

My goal is to perform DFU over BLE using external flash. However, before getting to that, I'm facing an issue that occurs even without enabling external flash.

I added the following configuration fragments to prj.conf:

# Debug
CONFIG_DEBUG=y
CONFIG_DEBUG_THREAD_INFO=y
CONFIG_DEBUG_OPTIMIZATIONS=y

# LOG and RTT
CONFIG_LOG=y
CONFIG_CONSOLE=y
CONFIG_RTT_CONSOLE=y
CONFIG_USE_SEGGER_RTT=y
CONFIG_LOG_BACKEND_RTT=y
CONFIG_LOG_MODE_IMMEDIATE=y

# Clock
CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=n
CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=n
CONFIG_CLOCK_CONTROL_NRF_K32SRC_SYNTH=y
CONFIG_SOC_ENABLE_LFXO=n

My custom board does not have an external low-frequency clock (LFXO), so I intend to synthesize it from the high-frequency clock (HFCLK).

The project builds and flashes successfully, but it seems the code doesn't actually run on the MCU. I don't see any RTT logs, and when I try to start a debug session, the debug task finishes immediately.

Interestingly, when I run the same code with the same configuration fragments on an nRF54L15 DK, I'm able to perform BLE DFU without any problems.

Does anyone have any suggestions on what might be wrong or how I can further debug this issue?

Thanks in advance for your help!

Parents Reply Children
No Data
Related