Programming external custom board with nrf9160 DK

Hi all,

I have a custom board running on nrf9161. I need to flash the custom board with the NRF9160-DK. But I am running into some issues. the development is at early stages and there are too many failure points and variables. So I just need to be sure at every step what each error means.

One question I have is about the connection between the target board and the DK. I have not connected the VDD  (on P20) since my target board is powered by an external USB source, I have only connected VTG. Is it ok ?

I have set SW9 to 3v since I powered my nrf9161 with 3.3v.

On my customn board I've exposed swdio swdclk gnd and 3.3v

so my wire :

nrf9160-dk            custom board

SWDIO        ->     SWDIO

SWDCLK    ->    SWDCLK

GND            ->   GND

VTG            ->   3.3V

But when I try to connect to my custom board with nrfprogrammer v4.4.0 i got

14:56:33.853	Error: Failed with exit code 1. Failed to device info one or more devices: * 960082325: [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Operation device-info failed, [jlink] JLINKARM_DLL_ERROR.
14:56:33.853	Using nrfutil device to communicate with target via JLink
14:56:34.523	Reading readback protection status for Application core
14:56:34.524	Failed "reading readback protection status for application core". Error: code: 9, description: Nrfjlink, message: Batch task protection-get failed, [jlink] JLINKARM_DLL_ERROR
14:56:34.528	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task protection-get failed, [jlink] JLINKARM_DLL_ERROR.
14:56:34.528	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task protection-get failed, [jlink] JLINKARM_DLL_ERROR.

any ideas ?

Parents Reply Children
Related