Using nrfjprog, unable to perform "--recover"

On a custom board with the NRF9160 chip, performing `nrfjprog -f NRF91 --recover --log`, AND `nrfjprog.exe -f NRF91 --coprocessor CP_APPLICATION --recover --log`, I get:

[2022-Sept-07 11:32:46] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
[2022-Sept-07 11:32:46] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2022-Sept-07 11:32:46] [trace] [ JLink] - - 0.712ms returns -1
[2022-Sept-07 11:32:46] [trace] [ JLink] - JLINK_HasError()
[2022-Sept-07 11:32:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Sept-07 11:32:46] [debug] [SeggerBackend] - ---just_abort_debug_action
[2022-Sept-07 11:32:46] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.

My ultimate goal is to program mfw-1.3.1 on this flash.

Related