>nrfjprog --recover --log
[error] [ Client] - Encountered error -102: Command connect_to_emu_with_snr executed for 170 milliseconds with result -102
ERROR: Unable to connect to a debugger.
[error] [ Worker] - An unknown error.
ERROR: JLinkARM DLL reported an error. Try again. If error condition
ERROR: persists, run the same command again with argument --log, contact Nordic
ERROR: Semiconductor and provide the generated log.log file to them.
I am trying to flash an ADC+BLE code to my custom nrf board having nRF52840 chip on it.
I connected it through nRF52DK to flash a code, but when I am running nrfjprog --recover in command prompt it shows the above error.
Also if I try to open it with nRF Programmer it shows the below screen.
Pin Connections:
| Sl no. | nRF52DK Pins | Custom board Pins |
| 1 | Gnd | GND |
| 2 | VTG (Sorted to VDD) | Vcc |
| 3 | SWDIO | SWDIO |
| 4 | SWDCLK | SWDCLK |
