I'm experiencing an issue while trying to flash my custom board based on the nRF5340 using the nRF54L15-DK as a programmer, with SDK version 3.0.2.
The nRF5340 is recognized correctly in the nRF Connect for VSCode plugin, and the NET core appears to be programmed successfully.
However, when flashing the APP core, I receive the following error:
Flashing build to 1057719439 west flash -d /home/santos/Desktop/nrfconnect_develop/Tag/build --dev-id 1057719439 --erase -- west flash: rebuilding [0/10] Performing build step for 'Tag' ninja: no work to do. [1/10] Performing build step for 'ipc_radio' ninja: no work to do. [4/10] cd /home/santos/Desktop/nrfconnect_develop/Tag/build/_sysbuild && /home/santos/ncs/toolchains/7cbc0036f4/usr/local/bin/cmake -E true [6/9] No install step for 'ipc_radio' [7/9] Completed 'ipc_radio' [8/9] cd /home/santos/Desktop/nrfconnect_develop/Tag/build/_sysbuild && /home/santos/ncs/toolchains/7cbc0036f4/usr/local/bin/cmake -E true WARNING: Specifying runner options for multiple domains is experimental. If problems are experienced, please specify a single domain using '--domain <domain>' -- west flash: using runner nrfutil -- runners.nrfutil: mass erase requested -- runners.nrfutil: reset after flashing requested -- runners.nrfutil: Flashing file: /home/santos/Desktop/nrfconnect_develop/Tag/build/merged_CPUNET.hex -- runners.nrfutil: Erasing non-volatile memory (ERASEALL) -- runners.nrfutil: Programming image -- runners.nrfutil: Verifying image -- runners.nrfutil: Reset -- runners.nrfutil: Board with serial number 1057719439 flashed successfully. -- west flash: using runner nrfutil -- runners.nrfutil: mass erase requested -- runners.nrfutil: reset after flashing requested -- runners.nrfutil: Flashing file: /home/santos/Desktop/nrfconnect_develop/Tag/build/merged.hex Error: One or more batch tasks failed: * 1057719439: Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1) (Generic) FATAL ERROR: command exited with status 1: nrfutil --json device --x-ext-mem-config-file /home/santos/ncs/v3.0.2/zephyr/boards/nordic/nrf5340dk/support/nrf5340dk_qspi_nrfutil_config.json x-execute-batch --batch-path /home/santos/Desktop/nrfconnect_develop/Tag/build/generated_nrfutil_batch.json --serial-number 1057719439 * The terminal process terminated with exit code: 1. * Terminal will be reused by tasks, press any key to close it.
Sometimes, I’m able to program the custom board without issues using the same setup. But currently, I’m no longer able to flash the APP core at all.
When using a J-Link programmer, I'm able to flash the custom board without any issues.
Has anyone faced a similar issue or can suggest how to fix this?
Thanks in advance,