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

Problems to use and program a nRF52832 custom board.

hi to everyone!

I am using nRF52832DK with Keil5 and nRFgo Studio to program SoftDevice.

Now I want to program my first custom board, but it looks like I can't connect to it.

When I use the nRFgo Studio I get the next error in bold: "No device detected, or readback protection may be set"

Image

And If I press the Recover button, to remove the readback protection, I get an unknown error.

Image

If I use Keil5, when I press Flash->Download I get: "No Cortex-M SW Device Found" and "Error: Flash Download failed - Target DLL has been cancelled".

Image

Image

And the output terminal:

Image

Is there a way to debug the communication between these programs and the custom board or a way to find where could be the problem?

Thanks in advance!

Parents
  • I assume you are programming from a nRF52 DK board? How are you connected to the DK? the P19 or P20 header?

    I have had success using P20 with the following setup:

    Custom board powered from battery Custom board SWDIO to DK SWDIO Custom board SWCLK to DK SWCLK Custom board VCC (3v3) to DK VTG Custom board GND to DK And Detect

    I had similar issues initially but this configuration seemed to work for me...

    a

Reply
  • I assume you are programming from a nRF52 DK board? How are you connected to the DK? the P19 or P20 header?

    I have had success using P20 with the following setup:

    Custom board powered from battery Custom board SWDIO to DK SWDIO Custom board SWCLK to DK SWCLK Custom board VCC (3v3) to DK VTG Custom board GND to DK And Detect

    I had similar issues initially but this configuration seemed to work for me...

    a

Children
Related