Hardware: nRF9151DK OS: Windows 11 Toolchain: nRF Connect SDK v3.1.99 (Toolchain v3.1.1) Debugger: Onboard J-Link (Interface MCU)
Description of the Issue: I am facing a persistent connectivity issue with my nRF9151DK. I am unable to flash or recover the board. The J-Link appears to be enumerated correctly by Windows, but it cannot communicate with the nRF9151 target chip.
I was previously successfully running the asset_tracker_v2 sample and had a working LTE connection. The issue started after I was experimenting with connecting external I2C sensors and attempting to measure current using the PPK2 header (P22).
Current Symptoms:
-
west flashfails immediately with Error -102. -
nrfjprog --recover -f NRF91fails with Error -21. -
The J-Link logs show "Device error: Setting the debug port SELECT register failed."
Error Logs: When trying to flash:
-- west flash: using runner nrfjprog
-- runners.nrfjprog: reset after flashing requested
Using board 1051223937
-- runners.nrfjprog: Flashing file: C:\...\merged.hex
[error] [ Client] - Encountered error -102: Command read_device_info executed for 139 milliseconds with result -102
[error] [ Worker] - An unknown error.
[error] [ Client] - Encountered error -102: Command read_memory_descriptors executed for 31 milliseconds with result -102
Failed to read device memories.
FATAL ERROR: command exited with status 33
When trying to recover (nrfjprog --recover -f NRF91 --log):
[trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[trace] [ JLink] - - 0.811ms returns -1
...
[error] [ Client] - Encountered error -21: Command recover executed for 153 milliseconds
Due to some circumstance I don't have nrf9151dk physically right now. i'm debugging it using remote platform rustdesk. When i'm trying to flash it with quick start guide of nrf connect i'm getting:

when i'm trying it with vs code i'm getting:
