Programming external nRF5340 using nRF5340 DK

Hi,

I'm trying to download hex file to our custom development board which
has an nRF5340 on it using the external JLINK on the nRF5340 dev kit.
I'm using nrfjprog:

nrfjprog version: 10.15.1 external
JLinkARM.dll version: 6.88a

and I am getting the following error:

C:\Development\thebe2\thebe-host-fw>nrfjprog -f NRF53 --coprocessor CP_APPLICATION --program build/zephyr/firmware-thebe-2.hex --chiperase --log
ERROR: Unable to connect to a debugger.
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: 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.

The same when trying to do recovery:
nrfjprog --recover --coprocessor CP_NETWORK -f nrf53 --log

Thank you for any advice,
Best regards,
Radek K

Parents Reply Children
Related