I tried to recover a custom nrf52 board after running:
$ nrfjprog --family nrf52 --rbp all
Recover command:
$ nrfjprog --log --family nrf52 --recover Recovering device. This operation might take 30s. 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.
This happens everytime. I gave it a shot on a nrf52 dk board and it worked fine. I'm using a J-Link Pro on the custom board. Are there pin connections I'm missing possibly, I have SWDIO/SWCLK connected.