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

How to download firmware nrf52832 to the other nrf52832?

Hi.

I am going to make my own PCB with nrf52832.

Before making it, I have to check debugging through P20 in nrf52832 DK.

I have two nrf52832 DKs with SDK17.0.0.

I will call first nrf52832  No1, and the other No2 for understanding.

So, I connected No1's GND, SWDCLK, SWDIO and VDD to No2's same part.(I connected No1's P20 to No2's P20)

Also, I connect USB to No1. And, I connected external VDD to No2.

Then, I run nRF Connect's Programmer to download firmware to NO2.

But, there are only No1. I want to check No2.

How to I download firmware to No2 through No1?

I attached picture for your understanding.

Thanks

Parents Reply Children
  • Sorry for the slow response. I tested the same connections, and I am also not able to program the external board. Getting the same error.

    Programming through the 10 pin debug out/debug in connectors (P18/P19) work fine though. I see that P20 and P19 connectors have different inputs to the on-board debugger chip. It is possible that P20 can only be used for Debug output, and not input. The P18 connector is connected directly to the SWD lines of the nRF52832, without going through the J-Link debugger. 

    If you create your own  custom board, you will not face this issue, as you will not have the on-board debug chip and the SWD pins will go directly to the nRF52832 chip. If you want to test with the DK, you need to get a "breakout cable" for use with P18 connector.

Related