nrf52840dk as a debugger fr nrf52840dongle(SoC)

So I have been doing a project on nrf52840dk, So I have  built a custom bootloader for it as well, I have been trying to add the custom bootloader with the code in my nrf52840dongle using nrf52840dk (3.0.0). My nrf2840dl is not detecting the targeted board. I have been trying to program it  using nrf connect desktop->programmer.. 

Wire Connections :-

  • SWDIO,
  • SWCLK,
  • VDD,
  •  GND 

Yes, even  tried matching the voltage between the two boards by setting  the REGOUT pin in the code, yet the result was negative. My nrf52840dk is not detecting the  targeted board i.e (nrf52840donggle) so how can I get this fixed.

And yes I don't want to use a JTAG debugger for this operations!!!!

Related