This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Can I use the NRF52 DK JTAG port to program my own custom built device? And does it happen automatically when I upload code to the DK through Segger?

Hello,

I have tested and verified the code for my application on the NRF52 DK, but now I need to program my own custom device using the nRF52832 chip. I saw there was a JTAG port for Serial wire debugging on the DK and so I was wondering if I can use that to program my custom device when I upload code to the DK from Segger.

Thanks for any help.

Parents
  • Yes you can, just make sure the external device is powered first. You can connect the Debug out port (P19 on the DK) to your custom board with a ribbon cable if you included a similar 10 pin header in your design. You can also connect the boards using P20 on the DK as described in this answer (note that the diagram in the answer given by Remi is powering the board from the DK so no external power is needed). If the DK detects an external voltage is connected it will automatically program the external board instead of the chip on the DK.

Reply
  • Yes you can, just make sure the external device is powered first. You can connect the Debug out port (P19 on the DK) to your custom board with a ribbon cable if you included a similar 10 pin header in your design. You can also connect the boards using P20 on the DK as described in this answer (note that the diagram in the answer given by Remi is powering the board from the DK so no external power is needed). If the DK detects an external voltage is connected it will automatically program the external board instead of the chip on the DK.

Children
Related