Programming an external board using NRF52dk

Hello,

I'm trying to upload code to an external board using an NRF52dk, and am having an error in vscode as shown below.

My issue seems to be very similar to the one being discussed here  Programing custom PCB Board through nRF52-DK 

However, the comments on this post say that there is a connection issue, but I've double checked the connections I'm using and they all look fine. I'll attach a photo of these connections, in case there is something I am overlooking.

Other possibly relevant information is that I'm using vscode to build the code located in the peripheral_uart sample, which I've already tested on one board and works fine. Other than that, all I am doing is flashing the code to the original board (not the external one that I'm trying to program through the original), and it is at that point that I get the error shown above. 

Any help or advice would be greatly appreciated, thank you!

Parents Reply
  • You can use the debug out headers (P19 or P20) to program external boards, but you cannot use these headers as a debug input to program the onboard nRF52832 chip. From the picture, it appears you have connected the SWDIO and SWDCLK from P20 on the first kit to the same pins on the second kit. This will not work, as these pins are not connected to the nRF52832 chip you are trying to target on the second board. 

Children
Related