I would like to use nrfjprog to erase nRF52832 device. But it failed with "An unknown error". The nRF52832 device connect to laptop through J-Link USB interface.
D:\Nordic>nrfjprog --log --family nRF52 --eraseall
[error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
ERROR: Unable to connect to a debugger.
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.