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

Connecting PPK to external board?

Hi

I have the PPK, and I see it needs either a JLink or a Nordic DK board to act as the interface to the PC.

I have a nrf52832 dk and also nRF52840 dk, so I was going to use the nRF52832 DK as the JLink, but I am not sure if I need to cut any tracks on the nRF52832 DK if I do not want to measure its power.

As far as I can tell by reading the docs, I only need to cut the tracks (bridges) if measuring power on the DK.

So is it safe to plug the PPK into the DK without cutting those bridges ?

Or would this harm the PPK or DK if I left those bridges in place ?

BTW. I also have a standalone Jlink, but I don't have the special tiny connector needed to connect it to the PPK.

Is it possible to connect a JLink to the PPK via single dupont style female to female connectors, or at a pinch can I solder wires to somewhere easily accessible on the PPK to connect to the JLink ?

Parents
  • It is not dangerous to forget cutting the DK lines before measuring, you'll only get very weird results. So, if you are only going to measure an external circuit, feel free to plug in any DK you want and set the DUT Select switch to External and use Power select in either Reg. or External.

    It might be a bit hard to connect an external debugger without the cable needed, but they are available at P19, on the bottom side.

    ppk debug interface.

    You'll need to connect to pin 3,4,5,6, and make sure that your SW3/COM switch is set to DK, so tht you external debugger gets connection to VTG (VTarget, to let the debugger know it found supply power).

  • @wilhelmsen

    Could I make a suggestion to improve the PPK installer bat file (Windows)

    It quits without telling you its completed or whether its had an error during installtion

    Adding a pause statement at the end of the bat would cause it to wait and display a message telling the user to press a key etc

    This then gives the user a chance to see whether all the installs worked OK.

    e.g

    python -m pip install pyside
    python -m pip install pyqtgraph
    python -m pip install numpy
    python -m pip uninstall pynrfjprog
    python -m pip install pynrfjprog==9.0.0
    python -m pip install future
    pause
    
Reply
  • @wilhelmsen

    Could I make a suggestion to improve the PPK installer bat file (Windows)

    It quits without telling you its completed or whether its had an error during installtion

    Adding a pause statement at the end of the bat would cause it to wait and display a message telling the user to press a key etc

    This then gives the user a chance to see whether all the installs worked OK.

    e.g

    python -m pip install pyside
    python -m pip install pyqtgraph
    python -m pip install numpy
    python -m pip uninstall pynrfjprog
    python -m pip install pynrfjprog==9.0.0
    python -m pip install future
    pause
    
Children
No Data
Related