Error while Programming custom board using nrf5340dk

Hi,
Encountering an error while trying to program a custom board connected to the nRF5340 DK via P20.

The external board is connected to the nRF5340 DK through the P20 connector as follows:

  • P20 (SWD CLK)Custom Board SWDCLK
  • P20 (SWD IO)Custom Board SWDIO
  • P20 (GND)Custom Board GND
  • P20 (VTG)Custom Board VDD 
  • P20 (VDD nrF) → Custom Board VDD
  • P20 (RESET)Custom Board RESET
    The target board is powered solely by the nRF5340 DK connected to it, using pin VDDnrF of P20 for power.
    Verified that the voltage on the target board is 3V at pin VTG.

    whle trying to flash getting this error.
    Error Details:
    [error] [ Client] - Encountered error -102: Command select_coprocessor executed for 150 milliseconds with result -102
    ERROR: Failed when selecting coprocessor APPLICATION
    [error] [ Worker] - 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.
    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 'c:\Users\ZCS-135\nrfVScode\blinky_1\build\zephyr\merged.hex' --sectorerase --verify -f NRF53 --coprocessor CP_APPLICATION --snr 1050033301

    Could you kindly assist in troubleshooting this issue? I have attempted running the command with logging enabled as suggested, but the problem persists.

    Thank you for your assistance.

Related