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

nRF52840 PDK to external board programming

I'm using the P20 connectors in nRF52 PDK to flash my custom nRF52832 board.

The connections are like this:

SWDIO ----> SWDIO

SWDCLK ---->SWDCLK

VTG ------> VDD

GND DETECT, GND ----> GND

I've powered up the custom board externally. I'll attach a screenshot of the error I'm receiving. Is the connections I've given correct? or Is there any workarounds for solving this problem. nrfjprog is also throwing an error as JLINKARM_DLL_ERROR. 

Parents
  • Hi,

     

    It is recommended that you short "VDD_NRF" to "VTG" on P20, to force the segger to  use this port for programming, and power your external board from the nRF5x-DK.

    Once this is done, you can connect SWDIO+SWDCLK to your target, in addition to the VDD_NRF and GND.

     

    What does the output of Jlink Commander show if you try to connect using this tool?

    Do you have other custom boards that behave similar?

     

    Best regards,

    Håkon

     

  • If we short the VDD_nRF and VTG pins, where should the custom boards' VDD be connected? Should the board be powered separately?

    Thanks

    -vivenkat

    Edit 1: My connections are as follows:

    On P20,
    VDD_nRF and VTG are shorted
    VDD is used to power the custom Nordic board

    SWDIO and SWDCLK in nRF52 DK to SWDIO and SWDCLK on the custom Nordic board

    One of the GND pins from the DK to the custom board.

    I have the same error as Labuka. Any help would be gladly appreciated!

    -vivenkat

Reply
  • If we short the VDD_nRF and VTG pins, where should the custom boards' VDD be connected? Should the board be powered separately?

    Thanks

    -vivenkat

    Edit 1: My connections are as follows:

    On P20,
    VDD_nRF and VTG are shorted
    VDD is used to power the custom Nordic board

    SWDIO and SWDCLK in nRF52 DK to SWDIO and SWDCLK on the custom Nordic board

    One of the GND pins from the DK to the custom board.

    I have the same error as Labuka. Any help would be gladly appreciated!

    -vivenkat

Children
Related