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
  • The connections from DK #1 which you are using as a programmer appear to be correct based on the picture. However, you cannot connect these SWD lines to the same pins on the second board, as the pins on the Debug Out headers are only connected to the J-Link programmer. To program the nRF52832 on the second board with an external debugger or another DK, you need to use the Debug In port. I looked at the other thread you linked, but it doesn’t seem like they were able to make it work either.

Children
Related