nrf5340DK program another nrf5340DK

Hi,

I have a custom board based on the nrf5340 which I would like to program using one of my nrf5340DK boards.

As a starting point to test the external board programming workflow, I'm trying to program one nrf5340DK from a second nrf5340DK.

Configuration is:

Both boards are revision 0.11.0

Board 1: connected to Mac running VS Code (and am able to program this board standalone OK), P19 (Debug Out) connected via 1-1 ribbon cable to P18 (Debug In) of board 2.

Board 2: powered via USB from a different computer. P18 (Debug In) connected to P19 (Debug Out) of board 1. Have verified that 3V is present on P18 pin 1.

Attempting to program the above setup results in error messages:

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.
NOTE: For additional output, try running again with logging enabled (--log).
NOTE: Any generated log error messages will be displayed.
FATAL ERROR: command exited with status 33: nrfjprog --program /Users/skajam66/Projects/Nordic/peripheral_lbs/build/zephyr/GENERATED_CP_NETWORK_merged_domains.hex --sectorerase -f NRF53 --snr 960114329 --coprocessor CP_NETWORK

Is what I'm doing supposed to work? If yes, any suggestions are appreciated.

Regards,

skajam66

Related