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

Programming interface for NRF52-based PCB

Hello everyone,

I am developing a PCB based on the NRF52 chip, and I need help for the programming interface.

After reading a few threads in the forum, we decided to go for a 6-pin needle adapter from Segger.

Before starting the production of the PCBs, however, I wanted to test the programming on my

NRF52832-DK board. I saw. in fact, that on the board there is a 10-pin connector, which (I guess) is supposed

to support programming via a JSegger-base.....

So, I tried to solder 4 wires on the 4 needed pins only  (SWDIO, SWDCLK, GND and VTREF), which according to this discussion is enough,

and I connected the 4 cables to my JSegger-base programmer, on the appropriate pins (1 --> VTREF, 4 --> GND, 7 ---> SWDIO, 9 --> SWCLK).

Unfortunately, the programming is not working; if I use J-Link Commander from Segger, I can see that the debugger detects the VTref, but when 

it tries to connect to it, I got the "Error: Could not find core in Coresight setup".

I tried both with external power supply and with the coin-cell battery

So, my questions are:

1) is the 10-pins connector on the NRF52832 working fine? Or is it just as an hardware example?

2) Am I missing something or should I activate it somewhere? 

3) There should be some elements (resistor?) between the SWD pins and the programmer?

4) Can the JLink work if I connect only 4 cables to its pins?

Thank you very much for your help.

Lorenzo

Related