Hi all,
I use the nrfjprog 9.7.1 and unfortunately I was used the --rbp command on my nRF52832 and now it's impossible to execute --recover command. The nrfjprog log shows this :
Device "NRF52832_XXAA" selected.
FUNCTION: recover.
FUNCTION: recover.
JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.
JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -102.
I also was configured my JLink correctly and I was try to connect with JLink command without success:
C:\Users\jus>nrfjprog -v
nrfjprog version: 9.7.1
JLinkARM.dll version: 6.20b
C:\Users\jus>where jlink
C:\Program Files (x86)\SEGGER\JLink_V620b\JLink.exe
C:\Users\jus>jlink -if swd -device nrf52
SEGGER J-Link Commander V6.20b (Compiled Sep 22 2017 17:58:02)
DLL version V6.20b, compiled Sep 22 2017 17:57:26
Connecting to J-Link via USB...O.K.
Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46
Hardware version: V8.00
S/N: 158006073
OEM: IAR
VTref = 3.274V
Type "connect" to establish a target connection, '?' for help
J-Link>connect
Specify target interface speed [kHz]. <Default>: 4000 kHz
Speed>4000
Device "NRF52" selected.
Connecting to target via SWD
Cannot connect to target.
J-Link>exit
C:\Users\jus>nrfjprog --family NRF52 --recover --log
Recovering device. This operation might take 30s.
ERROR: Recover failed. Please make sure that the correct device family is given
ERROR: and try again.
Can you help me please ? Thanks
NB: I have already read the following question without success: devzone.nordicsemi.com/question/83264