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

Programming prototype board from 52 DK

I have a Nordic 52832 chip in an integrated module form from Fanstel.  I have the NRF 52 DK, the Fanstel evaluation board, and a custom prototype board I built.

I can program the Fanstel evaluation board through the 52 DK with no problem.

The custom board runs the Fanstel module transmitting Bluetooth with default software installed on the module without problem.

I included a 6 pin Tag Connect interface on the custom board and am trying to load my program onto the custom board through the 52 DK but the board is not being recognized and instead commands from nRF Go Studio is writing the code directly to the 52 DK.  The connections I am supporting are Vdd, GND, SWIO, and SWCLK. 

My assumption was a hardware connection problem.  The only possible errors being SWDIO and SWDCLK connections or the cable itself since Vdd and GND must be working or the chip would not transmit at all.

Traces seem fine and all pinouts correct.  Anything else that could be causing the problem besides hardware connections?

Parents
  • I am using Vdd from the DK 52 and no battery so voltage mismatch is not the issue. What I am saying about nRFGo not seeing the prototype board is this.  With prototype board connected to DK52.  Power and GND connected from DK to proto via dedicated wires.  Proto board also connected via Tag Connect 6 wire link:

    1. Run nRFGo and all erasing and programming are applied to DK 52

    2. Jumper VTG and Vdd on the DK and nRFGo complains that the processor is not detected

    This means 2 things.  First, SWIO and SWCLK on the prototype are not communicating with DK.  Which is why it finds no processor.  Second, Vdd through the Tag Connect cable is not triggering DK programming pass through.  Which is why is attempts to program the DK when VTG and Vdd are not jumpered. 

Reply
  • I am using Vdd from the DK 52 and no battery so voltage mismatch is not the issue. What I am saying about nRFGo not seeing the prototype board is this.  With prototype board connected to DK52.  Power and GND connected from DK to proto via dedicated wires.  Proto board also connected via Tag Connect 6 wire link:

    1. Run nRFGo and all erasing and programming are applied to DK 52

    2. Jumper VTG and Vdd on the DK and nRFGo complains that the processor is not detected

    This means 2 things.  First, SWIO and SWCLK on the prototype are not communicating with DK.  Which is why it finds no processor.  Second, Vdd through the Tag Connect cable is not triggering DK programming pass through.  Which is why is attempts to program the DK when VTG and Vdd are not jumpered. 

Children
  • It works for me with no changes to a nRF SD52 straight out of the box. P19 is not the same as P20, P19 uses EXT_GND_DETECT whereas P20 uses SH_GND_DETECT. Does it matter? Who knows, they go to different pins on the SAM Segger interface  .. but see these photos, They shows P19 correctly programming a target board. When P19 is unplugged the nRF52 DK device is instead programmed. Why such a complicated set of adapters? Because I use 6-pin Tag Connect not 10-pin Tag Connect and we can't find a suitable single adapter.
    The equivalent Adafruit connector also shown with 4 wires plugged in as shown does the same job. All the grounds are correctly handled by connections on the adapters whichever of these two options you use. There are no modifications on any of these items.

Related