I've been trying to flash an nRF52840-DK with code that successfully builds on Segger. The Segger error is "Failed to connect to target." I updated the devkit firmware with JLinkConfig, but receive the same error. I also tried the command ```nrfjprog --recover --snr 1050211318 --log``` but received the message:
```
Encountered error -105: Command connect_to_emu_with_snr executed for 89 milliseconds with result -105
ERROR: Unable to connect to a debugger.
[error] [ Worker] - JLinkARM.dll Open returned error 'Cannot connect to J-Link.'
ERROR: The JLinkARM DLL timed out while communicating to the J-Link probe.
ERROR: If the error condition persists, run the same command again with
ERROR: argument -- log, contact Nordic Semiconductor and provide the generated
ERROR: log.log file to them.
```
The log file is:
```
2025-06-16T17:33:33.669Z INFO Initialising the bundled nrfutil device
2025-06-16T17:33:33.675Z DEBUG Started watching devices
2025-06-16T17:33:35.056Z INFO Using the bundled core version for nrfutil device: 8.0.0
2025-06-16T17:33:35.160Z INFO Using nrfutil-device version: 2.10.2
2025-06-16T17:33:35.161Z INFO Using nrf-device-lib version: 0.17.71
2025-06-16T17:33:35.161Z INFO Using nrf-probe version: 0.38.0
2025-06-16T17:33:35.161Z INFO Using JLink version: JLink_V8.42
2025-06-16T17:33:35.162Z INFO Your version of SEGGER J-Link (8.42) is newer than the one this app was tested with (8.18). The tested version is not required, and your J-Link version will most likely work fine. If you get issues related to J-Link with your devices, use the tested version.
2025-06-16T17:33:36.670Z DEBUG Selected device: nRF52840 DK
2025-06-16T17:33:36.698Z DEBUG Changed step: Info
2025-06-16T17:33:38.144Z DEBUG Changed step: Rename
2025-06-16T17:33:39.577Z DEBUG Changed step: Program
2025-06-16T17:33:43.803Z ERROR [ProbeLib] [2025-06-16 17:33:43.801348Z] Failed to initialize worker: Emulator error: Failed to open connection
2025-06-16T17:33:43.803Z ERROR [ProbeLib] [2025-06-16 17:33:43.801077Z] {jlink_usb_001050211318} Failed to open connection to J-Link: Cannot connect to J-Link.
2025-06-16T17:33:43.803Z ERROR [ProbeLib] [2025-06-16 17:33:43.802828Z] Trace channel disconnected unexpectedly.
2025-06-16T17:33:43.803Z ERROR [ProbeLib] [2025-06-16 17:33:43.803746Z] Failed to shutdown client: Io(Custom { kind: NotFound, error: SendInvalidDest })
2025-06-16T17:33:51.892Z ERROR [ProbeLib] [2025-06-16 17:33:51.892205Z] {jlink_usb_001050211318} Failed to open connection to J-Link: Cannot connect to J-Link.
2025-06-16T17:33:51.892Z ERROR [ProbeLib] [2025-06-16 17:33:51.892462Z] Failed to initialize worker: Emulator error: Failed to open connection
2025-06-16T17:33:51.893Z ERROR [ProbeLib] [2025-06-16 17:33:51.892529Z] Failed to shutdown client: Io(Custom { kind: NotFound, error: SendInvalidDest })
2025-06-16T17:33:51.893Z ERROR [ProbeLib] [2025-06-16 17:33:51.892882Z] Trace channel disconnected unexpectedly.
```
Let me know what I can do to fix this!