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

Programming nrf52 DK board using external j-link

Hi,

I am trying to program the nRF52 DK with external j-link Base. I am using Debug IN P18 connector and connected the following pins

j-Link base                        nRF52 DK Debug IN P18 Connector

Pin 7            ------->      Pin 2 (SWDIO)

Pin 9           -------->     Pin 4 (SWCLK)

Pin 13        ----------> Pin 6 (SWO)

pin 15          ---------> Pin 10 (RESET)

I am powering the nRF52 DK using coin cell and opened the project in segger studio. When I try to program the board I get error " Failed to connect to target. No idcode detected. Please check connection and target Interface Type."

Can you help me to fix this problem.

Parents Reply Children
  • I am using 20 pin JTag. As suggested I made following connections

    j-Link base                 nRF52 DK Debug IN P18 Connector

    Pin 7(SWDIO)            ------->   Pin 2 (SWDIO)

    Pin 9(SWCLK)           -------->   Pin 4 (SWCLK)

    Pin 13(SWO)        ---------->  Pin 6 (SWO)

    Pin 15(RESET)         ---------> Pin 10 (RESET)

    Pin  1(VTREF)       ----------> Pin 1 (VDD)

    Pin 4 (GND)         -----------> Pin 5(GND)

    Still, I am getting same error "Failed to connect to target. No idcode detected. Please check connection and target Interface Type

  • Hi,

    What voltage do you measure on PIN 1? Are you able to flash the board if you use the J2 USB interface?

    regards

    Jared 

Related