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
  • Hi,

    In order for the debugger on DK No1 to detect that an external board is connected, you need to connect VDD from the external board to VTG pin. If the debug chip detects voltage on this pin, the external board will be programmed, else the on-board nRF52 chip on DK No1 will be programmed.

    If DK No2 is powered externally, there is no need to connect VDD_NRF together.

    When programming from the nRF Connect application (or nrfjprog), you will only see the debugger on DK No1, it is not possible to select from the application which nRF52 chip should be programmed, this is decided solely from the state of the VTG pin.

    Best regards,
    Jørgen

Reply
  • Hi,

    In order for the debugger on DK No1 to detect that an external board is connected, you need to connect VDD from the external board to VTG pin. If the debug chip detects voltage on this pin, the external board will be programmed, else the on-board nRF52 chip on DK No1 will be programmed.

    If DK No2 is powered externally, there is no need to connect VDD_NRF together.

    When programming from the nRF Connect application (or nrfjprog), you will only see the debugger on DK No1, it is not possible to select from the application which nRF52 chip should be programmed, this is decided solely from the state of the VTG pin.

    Best regards,
    Jørgen

Children
Related