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

Programming external board with nRF52 DK

Hi, 

I am trying to program nRF52832 custom circuit with nRF52 DK, I have connected debug out from the nRF52 DK to the custom circuit containing nRF52832 debug in. When I try to load the program to the custom board using SEGGER Embedded Studio I get the following error.  Can anyone tell me how to fix this problem?

Parents
  • Hi, 

    Have you tried recovering the board using 'nrfjprog --recover' command? 

    Please upload the log that is generated, when you run

    You need to install the nRF-Command-Line-Tools, and either add the directory to your PATH, or run the command from a command line inside the directory.

    The DK should be connected to the chip that you want to recover. If this is on the custom PCB, you will have to connect it to this.

    -Amanda H.

  • when i run that comand this is what I get as a reply, 

  • Hi,

    Which revision of the DK and nrfjprog do you have?

    Have you made any modifications to the DK board?

    -Amanda H.

  • I have nRF52-DK as for nrfjprog version is 9.8.1

  • The version of nRF52-DK is on the board. Please check again. Thanks. 

    -Amanda H.

  • where on the board? here are some numbers i picked. 

    400150

    0256RUBR

    with 

    PCA10040

    1.2.4

    2018.48

    682738941

Reply Children
  • Hi, 

    Did you power the external board? And is it running at the same voltage level as the nRF52 DK?
    I'm not exactly sure what you mean by "custom circuit containing nRF52832 debug in". You should make sure that SWDCLK/SWDIO and VTG+GND is connected on the nRF52 DK, in addition to the board is powered and running at the correct voltage.

    -Amanda H.

  • Yes I have powered the external board, with a CR2032 (3V). I have manufactured external board, it has nRF52832 and a 10 pin header connected to it as shown in the image.

    this pin is on the external board. I have connected this pin to the debug out of nRF52 DK. 

  • Hi, 

    Could you double check that the battery is actually close to 3V when you are programming the device? While the battery discharges the voltage can drop below the range that the nRF52 DK is able to program. 
    Ideally, you should power the board from a stable voltage source. 

    -Amanda H.